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

Disassembly:
sub esp, 0x1a8
push ebx
mov ebx, dword [esp + 0x1bc]
xor ecx, ecx
push ebp
push esi
mov esi, dword [esp + 0x1c0]
mov eax, ebx
sub eax, esi
mov dword [esp + 0x40], ecx
sar eax, 2
push edi
push eax
mov dword [esp + 0x4c], ecx
call fcn.0047b970
mov ecx, eax
lea ebp, [esp + 0xbc]
lea eax, [esp + 0xd8]
mov dword [esp + 0x30], ebp
mov ebp, dword [esp + 0x1d0]
lea edx, [esp + 0xc8]
mov dword [esp + 0x34], eax
lea edi, [esp + 0xc0]
lea eax, [esp + 0xd4]
add esp, 4
mov dword [esp + 0x28], eax
lea eax, [esp + 0xcc]
mov dword [esp + 0x40], eax
lea eax, [esp + 0xc8]
mov dword [esp + 0x3c], eax
lea eax, [esp + 0xc0]
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], eax
mov dword [esp + 0x20], edx
mov edi, dword [esp + 0x3c]
mov dword [esp + 0x68], edi
mov dword [esp + 0x90], edi
mov edi, dword [esp + 0x40]
mov dword [esp + 0xa0], edi
mov dword [esp + 0x6c], edi
mov edi, dword [esp + 0x28]
mov dword [esp + 0x98], edi
mov dword [esp + 0x84], edi
mov dword [esp + 0x8c], edi
mov edi, dword [esp + 0x3c]
mov dword [esp + 0x80], edi
mov dword [esp + 0x5c], edi
mov edi, dword [esp + 0x40]
mov dword [esp + 0x10], ebx
sub dword [esp + 0x10], esi
sar dword [esp + 0x10], 2
cmp dword [esp + 0x10], 8
mov dword [esp + 0x50], edi
mov dword [esp + 0x70], edi
mov edi, dword [esp + 0x28]
mov dword [esp + 0x78], edi
mov dword [esp + 0x58], edi
mov dword [esp + 0xb4], edi
mov edi, dword [esp + 0x34]
mov dword [esp + 0x88], esi
mov dword [esp + 0x9c], ebx
mov dword [esp + 0x94], ebp
mov dword [esp + 0x7c], esi
mov dword [esp + 0x54], ebx
mov dword [esp + 0x74], ebp
mov dword [esp + 0x64], ecx
jg 0x47e97f
cmp dword [esp + 0x10], 1
jle 0x47e929
push ebp
push ebx
push esi
push dword [esp + 0x1cc]
push dword [esp + 0x1cc]
call fcn.004735c8
mov edx, dword [esp + 0x34]
add esp, 0x14
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x48]
test ecx, ecx
je 0x47f162
dec ecx
mov dword [esp + 0x48], ecx
mov ecx, dword [esp + 0x2c]
push 0x10
pop ebx
sub dword [esp + 0x3c], ebx
sub ecx, ebx
sub dword [esp + 0x40], ebx
sub eax, ebx
sub dword [esp + 0x28], ebx
sub edi, ebx
sub edx, ebx
mov dword [esp + 0x2c], ecx
sub dword [esp + 0x30], ebx
mov esi, dword [ecx]
mov ebx, dword [edi]
mov ebp, dword [eax]
mov ecx, dword [edx]
mov dword [esp + 0x1c4], esi
mov dword [esp + 0x1c8], ebx
mov dword [esp + 0x1cc], ebp
jmp 0x47e853
mov edx, dword [esp + 0x1bc]
mov eax, ecx
mov edi, dword [esp + 0x1c0]
add edx, ebp
dec ecx
mov dword [esp + 0x14], edx
mov dword [esp + 0x4c], ecx
test eax, eax
jne 0x47e9b5
push dword [esp + 0x10]
push esi
push edi
push edx
call fcn.0046f188
mov ecx, dword [esp + 0x5c]
add esp, 0x10
mov edx, dword [esp + 0x14]
test ecx, ecx
jns 0x47eb56
mov eax, dword [esi]
lea edi, [esi + 4]
mov edx, dword [esp + 0x1c0]
mov ecx, dword [esp + 0x14]
mov eax, dword [edx + eax*4]
movzx ecx, byte [eax + ecx]
cmp edi, ebx
jae 0x47ea14
mov ebp, dword [esp + 0x14]
mov eax, dword [edi]
mov eax, dword [edx + eax*4]
movzx eax, byte [eax + ebp]
mov dword [esp + 0x44], eax
cmp eax, ecx
je 0x47e9ff
mov eax, edi
sub eax, esi
and eax, 0xfffffffc
cmp eax, 4
jg 0x47ea06
mov ecx, dword [esp + 0x44]
mov esi, edi
add edi, 4
cmp edi, ebx
jb 0x47e9dc
mov ebp, dword [esp + 0x1cc]
mov dword [esp + 0x1c4], esi
mov eax, dword [esi]
mov ebx, dword [esp + 0x14]
mov eax, dword [edx + eax*4]
movzx eax, byte [eax + ebx - 1]
mov ebx, dword [esp + 0x1c8]
cmp eax, ecx
jge 0x47ea42
push ebp
push edi
push esi
push edx
call fcn.004d365c
mov esi, eax
add esp, 0x10
mov dword [esp + 0x1c4], esi
mov edx, ebx
mov eax, edi
sub edx, edi
sub eax, esi
sar edx, 2
sar eax, 2
cmp eax, edx
jg 0x47eacc
cmp eax, 1
jle 0x47eabe
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x20]
push 0x10
mov dword [ecx], edi
mov ecx, dword [esp + 0x38]
or dword [edx], 0xffffffff
inc dword [esp + 0x4c]
mov dword [ecx], ebx
mov ecx, dword [esp + 0x3c]
pop ebx
add dword [esp + 0x2c], ebx
add edx, ebx
add dword [esp + 0x34], ebx
add dword [esp + 0x3c], ebx
add dword [esp + 0x40], ebx
add dword [esp + 0x28], ebx
add dword [esp + 0x30], ebx
mov dword [ecx], ebp
add ecx, ebx
mov ebx, edi
mov dword [esp + 0x38], ecx
inc ebp
mov dword [esp + 0x20], edx
push eax
mov dword [esp + 0x1cc], ebx
mov dword [esp + 0x1d0], ebp
call fcn.0047b970
add esp, 4
mov ecx, eax
jmp 0x47eb4d
mov esi, edi
or ecx, 0xffffffff
mov dword [esp + 0x1c4], esi
jmp 0x47eb49
lea ecx, [ebp + 1]
push eax
mov dword [esp + 0x20], ecx
call fcn.0047b970
add esp, 4
mov ecx, eax
cmp edx, 1
jle 0x47eb35
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x1c]
inc dword [esp + 0x48]
push 0x10
mov dword [eax], esi
mov eax, dword [esp + 0x3c]
mov esi, dword [esp + 0x38]
mov dword [eax], edx
mov edx, dword [esp + 0x24]
mov dword [esi], edi
mov dword [edx], ecx
pop ecx
add dword [esp + 0x2c], ecx
add esi, ecx
add dword [esp + 0x3c], ecx
add eax, ecx
add dword [esp + 0x40], ecx
add edx, ecx
add dword [esp + 0x28], ecx
add dword [esp + 0x30], ecx
or ecx, 0xffffffff
mov dword [esp + 0x34], esi
mov esi, edi
mov dword [esp + 0x1c4], esi
jmp 0x47e857
mov ebp, dword [esp + 0x1c]
mov ebx, edi
mov dword [esp + 0x1c8], ebx
mov dword [esp + 0x1cc], ebp
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x38]
jmp 0x47e85f
push ebx
push esi
push edi
push edx
call fcn.004d03f0
mov ebp, dword [esp + 0x24]
add esp, 0x10
mov edx, dword [eax]
mov ecx, dword [edi + edx*4]
movzx ecx, byte [ecx + ebp]
mov dword [esp + 0x10], ecx
mov ecx, dword [esi]
mov dword [esi], edx
mov edx, esi
mov dword [eax], ecx
mov ecx, ebp
mov eax, dword [esp + 0x44]
add edx, 4
cmp edx, ebx
jae 0x47eb97
mov eax, dword [edx]
mov eax, dword [edi + eax*4]
movzx eax, byte [eax + ecx]
cmp eax, dword [esp + 0x10]
je 0x47eb81
mov dword [esp + 0x44], eax
mov dword [esp + 0x24], edx
cmp edx, ebx
jae 0x47ebec
cmp eax, dword [esp + 0x10]
jge 0x47ebec
add edx, 4
cmp edx, ebx
jae 0x47ebec
mov esi, dword [esp + 0x24]
mov eax, dword [edx]
mov dword [esp + 0x1c], eax
mov eax, dword [edi + eax*4]
movzx eax, byte [eax + ecx]
mov dword [esp + 0x44], eax
cmp eax, dword [esp + 0x10]
ja 0x47ebe1
jne 0x47ebda
mov eax, dword [esi]
mov dword [edx], eax
mov eax, dword [esp + 0x1c]
mov dword [esi], eax
add esi, 4
add edx, 4
cmp edx, ebx
jb 0x47ebb4
mov dword [esp + 0x24], esi
mov esi, dword [esp + 0x1c4]
mov ecx, dword [esp + 0x1c0]
mov edi, ebx
mov eax, dword [esp + 0x44]
mov ebp, dword [esp + 0x14]
sub edi, 4
cmp edx, edi
jae 0x47ec13
mov eax, dword [edi]
mov eax, dword [ecx + eax*4]
movzx eax, byte [eax + ebp]
cmp eax, dword [esp + 0x10]
je 0x47ebfd
mov ebp, dword [esp + 0x1cc]
mov dword [esp + 0x44], eax
mov dword [esp + 0x18], edi
cmp edx, edi
jae 0x47ed3a
cmp eax, dword [esp + 0x10]
jle 0x47ec8a
sub edi, 4
cmp edx, edi
jae 0x47ed3a
mov ebx, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
mov eax, dword [edi]
mov dword [esp + 0x1c], eax
mov eax, dword [ecx + eax*4]
movzx eax, byte [eax + ebx]
mov dword [esp + 0x44], eax
cmp eax, dword [esp + 0x10]
jb 0x47ec70
jne 0x47ec69
mov eax, dword [esi]
mov dword [edi], eax
mov eax, dword [esp + 0x1c]
mov dword [esi], eax
sub esi, 4
sub edi, 4
cmp edx, edi
jb 0x47ec43
mov ebx, dword [esp + 0x1c8]
mov dword [esp + 0x18], esi
mov esi, dword [esp + 0x1c4]
cmp edx, edi
jae 0x47ed3a
mov ebx, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
mov ecx, dword [edx]
mov eax, dword [edi]
mov dword [edx], eax
add edx, 4
mov dword [edi], ecx
mov ecx, dword [esp + 0x1c0]
cmp edx, edi
jae 0x47ece5
mov esi, dword [esp + 0x10]
mov eax, dword [edx]
mov dword [esp + 0x1c], eax
mov eax, dword [ecx + eax*4]
movzx ebp, byte [eax + ebx]
mov dword [esp + 0x44], ebp
cmp ebp, esi
ja 0x47ece1
jne 0x47ecda
mov ebp, dword [esp + 0x24]
mov eax, dword [ebp]
mov dword [edx], eax
mov eax, dword [esp + 0x1c]
mov dword [ebp], eax
add ebp, 4
mov dword [esp + 0x24], ebp
add edx, 4
cmp edx, edi
jb 0x47ecac
mov esi, dword [esp + 0x18]
sub edi, 4
cmp edx, edi
jae 0x47ed25
mov eax, dword [edi]
mov dword [esp + 0x1c], eax
mov eax, dword [ecx + eax*4]
movzx ebp, byte [eax + ebx]
mov dword [esp + 0x44], ebp
cmp ebp, dword [esp + 0x10]
jb 0x47ed19
jne 0x47ed12
mov eax, dword [esi]
mov dword [edi], eax
mov eax, dword [esp + 0x1c]
mov dword [esi], eax
sub esi, 4
sub edi, 4
cmp edx, edi
jb 0x47ecec
mov dword [esp + 0x18], esi
cmp edx, edi
jb 0x47ec92
mov esi, dword [esp + 0x1c4]
mov ebx, dword [esp + 0x1c8]
mov ebp, dword [esp + 0x1cc]
mov edi, dword [esp + 0x24]
cmp edi, dword [esp + 0x18]
ja 0x47f119
mov eax, edi
mov dword [esp + 0x24], esi
sub eax, esi
mov ecx, edx
sub ecx, edi
sar eax, 2
sar ecx, 2
cmp eax, ecx
mov dword [esp + 0x60], ecx
mov edi, ecx
cmovle edi, eax
test edi, edi
jle 0x47ed9c
mov eax, edi
mov ecx, edx
shl eax, 2
mov ebx, esi
sub ecx, eax
sub ecx, esi
mov dword [esp + 0x1c], ecx
mov ebp, ecx
mov ecx, dword [ebx]
dec edi
mov eax, dword [ebx + ebp]
mov dword [ebx], eax
mov dword [ebx + ebp], ecx
lea ebx, [ebx + 4]
test edi, edi
jg 0x47ed7c
mov ebx, dword [esp + 0x1c8]
mov ebp, dword [esp + 0x1cc]
mov edi, dword [esp + 0x18]
lea eax, [edx - 4]
sub edi, eax
mov eax, ebx
sub eax, dword [esp + 0x18]
sar edi, 2
sar eax, 2
dec eax
mov dword [esp + 0x1c], edi
cmp edi, eax
cmovle eax, edi
mov dword [esp + 0x24], eax
test eax, eax
jle 0x47edf3
mov ebp, dword [esp + 0x24]
mov ecx, ebx
shl eax, 2
sub ecx, eax
sub ecx, edx
mov dword [esp + 0x18], ecx
mov edi, ecx
mov ecx, dword [edx]
dec ebp
mov eax, dword [edi + edx]
mov dword [edx], eax
mov dword [edi + edx], ecx
lea edx, [edx + 4]
test ebp, ebp
jg 0x47edd6
mov ebp, dword [esp + 0x1cc]
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x60]
mov edx, dword [esp + 0x1c0]
lea ecx, [esi + eax*4]
mov eax, edi
shl eax, 2
mov edi, ebx
mov ebx, dword [esp + 0x14]
sub edi, eax
mov eax, dword [ecx]
mov dword [esp + 0x24], ecx
mov eax, dword [edx + eax*4]
movzx eax, byte [eax + ebx - 1]
mov ebx, dword [esp + 0x1c8]
cmp dword [esp + 0x10], eax
ja 0x47ee31
mov eax, ecx
mov dword [esp + 0x18], ecx
jmp 0x47ee41
push ebp
push edi
push ecx
push edx
call fcn.004d365c
add esp, 0x10
mov dword [esp + 0x18], eax
mov ecx, edi
lea edx, [ebp + 1]
sub ecx, eax
sar ecx, 2
push ecx
mov dword [esp + 0x14], ecx
call fcn.0047b970
mov ecx, dword [esp + 0x3c]
add esp, 4
mov esi, dword [esp + 0x20]
add dword [esp + 0x48], 2
add esi, 0x20
add dword [esp + 0x3c], 0x20
add dword [esp + 0x40], 0x20
add dword [esp + 0x28], 0x20
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x2c]
add eax, 0x20
mov dword [esp + 0xb0], esi
mov esi, dword [esp + 0x1c4]
mov dword [esp + 0xa4], eax
mov eax, dword [esp + 0x34]
add eax, 0x20
mov dword [esp + 0xa8], eax
lea eax, [ecx + 0x20]
mov dword [esp + 0xac], eax
mov eax, dword [esp + 0x30]
add eax, 0x20
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x60]
cmp eax, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
jg 0x47efce
mov ebp, dword [esp + 0x1c]
cmp ebp, dword [esp + 0x10]
mov ebp, dword [esp + 0x1cc]
jg 0x47ef15
mov ebx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x18]
mov dword [ebx], ecx
mov ecx, dword [esp + 0x38]
mov ebx, dword [esp + 0x34]
mov dword [ecx], edx
mov edx, ebp
mov ecx, dword [esp + 0x14]
mov dword [eax], ecx
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x4c]
mov dword [ebx], edi
mov ebx, dword [esp + 0x24]
mov dword [ecx], eax
mov dword [esp + 0x1c8], ebx
jmp 0x47efc1
mov eax, dword [esp + 0x2c]
mov dword [eax], edi
mov eax, dword [esp + 0x34]
mov dword [eax], ebx
mov eax, dword [esp + 0x4c]
mov dword [ecx], ebp
mov ecx, dword [esp + 0x20]
mov dword [ecx], eax
mov ecx, dword [esp + 0x60]
cmp ecx, dword [esp + 0x10]
jg 0x47ef6d
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x14]
mov ebx, dword [esp + 0x24]
mov dword [esp + 0x54], edi
mov edi, dword [esp + 0x18]
mov dword [eax], ecx
mov eax, dword [esp + 0xb4]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x1c8], ebx
jmp 0x47efbd
mov ecx, dword [esp + 0x30]
mov ebp, edx
mov esi, dword [esp + 0x18]
mov edx, dword [esp + 0x74]
mov dword [esp + 0x1c8], edi
mov edi, dword [esp + 0x7c]
mov dword [ecx], eax
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x80]
mov dword [esp + 0x1c4], esi
mov dword [esp + 0x1cc], ebp
mov dword [esp + 0x50], ecx
mov dword [esp + 0x5c], eax
mov ecx, dword [esp + 0x4c]
mov eax, dword [esp + 0x5c]
jmp 0x47f0d3
mov ebp, dword [esp + 0x60]
cmp ebp, dword [esp + 0x10]
mov ebp, dword [esp + 0x1cc]
jg 0x47f02c
mov esi, dword [esp + 0x2c]
mov eax, dword [esp + 0x18]
mov dword [ecx], edx
mov edx, ebp
mov ecx, dword [esp + 0x14]
mov dword [esi], eax
mov eax, dword [esp + 0x20]
mov esi, dword [esp + 0x34]
mov dword [eax], ecx
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x4c]
mov dword [esi], edi
mov esi, edi
mov edi, dword [esp + 0x88]
mov dword [eax], ecx
mov eax, dword [esp + 0x84]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x6c]
jmp 0x47f0c4
mov eax, dword [esp + 0x2c]
mov dword [eax], esi
mov esi, dword [esp + 0x34]
mov eax, dword [esp + 0x24]
mov dword [esi], eax
mov eax, dword [esp + 0x20]
mov dword [ecx], ebp
mov ecx, dword [esp + 0x4c]
mov dword [eax], ecx
mov eax, dword [esp + 0x1c]
cmp eax, dword [esp + 0x10]
jg 0x47f082
mov esi, dword [esp + 0x30]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x54], edi
mov dword [esi], eax
mov esi, edi
mov eax, dword [esp + 0x8c]
mov edi, dword [esp + 0x18]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x90]
jmp 0x47f0cc
mov eax, dword [esp + 0x30]
mov ebp, edx
mov esi, dword [esp + 0x18]
mov edx, dword [esp + 0x94]
mov dword [esp + 0x1c8], edi
mov dword [eax], ecx
mov eax, dword [esp + 0x98]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x9c]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0xa0]
mov dword [esp + 0x1cc], ebp
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x1c4], esi
mov ebx, dword [esp + 0x64]
mov dword [eax], edi
mov eax, dword [esp + 0x50]
mov edi, dword [esp + 0x54]
mov dword [esp + 0x30], ebx
mov ebx, dword [esp + 0x1c8]
mov dword [eax], edi
mov eax, dword [esp + 0x58]
mov edi, dword [esp + 0xa8]
mov dword [eax], edx
mov eax, dword [esp + 0xa4]
mov edx, dword [esp + 0xb0]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0xac]
jmp 0x47e853
mov eax, dword [esi]
mov edx, dword [esp + 0x1c0]
mov edi, dword [esp + 0x14]
mov ecx, dword [esp + 0x64]
mov eax, dword [edx + eax*4]
movzx eax, byte [eax + edi - 1]
cmp eax, dword [esp + 0x10]
jae 0x47f15c
push ebp
push ebx
push esi
push edx
call fcn.004d365c
mov esi, eax
mov eax, ebx
sub eax, esi
mov dword [esp + 0x1d4], esi
sar eax, 2
push eax
call fcn.0047b970
add esp, 0x14
mov ecx, eax
inc ebp
jmp 0x47eb42
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1a8
ret