Function at 0x47dd40
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x48
mov eax, dword [esp + 0x4c]
test eax, eax
mov ecx, dword [esp + 0x50]
push ebx
mov ebx, dword [esp + 0x60]
push ebp
push esi
mov esi, dword [esp + 0x60]
push edi
lea edi, [eax + ecx]
mov dword [esp + 0x38], eax
cmove edi, eax
mov dword [esp + 0x34], 0
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], 0
mov dword [esp + 0x48], ecx
mov dword [esp + 0x44], ecx
mov dword [esp + 0x4c], 0xe2
mov dword [esp + 0x60], edi
cmp ebx, 2
jne 0x47ddb2
mov ebx, dword [esi + 0x74]
mov edx, ebx
mov eax, dword [esi + 0x10]
test ebx, ebx
mov dword [esp + 0x20], ebx
cmove edx, eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x24], edx
mov ebp, dword [edx + 0xc]
mov dword [esp + 0x10], ebp
jmp 0x47ddd0
mov ebp, dword [esi + 0xc]
mov edx, esi
mov dword [esp + 0x10], ebp
mov dword [esp + 0x20], 0
mov dword [esp + 0x64], esi
mov dword [esp + 0x24], edx
cmp ebx, 3
je 0x47de21
cmp dword [esp + 0x20], 0
mov ebx, 0xa1
mov eax, 0x81
cmove ebx, eax
cmp dword [esp + 0x6c], 1
mov dword [esp + 0x18], ebx
jne 0x47dec2
cmp edx, dword [edx + 0x10]
jne 0x47dec2
test edi, edi
je 0x47de15
mov dword [edi + 1], 0x1075053
mov word [edi + 5], 0xefbe
add edi, 7
mov dword [esp + 0x60], edi
mov byte [edi], 0
lea eax, [ecx + 7]
mov dword [esp + 0x44], eax
jmp 0x47dec2
push dword [ebp + 0x10]
mov byte [esp + 0x68], 0x89
call fcn.00436660
movzx edx, byte [esp + 0x68]
mov ebx, 0xa000
push dword [ebp + 0x10]
cmp ax, bx
mov ecx, 0x8d
cmove edx, ecx
mov al, dl
or al, 0x40
cmp dword [esi + 0x74], 0
movzx ecx, al
movzx eax, dl
cmove ecx, eax
mov al, cl
or al, 0x10
cmp dword [esi + 0x78], 0
movzx ebx, al
movzx eax, cl
cmove ebx, eax
call fcn.00436660
mov ecx, 0x2000
add esp, 8
cmp ax, cx
je 0x47dea5
push dword [ebp + 0x10]
mov al, bl
mov dword [esp + 0x24], 0
mov dword [esp + 0x1c], eax
mov dword [esp + 0x68], esi
mov dword [esp + 0x28], esi
call fcn.00436660
mov ecx, 0x6000
add esp, 4
cmp ax, cx
jne 0x47debe
or bl, 2
mov dword [esp + 0x20], 0
mov dword [esp + 0x18], ebx
mov dword [esp + 0x64], esi
mov dword [esp + 0x24], esi
jmp 0x47dec2
mov ebx, dword [esp + 0x18]
mov eax, dword [esp + 0x4c]
sub eax, dword [esp + 0x44]
cmp eax, 5
jge 0x47dee4
lea eax, [esp + 0x34]
push 5
push eax
call fcn.0047db30
mov edi, eax
add esp, 8
mov dword [esp + 0x60], edi
test edi, edi
je 0x47def8
mov dword [edi + 1], 0x1055252
add edi, 5
mov dword [esp + 0x60], edi
mov byte [edi], bl
cmp dword [esp + 0x34], 0
je 0x47df14
mov eax, dword [esp + 0x3c]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 0x84]
test eax, eax
je 0x47df14
add dword [eax + 4], 5
mov ecx, dword [esp + 0x44]
mov edx, 0xff
add ecx, 5
mov dword [esp + 0x44], ecx
test bl, 8
je 0x47e063
mov eax, dword [esp + 0x4c]
mov esi, dword [ebp + 0x24]
sub eax, ecx
mov ebp, dword [ebp + 0x20]
cmp eax, 6
jge 0x47df58
lea eax, [esp + 0x34]
push 6
push eax
call fcn.0047db30
mov edi, eax
add esp, 8
mov dword [esp + 0x60], edi
mov edx, 0xff
test edi, edi
je 0x47df66
mov word [edi + 1], 0x4d4e
mov byte [edi + 4], 1
mov ebx, dword [esp + 0x4c]
lea eax, [esi + 5]
sub ebx, dword [esp + 0x44]
cmp ebx, 0xff
cmova ebx, edx
cmp eax, ebx
jbe 0x47e022
test edi, edi
je 0x47dfa0
lea eax, [ebx - 5]
mov byte [edi + 3], bl
push eax
lea eax, [edi + 6]
mov byte [edi + 5], 1
push ebp
push eax
call fcn.004095d0
add esp, 0xc
add edi, ebx
mov eax, 5
add ebp, 0xfffffffb
sub eax, ebx
add ebp, ebx
add esi, eax
cmp dword [esp + 0x34], 0
je 0x47dfc9
mov eax, dword [esp + 0x3c]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 0x84]
test eax, eax
je 0x47dfc9
add dword [eax + 4], ebx
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x4c]
add ecx, ebx
sub eax, ecx
mov dword [esp + 0x44], ecx
cmp eax, 6
jge 0x47e005
lea eax, [esp + 0x34]
push 6
push eax
call fcn.0047db30
mov ebx, dword [esp + 0x54]
add esp, 8
sub ebx, dword [esp + 0x44]
mov edx, 0xff
cmp ebx, 0xff
mov edi, eax
cmova ebx, edx
test edi, edi
je 0x47e013
mov word [edi + 1], 0x4d4e
mov byte [edi + 4], 1
lea eax, [esi + 5]
cmp eax, ebx
ja 0x47df82
mov dword [esp + 0x60], edi
lea ebx, [esi + 5]
test edi, edi
je 0x47e044
push esi
lea eax, [edi + 6]
mov byte [edi + 3], bl
push ebp
push eax
mov byte [edi + 5], 0
call fcn.004095d0
add esp, 0xc
add edi, ebx
mov dword [esp + 0x60], edi
cmp dword [esp + 0x34], 0
je 0x47e05f
mov eax, dword [esp + 0x3c]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 0x84]
test eax, eax
je 0x47e05f
add dword [eax + 4], ebx
add dword [esp + 0x44], ebx
mov eax, dword [esp + 0x4c]
sub eax, dword [esp + 0x44]
cmp eax, 0x2c
jge 0x47e085
lea eax, [esp + 0x34]
push 0x2c
push eax
call fcn.0047db30
mov edi, eax
add esp, 8
mov dword [esp + 0x60], edi
test edi, edi
je 0x47e20d
mov ebp, dword [esp + 0x10]
add ebp, 0x10
mov dword [esp + 0x14], ebp
push dword [ebp]
call fcn.00436950
push dword [ebp]
movzx esi, ax
call fcn.00436bf0
push dword [ebp]
mov dword [esp + 0x68], eax
call fcn.00436840
mov ecx, dword [esp + 0x74]
add esp, 0xc
mov dword [esp + 0x60], eax
mov ecx, dword [ecx + 0x10228]
and ecx, 0x1800000
cmp ecx, 0x1000000
jne 0x47e0e2
and esi, 0xf16d
or esi, 0x16d
movzx ebx, si
mov edx, ebx
mov dword [edi + 1], 0x12c5850
shr edx, 8
mov ecx, ebx
shr ecx, 0x10
mov eax, ebx
shr eax, 0x18
mov byte [edi + 5], bl
mov byte [edi + 6], dl
mov byte [edi + 7], cl
mov byte [edi + 8], al
mov byte [edi + 9], al
mov byte [edi + 0xa], cl
mov byte [edi + 0xb], dl
mov byte [edi + 0xc], bl
push dword [ebp]
call fcn.00436990
mov ebx, eax
lea esi, [edi + 0x25]
shr eax, 0x18
mov edx, ebx
shr edx, 8
mov ecx, ebx
shr ecx, 0x10
add esp, 4
mov byte [edi + 0x10], al
mov byte [edi + 0x11], al
mov byte [edi + 0xd], bl
mov byte [edi + 0x14], bl
mov ebx, dword [esp + 0x5c]
mov eax, ebx
shr eax, 0x18
mov byte [edi + 0xe], dl
mov byte [edi + 0xf], cl
mov byte [edi + 0x12], cl
mov ecx, ebx
mov byte [edi + 0x13], dl
mov edx, ebx
mov byte [edi + 0x18], al
mov byte [edi + 0x19], al
mov byte [edi + 0x15], bl
mov byte [edi + 0x1c], bl
mov ebx, dword [esp + 0x60]
mov eax, ebx
shr edx, 8
shr ecx, 0x10
shr eax, 0x18
mov byte [edi + 0x16], dl
mov byte [edi + 0x17], cl
mov byte [edi + 0x1a], cl
mov ecx, ebx
mov byte [edi + 0x1b], dl
mov edx, ebx
mov byte [edi + 0x20], al
mov byte [edi + 0x21], al
mov eax, dword [esp + 0x64]
shr edx, 8
shr ecx, 0x10
mov byte [edi + 0x1d], bl
mov byte [edi + 0x1e], dl
mov byte [edi + 0x1f], cl
mov byte [edi + 0x22], cl
mov byte [edi + 0x23], dl
mov byte [edi + 0x24], bl
test byte [eax + 0x88], 2
je 0x47e1e1
mov ebx, dword [eax + 0x58]
mov edx, ebx
shr edx, 8
mov ecx, ebx
shr ecx, 0x10
mov eax, ebx
shr eax, 0x18
add edi, 0x2c
mov byte [esi + 1], dl
mov byte [esi + 6], dl
mov edx, dword [esp + 0x10]
mov byte [esi], bl
mov byte [esi + 2], cl
mov byte [esi + 3], al
mov byte [esi + 4], al
mov byte [esi + 5], cl
mov byte [esi + 7], bl
mov dword [esp + 0x60], edi
jmp 0x47e218
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx + 0xc]
test eax, eax
je 0x47e1f1
mov eax, dword [eax + 0x68]
jmp 0x47e1f4
mov eax, dword [ecx + 0x68]
push dword [eax + 0x14]
push esi
call fcn.00483f60
mov edx, dword [esp + 0x18]
add esp, 8
add edi, 0x2c
mov dword [esp + 0x60], edi
jmp 0x47e218
mov edx, dword [esp + 0x10]
lea eax, [edx + 0x10]
mov dword [esp + 0x14], eax
cmp dword [esp + 0x34], 0
je 0x47e234
mov eax, dword [esp + 0x3c]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 0x84]
test eax, eax
je 0x47e234
add dword [eax + 4], 0x2c
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x18]
add ecx, 0x2c
mov dword [esp + 0x44], ecx
test al, 4
je 0x47e4d0
mov eax, dword [esp + 0x4c]
sub eax, ecx
cmp eax, 7
jge 0x47e26b
lea eax, [esp + 0x34]
push 7
push eax
call fcn.0047db30
mov edi, eax
add esp, 8
mov dword [esp + 0x60], edi
mov eax, dword [esp + 0x10]
xor bl, bl
mov esi, dword [eax + 0x38]
test edi, edi
je 0x47e282
mov byte [edi + 4], 1
mov word [edi + 1], 0x4c53
mov eax, dword [esp + 0x4c]
mov ecx, 0xff
sub eax, dword [esp + 0x44]
cmp eax, 0xff
mov byte [esp + 0x5c], 0
cmovg eax, ecx
xor ebp, ebp
mov dword [esp + 0x2c], eax
xor eax, eax
mov dword [esp + 0x1c], eax
cmp byte [esi], al
je 0x47e434
mov eax, edi
lea ecx, [edi + 6]
neg eax
mov edx, 0xb
mov edi, ebp
sbb eax, eax
and eax, ecx
cmp edx, dword [esp + 0x2c]
jge 0x47e42c
test bl, bl
jne 0x47e2f8
cmp byte [esi], 0x2f
jne 0x47e2fd
test eax, eax
je 0x47e2e8
mov ecx, eax
mov byte [eax + 1], bl
mov dword [esp + 0x1c], ecx
add eax, 2
mov byte [ecx], 8
add ebp, 2
add edx, 2
inc esi
mov bl, 0x2f
xor edi, edi
jmp 0x47e423
cmp bl, 0x2f
jne 0x47e314
cmp byte [esi], 0x2e
jne 0x47e314
cmp byte [esi + 1], 0x2e
jne 0x47e314
mov cl, byte [esi + 2]
cmp cl, 0x2f
je 0x47e332
test cl, cl
je 0x47e332
mov cl, byte [esi]
cmp cl, 0x2f
jne 0x47e362
cmp byte [esi + 1], 0x2e
jne 0x47e362
cmp byte [esi + 2], 0x2e
jne 0x47e362
mov ch, byte [esi + 3]
cmp ch, cl
je 0x47e332
test ch, ch
jne 0x47e362
test eax, eax
je 0x47e346
mov ecx, eax
mov byte [eax + 1], 0
mov dword [esp + 0x1c], ecx
add eax, 2
mov byte [ecx], 4
xor ecx, ecx
add ebp, 2
add edx, 2
xor edi, edi
cmp byte [esi], 0x2f
mov bl, 0x2e
sete cl
add ecx, 2
add esi, ecx
jmp 0x47e423
test bl, bl
je 0x47e36b
cmp bl, 0x2f
jne 0x47e37f
cmp cl, 0x2e
jne 0x47e37f
mov ch, byte [esi + 1]
lea ebx, [esi + 1]
cmp ch, 0x2f
je 0x47e3a8
test ch, ch
je 0x47e3a8
cmp cl, 0x2f
jne 0x47e3d8
cmp byte [esi + 1], 0x2e
lea ecx, [esi + 1]
mov dword [esp + 0x28], ecx
jne 0x47e3e5
mov bl, byte [esi + 2]
mov byte [esp + 0x64], bl
mov ebx, ecx
cmp byte [esp + 0x64], 0x2f
je 0x47e3a8
cmp byte [esp + 0x64], 0
jne 0x47e3e5
test eax, eax
je 0x47e3bc
mov ecx, eax
mov byte [eax + 1], 0
mov dword [esp + 0x1c], ecx
add eax, 2
mov byte [ecx], 2
add ebp, 2
add edx, 2
cmp byte [esi], 0x2f
jne 0x47e3d0
add esi, 2
mov bl, 0x2e
xor edi, edi
jmp 0x47e423
mov esi, ebx
xor edi, edi
mov bl, 0x2e
jmp 0x47e423
mov bl, cl
test edi, edi
jne 0x47e417
lea ecx, [esi + 1]
mov dword [esp + 0x28], ecx
test eax, eax
je 0x47e3fe
mov ecx, eax
mov byte [eax + 1], 0
lea edi, [eax + 1]
mov dword [esp + 0x1c], ecx
add eax, 2
mov byte [ecx], 0
jmp 0x47e402
lea edi, [esp + 0x5c]
mov bl, byte [esi]
add ebp, 2
mov ecx, dword [esp + 0x28]
add edx, 2
mov esi, ecx
cmp bl, 0x2f
jne 0x47e418
jmp 0x47e423
inc esi
test eax, eax
je 0x47e421
mov byte [eax], bl
inc eax
inc byte [edi]
inc ebp
inc edx
cmp byte [esi], 0
jne 0x47e2c2
mov edi, dword [esp + 0x60]
mov eax, dword [esp + 0x1c]
cmp byte [esi], 0
lea edx, [ebp + 5]
je 0x47e49e
test edi, edi
je 0x47e450
or byte [eax], 1
mov byte [edi + 3], dl
mov byte [edi + 5], 1
add edi, edx
mov dword [esp + 0x60], edi
cmp dword [esp + 0x34], 0
je 0x47e46b
mov eax, dword [esp + 0x3c]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 0x84]
test eax, eax
je 0x47e46b
add dword [eax + 4], edx
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x4c]
add ecx, edx
sub eax, ecx
mov dword [esp + 0x44], ecx
cmp eax, 0xb
jge 0x47e274
lea eax, [esp + 0x34]
push 0xb
push eax
call fcn.0047db30
mov edi, eax
add esp, 8
mov dword [esp + 0x60], edi
jmp 0x47e274
test edi, edi
je 0x47e4ab
mov byte [edi + 3], dl
mov byte [edi + 5], 0
add edi, edx
cmp dword [esp + 0x34], 0
je 0x47e4c6
mov eax, dword [esp + 0x3c]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 0x84]
test eax, eax
je 0x47e4c6
add dword [eax + 4], edx
add dword [esp + 0x44], edx
mov esi, dword [esp + 0x14]
jmp 0x47e4d7
lea esi, [edx + 0x10]
mov dword [esp + 0x14], esi
push dword [esi]
mov ebp, 5
xor bl, bl
mov dword [esp + 0x68], ebp
call fcn.004365a0
add esp, 4
test eax, eax
je 0x47e526
push dword [esi]
call fcn.00436580
mov dword [esp + 0x60], eax
mov esi, edx
mov eax, dword [esp + 0x18]
push dword [eax]
call fcn.00436960
add esp, 8
cmp esi, edx
jg 0x47e522
jl 0x47e517
cmp dword [esp + 0x5c], eax
ja 0x47e522
mov ebp, 0xc
mov bl, 1
mov dword [esp + 0x64], ebp
mov esi, dword [esp + 0x14]
push dword [esi]
call fcn.00436980
add esp, 4
test eax, eax
je 0x47e53e
add ebp, 7
or bl, 2
mov dword [esp + 0x64], ebp
push dword [esi]
call fcn.00436570
add esp, 4
test eax, eax
je 0x47e556
add ebp, 7
or bl, 4
mov dword [esp + 0x64], ebp
push dword [esi]
call fcn.004365d0
mov ecx, dword [esp + 0x68]
add esp, 4
test eax, eax
je 0x47e572
add ecx, 7
or bl, 8
mov dword [esp + 0x64], ecx
mov eax, dword [esp + 0x4c]
sub eax, dword [esp + 0x44]
cmp eax, ecx
jge 0x47e592
push ecx
lea eax, [esp + 0x38]
push eax
call fcn.0047db30
mov ecx, dword [esp + 0x6c]
add esp, 8
mov edi, eax
test edi, edi
je 0x47e620
mov word [edi + 1], 0x4654
mov byte [edi + 3], cl
mov byte [edi + 4], 1
add edi, 5
mov byte [edi], bl
test bl, 1
je 0x47e5c9
push dword [esi]
call fcn.00436580
push edx
push eax
lea eax, [edi + 1]
push eax
call fcn.004841c0
add esp, 0x10
add edi, 7
test bl, 2
je 0x47e5e6
push dword [esi]
call fcn.00436960
push edx
push eax
lea eax, [edi + 1]
push eax
call fcn.004841c0
add esp, 0x10
add edi, 7
test bl, 4
je 0x47e603
push dword [esi]
call fcn.00436550
push edx
push eax
lea eax, [edi + 1]
push eax
call fcn.004841c0
add esp, 0x10
add edi, 7
test bl, 8
je 0x47e620
push dword [esi]
call fcn.004365b0
push edx
push eax
lea eax, [edi + 1]
push eax
call fcn.004841c0
add esp, 0x10
add edi, 7
cmp dword [esp + 0x34], 0
mov ebp, dword [esp + 0x64]
je 0x47e63f
mov eax, dword [esp + 0x3c]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 0x84]
test eax, eax
je 0x47e63f
add dword [eax + 4], ebp
mov ecx, dword [esp + 0x44]
mov ebx, dword [esp + 0x18]
add ecx, ebp
mov dword [esp + 0x44], ecx
test bl, 0x40
je 0x47e6a3
mov eax, dword [esp + 0x4c]
sub eax, ecx
cmp eax, 4
jge 0x47e66e
lea eax, [esp + 0x34]
push 4
push eax
call fcn.0047db30
add esp, 8
mov edi, eax
test edi, edi
je 0x47e682
mov word [edi + 1], 0x4552
mov byte [edi + 3], 4
add edi, 4
mov byte [edi], 1
cmp dword [esp + 0x34], 0
je 0x47e69e
mov eax, dword [esp + 0x3c]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 0x84]
test eax, eax
je 0x47e69e
add dword [eax + 4], 4
add dword [esp + 0x44], 4
test bl, 0x20
je 0x47e72b
mov eax, dword [esp + 0x4c]
sub eax, dword [esp + 0x44]
cmp eax, 0xc
jge 0x47e6ca
lea eax, [esp + 0x34]
push 0xc
push eax
call fcn.0047db30
add esp, 8
mov edi, eax
test edi, edi
je 0x47e70a
mov eax, dword [esp + 0x20]
mov dword [edi + 1], 0x10c4c50
mov ebx, dword [eax + 0x58]
mov edx, ebx
mov ecx, ebx
shr edx, 8
mov eax, ebx
shr ecx, 0x10
shr eax, 0x18
mov byte [edi + 5], bl
mov byte [edi + 0xc], bl
mov ebx, dword [esp + 0x18]
mov byte [edi + 6], dl
mov byte [edi + 7], cl
mov byte [edi + 8], al
mov byte [edi + 9], al
mov byte [edi + 0xa], cl
mov byte [edi + 0xb], dl
add edi, 0xc
cmp dword [esp + 0x34], 0
je 0x47e726
mov eax, dword [esp + 0x3c]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 0x84]
test eax, eax
je 0x47e726
add dword [eax + 4], 0xc
add dword [esp + 0x44], 0xc
test bl, 0x10
je 0x47e7b6
mov eax, dword [esp + 0x4c]
sub eax, dword [esp + 0x44]
cmp eax, 0xc
jge 0x47e752
lea eax, [esp + 0x34]
push 0xc
push eax
call fcn.0047db30
add esp, 8
mov edi, eax
test edi, edi
je 0x47e795
mov eax, dword [esp + 0x24]
mov dword [edi + 1], 0x10c4c43
mov eax, dword [eax + 0x78]
mov ebx, dword [eax + 0x58]
mov edx, ebx
mov ecx, ebx
shr edx, 8
mov eax, ebx
shr ecx, 0x10
shr eax, 0x18
mov byte [edi + 5], bl
mov byte [edi + 0xc], bl
mov ebx, dword [esp + 0x18]
mov byte [edi + 6], dl
mov byte [edi + 7], cl
mov byte [edi + 8], al
mov byte [edi + 9], al
mov byte [edi + 0xa], cl
mov byte [edi + 0xb], dl
add edi, 0xc
cmp dword [esp + 0x34], 0
je 0x47e7b1
mov eax, dword [esp + 0x3c]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 0x84]
test eax, eax
je 0x47e7b1
add dword [eax + 4], 0xc
add dword [esp + 0x44], 0xc
test bl, 2
je 0x47e868
mov eax, dword [esp + 0x4c]
sub eax, dword [esp + 0x44]
cmp eax, 0x14
jge 0x47e7dd
lea eax, [esp + 0x34]
push 0x14
push eax
call fcn.0047db30
add esp, 8
mov edi, eax
test edi, edi
je 0x47e847
mov dword [edi + 1], 0x1144e50
push dword [esi]
call fcn.00436ab0
mov ebx, eax
mov byte [edi + 5], 0
xor edx, edx
mov byte [edi + 0xc], 0
xor ecx, ecx
shr edx, 8
xor eax, eax
shr ecx, 0x10
shr eax, 0x18
add esp, 4
mov byte [edi + 6], dl
mov byte [edi + 7], cl
mov byte [edi + 8], al
mov byte [edi + 9], al
mov eax, ebx
mov byte [edi + 0xa], cl
mov ecx, ebx
mov byte [edi + 0xb], dl
mov edx, ebx
shr edx, 8
shr ecx, 0x10
shr eax, 0x18
mov byte [edi + 0xd], bl
mov byte [edi + 0xe], dl
mov byte [edi + 0xf], cl
mov byte [edi + 0x10], al
mov byte [edi + 0x11], al
mov byte [edi + 0x12], cl
mov byte [edi + 0x13], dl
mov byte [edi + 0x14], bl
add edi, 0x14
cmp dword [esp + 0x34], 0
je 0x47e863
mov eax, dword [esp + 0x3c]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 0x84]
test eax, eax
je 0x47e863
add dword [eax + 4], 0x14
add dword [esp + 0x44], 0x14
mov ecx, dword [esp + 0x10]
cmp byte [ecx + 0x74], 0
je 0x47e905
mov eax, dword [esp + 0x4c]
sub eax, dword [esp + 0x44]
cmp eax, 0x10
jge 0x47e898
lea eax, [esp + 0x34]
push 0x10
push eax
call fcn.0047db30
mov ecx, dword [esp + 0x18]
add esp, 8
mov edi, eax
test edi, edi
je 0x47e8e4
mov dword [edi + 1], 0x110465a
mov word [edi + 5], 0x7a70
movzx eax, byte [ecx + 0x74]
mov byte [edi + 7], al
movzx eax, byte [ecx + 0x75]
mov byte [edi + 8], al
mov ebx, dword [ecx + 0x78]
mov edx, ebx
shr edx, 8
mov ecx, ebx
shr ecx, 0x10
mov eax, ebx
shr eax, 0x18
mov byte [edi + 9], bl
mov byte [edi + 0xa], dl
mov byte [edi + 0xb], cl
mov byte [edi + 0xc], al
mov byte [edi + 0xd], al
mov byte [edi + 0xe], cl
mov byte [edi + 0xf], dl
mov byte [edi + 0x10], bl
add edi, 0x10
cmp dword [esp + 0x34], 0
je 0x47e900
mov eax, dword [esp + 0x3c]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 0x84]
test eax, eax
je 0x47e900
add dword [eax + 4], 0x10
add dword [esp + 0x44], 0x10
cmp dword [esp + 0x6c], 1
jne 0x47e957
mov eax, dword [esp + 0x24]
cmp eax, dword [eax + 0x10]
jne 0x47e957
test edi, edi
je 0x47e936
mov eax, dword [esp + 0x68]
push 0xed
push 0
push dword [eax + 0x10c]
lea eax, [edi + 1]
push eax
call fcn.00484250
add esp, 0x10
cmp dword [esp + 0x34], 0
je 0x47e952
mov eax, dword [esp + 0x3c]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 0x84]
test eax, eax
je 0x47e952
add dword [eax + 4], 0x1c
add dword [esp + 0x44], 0x1c
mov eax, dword [esp + 0x44]
xor ecx, ecx
pop edi
pop esi
pop ebp
pop ebx
test al, 1
je 0x47e97b
mov ecx, dword [esp + 0x28]
inc eax
mov dword [esp + 0x34], eax
test ecx, ecx
je 0x47e976
mov byte [ecx + eax], 0
mov ecx, 1
cmp dword [esp + 0x24], 0
je 0x47e9aa
mov edx, dword [esp + 0x30]
test edx, edx
je 0x47e9a2
mov eax, dword [esp + 0x34]
sub eax, ecx
push eax
push dword [esp + 0x44]
push dword [esp + 0x4c]
push edx
call fcn.00484250
add esp, 0x10
mov eax, dword [esp + 0x38]
add esp, 0x48
ret
mov eax, dword [esp + 0x34]
add esp, 0x48
ret