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

Disassembly:
mov ecx, dword [0x98cddc]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x65a6ac
sub esp, 0x74
mov eax, dword [esp + 0x7c]
test eax, eax
je 0x659ef4
mov ecx, dword [esp + 0x78]
mov dword [esp], ecx
mov dword [esp + 4], eax
lea edx, [0x727bea]
mov dword [esp + 8], edx
mov dword [esp + 0xc], 1
call fcn.004dfc10
mov eax, dword [esp + 0x10]
test eax, eax
je 0x659e80
lea ecx, [eax + 1]
mov edx, dword [esp + 0x7c]
cmp edx, ecx
je 0x659e51
mov dword [esp + 0x68], eax
mov dword [esp + 0x24], ecx
lea eax, [0x6e07a0]
mov dword [esp], eax
mov dword [esp + 4], 0
mov dword [esp + 8], edx
call fcn.0046ca20
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x68]
cmp ecx, 0xffffffff
je 0x659e46
mov edx, dword [esp + 0x7c]
cmp edx, ecx
jb 0x65a6a6
mov ebx, dword [esp + 0x78]
mov ebp, edx
xor esi, esi
xor edi, edi
jmp 0x65a5fe
mov ecx, dword [esp + 0x7c]
xor edx, edx
jmp 0x659f24
mov eax, dword [esp + 0x78]
mov dword [esp + 0x80], eax
lea eax, [edx - 1]
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
add esp, 0x74
ret
lea eax, [0x705d00]
mov dword [esp], eax
call fcn.0040bc10
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x7c]
mov dword [eax + 4], ecx
mov ecx, dword [0x98d0b8]
test ecx, ecx
jne 0x659ea9
mov ecx, dword [esp + 0x78]
jmp 0x659eb4
call fcn.00471ab0
mov ecx, dword [esp + 0x78]
mov dword [edi], ecx
mov dword [eax], ecx
mov dword [eax + 0xc], 2
lea ecx, [0x727ce8]
mov dword [eax + 8], ecx
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
lea ecx, [0x7a4ac0]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], eax
add esp, 0x74
ret
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
add esp, 0x74
ret
mov ebx, dword [esp + 0x7c]
mov ebp, dword [esp + 0x78]
mov esi, dword [esp + 0x24]
xor edi, edi
mov edi, 0x48
mov dword [esp + 0x48], edi
mov edi, pe_nt_image_headers32
mov dword [esp + 0x30], edi
xor edi, edi
jmp 0x659f6b
mov ecx, dword [esp + 0x38]
mov dword [eax + ecx*4], esi
mov ebx, dword [esp + 0x7c]
mov ebp, dword [esp + 0x78]
mov edx, dword [esp + 0x68]
mov ecx, dword [esp + 0x2c]
mov edi, dword [esp + 0x48]
mov esi, dword [esp + 0x5c]
mov edi, dword [esp + 0x64]
cmp ebx, esi
jle 0x65a14e
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x28], edx
mov dword [esp + 0x6c], eax
mov dword [esp + 0x38], edi
mov dword [esp + 0x50], eax
mov eax, 1
mov dword [esp + 0x4c], eax
mov eax, 0x24
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x50]
jmp 0x65a1c3
mov edx, dword [esp + 0x28]
cmp edx, 0x400
jge 0x65a36f
mov ebp, dword [esp + 0x38]
mov esi, ebx
sub ebx, ebp
test ebp, ebp
jne 0x659fd1
mov eax, 0x5d9f7391
mov ecx, edx
imul ebx
sar edx, 8
sar ebx, 0x1f
sub edx, ebx
jmp 0x659fde
mov ebp, ebx
shr ebx, 0x1f
add ebx, ebp
sar ebx, 1
mov ecx, edx
mov edx, ebx
lea ebx, [ecx + 1]
test ebx, ebx
je 0x65a5e8
mov eax, edx
mov ecx, eax
cmp ebx, 0xffffffff
je 0x659ff7
cdq
idiv ebx
jmp 0x659ff9
neg eax
lea edx, [ecx + eax]
xor eax, eax
jmp 0x65a552
lea ebp, [edx + edx*8]
cmp edx, 0xffffffda
je 0x65a5e3
mov dword [esp + 0x5c], edi
mov dword [esp + 0x40], edx
mov ecx, eax
mov eax, esi
cmp ebx, 0xffffffff
je 0x65a025
cdq
idiv ebx
jmp 0x65a027
neg eax
mov edx, dword [esp + 0x30]
add edx, eax
mov dword [esp + 0x30], edx
shl ebp, 2
mov edi, dword [esp + 0x40]
add edi, 0x26
mov eax, ebp
cmp edi, 0xffffffff
je 0x65a047
cdq
idiv edi
jmp 0x65a049
neg eax
mov edx, eax
mov eax, esi
mov ebp, edx
cmp ebx, 0xffffffff
je 0x65a059
cdq
idiv ebx
jmp 0x65a05b
xor edx, edx
add ebp, ecx
mov esi, dword [esp + 0x30]
cmp esi, 0x10ffff
ja 0x65a55f
mov dword [esp + 0x48], ebp
mov dword [esp + 0x38], edx
mov edi, dword [esp + 0x2c]
cmp edi, ebx
jb 0x65a083
mov eax, dword [esp + 0x6c]
jmp 0x65a0c3
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
mov dword [esp + 4], ebx
mov dword [esp + 8], edi
mov dword [esp + 0xc], 1
lea eax, [0x6e07a0]
mov dword [esp + 0x10], eax
call fcn.0046cad0
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x38]
mov ebp, dword [esp + 0x48]
mov esi, dword [esp + 0x30]
mov edi, ecx
mov dword [eax + ebx*4 - 4], 0
lea ecx, [edx + 1]
cmp ebx, ecx
jb 0x65a5da
mov dword [esp + 0x2c], edi
mov dword [esp + 0x64], ecx
sub edi, edx
dec edi
xchg edi, ebx
neg ebx
xchg edi, ebx
shl ecx, 2
sar edi, 0x1f
and edi, ecx
add edi, eax
mov ecx, ebx
sub ebx, edx
cmp ecx, edx
jb 0x65a5d3
mov dword [esp + 0x68], ecx
dec ebx
sub ecx, edx
mov ebp, dword [esp + 0x2c]
sub ebp, edx
xchg ebp, ebx
neg ebx
xchg ebp, ebx
shl edx, 2
sar ebp, 0x1f
and ebp, edx
lea edx, [ebp + eax]
cmp ecx, ebx
jl 0x65a122
mov ecx, ebx
cmp edx, edi
je 0x659f48
mov dword [esp + 0x70], eax
mov dword [esp], edi
mov dword [esp + 4], edx
shl ecx, 2
mov dword [esp + 8], ecx
call fcn.00472440
mov eax, dword [esp + 0x70]
mov esi, dword [esp + 0x30]
jmp 0x659f48
mov dword [esp], 0
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov dword [esp + 0xc], ecx
call fcn.00450fe0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], ecx
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
add esp, 0x74
ret
lea ecx, [esi + 0x24]
mov ebx, dword [esp + 0x7c]
mov ebp, dword [esp + 0x78]
mov edx, dword [esp + 0x48]
mov esi, dword [esp + 0x60]
mov edx, dword [esp + 0x28]
mov esi, edi
mov dword [esp + 0x4c], eax
mov edi, dword [esp + 0x60]
mov dword [esp + 0x34], ecx
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x2c]
cmp ebx, esi
je 0x65a4cb
jbe 0x65a5ed
movzx eax, byte [ebp + esi]
lea ecx, [eax - 0x30]
cmp cl, 9
ja 0x65a1eb
add eax, 0xffffffea
movzx eax, al
mov ecx, 1
jmp 0x65a213
lea ecx, [eax - 0x41]
cmp cl, 0x19
ja 0x65a1fd
movzx eax, cl
mov ecx, 1
jmp 0x65a213
add eax, 0xffffff9f
cmp al, 0x19
ja 0x65a20f
movzx eax, al
mov ecx, 1
jmp 0x65a213
xor ecx, ecx
xor eax, eax
test cl, cl
je 0x65a457
mov dword [esp + 0x3c], eax
mov dword [esp + 0x24], esi
mov ecx, eax
sar ecx, 0x1f
mov edx, dword [esp + 0x4c]
mul edx
mov ebp, dword [esp + 0x4c]
imul ecx, ebp
add edx, ecx
mov ecx, ebp
sar ebp, 0x1f
mov dword [esp + 0x64], ebp
mov ebx, dword [esp + 0x3c]
imul ebx, ebp
add edx, ebx
mov ebx, edi
sar edi, 0x1f
mov ebp, 0x7fffffff
sub ebp, ebx
mov esi, 0
sbb esi, edi
cmp esi, edx
sete dl
xchg esi, ebx
setl bl
xchg esi, ebx
cmp eax, ebp
xchg ebp, ebx
seta bl
xchg ebp, ebx
and edx, ebp
or edx, esi
test dl, dl
jne 0x65a3e3
mov edx, dword [esp + 0x34]
mov ebp, dword [esp + 0x48]
mov esi, edx
sub edx, ebp
add ebx, eax
cmp esi, ebp
jg 0x65a296
mov edx, 1
jmp 0x65a2a2
lea edi, [ebp + 0x1a]
cmp esi, edi
jl 0x65a2a2
mov edx, 0x1a
mov edi, dword [esp + 0x24]
inc edi
mov ebp, dword [esp + 0x3c]
cmp edx, ebp
jg 0x659fa2
mov dword [esp + 0x60], ebx
add edx, 0xffffffdc
neg edx
mov dword [esp + 0x44], edx
mov eax, edx
mul ecx
mov ebp, dword [esp + 0x44]
mov ebx, dword [esp + 0x64]
imul ebx, ebp
sar ebp, 0x1f
imul ecx, ebp
add edx, ecx
add edx, ebx
test edx, edx
sete dl
setg bl
cmp eax, 0x7fffffff
xchg ebp, ebx
seta bl
xchg ebp, ebx
and ebp, edx
or ebp, ebx
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x65a196
lea eax, [0x705d00]
mov dword [esp], eax
call fcn.0040bc10
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x7c]
mov dword [eax + 4], ecx
mov ecx, dword [0x98d0b8]
test ecx, ecx
jne 0x65a324
mov ecx, dword [esp + 0x78]
jmp 0x65a32f
call fcn.00471ab0
mov ecx, dword [esp + 0x78]
mov dword [edi], ecx
mov dword [eax], ecx
mov dword [eax + 0xc], 2
lea ecx, [0x727ce8]
mov dword [eax + 8], ecx
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
lea ecx, [0x7a4ac0]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], eax
add esp, 0x74
ret
lea eax, [0x705d00]
mov dword [esp], eax
call fcn.0040bc10
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x7c]
mov dword [eax + 4], ecx
mov ecx, dword [0x98d0b8]
test ecx, ecx
jne 0x65a398
mov ecx, dword [esp + 0x78]
jmp 0x65a3a3
call fcn.00471ab0
mov ecx, dword [esp + 0x78]
mov dword [edi], ecx
mov dword [eax], ecx
mov dword [eax + 0xc], 2
lea ecx, [0x727ce8]
mov dword [eax + 8], ecx
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
lea ecx, [0x7a4ac0]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], eax
add esp, 0x74
ret
lea eax, [0x705d00]
mov dword [esp], eax
call fcn.0040bc10
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x7c]
mov dword [eax + 4], ecx
mov ecx, dword [0x98d0b8]
test ecx, ecx
jne 0x65a40c
mov ecx, dword [esp + 0x78]
jmp 0x65a417
call fcn.00471ab0
mov ecx, dword [esp + 0x78]
mov dword [edi], ecx
mov dword [eax], ecx
mov dword [eax + 0xc], 2
lea ecx, [0x727ce8]
mov dword [eax + 8], ecx
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
lea ecx, [0x7a4ac0]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], eax
add esp, 0x74
ret
lea eax, [0x705d00]
mov dword [esp], eax
call fcn.0040bc10
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x7c]
mov dword [eax + 4], ecx
mov ecx, dword [0x98d0b8]
test ecx, ecx
jne 0x65a480
mov ecx, dword [esp + 0x78]
jmp 0x65a48b
call fcn.00471ab0
mov ecx, dword [esp + 0x78]
mov dword [edi], ecx
mov dword [eax], ecx
mov dword [eax + 0xc], 2
lea ecx, [0x727ce8]
mov dword [eax + 8], ecx
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
lea ecx, [0x7a4ac0]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], eax
add esp, 0x74
ret
lea eax, [0x705d00]
mov dword [esp], eax
call fcn.0040bc10
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x7c]
mov dword [eax + 4], ecx
mov ecx, dword [0x98d0b8]
test ecx, ecx
jne 0x65a4f4
mov ecx, dword [esp + 0x78]
jmp 0x65a4ff
call fcn.00471ab0
mov ecx, dword [esp + 0x78]
mov dword [edi], ecx
mov dword [eax], ecx
mov dword [eax + 0xc], 2
lea ecx, [0x727ce8]
mov dword [eax + 8], ecx
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
lea ecx, [0x7a4ac0]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], eax
add esp, 0x74
ret
mov ecx, eax
mov eax, 0xea0ea0eb
mov ebp, edx
imul edx
add edx, ebp
sar edx, 5
lea eax, [ecx + 0x24]
cmp edx, 0x1c7
jg 0x65a53f
jmp 0x65a003
lea eax, [0x705d00]
mov dword [esp], eax
call fcn.0040bc10
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x7c]
mov dword [eax + 4], ecx
mov ecx, dword [0x98d0b8]
test ecx, ecx
jne 0x65a588
mov ecx, dword [esp + 0x78]
jmp 0x65a593
call fcn.00471ab0
mov ecx, dword [esp + 0x78]
mov dword [edi], ecx
mov dword [eax], ecx
mov dword [eax + 0xc], 2
lea ecx, [0x727ce8]
mov dword [eax + 8], ecx
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
lea ecx, [0x7a4ac0]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], eax
add esp, 0x74
ret
mov eax, edx
call fcn.00471b90
mov eax, ecx
mov ecx, ebx
call fcn.00471b90
call fcn.004353e0
call fcn.004353e0
mov eax, esi
mov ecx, ebx
call fcn.00471b30
mov dword [eax + edi*4 - 4], ebp
mov ebp, dword [esp + 0x7c]
cmp esi, ecx
jge 0x65a69d
movzx ebp, byte [ebx + esi]
cmp ebp, 0x80
jge 0x65a615
inc esi
jmp 0x65a64d
mov dword [esp + 0x2c], edx
mov dword [esp + 0x28], edi
mov dword [esp + 0x6c], eax
mov dword [esp], ebx
mov dword [esp + 4], ecx
mov dword [esp + 8], esi
call fcn.004625f0
mov ebp, dword [esp + 0xc]
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x78]
mov edi, dword [esp + 0x28]
inc edi
cmp edx, edi
jae 0x65a5f6
mov dword [esp + 0x20], ebp
mov dword [esp + 0x58], esi
mov dword [esp], eax
mov dword [esp + 4], edi
mov dword [esp + 8], edx
mov dword [esp + 0xc], 1
lea eax, [0x6e07a0]
mov dword [esp + 0x10], eax
call fcn.0046cad0
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x68]
mov ebx, dword [esp + 0x78]
mov ebp, dword [esp + 0x20]
mov esi, dword [esp + 0x58]
jmp 0x65a5f6
mov ecx, edx
mov edx, edi
jmp 0x659f24
call fcn.00471b50
nop
call fcn.004706b0
jmp fcn.00659da0