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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x28]
cmp eax, dword [ecx + 8]
jbe 0x489444
sub esp, 0xa8
mov eax, dword [esp + 0xb0]
test eax, eax
sete cl
mov edx, dword [esp + 0xb4]
test edx, edx
sete bl
and ebx, ecx
test bl, bl
jne 0x48940f
mov ecx, dword [esp + 0xb8]
test ecx, ecx
jg 0x488c0e
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00481000
mov ecx, dword [esp + 0xb8]
mov eax, ecx
neg ecx
cmp dword [esp + 8], ecx
jge 0x489364
mov ecx, eax
mov edx, dword [esp + 0xb4]
mov eax, dword [esp + 0xb0]
mov dword [esp + 4], edx
mov dword [esp], eax
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0xbc]
mov dword [esp + 0xc], ecx
call fcn.004894b0
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x24]
mov ebp, dword [esp + 0x10]
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x20]
test eax, eax
je 0x48932f
mov dword [esp + 0x5c], eax
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x4c], edx
mov dword [esp + 0x48], esi
mov dword [esp + 0x44], ecx
mov dword [esp + 0x40], ebp
neg eax
mov dword [esp], eax
call fcn.00489450
mov eax, dword [esp + 4]
mov dword [esp + 0xa4], eax
lea ecx, [eax + 1]
mov dword [esp + 0x34], ecx
mov edx, dword [esp + 0xbc]
lea ebx, [0x5a1320]
cmp edx, ebx
jne 0x488d30
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.00489a10
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.00489a10
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.00489a10
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 0x488def
mov eax, dword [esp + 0x44]
mov dword [esp + 4], eax
mov edx, dword [esp + 0x40]
mov dword [esp], edx
mov ebx, dword [esp + 0x5c]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ecx
call fcn.00489b40
movzx eax, byte [esp + 0x1c]
mov byte [esp + 0x30], al
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x6c], ecx
mov edx, dword [esp + 0x14]
mov dword [esp + 0x70], edx
mov ebx, dword [esp + 0x4c]
mov dword [esp + 4], ebx
mov ebp, dword [esp + 0x48]
mov dword [esp], ebp
mov esi, dword [esp + 0x5c]
mov dword [esp + 8], esi
mov edi, dword [esp + 0x34]
mov dword [esp + 0xc], edi
call fcn.00489b40
movzx eax, byte [esp + 0x1c]
mov byte [esp + 0x31], al
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x78], ecx
mov edx, dword [esp + 0x14]
mov dword [esp + 0x7c], edx
mov ebx, dword [esp + 0x3c]
mov dword [esp + 4], ebx
mov ebp, dword [esp + 0x38]
mov dword [esp], ebp
mov esi, dword [esp + 0x5c]
mov dword [esp + 8], esi
mov esi, dword [esp + 0x34]
mov dword [esp + 0xc], esi
call fcn.00489b40
mov ecx, dword [esp + 0x18]
movzx edx, byte [esp + 0x1c]
mov eax, dword [esp + 0x10]
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 0x48942b
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x34]
cmp eax, 0x37
jle 0x488e14
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 + 0x7c], esi
mov dword [esp + 0x78], edi
mov dword [esp + 0x6c], ebp
mov dword [esp + 0x70], ebx
mov eax, dword [esp + 0xa4]
add eax, 0x19
cmp eax, 0x18
jb 0x488e41
movzx eax, byte [esp + 0x31]
jmp 0x488ef6
mov byte [esp + 0x2f], dl
mov eax, dword [esp + 0x44]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x40]
mov dword [esp], eax
mov eax, dword [esp + 0x34]
neg eax
mov dword [esp + 0xa0], eax
mov dword [esp + 8], eax
call fcn.00489d40
movzx eax, byte [esp + 0xc]
mov byte [esp + 0x33], al
mov ecx, dword [esp + 0x4c]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x48]
mov dword [esp], ecx
mov ecx, dword [esp + 0xa0]
mov dword [esp + 8], ecx
call fcn.00489d40
movzx eax, byte [esp + 0xc]
mov byte [esp + 0x32], al
mov ecx, dword [esp + 0x3c]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp], ecx
mov ecx, dword [esp + 0xa0]
mov dword [esp + 8], ecx
call fcn.00489d40
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 + 0xa0], ecx
lea eax, [ecx - 0x20]
neg eax
cmp eax, 0x20
sbb edx, edx
mov dword [esp + 0x9c], edx
cmp ecx, 0x20
sbb edi, edi
mov dword [esp + 0x98], edi
mov esi, dword [esp + 0x5c]
add esi, 0x20
xchg esi, ebx
neg ebx
xchg esi, ebx
cmp esi, 0x20
sbb ebp, ebp
mov dword [esp + 0x94], ebp
mov ebx, 1
shl ebx, cl
and ebx, edi
mov ecx, esi
mov edi, 1
shl edi, cl
and edi, ebp
mov ecx, eax
mov ebp, 1
shr ebp, cl
and ebp, edx
or ebp, edi
add ebx, 0xffffffff
mov dword [esp + 0x58], ebx
adc ebp, 0xffffffff
mov dword [esp + 0x90], ebp
mov ecx, esi
mov edi, dword [esp + 0x70]
shr edi, cl
mov ecx, eax
mov ebx, dword [esp + 0x70]
shl ebx, cl
mov ebp, dword [esp + 0x94]
and edi, ebp
and ebx, edx
mov ecx, dword [esp + 0xa0]
mov ebp, dword [esp + 0x6c]
shr ebp, cl
mov edx, dword [esp + 0x98]
and ebp, edx
or ebp, ebx
or edi, ebp
mov dword [esp + 0x98], edi
mov ebx, dword [esp + 0x70]
shr ebx, cl
and ebx, edx
mov dword [esp + 0x8c], ebx
mov ecx, eax
mov ebx, dword [esp + 0x7c]
shl ebx, cl
mov ecx, dword [esp + 0xa0]
mov edi, dword [esp + 0x78]
shr edi, cl
mov ecx, esi
mov ebp, dword [esp + 0x7c]
shr ebp, cl
mov esi, dword [esp + 0x9c]
and ebx, esi
and edi, edx
or edi, ebx
mov ebx, dword [esp + 0x94]
and ebp, ebx
or ebp, edi
mov dword [esp + 0x9c], ebp
mov edi, ecx
mov ecx, dword [esp + 0xa0]
mov ebp, dword [esp + 0x7c]
shr ebp, cl
and ebp, edx
mov dword [esp + 0x88], ebp
mov ebp, dword [esp + 0x90]
mov ebx, dword [esp + 0x7c]
and ebx, ebp
mov dword [esp + 0x54], ebx
mov ebx, dword [esp + 0x58]
mov ebp, dword [esp + 0x78]
and ebp, ebx
mov dword [esp + 0x50], ebp
mov ebp, dword [esp + 0x60]
shr ebp, cl
and ebp, edx
mov ecx, eax
mov ebx, dword [esp + 0x64]
mov eax, ebx
shl ebx, cl
and ebx, esi
or ebx, ebp
mov ecx, edi
mov ebp, eax
shr eax, cl
mov esi, dword [esp + 0x94]
and eax, esi
or eax, ebx
mov ecx, dword [esp + 0xa0]
mov ebx, ebp
shr ebp, cl
and ebp, edx
mov edx, dword [esp + 0x58]
mov esi, dword [esp + 0x60]
and esi, edx
mov edi, dword [esp + 0x90]
and ebx, edi
mov ecx, edi
movzx edi, byte [esp + 0x2f]
xchg edi, eax
test al, al
xchg edi, eax
je 0x4890be
mov dword [esp + 0x84], eax
mov dword [esp + 0x80], ebp
test esi, esi
seta dl
test ebx, ebx
xchg ebp, ebx
sete bl
xchg ebp, ebx
seta al
and ebp, edx
or ebp, eax
xchg edi, eax
test al, al
xchg edi, eax
mov eax, dword [esp + 0x84]
mov edx, dword [esp + 0x58]
mov edi, ebp
mov ebp, dword [esp + 0x80]
jmp 0x4890c3
mov edi, 1
je 0x4890f4
test ebx, ebx
sete bl
test esi, esi
xchg esi, ebx
sete bl
xchg esi, ebx
and esi, ebx
xchg esi, eax
test al, al
xchg esi, eax
je 0x4890f4
mov ebx, dword [esp + 0xb0]
test ebx, 1
xchg edi, ebx
sete bl
xchg edi, ebx
and edi, 1
jmp 0x4890fb
mov ebx, dword [esp + 0xb0]
xchg edi, eax
test al, al
xchg edi, eax
jne 0x489107
add eax, 0xffffffff
adc ebp, 0xffffffff
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], ebp
movzx esi, byte [esp + 0x31]
xchg esi, eax
test al, al
xchg esi, eax
je 0x4891cb
mov edi, dword [esp + 0x5c]
inc edi
xchg edi, ebx
neg ebx
xchg edi, ebx
lea eax, [edi - 0x20]
mov dword [esp + 0x94], eax
neg eax
cmp eax, 0x20
sbb ebp, ebp
mov ebx, dword [esp + 0x94]
cmp ebx, 0x20
sbb esi, esi
mov ecx, ebx
mov edx, 1
shl edx, cl
and edx, esi
mov ecx, eax
mov eax, 1
shr eax, cl
and eax, ebp
or eax, edx
mov edx, dword [esp + 0x54]
cmp eax, edx
sete bl
cmp edi, 0x20
sbb ebp, ebp
mov ecx, edi
mov esi, 1
shl esi, cl
and esi, ebp
mov ebp, dword [esp + 0x50]
cmp esi, ebp
xchg edi, ebx
setb bl
xchg edi, ebx
cmp eax, edx
setb al
and edi, ebx
or edi, eax
xchg edi, eax
test al, al
xchg edi, eax
je 0x4891a4
mov eax, dword [esp + 0x9c]
mov ecx, 1
jmp 0x48923c
cmp esi, ebp
sete al
and eax, ebx
test al, al
je 0x4891c0
mov eax, dword [esp + 0x9c]
test eax, 1
setne cl
jmp 0x48923c
mov eax, dword [esp + 0x9c]
xor ecx, ecx
jmp 0x48923c
mov edi, dword [esp + 0x5c]
inc edi
xchg edi, ebx
neg ebx
xchg edi, ebx
cmp edi, 0x20
sbb eax, eax
lea ebp, [edi - 0x20]
mov dword [esp + 0x94], ebp
cmp ebp, 0x20
sbb ebx, ebx
xchg ebp, ebx
neg ebx
xchg ebp, ebx
cmp ebp, 0x20
sbb esi, esi
mov ecx, dword [esp + 0x94]
mov edx, dword [esp + 0x54]
shr edx, cl
and edx, ebx
mov ecx, ebp
mov ebx, dword [esp + 0x54]
mov ebp, ebx
shl ebx, cl
and ebx, esi
mov ecx, edi
mov esi, dword [esp + 0x50]
shr esi, cl
and esi, eax
or esi, ebx
or edx, esi
cmp edx, 1
sete dl
mov ebx, ebp
shr ebp, cl
test eax, ebp
sete cl
and ecx, edx
mov eax, dword [esp + 0x9c]
mov edx, ebx
mov ebp, dword [esp + 0x50]
movzx ebx, byte [esp + 0x30]
test bl, bl
je 0x48929e
mov ebx, dword [esp + 0x58]
mov esi, dword [esp + 0x6c]
test esi, ebx
sete bl
mov esi, dword [esp + 0x90]
mov edi, dword [esp + 0x70]
test edi, esi
xchg esi, ebx
sete bl
xchg esi, ebx
and esi, ebx
xchg esi, eax
test al, al
xchg esi, eax
je 0x48929e
mov ebx, dword [esp + 0xb0]
test ebx, 1
sete bl
and ebx, 1
test bl, bl
je 0x48929e
movzx esi, byte [esp + 0x31]
xchg esi, eax
test al, al
xchg esi, eax
mov edi, dword [esp + 0x98]
mov ebx, dword [esp + 0x8c]
jmp 0x4892bb
mov edi, dword [esp + 0x98]
add edi, 1
mov ebx, dword [esp + 0x8c]
adc ebx, 0
movzx esi, byte [esp + 0x31]
xchg esi, eax
test al, al
xchg esi, eax
je 0x4892cf
test ebp, ebp
xchg ebp, ebx
sete bl
xchg ebp, ebx
test edx, edx
sete dl
and ebp, edx
jmp 0x4892d1
xor ebp, ebp
mov edx, dword [esp + 0xac]
mov dword [esp], edx
mov dword [esp + 8], ebx
mov dword [esp + 4], edi
mov ebx, dword [esp + 0x88]
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x14], eax
xchg ebp, eax
mov byte [esp + 0x1c], al
xchg ebp, eax
mov byte [esp + 0x1d], cl
call fcn.004895e0
mov eax, dword [esp + 0xac]
mov ecx, dword [eax + 0x10]
mov edx, dword [esp + 0xa4]
sub ecx, edx
dec ecx
mov dword [eax + 0x10], ecx
add esp, 0xa8
ret
mov eax, dword [esp + 0xac]
mov dword [esp], eax
mov dword [esp + 8], ecx
mov dword [esp + 4], ebp
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], esi
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], edi
mov word [esp + 0x1c], 1
call fcn.004895e0
add esp, 0xa8
ret
mov dword [esp + 0xa4], ecx
cmp ecx, 0x20
sbb edx, edx
mov dword [esp + 0x9c], edx
add eax, 0x20
neg eax
cmp eax, 0x20
sbb ebx, ebx
lea ebp, [ecx - 0x20]
xchg ebp, ebx
neg ebx
xchg ebp, ebx
cmp ebp, 0x20
sbb esi, esi
mov edi, dword [esp + 0xac]
mov dword [esp], edi
mov edi, dword [esp + 0xb4]
shr edi, cl
and edi, edx
mov dword [esp + 0x98], edi
mov dword [esp + 8], edi
mov ecx, ebp
mov edi, dword [esp + 0xb4]
mov ebp, edi
shl edi, cl
mov ecx, dword [esp + 0xa4]
mov edx, dword [esp + 0xb0]
shr edx, cl
mov ecx, eax
shr ebp, cl
and ebp, ebx
and edi, esi
mov eax, dword [esp + 0x9c]
and edx, eax
or edx, edi
or ebp, edx
mov dword [esp + 4], ebp
mov eax, dword [esp + 0x98]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], ebp
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], ebp
mov word [esp + 0x1c], 1
call fcn.004895e0
add esp, 0xa8
ret
mov eax, dword [esp + 0xac]
mov dword [eax + 0xc], 0
mov dword [eax + 0x10], 0
add esp, 0xa8
ret
lea eax, [0x4ec7a0]
mov dword [esp], eax
lea eax, [0x5180d0]
mov dword [esp + 4], eax
call fcn.00438510
nop
call fcn.00463e70
jmp fcn.00488b90