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

Disassembly:
sub esp, 0x1ec
push ebx
push ebp
mov ebp, dword [esp + 0x200]
push esi
xor esi, esi
push edi
mov edi, dword [esp + 0x204]
lea ecx, [esp + 0x60]
mov dword [esp + 0x70], esi
mov dword [esp + 0x5c], esi
call fcn.00405410
lea ecx, [esp + 0x34]
call fcn.00405410
lea ecx, [esp + 0x4c]
call fcn.00405410
mov ebx, 1
add dword [ebp], ebx
mov eax, dword [ebp]
mov ecx, dword [edi + 4]
mov dword [esp + 0x20], esi
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], esi
mov ecx, dword [ecx + eax*4]
mov dword [esp + 0x74], esi
mov dword [esp + 0x18], esi
cmp word [ecx + 8], si
jne 0x47e462
mov edx, dword [ecx]
sub edx, 0x1c
je 0x47e457
sub edx, ebx
jne 0x47ea38
mov dword [esp + 0x20c], 2
jmp 0x47e45e
mov dword [esp + 0x20c], ebx
inc eax
mov dword [ebp], eax
mov eax, dword [edi + 4]
mov ecx, dword [ebp]
mov edx, dword [eax + ecx*4]
cmp word [edx + 8], 0x33
jne 0x47ea2f
mov ecx, dword [ebp]
mov edx, dword [eax + ecx*4]
mov eax, dword [edx]
push eax
lea esi, [esp + 0x38]
mov byte [esp + 0x23], 1
call fcn.0040ece0
lea ecx, [esp + 0x5c]
push ecx
mov ecx, dword [esp + 0x210]
lea edx, [esp + 0x78]
push edx
call fcn.00401810
mov eax, dword [esp + 0x74]
test eax, eax
jne 0x47e5b5
push 0xa
push 8
lea eax, [esp + 0x180]
push eax
call fcn.00446e22
push eax
call fcn.004179b8
add esp, 0x10
lea ecx, [esp + 0x178]
push ecx
lea eax, [esp + 0x50]
call fcn.00406af0
push 0x2e
lea edx, [esp + 0x50]
push edx
call fcn.00453184
mov eax, dword [ebp]
mov ecx, dword [edi + 4]
mov edx, dword [ecx + eax*4]
mov eax, dword [edx]
push eax
lea eax, [esp + 0x50]
call fcn.00401da0
lea ecx, [esp + 0x5c]
push ecx
lea edx, [esp + 0x1c]
push edx
mov ecx, 0x10
lea esi, [esp + 0x54]
call fcn.00401810
mov esi, dword [esp + 0x18]
test esi, esi
jne 0x47e56a
mov edi, 0x4858e8
lea ebx, [esp + 0x20]
call fcn.0040f160
mov ecx, dword [esp + 0x5c]
lea eax, [esi + 0x10]
mov edx, ebx
lea esi, [esp + 0x4c]
call fcn.0040d4d0
lea eax, [esp + 0x5c]
push eax
lea ecx, [esp + 0x1c]
push ecx
mov ecx, 0x10
call fcn.00401810
cmp dword [esp + 0x18], 0
je 0x47ea4c
mov edi, dword [esp + 0x204]
mov esi, dword [esp + 0x18]
mov byte [esp + 0x1f], 0
push 0x4a56dc
call fcn.00436145
test al, al
je 0x47e587
push 2
push 0x400
push esi
lea edx, [esp + 0x40]
push edx
jmp 0x47e594
push 1
push 0x400
push esi
lea eax, [esp + 0x40]
push eax
call fcn.0045e1fd
lea ecx, [esp + 0x5c]
push ecx
mov ecx, dword [esp + 0x210]
lea edx, [esp + 0x78]
push edx
lea esi, [esp + 0x3c]
call fcn.00401810
jmp 0x47e5d5
cmp dword [esp + 0x5c], 0x400
jne 0x47eb24
push eax
call fcn.004374e1
mov dword [esp + 0x18], eax
test eax, eax
je 0x47eb24
inc dword [ebp]
mov eax, dword [ebp]
mov ecx, dword [edi + 4]
mov edx, dword [ecx + eax*4]
cmp word [edx + 8], 0x4e
jne 0x47e78f
xor ebx, ebx
jmp 0x47e5f3
inc dword [ebp]
mov eax, dword [ebp]
mov ecx, dword [edi + 4]
mov edx, dword [ecx + eax*4]
movsx eax, word [edx + 0xa]
push 0xffffffffffffffff
lea ecx, [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x208]
push ebp
push edi
mov dword [esp + 0x24], eax
call fcn.00402500
test eax, eax
jne 0x47ea70
lea ecx, [esp + 0x20]
call fcn.00401640
test eax, eax
jle 0x47ea84
mov eax, dword [ebp]
mov edx, dword [edi + 4]
mov ecx, dword [edx + eax*4]
cmp word [ecx + 8], 0x4f
jne 0x47ea98
inc eax
lea ecx, [esp + 0x20]
mov dword [ebp], eax
call fcn.00401640
mov edx, dword [ebp]
mov dword [esp + ebx*4 + 0x78], eax
mov eax, dword [edi + 4]
mov ecx, dword [eax + edx*4]
inc ebx
cmp word [ecx + 8], 0x4e
mov dword [esp + 0x70], ebx
je 0x47e5f3
cmp ebx, 1
jl 0x47eaa4
mov esi, dword [esp + 0x18]
push esi
call fcn.00445951
test al, al
je 0x47e738
push 0
push esi
call fcn.004373c1
cmp eax, ebx
jne 0x47e738
xor edx, edx
test ebx, ebx
jle 0x47e78f
lea eax, [edx + 1]
push eax
push esi
mov dword [esp + 0x50], eax
call fcn.004373c1
cmp eax, dword [esp + edx*4 + 0x78]
jne 0x47e6c5
mov edx, dword [esp + 0x48]
cmp edx, ebx
jl 0x47e6a4
jmp 0x47e78f
cmp edx, ebx
jge 0x47e78f
lea edx, [esp + 0x20]
push edx
call fcn.0045e08e
mov dword [esp + 0x10], 0
lea esp, [esp]
mov eax, dword [esp + 0x10]
mov esi, dword [esp + eax*4 + 0x78]
lea edx, [esp + 0x20]
call fcn.00401270
test al, al
je 0x47eab8
mov eax, dword [esp + 0x10]
inc eax
cmp eax, ebx
mov dword [esp + 0x10], eax
jl 0x47e6e3
push 0
mov eax, edx
call fcn.00401070
add esp, 4
test al, al
jne 0x47eac9
mov ebx, dword [esp + 0x18]
push ebx
lea ecx, [esp + 0x24]
push ecx
call fcn.00478411
lea edx, [esp + 0x20]
push edx
call fcn.00404c00
jmp 0x47e78f
push esi
call fcn.0045e08e
mov dword [esp + 0x10], 0
test ebx, ebx
jle 0x47e77b
jmp 0x47e753
mov eax, dword [esp + 0x10]
mov esi, dword [esp + eax*4 + 0x78]
mov edx, dword [esp + 0x18]
call fcn.00401270
test al, al
je 0x47ead5
mov eax, dword [esp + 0x10]
inc eax
cmp eax, ebx
mov dword [esp + 0x10], eax
jl 0x47e753
mov esi, edx
push 0
mov eax, esi
call fcn.00401070
add esp, 4
test al, al
je 0x47eae6
mov eax, dword [ebp]
mov ecx, dword [edi + 4]
mov edx, dword [ecx + eax*4]
cmp word [edx + 8], 0x41
jne 0x47e9f6
cmp byte [esp + 0x1f], 0
lea esi, [eax + 1]
mov dword [ebp], esi
mov ebx, dword [edi + 4]
mov eax, dword [ebx + esi*4]
movsx ecx, word [eax + 0xa]
mov dword [esp + 0x14], ecx
je 0x47e81f
xor ecx, ecx
cmp word [eax + 8], 0x7f
je 0x47e9f6
jmp 0x47e7d3
mov edx, dword [ebx + esi*4]
movsx eax, word [edx + 8]
add eax, 0xffffffb9
cmp eax, 8
ja case.0x47e7e9.73
movzx eax, byte [eax + 0x47eb83]
jmp dword [eax*4 + 0x47eb77]
inc ecx
jmp case.0x47e7e9.73
dec ecx
inc esi
mov dword [ebp], esi
test ecx, ecx
jne 0x47e80d
mov edx, dword [edi + 4]
mov eax, dword [edx + esi*4]
cmp word [eax + 8], 0x40
je 0x47e9f6
mov ebx, dword [edi + 4]
mov eax, dword [ebx + esi*4]
cmp word [eax + 8], 0x7f
jne 0x47e7d3
jmp 0x47e9f6
cmp word [eax + 8], 0x4e
mov ecx, dword [esp + 0x18]
push ecx
jne 0x47e920
call fcn.00445951
test al, al
je 0x47eafa
mov dword [esp + 0x10], 0
mov dword [esp + 0x44], esi
cmp esi, dword [edi + 8]
jae 0x47e8df
lea esi, [ebx + esi*4]
mov dword [esp + 0x14], esi
mov ecx, dword [esi]
movzx ebx, word [ecx + 8]
mov dword [esp + 0x48], ecx
cmp bx, 0x33
jne 0x47e87b
mov esi, dword [ecx]
lea eax, [esp + 0x34]
call fcn.0040eab0
test al, al
jne 0x47eb03
cmp bx, 0x4e
je 0x47e8b8
cmp bx, 0x47
je 0x47e8b8
cmp bx, 0x4f
je 0x47e8ad
cmp bx, 0x48
je 0x47e8ad
cmp bx, 0x40
jne 0x47e8a0
cmp dword [esp + 0x10], 0
je 0x47e8df
cmp bx, 0x7f
je 0x47e8df
mov ecx, 1
jmp 0x47e8c1
mov ecx, 1
sub dword [esp + 0x10], ecx
jmp 0x47e8c1
mov ecx, 1
add dword [esp + 0x10], ecx
mov eax, dword [esp + 0x44]
mov esi, dword [esp + 0x14]
add eax, ecx
add esi, 4
mov dword [esp + 0x44], eax
mov dword [esp + 0x14], esi
cmp eax, dword [edi + 8]
jb 0x47e858
cmp dword [esp + 0x70], 0
jle 0x47e8f9
mov ecx, dword [esp + 0x70]
xor eax, eax
lea edi, [esp + 0x78]
rep stosd dword es:[edi], eax
mov edi, dword [esp + 0x204]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x200]
push 1
lea edx, [esp + 0x7c]
push edx
push eax
push ebp
push edi
call fcn.0047e20d
test al, al
je 0x47eb44
jmp 0x47e9f6
call fcn.00445951
test al, al
jne 0x47eaa4
mov dword [esp + 0x10], 0
mov dword [esp + 0x44], esi
cmp esi, dword [edi + 8]
jae 0x47e9c9
lea ebx, [ebx + esi*4]
mov dword [esp + 0x48], ebx
mov ebx, dword [ebx]
movzx eax, word [ebx + 8]
cmp ax, 0x7f
je 0x47e9c9
cmp ax, 0x4e
je 0x47e9ac
cmp ax, 0x47
je 0x47e9ac
cmp ax, 0x4f
je 0x47e9a6
cmp ax, 0x48
je 0x47e9a6
cmp ax, 0x40
jne 0x47e97a
cmp dword [esp + 0x10], 0
je 0x47e9c9
cmp ax, 0x33
jne 0x47e9b0
mov esi, dword [ebx]
lea eax, [esp + 0x34]
call fcn.0040eab0
test al, al
je 0x47e9b0
movsx edx, word [ebx + 0xa]
mov eax, dword [esp + 0x200]
push edx
push 0xb1
push eax
jmp 0x47eb3f
dec dword [esp + 0x10]
jmp 0x47e9b0
inc dword [esp + 0x10]
mov eax, dword [esp + 0x44]
mov ebx, dword [esp + 0x48]
inc eax
add ebx, 4
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], ebx
cmp eax, dword [edi + 8]
jb 0x47e949
mov esi, dword [esp + 0x200]
push 0xffffffffffffffff
lea eax, [esp + 0x24]
push eax
push ebp
push edi
mov ecx, esi
call fcn.00402500
test eax, eax
jne 0x47eb13
mov ebx, dword [esp + 0x18]
lea ecx, [esp + 0x20]
push ecx
call fcn.00404c00
mov eax, dword [ebp]
mov edx, dword [edi + 4]
mov ecx, dword [edx + eax*4]
movzx ecx, word [ecx + 8]
cmp cx, 0x7f
je 0x47eb44
cmp cx, 0x40
jne 0x47eb1d
inc eax
mov dword [ebp], eax
mov eax, dword [edi + 4]
mov edx, dword [ebp]
mov ecx, dword [eax + edx*4]
cmp word [ecx + 8], 0x33
je 0x47e476
mov edx, dword [ebp]
mov eax, dword [edi + 4]
mov ecx, dword [eax + edx*4]
movsx edx, word [ecx + 0xa]
mov eax, dword [esp + 0x200]
push edx
push 0x7f
push eax
jmp 0x47eb3f
mov edx, dword [esp + 0x204]
mov eax, dword [edx + 4]
mov ecx, dword [ebp]
mov ecx, dword [eax + ecx*4]
movsx edx, word [ecx + 0xa]
mov eax, dword [esp + 0x200]
push edx
push 0x79
push eax
jmp 0x47eb3f
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x200]
push eax
push 0x7b
push ecx
jmp 0x47eb3f
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x200]
push edx
push 0x7b
push eax
jmp 0x47eb3f
mov ecx, dword [esp + 0x14]
push ecx
push 0x7b
jmp 0x47eb37
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x200]
push eax
push 0x7e
push ecx
jmp 0x47eb3f
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x200]
push edx
push 0x7d
push eax
jmp 0x47eb3f
mov ecx, dword [esp + 0x14]
push ecx
push 0x82
jmp 0x47eb37
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x200]
push eax
push 0x7d
push ecx
jmp 0x47eb3f
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x200]
push edx
push 0x82
push eax
jmp 0x47eb3f
mov ecx, dword [esp + 0x14]
push ecx
push 0x7c
jmp 0x47eb37
mov eax, dword [esp + 0x48]
movsx ecx, word [eax + 0xa]
push ecx
push 0xb1
jmp 0x47eb37
mov ecx, dword [esp + 0x14]
push ecx
push 0x6e
push esi
jmp 0x47eb3f
mov edx, eax
jmp 0x47ea32
mov ecx, dword [ebp]
mov edx, dword [edi + 4]
mov eax, dword [edx + ecx*4]
movsx ecx, word [eax + 0xa]
push ecx
push 0x9b
mov edx, dword [esp + 0x208]
push edx
call fcn.00445c74
lea esi, [esp + 0x20]
call fcn.00404b80
lea ecx, [esp + 0x4c]
call fcn.004059c0
lea ecx, [esp + 0x34]
call fcn.004059c0
lea ecx, [esp + 0x60]
call fcn.004059c0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1ec
ret 0x10