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

Disassembly:
mov ecx, dword [0x98cddc]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 8]
cmp eax, dword [ecx + 8]
jbe 0x658b74
sub esp, 0x88
mov ecx, dword [esp + 0x8c]
mov edx, dword [ecx + 0x10]
test edx, edx
jne 0x658252
xor ebx, ebx
xor esi, esi
mov ebp, dword [esp + 0x94]
mov eax, dword [esp + 0x90]
xor ecx, ecx
jmp 0x658284
mov eax, dword [edx]
mov dword [esp], ecx
mov ebx, dword [esp + 0x90]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x94]
mov dword [esp + 8], ebx
call eax
mov eax, dword [esp + 0xc]
movzx ecx, byte [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x10]
mov esi, dword [esp + 0x1c]
mov edx, dword [esp + 0x8c]
movzx edi, byte [edx + 5]
xchg edi, eax
test al, al
xchg edi, eax
jne 0x658b62
mov dword [esp + 0x40], ebp
mov dword [esp + 0x84], eax
mov byte [esp + 0x23], cl
test ebx, ebx
jne 0x65831e
movzx edi, byte [edx + 4]
xchg edi, eax
test al, al
xchg edi, eax
je 0x65831e
test ebp, ebp
jne 0x65831e
lea eax, [0x705d00]
mov dword [esp], eax
call fcn.0040bc10
mov eax, dword [esp + 4]
mov dword [eax + 4], 0
mov ecx, dword [0x98d0b8]
test ecx, ecx
jne 0x6582e6
mov ecx, dword [esp + 0x84]
jmp 0x6582f4
call fcn.00471ab0
mov ecx, dword [esp + 0x84]
mov dword [edi], ecx
mov dword [eax], ecx
mov dword [eax + 0xc], 2
lea edx, [0x727cdc]
mov dword [eax + 8], edx
movzx ecx, byte [esp + 0x23]
mov edx, dword [esp + 0x8c]
mov ebp, dword [esp + 0x40]
lea ebx, [0x7a4ac0]
mov esi, eax
lea edi, [esp + 0x4c]
xor eax, eax
call fcn.00471d48
mov ecx, dword [esp + 0x84]
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ebp
movzx eax, byte [esp + 0x23]
jmp 0x658357
mov ecx, dword [esp + 0x84]
mov edx, dword [esp + 0x8c]
mov ebp, dword [esp + 0x40]
mov edi, eax
mov eax, esi
mov esi, edi
mov dword [esp + 0x74], esi
mov dword [esp + 0x34], ebx
mov edi, dword [esp + 0x60]
lea ecx, [esp + 0x4c]
cmp dword [ecx + 4], edi
jle 0x658699
mov byte [esp + 0x23], al
mov dword [esp], ecx
call fcn.00659500
mov ecx, dword [esp + 8]
test ecx, ecx
jne 0x658433
mov edx, dword [esp + 0x34]
test edx, edx
je 0x6583ab
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x84]
lea ebp, [0x727cdc]
mov ebx, dword [esp + 0x34]
mov eax, dword [esp + 0x74]
jmp 0x658429
mov ebx, dword [esp + 0x8c]
movzx ebp, byte [ebx + 4]
xchg ebp, eax
test al, al
xchg ebp, eax
jne 0x6583d7
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x84]
lea ebp, [0x727cdc]
mov ebx, dword [esp + 0x34]
mov eax, dword [esp + 0x74]
jmp 0x658429
lea eax, [0x705d00]
mov dword [esp], eax
call fcn.0040bc10
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x40]
mov dword [eax + 4], ecx
mov edx, dword [0x98d0b8]
test edx, edx
jne 0x658403
mov edx, dword [esp + 0x84]
jmp 0x658411
call fcn.00471ab0
mov edx, dword [esp + 0x84]
mov dword [edi], edx
mov dword [eax], edx
mov dword [eax + 0xc], 2
lea ebp, [0x727cdc]
mov dword [eax + 8], ebp
lea ebx, [0x7a4ac0]
movzx esi, byte [esp + 0x23]
jmp 0x658601
mov edx, dword [esp + 4]
cmp ecx, 4
jge 0x658440
xor eax, eax
jmp 0x65846f
mov dword [esp + 0x30], ecx
mov dword [esp + 0x70], edx
mov dword [esp], edx
lea eax, [0x7285e9]
mov dword [esp + 4], eax
mov dword [esp + 8], 4
call fcn.00402e10
movzx eax, byte [esp + 0xc]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x70]
test al, al
jne 0x6584b3
mov ebx, dword [esp + 0x34]
test ebx, ebx
je 0x658481
mov esi, dword [esp + 0x74]
jmp 0x6584a0
mov eax, dword [esp + 0x8c]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
call fcn.00659900
mov ebx, dword [esp + 0xc]
mov esi, dword [esp + 0x10]
movzx ecx, byte [esp + 0x23]
mov eax, ebx
mov ebx, dword [esp + 0x8c]
jmp 0x6585ea
cmp ecx, 4
jb 0x658b47
lea eax, [ecx - 4]
mov ecx, eax
neg eax
sar eax, 0x1f
and eax, 4
add eax, edx
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.00659da0
mov eax, dword [esp + 0x10]
test eax, eax
je 0x658512
mov edx, dword [esp + 0x34]
test edx, edx
je 0x6584ef
mov eax, edx
mov esi, dword [esp + 0x74]
jmp 0x6584f3
mov esi, dword [esp + 0x14]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x84]
lea ebp, [0x727cdc]
mov ebx, eax
mov eax, esi
movzx esi, byte [esp + 0x23]
jmp 0x658601
mov eax, dword [esp + 8]
mov dword [esp + 0x48], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x28], ecx
movzx edx, byte [esp + 0x23]
test dl, dl
je 0x658532
mov edx, 1
jmp 0x658551
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.00651790
mov eax, dword [esp + 8]
test eax, eax
setne al
mov ecx, dword [esp + 0x28]
mov edx, eax
mov eax, dword [esp + 0x48]
mov byte [esp + 0x23], dl
lea ebx, [esp + 0x4c]
mov dword [esp], ebx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.006595e0
mov eax, dword [esp + 0x34]
test eax, eax
je 0x65857e
mov ebx, dword [esp + 0x8c]
mov esi, dword [esp + 0x74]
jmp 0x6585ba
mov ebx, dword [esp + 0x8c]
mov edx, dword [ebx + 0xc]
test edx, edx
jne 0x658592
mov esi, dword [esp + 0x74]
jmp 0x6585ba
mov eax, dword [edx]
mov dword [esp], ebx
mov ecx, dword [esp + 0x48]
mov dword [esp + 4], ecx
mov ebp, dword [esp + 0x28]
mov dword [esp + 8], ebp
call eax
mov ebx, dword [esp + 0xc]
mov esi, dword [esp + 0x10]
mov eax, ebx
mov ebx, dword [esp + 0x8c]
test eax, eax
jne 0x6585e5
mov dword [esp], ebx
mov eax, dword [esp + 0x48]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 8], eax
call fcn.00659900
mov eax, dword [esp + 0xc]
mov esi, dword [esp + 0x10]
mov ebx, dword [esp + 0x8c]
movzx ecx, byte [esp + 0x23]
mov edx, dword [esp + 0x84]
lea ebp, [0x727cdc]
mov ebx, eax
mov eax, esi
mov esi, ecx
mov ecx, dword [esp + 0x40]
mov edi, dword [esp + 0x68]
lea ebp, [edi + 1]
mov dword [esp + 0x68], ebp
mov edx, dword [esp + 0x54]
test edx, edx
je 0x65865d
mov ecx, dword [esp + 0x58]
cmp ecx, ebp
jle 0x658644
mov dword [esp + 0x80], eax
lea eax, [ecx - 1]
cmp eax, ebp
jne 0x658651
cmp ecx, ebp
jbe 0x658b40
lea eax, [edx + edi*8 + 8]
mov eax, dword [eax + 4]
test eax, eax
jne 0x658651
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x60], ecx
jmp 0x65833f
mov eax, dword [esp + 0x80]
jmp 0x65833f
mov edx, dword [esp + 0x64]
lea ebp, [edx + 1]
mov dword [esp + 0x60], ebp
mov edi, dword [esp + 0x50]
lea ecx, [edi - 1]
cmp ecx, ebp
jne 0x65833f
cmp edi, ebp
jbe 0x658b37
mov ecx, dword [esp + 0x4c]
lea ecx, [ecx + edx + 1]
cmp byte [ecx], 0x2e
jne 0x65833f
mov dword [esp + 0x60], edi
jmp 0x65833f
test al, al
je 0x6586c5
mov eax, dword [edx + 0x14]
test eax, eax
je 0x6586c5
test ebx, ebx
jne 0x6586c5
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
jmp 0x658a0f
movzx eax, byte [esp + 0x98]
test al, al
je 0x6586ee
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
jmp 0x65882c
mov ecx, dword [esp + 0x54]
test ecx, ecx
jne 0x658702
mov ecx, dword [esp + 0x50]
mov ebp, dword [esp + 0x4c]
test al, al
jmp 0x658755
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x7c], esi
mov eax, dword [esp + 0x58]
mov edx, dword [esp + 0x5c]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], edx
lea eax, [0x7a1da8]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 1
call fcn.004e0630
mov ebp, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
movzx eax, byte [esp + 0x98]
test al, al
mov edx, dword [esp + 0x8c]
mov ebx, dword [esp + 0x3c]
mov esi, dword [esp + 0x7c]
je 0x6587f7
movzx eax, byte [edx + 4]
test al, al
je 0x6587f1
test ebx, ebx
je 0x658774
mov edx, ebp
mov eax, esi
jmp 0x6587fb
test ecx, ecx
je 0x65878a
lea eax, [ecx + ebp - 1]
cmp byte [eax], 0x2e
jne 0x658788
lea eax, [ecx - 1]
test ecx, ecx
jmp 0x65878c
test ecx, ecx
mov eax, ecx
mov dword [esp + 0x44], ebp
mov dword [esp + 0x24], ecx
je 0x65879d
cmp eax, 0xfd
jle 0x6587eb
lea eax, [0x705d00]
mov dword [esp], eax
call fcn.0040bc10
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x24]
mov dword [eax + 4], ecx
mov edx, dword [0x98d0b8]
test edx, edx
jne 0x6587c6
mov edx, dword [esp + 0x44]
jmp 0x6587d1
call fcn.00471ab0
mov edx, dword [esp + 0x44]
mov dword [edi], edx
mov dword [eax], edx
mov dword [eax + 0xc], 2
lea ebp, [0x727cdc]
mov dword [eax + 8], ebp
lea ebx, [0x7a4ac0]
jmp 0x6587fb
mov edx, ebp
mov eax, esi
jmp 0x6587fb
mov edx, ebp
mov eax, esi
jmp 0x6587fb
mov edx, ebp
mov eax, esi
mov dword [esp + 0x9c], edx
mov dword [esp + 0xa0], ecx
mov dword [esp + 0xa4], ebx
mov dword [esp + 0xa8], eax
add esp, 0x88
ret
movzx eax, byte [esp + 0x98]
mov esi, ebx
mov ebx, edx
mov edx, ebp
mov ecx, dword [esp + 0x60]
lea ebp, [esp + 0x4c]
cmp dword [ebp + 4], ecx
jle 0x6586ee
mov dword [esp + 0x78], esi
mov dword [esp + 0x38], ebx
mov dword [esp], ebp
call fcn.00659500
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
xor edx, edx
jmp 0x6589dd
lea edx, [0x7285e9]
mov dword [esp], edx
mov dword [esp + 4], 4
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
call fcn.0065a6c0
mov eax, dword [esp + 0x38]
test eax, eax
je 0x65888a
mov ebx, eax
mov esi, dword [esp + 0x78]
jmp 0x658892
mov ebx, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x74], esi
mov dword [esp + 0x34], ebx
mov eax, dword [esp + 0x10]
mov dword [esp + 0x6c], eax
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x2c], ecx
lea edx, [esp + 0x4c]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.006595e0
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x6c]
mov edx, dword [esp + 0x34]
mov ebx, dword [esp + 0x74]
jmp 0x6588d8
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x78]
mov ebp, dword [esp + 0x8c]
movzx esi, byte [ebp + 4]
xchg esi, eax
test al, al
xchg esi, eax
je 0x658953
test edx, edx
jne 0x658953
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x6c], eax
test ecx, ecx
je 0x6588fe
cmp ecx, 0x3f
jle 0x658953
lea eax, [0x705d00]
mov dword [esp], eax
call fcn.0040bc10
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x2c]
mov dword [eax + 4], ecx
mov ecx, dword [0x98d0b8]
test ecx, ecx
jne 0x658927
mov edx, dword [esp + 0x6c]
jmp 0x658932
call fcn.00471ab0
mov edx, dword [esp + 0x6c]
mov dword [edi], edx
mov dword [eax], edx
mov dword [eax + 0xc], 2
lea ebp, [0x727cdc]
mov dword [eax + 8], ebp
mov ebp, dword [esp + 0x8c]
lea edx, [0x7a4ac0]
mov ebx, eax
mov esi, dword [esp + 0x68]
lea eax, [esi + 1]
mov dword [esp + 0x68], eax
mov edi, dword [esp + 0x54]
test edi, edi
je 0x6589a4
mov ecx, dword [esp + 0x58]
cmp ecx, eax
jle 0x65898b
lea ebp, [ecx - 1]
cmp ebp, eax
jne 0x658998
cmp ecx, eax
jbe 0x6589f7
lea eax, [edi + esi*8 + 8]
mov eax, dword [eax + 4]
test eax, eax
jne 0x658998
mov ebp, dword [esp + 0x8c]
mov eax, dword [esp + 0x50]
mov dword [esp + 0x60], eax
jmp 0x65881e
mov ebp, dword [esp + 0x8c]
jmp 0x65881e
mov esi, dword [esp + 0x64]
lea eax, [esi + 1]
mov dword [esp + 0x60], eax
mov ecx, dword [esp + 0x50]
lea edi, [ecx - 1]
cmp edi, eax
jne 0x65881e
cmp ecx, eax
jbe 0x6589f2
mov eax, dword [esp + 0x4c]
lea eax, [eax + esi + 1]
cmp byte [eax], 0x2e
jne 0x65881e
mov dword [esp + 0x60], ecx
jmp 0x65881e
inc edx
cmp edx, ecx
jge 0x6588d0
lea ebx, [edx + eax]
cmp byte [ebx], 0x80
jb 0x6589dc
jmp 0x65885c
call fcn.00471b30
call fcn.00471b30
mov edx, dword [esp + 0x8c]
mov ebx, dword [esp + 0x34]
mov ebp, dword [esp + 0x40]
mov esi, dword [esp + 0x74]
mov eax, dword [esp + 0x50]
cmp dword [esp + 0x60], eax
jge 0x6586c5
lea eax, [esp + 0x4c]
mov dword [esp], eax
call fcn.00659500
mov eax, dword [esp + 0x8c]
mov edx, dword [eax + 0x14]
mov ecx, dword [edx]
mov ebx, dword [esp + 4]
mov ebp, dword [esp + 8]
mov dword [esp], ebx
mov dword [esp + 4], ebp
call ecx
movzx eax, byte [esp + 8]
test al, al
je 0x658acd
mov edx, dword [esp + 0x68]
lea eax, [edx + 1]
mov dword [esp + 0x68], eax
mov ebx, dword [esp + 0x54]
test ebx, ebx
je 0x658a95
mov ecx, dword [esp + 0x58]
cmp ecx, eax
jle 0x658a88
lea ebp, [ecx - 1]
cmp ebp, eax
jne 0x6589fc
cmp ecx, eax
jbe 0x658b32
lea eax, [ebx + edx*8 + 8]
mov eax, dword [eax + 4]
test eax, eax
jne 0x6589fc
mov eax, dword [esp + 0x50]
mov dword [esp + 0x60], eax
jmp 0x6589fc
mov edx, dword [esp + 0x64]
lea eax, [edx + 1]
mov dword [esp + 0x60], eax
mov ecx, dword [esp + 0x50]
lea ebx, [ecx - 1]
cmp ebx, eax
jne 0x6589fc
cmp ecx, eax
jbe 0x658b2d
mov eax, dword [esp + 0x4c]
lea eax, [eax + edx + 1]
cmp byte [eax], 0x2e
jne 0x6589fc
mov dword [esp + 0x60], ecx
jmp 0x6589fc
lea eax, [0x705d00]
mov dword [esp], eax
call fcn.0040bc10
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x40]
mov dword [eax + 4], ecx
mov ecx, dword [0x98d0b8]
test ecx, ecx
jne 0x658af9
mov ecx, dword [esp + 0x84]
jmp 0x658b07
call fcn.00471ab0
mov ecx, dword [esp + 0x84]
mov dword [edi], ecx
mov dword [eax], ecx
mov dword [eax + 0xc], 1
lea ecx, [0x7a1e70]
mov dword [eax + 8], ecx
mov edx, dword [esp + 0x8c]
lea ebx, [0x7a4ac0]
mov esi, eax
jmp 0x6586c5
call fcn.00471b30
call fcn.00471b30
mov eax, ebp
mov ecx, edi
call fcn.00471b30
mov eax, ebp
call fcn.00471b30
mov eax, 4
call fcn.00471b90
dec ebp
mov edi, ebp
xchg edi, ebx
neg ebx
xchg edi, ebx
sar edi, 0x1f
and edi, 1
add eax, edi
test ebp, ebp
je 0x658299
cmp byte [eax], 0x2e
je 0x658b51
jmp 0x658299
call fcn.004706b0
jmp fcn.00658210