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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x47d97f
sub esp, 0x70
mov eax, dword [esp + 0x74]
mov dword [esp], eax
call fcn.0047d4c0
mov eax, dword [esp + 4]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
test edx, edx
je 0x47d740
mov dword [esp + 0x6c], ecx
mov edx, dword [eax + 0x38]
test edx, edx
je 0x47d666
mov ebx, dword [eax + 0x2c]
mov dword [esp + 0x60], ebx
mov ebp, dword [esp + 0x7c]
cmp ebp, ebx
xchg esi, ebx
sete bl
xchg esi, ebx
mov edi, dword [eax + 0x28]
mov dword [esp + 0x5c], edi
mov ecx, dword [esp + 0x78]
cmp ecx, edi
xchg edi, ebx
setae bl
xchg edi, ebx
cmp ebp, ebx
setg bl
and edi, esi
or edi, ebx
xchg edi, eax
test al, al
xchg edi, eax
je 0x47d66e
mov ebx, dword [eax + 0x34]
mov dword [esp + 0x58], ebx
cmp ebp, ebx
xchg esi, ebx
setl bl
xchg esi, ebx
mov edi, dword [eax + 0x30]
mov dword [esp + 0x54], edi
cmp ecx, edi
xchg edi, ebx
setb bl
xchg edi, ebx
cmp ebp, ebx
sete bl
and ebx, edi
or ebx, esi
test bl, bl
je 0x47d66e
mov eax, dword [edx]
mov ecx, dword [edx + 4]
mov ebx, dword [edx + 8]
movzx edx, byte [edx + 0xc]
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], ecx
mov dword [esp + 0x88], ebx
mov eax, dword [esp + 0x60]
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x98], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x94], eax
mov byte [esp + 0x9c], dl
add esp, 0x70
ret
mov ecx, dword [esp + 0x78]
mov ebp, dword [esp + 0x7c]
mov dword [esp + 0x68], eax
mov edx, dword [eax + 0x14]
mov ebx, dword [eax + 0x18]
test ebx, ebx
je 0x47d6bf
cmp dword [edx], ecx
xchg esi, ebx
seta bl
xchg esi, ebx
mov edi, dword [edx + 4]
cmp ebp, edi
xchg edi, ebx
sete bl
xchg edi, ebx
setl al
and esi, edi
or esi, eax
xchg esi, eax
test al, al
xchg esi, eax
jne 0x47d6bb
mov dword [esp + 0x50], ebx
mov eax, ebx
xor esi, esi
mov edi, 0x7fffffff
mov eax, 0xffffffff
mov dword [esp + 0x5c], eax
mov eax, ebx
jmp 0x47d7b9
mov eax, dword [esp + 0x68]
mov dword [esp], eax
call fcn.0047d990
mov eax, dword [esp + 4]
shl eax, 4
mov ecx, dword [esp + 0x68]
add eax, dword [ecx + 8]
mov edx, dword [eax]
mov ebx, dword [eax + 4]
mov ebp, dword [eax + 8]
mov esi, dword [ecx + 0x14]
mov ecx, dword [ecx + 0x18]
test ecx, ecx
je 0x47d6ee
mov ecx, dword [esi + 4]
mov esi, dword [esi]
jmp 0x47d6f8
mov ecx, 0x7fffffff
mov esi, 0xffffffff
movzx eax, byte [eax + 0xc]
mov dword [esp + 0x80], edx
mov dword [esp + 0x84], ebx
mov dword [esp + 0x88], ebp
mov dword [esp + 0x90], 0x80000000
mov dword [esp + 0x8c], 0
mov dword [esp + 0x98], ecx
mov dword [esp + 0x94], esi
mov byte [esp + 0x9c], al
add esp, 0x70
ret
lea eax, [0x50394d]
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 esi, dword [esp + 0x78]
mov edi, dword [esp + 0x7c]
mov esi, ecx
mov edi, eax
mov dword [esp + 0x5c], ebx
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x78]
mov ebx, ebp
mov ebp, dword [esp + 0x7c]
mov dword [esp + 0x40], ebx
sub ebx, esi
cmp ebx, 1
jle 0x47d825
mov dword [esp + 0x3c], esi
mov dword [esp + 0x4c], ebx
shr ebx, 0x1f
mov eax, dword [esp + 0x4c]
add eax, ebx
sar eax, 1
add eax, esi
mov dword [esp + 0x4c], eax
lea ebx, [eax + eax*2]
mov eax, dword [edx + ebx*4 + 4]
cmp ebp, eax
xchg esi, ebx
setl bl
xchg esi, ebx
mov ebx, dword [edx + ebx*4]
cmp ecx, ebx
setb cl
cmp ebp, eax
xchg ebp, ebx
sete bl
xchg ebp, ebx
and ebp, ecx
or ebp, esi
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x47d812
mov ecx, dword [esp + 0x3c]
mov ebp, dword [esp + 0x4c]
jmp 0x47d79b
mov ecx, dword [esp + 0x4c]
mov ebp, dword [esp + 0x40]
mov eax, edi
mov ebx, dword [esp + 0x5c]
jmp 0x47d79b
mov dword [esp + 0x48], edi
lea ebx, [esi + esi*2]
lea ebp, [edx + ebx*4 + 8]
movzx ebp, byte [ebp]
shl ebp, 4
mov ecx, dword [esp + 0x6c]
mov edi, dword [ecx + ebp]
mov dword [esp + 0x64], edi
mov edi, dword [ecx + ebp + 4]
mov dword [esp + 0x50], edi
mov edi, dword [ecx + ebp + 8]
mov dword [esp + 0x4c], edi
mov edi, dword [edx + ebx*4]
mov edx, dword [edx + ebx*4 + 4]
movzx ecx, byte [ecx + ebp + 0xc]
dec eax
cmp esi, eax
jne 0x47d92f
mov eax, dword [esp + 0x68]
mov ebx, dword [eax + 0x24]
mov eax, dword [eax + 0x20]
test ebx, ebx
je 0x47d92f
mov dword [esp + 0x60], edx
mov dword [esp + 0x54], edi
mov byte [esp + 0x3b], cl
mov dword [esp], eax
mov dword [esp + 4], ebx
mov dword [esp + 0xc], edx
mov dword [esp + 8], edi
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x10], eax
call fcn.0047daa0
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 0x47d8ea
movzx ecx, byte [esp + 0x3b]
mov edx, dword [esp + 0x60]
mov edi, dword [esp + 0x54]
jmp 0x47d92f
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 eax, dword [esp + 0x64]
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x88], eax
mov dword [esp + 0x90], edx
mov dword [esp + 0x8c], edi
mov eax, dword [esp + 0x48]
mov dword [esp + 0x98], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x94], eax
mov byte [esp + 0x9c], cl
add esp, 0x70
ret
call fcn.00463e70
jmp fcn.0047d560