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

Disassembly:
mov ecx, dword [0x57fc4c]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x40]
cmp eax, dword [ecx + 8]
jbe 0x47c713
sub esp, 0xc0
mov eax, dword [esp + 0xcc]
test eax, eax
sete dl
mov ebx, dword [esp + 0xc8]
test ebx, ebx
xchg ebp, ebx
sete bl
xchg ebp, ebx
and ebp, edx
xchg ebp, eax
test al, al
xchg ebp, eax
jne 0x47c6de
mov ecx, dword [esp + 0xd0]
test ecx, ecx
jg 0x47bf50
bsf edx, ebx
jne 0x47be9f
mov edx, 0x20
bsf ebp, eax
jne 0x47bea9
mov ebp, 0x20
mov esi, ecx
xchg esi, ebx
neg ebx
xchg esi, ebx
cmp ebx, 1
sbb edi, edi
xor edi, 0xffffffff
xchg edi, ebx
not ebx
xchg edi, ebx
and edi, ebp
add edx, edi
cmp esi, edx
jg 0x47bf50
mov edx, dword [esp + 0xc4]
mov dword [esp], edx
mov edx, ecx
mov ecx, esi
shr ebx, cl
mov dword [esp + 0xbc], ebx
mov ebp, eax
shr eax, cl
lea edi, [ecx - 0x20]
xchg edi, ebx
neg ebx
xchg edi, ebx
mov ecx, edi
shl ebp, cl
add edx, 0x20
neg edx
mov ecx, edx
mov ebx, dword [esp + 0xcc]
shr ebx, cl
cmp edi, 0x20
sbb edi, edi
and ebp, edi
cmp esi, 0x20
sbb esi, esi
and eax, esi
mov edi, dword [esp + 0xbc]
and edi, esi
or edi, ebp
cmp ecx, 0x20
sbb edx, edx
and ebx, edx
or edi, ebx
mov dword [esp + 4], edi
mov dword [esp + 8], eax
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], eax
mov word [esp + 0x1c], 1
call fcn.0047c890
add esp, 0xc0
ret
mov dword [esp], ebx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov eax, dword [esp + 0xd4]
mov dword [esp + 0xc], eax
call fcn.0047c780
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x20]
mov ebp, dword [esp + 0x14]
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x24]
test eax, eax
je 0x47c6a9
mov dword [esp + 0x5c], eax
mov dword [esp + 0x40], ecx
mov dword [esp + 0x4c], esi
mov dword [esp + 0x48], edx
mov dword [esp + 0x44], ebp
mov dword [esp + 0x3c], edi
mov dword [esp + 0x38], ebx
neg eax
mov dword [esp], eax
call fcn.0047c720
mov eax, dword [esp + 4]
mov dword [esp + 0xb8], eax
lea ecx, [eax + 1]
mov dword [esp + 0x34], ecx
mov edx, dword [esp + 0xd4]
lea ebx, [0x558368]
cmp edx, ebx
jne 0x47c072
mov eax, dword [esp + 0x40]
mov dword [esp], eax
mov edx, dword [esp + 0x5c]
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
call fcn.0047ccb0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x68], eax
movzx ecx, byte [esp + 0x14]
mov byte [esp + 0x30], cl
mov edx, dword [esp + 0x48]
mov dword [esp], edx
mov ebx, dword [esp + 0x5c]
mov dword [esp + 4], ebx
mov ebp, dword [esp + 0x34]
mov dword [esp + 8], ebp
call fcn.0047ccb0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x74], eax
movzx ecx, byte [esp + 0x14]
mov byte [esp + 0x31], cl
mov edx, dword [esp + 0x38]
mov dword [esp], edx
mov ebx, dword [esp + 0x5c]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x34]
mov dword [esp + 8], ebx
call fcn.0047ccb0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
movzx edx, byte [esp + 0x14]
xor ebx, ebx
mov ebp, dword [esp + 0x68]
xor esi, esi
mov edi, dword [esp + 0x74]
xor ebx, ebx
mov dword [esp + 0x64], ebx
jmp 0x47c131
mov eax, dword [esp + 0x40]
mov dword [esp], eax
mov edx, dword [esp + 0x44]
mov dword [esp + 4], edx
mov ebx, dword [esp + 0x5c]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ecx
call fcn.0047cdd0
mov eax, dword [esp + 0x10]
mov dword [esp + 0x6c], eax
movzx ecx, byte [esp + 0x1c]
mov byte [esp + 0x30], cl
mov edx, dword [esp + 0x14]
mov dword [esp + 0x70], edx
mov ebx, dword [esp + 0x48]
mov dword [esp], ebx
mov ebp, dword [esp + 0x4c]
mov dword [esp + 4], ebp
mov esi, dword [esp + 0x5c]
mov dword [esp + 8], esi
mov edi, dword [esp + 0x34]
mov dword [esp + 0xc], edi
call fcn.0047cdd0
mov eax, dword [esp + 0x10]
mov dword [esp + 0x78], eax
movzx ecx, byte [esp + 0x1c]
mov byte [esp + 0x31], cl
mov edx, dword [esp + 0x14]
mov dword [esp + 0x7c], edx
mov ebx, dword [esp + 0x38]
mov dword [esp], ebx
mov ebp, dword [esp + 0x3c]
mov dword [esp + 4], ebp
mov esi, dword [esp + 0x5c]
mov dword [esp + 8], esi
mov esi, dword [esp + 0x34]
mov dword [esp + 0xc], esi
call fcn.0047cdd0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
movzx edx, byte [esp + 0x1c]
mov ebx, dword [esp + 0x14]
mov ebp, dword [esp + 0x6c]
mov esi, dword [esp + 0x7c]
mov edi, dword [esp + 0x78]
mov dword [esp + 0x64], ebx
mov ebx, dword [esp + 0x70]
test ecx, ecx
jge 0x47c6fa
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x34]
cmp eax, 0x37
jle 0x47c156
xor edx, edx
xor edx, edx
mov byte [esp + 0x31], dl
xor edx, edx
mov byte [esp + 0x30], dl
xor edx, edx
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x78], edi
mov dword [esp + 0x7c], esi
mov dword [esp + 0x6c], ebp
mov dword [esp + 0x70], ebx
mov eax, dword [esp + 0xb8]
add eax, 0x19
cmp eax, 0x18
jb 0x47c183
movzx eax, byte [esp + 0x31]
jmp 0x47c238
mov byte [esp + 0x2f], dl
mov eax, dword [esp + 0x40]
mov dword [esp], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x34]
neg eax
mov dword [esp + 0xb4], eax
mov dword [esp + 8], eax
call fcn.0047cfe0
movzx eax, byte [esp + 0xc]
mov byte [esp + 0x33], al
mov ecx, dword [esp + 0x48]
mov dword [esp], ecx
mov ecx, dword [esp + 0x4c]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0xb4]
mov dword [esp + 8], ecx
call fcn.0047cfe0
movzx eax, byte [esp + 0xc]
mov byte [esp + 0x32], al
mov ecx, dword [esp + 0x38]
mov dword [esp], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0xb4]
mov dword [esp + 8], ecx
call fcn.0047cfe0
movzx edx, byte [esp + 0xc]
movzx eax, byte [esp + 0x2f]
or edx, eax
movzx eax, byte [esp + 0x31]
movzx ecx, byte [esp + 0x32]
or eax, ecx
movzx ecx, byte [esp + 0x30]
movzx ebx, byte [esp + 0x33]
or ecx, ebx
mov ebx, dword [esp + 0x70]
mov ebp, dword [esp + 0x6c]
mov esi, dword [esp + 0x7c]
mov edi, dword [esp + 0x78]
mov byte [esp + 0x30], cl
mov ecx, dword [esp + 0x5c]
mov byte [esp + 0x2f], dl
mov byte [esp + 0x31], al
neg ecx
mov dword [esp + 0xb4], ecx
mov eax, 1
shl eax, cl
mov dword [esp + 0xbc], eax
lea edx, [ecx - 0x20]
shr ebp, cl
mov dword [esp + 0xb0], ebp
shr ebx, cl
mov dword [esp + 0xac], ebx
mov ebx, dword [esp + 0x5c]
add ebx, 0x20
shr edi, cl
mov dword [esp + 0xa8], edi
shr esi, cl
mov dword [esp + 0xa4], esi
neg edx
mov ecx, edx
mov esi, 1
shr esi, cl
mov edi, dword [esp + 0x70]
shl edi, cl
mov ebp, dword [esp + 0x7c]
shl ebp, cl
mov eax, dword [esp + 0x64]
shl eax, cl
mov dword [esp + 0xa0], eax
mov ecx, dword [esp + 0xb4]
mov eax, dword [esp + 0x60]
shr eax, cl
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0x64]
shr eax, cl
mov dword [esp + 0x98], eax
neg ebx
mov ecx, ebx
mov eax, 1
shl eax, cl
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0x70]
shr eax, cl
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0x7c]
shr eax, cl
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0x64]
shr eax, cl
cmp edx, 0x20
sbb edx, edx
and esi, edx
and edi, edx
and ebp, edx
mov dword [esp + 0x88], ebp
mov ebp, dword [esp + 0xa0]
and ebp, edx
cmp ecx, 0x20
sbb edx, edx
mov ebx, dword [esp + 0x94]
and ebx, edx
or esi, ebx
mov ebx, dword [esp + 0x90]
and ebx, edx
mov ecx, esi
mov esi, dword [esp + 0x8c]
and esi, edx
mov dword [esp + 0xa0], esi
and eax, edx
mov dword [esp + 0x94], eax
mov edx, dword [esp + 0xb4]
cmp edx, 0x20
sbb edx, edx
mov eax, dword [esp + 0xbc]
and eax, edx
mov dword [esp + 0xbc], eax
mov eax, dword [esp + 0xb0]
and eax, edx
or eax, edi
mov edi, dword [esp + 0xa8]
and edi, edx
mov esi, dword [esp + 0x88]
or edi, esi
mov esi, dword [esp + 0x9c]
and esi, edx
or ebp, esi
or ebx, eax
mov dword [esp + 0xb0], ebx
mov eax, dword [esp + 0xac]
and eax, edx
mov dword [esp + 0xac], eax
mov esi, dword [esp + 0xa0]
or edi, esi
mov dword [esp + 0xa8], edi
mov esi, dword [esp + 0xa4]
and esi, edx
mov dword [esp + 0xa4], esi
mov esi, dword [esp + 0x94]
or ebp, esi
mov esi, dword [esp + 0x98]
and esi, edx
mov edx, dword [esp + 0xbc]
add edx, 0xffffffff
mov dword [esp + 0x58], edx
adc ecx, 0xffffffff
mov dword [esp + 0x84], ecx
mov eax, dword [esp + 0x7c]
and eax, ecx
mov dword [esp + 0x54], eax
mov ebx, dword [esp + 0x78]
and ebx, edx
mov dword [esp + 0x50], ebx
mov edi, dword [esp + 0x60]
and edi, edx
mov edx, dword [esp + 0x64]
and edx, ecx
movzx eax, byte [esp + 0x2f]
test al, al
je 0x47c44f
mov dword [esp + 0x80], esi
test edx, edx
seta cl
sete bl
test edi, edi
xchg esi, ebx
seta bl
xchg esi, ebx
and ebx, esi
or ebx, ecx
test al, al
mov ecx, dword [esp + 0x84]
mov esi, dword [esp + 0x80]
mov eax, ebx
mov ebx, dword [esp + 0x50]
jmp 0x47c454
mov eax, 1
je 0x47c481
test edi, edi
xchg edi, ebx
sete bl
xchg edi, ebx
test edx, edx
sete dl
and edi, edx
xchg edi, eax
test al, al
xchg edi, eax
je 0x47c481
mov edx, dword [esp + 0xc8]
test edx, 1
sete al
and eax, 1
jmp 0x47c488
mov edx, dword [esp + 0xc8]
test al, al
jne 0x47c492
add ebp, 0xffffffff
adc esi, 0xffffffff
mov dword [esp + 0x60], ebp
mov dword [esp + 0x64], esi
movzx eax, byte [esp + 0x31]
test al, al
je 0x47c543
mov edi, dword [esp + 0x5c]
inc edi
xchg edi, ebx
neg ebx
xchg edi, ebx
mov ecx, edi
mov esi, 1
shl esi, cl
lea ebp, [ecx - 0x20]
mov ecx, ebp
mov edx, 1
shl edx, cl
neg ecx
mov eax, 1
shr eax, cl
cmp edi, 0x20
sbb edi, edi
and esi, edi
cmp esi, ebx
xchg edi, ebx
setb bl
xchg edi, ebx
cmp ebp, 0x20
sbb ebp, ebp
and edx, ebp
cmp ecx, 0x20
sbb ebp, ebp
and eax, ebp
or edx, eax
mov eax, dword [esp + 0x54]
cmp edx, eax
sete dl
xchg ebp, ebx
setb bl
xchg ebp, ebx
and edi, edx
or edi, ebp
xchg edi, eax
test al, al
xchg edi, eax
je 0x47c51b
mov ecx, dword [esp + 0xa8]
mov edx, 1
jmp 0x47c5b0
cmp esi, ebx
sete cl
and ecx, edx
test cl, cl
je 0x47c538
mov ecx, dword [esp + 0xa8]
test ecx, 1
setne dl
jmp 0x47c5b0
mov ecx, dword [esp + 0xa8]
xor edx, edx
jmp 0x47c5b0
mov edi, dword [esp + 0x5c]
inc edi
xchg edi, ebx
neg ebx
xchg edi, ebx
mov ecx, edi
shr ebx, cl
mov esi, dword [esp + 0x54]
shr esi, cl
mov dword [esp + 0xbc], esi
lea ebp, [ecx - 0x20]
mov ecx, ebp
mov eax, dword [esp + 0x54]
shr eax, cl
neg ecx
mov esi, dword [esp + 0x54]
shl esi, cl
cmp ebp, 0x20
sbb ebp, ebp
and eax, ebp
cmp ecx, 0x20
sbb ebp, ebp
and esi, ebp
cmp edi, 0x20
sbb ebp, ebp
and ebx, ebp
or esi, ebx
or eax, esi
mov ebx, dword [esp + 0xbc]
test ebp, ebx
sete bl
cmp eax, 1
sete al
and eax, ebx
mov ecx, dword [esp + 0xa8]
mov ebx, dword [esp + 0x50]
mov edx, eax
mov eax, dword [esp + 0x54]
movzx ebp, byte [esp + 0x30]
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x47c61e
mov ebp, dword [esp + 0x84]
mov esi, dword [esp + 0x70]
test esi, ebp
xchg ebp, ebx
sete bl
xchg ebp, ebx
mov esi, dword [esp + 0x58]
mov edi, dword [esp + 0x6c]
test edi, esi
xchg esi, ebx
sete bl
xchg esi, ebx
and esi, ebp
xchg esi, eax
test al, al
xchg esi, eax
je 0x47c61e
mov ebp, dword [esp + 0xc8]
test ebp, 1
xchg ebp, ebx
sete bl
xchg ebp, ebx
and ebp, 1
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x47c61e
movzx ebp, byte [esp + 0x31]
xchg ebp, eax
test al, al
xchg ebp, eax
mov ebp, dword [esp + 0xb0]
mov esi, dword [esp + 0xac]
jmp 0x47c63b
mov ebp, dword [esp + 0xb0]
add ebp, 1
mov esi, dword [esp + 0xac]
adc esi, 0
movzx edi, byte [esp + 0x31]
xchg edi, eax
test al, al
xchg edi, eax
je 0x47c64b
test ebx, ebx
sete bl
test eax, eax
sete al
and ebx, eax
jmp 0x47c64d
xor ebx, ebx
mov eax, dword [esp + 0xc4]
mov dword [esp], eax
mov dword [esp + 4], ebp
mov dword [esp + 8], esi
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0xa4]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x60]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x64]
mov dword [esp + 0x18], ecx
mov byte [esp + 0x1c], bl
mov byte [esp + 0x1d], dl
call fcn.0047c890
mov eax, dword [esp + 0xc4]
mov ecx, dword [eax + 0x10]
mov edx, dword [esp + 0xb8]
sub ecx, edx
dec ecx
mov dword [eax + 0x10], ecx
add esp, 0xc0
ret
mov eax, dword [esp + 0xc4]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], edi
mov word [esp + 0x1c], 1
call fcn.0047c890
add esp, 0xc0
ret
mov eax, dword [esp + 0xc4]
mov dword [eax + 0xc], 0
mov dword [eax + 0x10], 0
add esp, 0xc0
ret
lea eax, [0x4bdb20]
mov dword [esp], eax
lea eax, [0x4e1a10]
mov dword [esp + 4], eax
call fcn.0046c0c0
nop
call fcn.004704c0
jmp fcn.0047be40