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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0xac]
cmp eax, dword [ecx + 8]
jbe 0x47d02f
sub esp, 0x12c
lea edi, [esp + 0x138]
xor eax, eax
call fcn.00460c93
mov dword [esp + 0xcc], 0
mov dword [esp + 0xd0], 0
mov dword [esp + 0xd4], 0
mov dword [esp + 0xd8], 0
mov ecx, dword [esp + 0x130]
mov dword [esp + 0xcc], ecx
lea edi, [esp + 0xdc]
call fcn.00460c99
lea edi, [esp + 0xf8]
call fcn.00460c93
lea ecx, [esp + 0xf8]
mov dword [esp + 0xe8], ecx
call fcn.0044d7e0
mov ecx, dword [esp]
mov dword [esp + 0xe4], ecx
mov eax, 1
lea ecx, [esp + 0xcc]
mov edx, 1
xor ebx, ebx
lea ebp, [esp + 0x3c]
xor esi, esi
xor edi, edi
jmp 0x47c8f0
mov esi, dword [esp + 0xc8]
mov eax, dword [esp + 0xa0]
mov ecx, dword [esp + 0x40]
mov eax, ecx
mov ecx, ebp
mov edx, ebx
mov ebx, dword [esp + 0x5c]
mov ebp, dword [esp + 0xa0]
test eax, eax
je 0x47c935
mov dword [esp + 0x5c], edx
mov dword [esp + 0x58], eax
mov dword [esp + 0xa0], ecx
mov dword [esp + 0x90], esi
mov dword [esp + 0x88], eax
xor eax, eax
mov dword [esp + 0x74], eax
xor eax, eax
mov dword [esp + 0xc8], eax
xor eax, eax
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x88]
jmp 0x47c986
xchg edi, eax
test al, al
xchg edi, eax
je 0x47c8cd
xchg edi, eax
mov byte [esp + 0x16c], al
xchg edi, eax
add esp, 0x12c
ret
mov ecx, dword [esp + 0xc4]
add ecx, 0x10
mov edx, dword [esp + 0x74]
inc edx
mov dword [esp + 0x74], edx
mov dword [esp + 0xc8], esi
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x58]
mov edx, dword [esp + 0x5c]
mov esi, dword [esp + 0x90]
mov dword [esp + 0x80], ecx
mov ecx, ebx
mov ebx, ebp
mov ebp, ecx
mov ecx, dword [esp + 0x80]
mov esi, dword [esp + 0x74]
cmp esi, eax
jge 0x47c92f
mov dword [esp + 0x94], ebp
mov dword [esp + 0x44], ebx
xchg edi, eax
mov byte [esp + 0x3f], al
xchg edi, eax
mov dword [esp + 0xc4], ecx
mov eax, dword [ecx + 8]
mov dword [esp + 0x70], eax
mov edx, dword [ecx]
mov dword [esp + 0xc0], edx
mov ebx, dword [ecx + 4]
mov dword [esp + 0xbc], ebx
lea esi, [0x5183e0]
mov dword [esp], esi
lea edi, [esp + 0xdc]
mov dword [esp + 4], edi
mov dword [esp + 8], edx
call fcn.0040e1d0
mov eax, dword [esp + 0xc]
movzx eax, byte [eax]
test al, al
je 0x47ca08
movzx edi, byte [esp + 0x3f]
mov esi, dword [esp + 0xc8]
mov eax, dword [esp + 0x40]
mov ebp, dword [esp + 0x44]
mov ebx, dword [esp + 0x94]
jmp 0x47c945
lea eax, [0x5183e0]
mov dword [esp], eax
lea ecx, [esp + 0xdc]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0xc0]
mov dword [esp + 8], edx
call fcn.0040e770
mov eax, dword [esp + 0xc]
mov byte [eax], 1
mov eax, dword [esp + 0xc0]
mov ecx, dword [eax + 0x28]
mov dword [esp + 0x6c], ecx
mov edx, dword [esp + 0x40]
mov ebx, dword [esp + 0x94]
mov ebp, dword [esp + 0x44]
mov esi, dword [esp + 0xc8]
movzx edi, byte [esp + 0x3f]
mov dword [esp + 0x78], eax
xor eax, eax
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x78]
jmp 0x47ca97
mov eax, dword [esp + 0x40]
jmp 0x47c945
mov ebx, dword [esp + 0x50]
inc ebx
mov ebp, dword [esp + 0x6c]
mov dword [esp + 0x50], ebx
mov ebp, esi
mov ebx, edi
mov edi, edx
mov esi, ecx
mov edx, eax
mov eax, dword [esp + 0xc0]
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x40], edx
mov edx, dword [esp + 0x50]
cmp edx, ecx
jge 0x47ca6c
mov dword [esp + 0x68], ebp
mov dword [esp + 0xb8], ebx
mov ebx, dword [eax + 0x24]
mov ebp, dword [eax + 0x28]
cmp edx, ebp
jae 0x47d025
mov dword [esp + 0xb4], ebx
mov dword [esp + 0xb0], esi
xchg edi, eax
mov byte [esp + 0x3e], al
xchg edi, eax
lea eax, [edx + edx*2]
mov dword [esp + 0x64], eax
mov ecx, dword [ebx + eax*4]
mov dword [esp], ecx
call fcn.0047ae20
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0xb4]
mov edx, dword [ecx + eax*4]
mov ebx, dword [esp + 4]
mov ebp, dword [esp + 8]
movzx edx, byte [edx]
test dl, 8
je 0x47cb47
mov eax, dword [ecx + eax*4 + 4]
movzx ecx, byte [eax + 0xf]
and ecx, 0x1f
cmp ecx, 0x16
jne 0x47cb49
mov dword [esp + 0x9c], ebx
mov dword [esp + 0x54], ebp
mov dword [esp], eax
call fcn.0047bad0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov eax, dword [eax + 0x84]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 4]
mov ebx, dword [esp + 0x9c]
mov ebp, dword [esp + 0x54]
jmp 0x47cb49
xor eax, eax
mov dword [esp + 0xac], eax
mov edx, dword [esp + 0x134]
mov ecx, dword [edx]
mov dword [esp], ebx
mov dword [esp + 4], ebp
call ecx
movzx eax, byte [esp + 8]
test al, al
jne 0x47ce75
movzx edx, byte [esp + 0x3e]
test dl, dl
jne 0x47ce5a
mov ebx, dword [esp + 0xac]
test ebx, ebx
je 0x47ce5a
movzx ebp, byte [ebx + 0xf]
and ebp, 0x1f
cmp ebp, 0x19
jne 0x47ce5a
lea ecx, [0x518420]
mov dword [esp], ecx
mov edx, dword [esp + 0xb0]
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
call fcn.0040e1d0
mov eax, dword [esp + 0xc]
mov eax, dword [eax]
test eax, eax
jg 0x47ce0c
mov eax, dword [esp + 0xb0]
test eax, eax
jne 0x47cbdb
call fcn.0040c1f0
mov esi, dword [esp]
mov eax, esi
mov dword [esp + 0xc8], eax
lea ecx, [0x518420]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov edx, dword [esp + 0xac]
mov dword [esp + 8], edx
call fcn.0040e770
mov eax, dword [esp + 0xc]
mov dword [eax], 1
mov eax, dword [esp + 0xc0]
lea edx, [0x518420]
mov dword [esp], edx
mov ebx, dword [esp + 0x90]
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
call fcn.0040e1d0
mov eax, dword [esp + 0xc]
cmp dword [eax], 1
jle 0x47cc64
lea eax, [0x518420]
mov dword [esp], eax
mov ecx, dword [esp + 0xc8]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0xac]
mov dword [esp + 8], edx
call fcn.0040e770
mov eax, dword [esp + 0xc]
mov dword [eax], 2
mov eax, dword [esp + 0x70]
test eax, eax
ja 0x47cc74
xor edx, edx
xor ecx, ecx
xor ebx, ebx
jmp 0x47ccae
mov dword [esp], 0
mov dword [esp + 4], eax
mov dword [esp + 8], 0
mov dword [esp + 0xc], eax
lea ecx, [0x517680]
mov dword [esp + 0x10], ecx
call fcn.00448ac0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, ecx
mov ecx, eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0x4c], edx
mov dword [esp + 0x98], ecx
mov dword [esp + 0x48], ebx
mov dword [esp], ecx
mov ebp, dword [esp + 0xbc]
mov dword [esp + 4], ebp
shl eax, 2
mov dword [esp + 8], eax
call fcn.00461390
mov eax, dword [esp + 0x48]
inc eax
mov ecx, dword [esp + 0x4c]
cmp ecx, eax
jb 0x47ccf1
mov ecx, dword [esp + 0x98]
mov edx, dword [esp + 0x4c]
jmp 0x47cd26
mov edx, dword [esp + 0x98]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 1
lea eax, [0x517680]
mov dword [esp + 0x10], eax
call fcn.00448ac0
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x50]
mov dword [ecx + eax*4 - 4], ebx
mov ebp, dword [esp + 0x40]
inc ebp
mov esi, dword [esp + 0x68]
cmp esi, ebp
jb 0x47cd44
mov edi, dword [esp + 0xb8]
jmp 0x47cd9f
mov dword [esp + 0x98], ecx
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], edx
mov eax, dword [esp + 0xb8]
mov dword [esp], eax
mov dword [esp + 4], ebp
mov dword [esp + 8], esi
mov dword [esp + 0xc], 1
lea eax, [0x51e060]
mov dword [esp + 0x10], eax
call fcn.00448ac0
mov ebx, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x98]
mov edx, dword [esp + 0x4c]
mov edi, ebx
mov esi, eax
mov eax, dword [esp + 0x48]
mov ebx, dword [esp + 0x50]
lea ebx, [ebp - 1]
shl ebx, 4
mov dword [edi + ebx + 8], eax
mov dword [edi + ebx + 0xc], edx
mov edx, dword [0x64f2f0]
mov eax, ebp
lea ebp, [edi + ebx]
mov dword [esp + 0xa8], ebp
lea ebp, [edi + ebx + 4]
test edx, edx
jne 0x47cdd7
mov edx, dword [esp + 0xac]
mov dword [edi + ebx], edx
mov dword [edi + ebx + 4], ecx
jmp 0x47cdfb
mov edx, edi
mov edi, dword [esp + 0xa8]
mov ebx, eax
mov eax, dword [esp + 0xac]
call fcn.00460a90
mov edi, ebp
mov eax, ecx
call fcn.00460a90
mov eax, ebx
mov edi, edx
movzx edx, byte [esp + 0x3e]
mov ecx, dword [esp + 0xc8]
jmp 0x47ca75
lea eax, [0x518420]
mov dword [esp], eax
mov ecx, dword [esp + 0xb0]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0xac]
mov dword [esp + 8], edx
call fcn.0040e770
mov eax, dword [esp + 0xc]
mov dword [eax], 2
movzx edx, byte [esp + 0x3e]
mov ecx, dword [esp + 0xb0]
mov eax, dword [esp + 0x40]
mov esi, dword [esp + 0x68]
mov edi, dword [esp + 0xb8]
jmp 0x47ca75
mov ecx, dword [esp + 0xb0]
mov eax, dword [esp + 0x40]
mov esi, dword [esp + 0x68]
mov edi, dword [esp + 0xb8]
jmp 0x47ca75
mov eax, dword [esp + 0xc0]
lea edx, [0x518420]
mov dword [esp], edx
mov ebx, dword [esp + 0x90]
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
call fcn.0040e1d0
mov eax, dword [esp + 0xc]
cmp dword [eax], 1
jg 0x47d008
movzx ecx, byte [esp + 0x3e]
test cl, cl
jne 0x47d008
mov eax, dword [esp + 0xc0]
mov dword [esp], eax
mov ecx, dword [esp + 0x50]
mov dword [esp + 4], ecx
call fcn.0047c6c0
lea edi, [esp + 0x138]
lea esi, [esp + 8]
call fcn.0046112e
mov dword [esp + 0x15c], 0
mov dword [esp + 0x160], 0
mov dword [esp + 0x164], 0
mov eax, dword [esp + 0x70]
test eax, eax
ja 0x47cf0b
xor ecx, ecx
xor edx, edx
xor ebx, ebx
jmp 0x47cf45
mov dword [esp], 0
mov dword [esp + 4], eax
mov dword [esp + 8], 0
mov dword [esp + 0xc], eax
lea ecx, [0x517680]
mov dword [esp + 0x10], ecx
call fcn.00448ac0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, ecx
mov ecx, eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0xa4], ecx
mov dword [esp + 0x64], edx
mov dword [esp + 0x60], ebx
mov dword [esp], ecx
mov ebp, dword [esp + 0xbc]
mov dword [esp + 4], ebp
shl eax, 2
mov dword [esp + 8], eax
call fcn.00461390
mov eax, dword [esp + 0xa4]
mov dword [esp + 0x15c], eax
mov ecx, dword [esp + 0x60]
mov dword [esp + 0x160], ecx
mov edx, dword [esp + 0x64]
mov dword [esp + 0x164], edx
inc ecx
cmp edx, ecx
jae 0x47cfd9
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], 1
lea eax, [0x517680]
mov dword [esp + 0x10], eax
call fcn.00448ac0
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x164], edx
mov dword [esp + 0x15c], ecx
mov edx, ecx
mov ecx, eax
mov eax, edx
mov dword [esp + 0x160], ecx
mov edx, dword [esp + 0x50]
mov dword [eax + ecx*4 - 4], edx
mov edx, 1
mov ecx, dword [esp + 0xb0]
mov eax, dword [esp + 0x40]
mov esi, dword [esp + 0x68]
mov edi, dword [esp + 0xb8]
jmp 0x47ca75
lea edi, [esp + 0x138]
xor eax, eax
call fcn.00460c93
mov byte [esp + 0x16c], 0
add esp, 0x12c
ret
mov eax, edx
mov ecx, ebp
call fcn.00460b10
nop
call fcn.0045f680
jmp fcn.0047c810