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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x47ed4a
sub esp, 0x70
mov edx, dword [esp + 0x74]
test edx, edx
je 0x47e8d9
lea ebx, [0x5956c0]
cmp edx, ebx
jne 0x47e8df
lea eax, [0x5bb1e8]
mov dword [esp], eax
lea eax, [0x4eaef0]
mov dword [esp + 4], eax
call fcn.004618d0
mov edx, dword [esp + 0x74]
jmp 0x47e8df
lea edx, [0x5935a0]
mov ebx, dword [edx + 8]
mov ecx, dword [edx + 0xc]
test ecx, ecx
je 0x47eac4
mov ebp, dword [edx + 0x38]
test ebp, ebp
je 0x47e9c2
mov dword [esp + 0x64], ebp
mov esi, dword [edx + 0x2c]
mov dword [esp + 0x5c], esi
mov edi, dword [esp + 0x7c]
cmp edi, esi
mov eax, ebx
setg bl
xchg esi, ebx
sete bl
xchg esi, ebx
mov ebp, dword [edx + 0x28]
mov dword [esp + 0x58], ebp
mov edi, dword [esp + 0x78]
cmp edi, ebp
xchg ebp, ebx
setae bl
xchg ebp, ebx
and ebp, esi
or ebp, ebx
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x47e9c8
mov ebx, dword [edx + 0x34]
mov dword [esp + 0x54], ebx
mov ebp, dword [esp + 0x7c]
cmp ebp, ebx
xchg esi, ebx
sete bl
xchg esi, ebx
setl bl
mov ebp, dword [edx + 0x30]
mov dword [esp + 0x50], ebp
cmp edi, ebp
xchg ebp, ebx
setb bl
xchg ebp, ebx
and ebp, esi
or ebx, ebp
test bl, bl
je 0x47e9c8
mov eax, dword [esp + 0x64]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov ebx, dword [eax + 8]
movzx eax, byte [eax + 0xc]
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], edx
mov dword [esp + 0x88], ebx
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x90], ecx
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x8c], ecx
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x98], ecx
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x94], ecx
mov byte [esp + 0x9c], al
add esp, 0x70
ret
mov eax, ebx
mov edi, dword [esp + 0x78]
mov dword [esp + 0x60], edx
mov ebx, dword [edx + 0x18]
mov ebp, dword [edx + 0x14]
test ebx, ebx
je 0x47ea34
cmp dword [ebp], edi
xchg esi, ebx
seta bl
xchg esi, ebx
mov edx, dword [ebp + 4]
mov edi, dword [esp + 0x7c]
cmp edi, edx
sete dl
xchg edi, ebx
setl bl
xchg edi, ebx
and esi, edx
or esi, edi
xchg esi, eax
test al, al
xchg esi, eax
jne 0x47ea30
mov dword [esp + 0x6c], ebp
mov dword [esp + 0x4c], ebx
mov edx, dword [esp + 0x78]
mov esi, dword [esp + 0x7c]
mov edi, ebx
xor ebx, ebx
mov dword [esp + 0x3c], ebx
mov ebx, edi
mov edi, 0x7fffffff
mov dword [esp + 0x5c], edi
mov edi, 0xffffffff
mov dword [esp + 0x58], edi
mov edi, ebx
jmp 0x47eb48
mov edx, dword [esp + 0x60]
mov dword [esp], edx
call fcn.0047ed60
mov eax, dword [esp + 0x60]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov ebx, dword [esp + 4]
cmp edx, ebx
jbe 0x47eb1f
shl ebx, 4
mov edx, dword [ebx + ecx]
mov ebp, dword [ebx + ecx + 4]
mov esi, dword [ebx + ecx + 8]
mov edi, dword [eax + 0x14]
mov eax, dword [eax + 0x18]
test eax, eax
jle 0x47ea71
mov eax, dword [edi + 4]
mov edi, dword [edi]
jmp 0x47ea7b
mov eax, 0x7fffffff
mov edi, 0xffffffff
movzx ecx, byte [ebx + ecx + 0xc]
mov dword [esp + 0x80], edx
mov dword [esp + 0x84], ebp
mov dword [esp + 0x88], esi
mov dword [esp + 0x90], 0x80000000
mov dword [esp + 0x8c], 0
mov dword [esp + 0x98], eax
mov dword [esp + 0x94], edi
mov byte [esp + 0x9c], cl
add esp, 0x70
ret
lea eax, [0x4e044a]
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], 3
mov dword [esp + 0x88], 0
mov dword [esp + 0x90], 0x80000000
mov dword [esp + 0x8c], 0
mov dword [esp + 0x98], 0x7fffffff
mov dword [esp + 0x94], 0xffffffff
mov byte [esp + 0x9c], 0
add esp, 0x70
ret
mov eax, ebx
mov ecx, edx
call fcn.0045c020
mov ebp, dword [esp + 0x78]
mov ebp, dword [esp + 0x6c]
mov dword [esp + 0x3c], edx
mov dword [esp + 0x5c], edi
mov dword [esp + 0x58], esi
mov edx, dword [esp + 0x78]
mov esi, dword [esp + 0x7c]
mov edi, dword [esp + 0x4c]
mov dword [esp + 0x40], ebx
mov edx, dword [esp + 0x3c]
sub ebx, edx
cmp ebx, 1
jle 0x47ebc4
mov dword [esp + 0x48], ebx
shr ebx, 0x1f
mov esi, dword [esp + 0x48]
add ebx, esi
sar ebx, 1
add ebx, edx
cmp edi, ebx
jbe 0x47ed40
mov dword [esp + 0x48], ebx
lea esi, [ebx + ebx*2]
mov edi, dword [ebp + esi*4 + 4]
mov edx, dword [esp + 0x7c]
cmp edx, edi
setl bl
mov esi, dword [ebp + esi*4]
mov ebp, dword [esp + 0x78]
cmp ebp, esi
xchg ebp, ebx
setb bl
xchg ebp, ebx
cmp edx, edi
sete dl
and edx, ebp
or edx, ebx
test dl, dl
je 0x47ebaf
mov edx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x48]
jmp 0x47eb28
mov edx, dword [esp + 0x48]
mov ebx, dword [esp + 0x40]
mov edi, dword [esp + 0x5c]
mov esi, dword [esp + 0x58]
jmp 0x47eb28
cmp edx, edi
jae 0x47ed37
lea ebx, [edx + edx*2]
lea esi, [ebp + ebx*4 + 8]
movzx esi, byte [esi]
cmp ecx, esi
jbe 0x47ed30
shl esi, 4
mov ecx, dword [esi + eax]
mov dword [esp + 0x68], ecx
mov ecx, dword [esi + eax + 4]
mov dword [esp + 0x4c], ecx
mov ecx, dword [esi + eax + 8]
mov dword [esp + 0x48], ecx
mov ecx, dword [ebp + ebx*4]
mov ebx, dword [ebp + ebx*4 + 4]
movzx eax, byte [esi + eax + 0xc]
lea ebp, [edi - 1]
cmp edx, ebp
jne 0x47ece0
mov edx, dword [esp + 0x60]
mov ebp, dword [edx + 0x24]
mov edx, dword [edx + 0x20]
test ebp, ebp
je 0x47ece0
mov dword [esp + 0x54], ebx
mov byte [esp + 0x3b], al
mov dword [esp + 0x50], ecx
mov dword [esp], edx
mov dword [esp + 4], ebp
mov eax, dword [esp + 0x5c]
mov dword [esp + 0xc], eax
mov ecx, dword [esp + 0x58]
mov dword [esp + 8], ecx
mov edx, dword [esp + 0x7c]
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x78]
mov dword [esp + 0x10], edx
call fcn.0047eea0
movzx eax, byte [esp + 0x35]
mov ecx, dword [esp + 0x20]
movzx edx, byte [esp + 0x34]
mov byte [esp + 0x3a], dl
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x28]
mov esi, dword [esp + 0x30]
mov dword [esp + 0x44], esi
mov edi, dword [esp + 0x1c]
mov edx, dword [esp + 0x24]
mov esi, dword [esp + 0x2c]
test al, al
jne 0x47ec9b
movzx eax, byte [esp + 0x3b]
mov ecx, dword [esp + 0x50]
mov ebx, dword [esp + 0x54]
jmp 0x47ece0
mov dword [esp + 0x80], ebx
mov dword [esp + 0x84], edi
mov dword [esp + 0x88], ecx
mov dword [esp + 0x90], ebp
mov dword [esp + 0x8c], edx
mov eax, dword [esp + 0x44]
mov dword [esp + 0x98], eax
mov dword [esp + 0x94], esi
movzx eax, byte [esp + 0x3a]
mov byte [esp + 0x9c], al
add esp, 0x70
ret
mov edx, dword [esp + 0x68]
mov dword [esp + 0x80], edx
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x84], edx
mov edx, dword [esp + 0x48]
mov dword [esp + 0x88], edx
mov dword [esp + 0x90], ebx
mov dword [esp + 0x8c], ecx
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x98], ecx
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x94], ecx
mov byte [esp + 0x9c], al
add esp, 0x70
ret
mov eax, esi
call fcn.0045c020
mov eax, edx
mov ecx, edi
call fcn.0045c020
mov eax, ebx
mov ecx, edi
call fcn.0045c020
nop
call fcn.0045ab60
jmp fcn.0047e890