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

Disassembly:
push 0xffffffffffffffff
push 0x730ad7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xdc
mov al, byte [esp + 3]
push ebx
push ebp
xor ebx, ebx
push esi
mov ebp, ecx
push edi
mov dword [esp + 0x30], ebp
mov byte [esp + 0x1c], al
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov cl, byte [esp + 0x13]
mov dword [esp + 0xf4], ebx
mov byte [esp + 0x80], cl
mov dword [esp + 0x84], ebx
mov dword [esp + 0x88], ebx
mov dword [esp + 0x8c], ebx
mov dl, byte [esp + 0x13]
mov byte [esp + 0x40], dl
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
mov al, byte [esp + 0x13]
mov byte [esp + 0x90], al
mov dword [esp + 0x94], ebx
mov dword [esp + 0x98], ebx
mov dword [esp + 0x9c], ebx
mov cl, byte [esp + 0x13]
mov byte [esp + 0x70], cl
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], ebx
mov dword [esp + 0x7c], ebx
mov dl, byte [esp + 0x13]
mov byte [esp + 0x60], dl
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], ebx
mov dword [esp + 0x6c], ebx
mov al, byte [esp + 0x13]
mov byte [esp + 0x50], al
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebx
mov ecx, dword [esp + 0x10c]
mov edi, dword [esp + 0x110]
mov dl, byte [esp + 0x114]
mov eax, ecx
imul eax, edi
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x11c]
lea esi, [eax + 1]
imul esi, ecx
cmp dl, bl
mov byte [esp + 0xf4], 6
mov dword [esp + 0x3c], esi
jne 0x659213
sub esi, eax
mov dword [esp + 0x3c], esi
mov edx, dword [esp + 0x120]
inc edx
imul edx, edi
cmp byte [esp + 0x118], bl
mov dword [esp + 0x38], edx
jne 0x659236
sub edx, dword [esp + 0x120]
mov dword [esp + 0x38], edx
push eax
mov eax, dword [esp + 0x118]
push eax
push edi
push ecx
mov ecx, dword [esp + 0x10c]
push ecx
lea edx, [esp + 0x54]
push edx
mov ecx, ebp
call fcn.00658890
mov eax, dword [esp + 0x120]
mov ecx, dword [esp + 0x118]
mov edx, dword [esp + 0x44]
push eax
push ecx
push edi
push esi
push edx
lea eax, [esp + 0xa4]
push eax
mov ecx, ebp
call fcn.00658b90
mov eax, dword [esp + 0x38]
imul eax, esi
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x100]
cmp eax, ebx
je 0x65938a
mov ecx, dword [esp + 0x11c]
mov edx, dword [esp + 0x114]
push ecx
mov ecx, dword [esp + 0x110]
push edx
push edi
push ecx
push eax
lea edx, [esp + 0x54]
push edx
mov ecx, ebp
call fcn.00658890
mov dword [esp + 0x14], ebx
mov eax, dword [esp + 0x44]
cmp eax, ebx
je 0x65930e
mov ecx, dword [esp + 0x48]
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, dword [esp + 0x14]
cmp eax, edx
jae 0x65930a
push eax
lea ecx, [esp + 0x44]
call fcn.0065a120
mov ecx, dword [esp + 0x14]
push eax
push ecx
lea ecx, [esp + 0x48]
call fcn.0065a120
push eax
call fcn.00668843
inc dword [esp + 0x14]
jmp 0x6592bf
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0x120]
mov ecx, dword [esp + 0x118]
push edx
push ecx
push edi
push esi
push eax
lea edx, [esp + 0x84]
push edx
mov ecx, ebp
call fcn.00658b90
mov dword [esp + 0x14], ebx
mov eax, dword [esp + 0x74]
cmp eax, ebx
je 0x659383
mov ecx, dword [esp + 0x78]
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, dword [esp + 0x14]
cmp eax, edx
jae 0x65937f
push eax
lea ecx, [esp + 0x74]
call fcn.0065a120
mov ecx, dword [esp + 0x14]
push eax
push ecx
lea ecx, [esp + 0x78]
call fcn.0065a120
push eax
call fcn.00668843
inc dword [esp + 0x14]
jmp 0x659334
mov eax, dword [esp + 0x74]
mov dword [esp + 0x100], eax
cmp dword [esp + 0x104], ebx
je 0x6595ac
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
push edx
push eax
lea ecx, [esp + 0x24]
call fcn.0065a6d0
mov eax, dword [esp + 0x18]
cmp eax, ebx
jle 0x6594a3
mov ecx, dword [esp + 0x104]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x2c], eax
mov edx, dword [esp + 0x14]
mov eax, dword [edx]
mov ecx, eax
shr ecx, 0x18
mov dword [esp + 0xac], ecx
mov dword [esp + 0xb0], ebx
fild qword [esp + 0xac]
mov edx, eax
shr edx, 0x10
and edx, 0xff
fmul dword [0x746910]
mov dword [esp + 0xbc], edx
mov dword [esp + 0xc0], ebx
mov ecx, eax
fstp dword [esp + 0xcc]
fild qword [esp + 0xbc]
shr ecx, 8
and ecx, 0xff
mov dword [esp + 0xa4], ecx
fmul dword [0x746910]
mov dword [esp + 0xa8], ebx
and eax, 0xff
mov dword [esp + 0xb4], eax
mov eax, dword [esp + 0x24]
fstp dword [esp + 0xd0]
fild qword [esp + 0xa4]
mov dword [esp + 0xb8], ebx
lea edx, [esp + 0xcc]
push edx
fmul dword [0x746910]
push eax
lea ecx, [esp + 0x24]
fstp dword [esp + 0xdc]
fild qword [esp + 0xbc]
fmul dword [0x746910]
fstp dword [esp + 0xe0]
call fcn.0065a4e0
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x2c]
add ecx, 4
dec eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x2c], eax
jne 0x6593c5
mov ecx, dword [esp + 0x11c]
mov edx, dword [esp + 0x114]
mov eax, dword [esp + 0x10c]
push ecx
mov ecx, dword [esp + 0x24]
push edx
push edi
push eax
push ecx
lea edx, [esp + 0x94]
push edx
mov ecx, ebp
call fcn.00658240
mov eax, dword [esp + 0x120]
mov ecx, dword [esp + 0x118]
mov edx, dword [esp + 0x84]
push eax
push ecx
push edi
push esi
push edx
lea eax, [esp + 0x30]
push eax
mov ecx, ebp
call fcn.00658e40
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x64]
push ecx
push edx
lea ecx, [esp + 0x68]
call fcn.005897c0
mov eax, dword [esp + 0x34]
cmp eax, ebx
jle 0x6595a1
xor esi, esi
mov dword [esp + 0x2c], eax
mov ebp, dword [esp + 0x20]
fld dword [esi + ebp + 4]
fmul dword [0x74b6c4]
call sub.MSVCRT.dll__ftol
fld dword [esi + ebp]
mov ecx, eax
shl ecx, 8
add ecx, eax
shl ecx, 8
fmul dword [0x746568]
mov edx, ecx
mov dword [esp + 0x14], edx
call sub.MSVCRT.dll__ftol
mov edx, dword [esp + 0x14]
shl eax, 0x18
mov ebp, eax
mov eax, dword [esp + 0x20]
fld dword [eax + esi + 0xc]
sub ebp, edx
fmul dword [0x74b6c4]
call sub.MSVCRT.dll__ftol
mov edx, dword [esp + 0x68]
lea ecx, [esp + 0xa0]
push ecx
push 1
sub ebp, eax
push edx
lea ecx, [esp + 0x6c]
mov dword [esp + 0xac], ebp
call fcn.004228a0
mov eax, dword [esp + 0x2c]
add esi, 0x10
dec eax
mov dword [esp + 0x2c], eax
jne 0x65951b
mov ebp, dword [esp + 0x30]
mov esi, dword [esp + 0x3c]
mov eax, dword [esp + 0x64]
mov dword [esp + 0x104], eax
cmp dword [esp + 0x108], ebx
je 0x659726
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
push ecx
push eax
push eax
call fcn.0065b030
mov edx, dword [esp + 0x30]
add esp, 0xc
push edx
push eax
lea ecx, [esp + 0x24]
mov dword [esp + 0x38], eax
call fcn.0058d230
mov ecx, dword [esp + 0x18]
cmp ecx, ebx
mov eax, dword [esp + 0x30]
mov dword [esp + 0x24], eax
jle 0x65965b
mov eax, dword [esp + 0x108]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ecx
jmp 0x659604
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
lea eax, [esp + 0xdc]
push eax
mov dword [esp + 0xe0], ecx
mov ecx, dword [esp + 0x28]
push 1
push ecx
lea ecx, [esp + 0x28]
mov dword [esp + 0xec], edx
mov dword [esp + 0xf0], 0
mov dword [esp + 0xf4], 0
call fcn.0065aa50
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
add ecx, 8
dec eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], eax
jne 0x659600
mov edx, dword [esp + 0x11c]
mov eax, dword [esp + 0x114]
mov ecx, dword [esp + 0x10c]
push edx
mov edx, dword [esp + 0x24]
push eax
push edi
push ecx
push edx
lea eax, [esp + 0x94]
push eax
mov ecx, ebp
call fcn.00658240
mov ecx, dword [esp + 0x120]
mov edx, dword [esp + 0x118]
mov eax, dword [esp + 0x84]
push ecx
push edx
push edi
push esi
push eax
lea ecx, [esp + 0x30]
push ecx
mov ecx, ebp
call fcn.00658e40
mov edx, dword [esp + 0x54]
mov eax, dword [esp + 0x58]
push edx
push eax
push eax
call fcn.0065b070
mov esi, eax
mov eax, dword [esp + 0x64]
add esp, 0xc
push eax
push esi
lea ecx, [esp + 0x58]
call fcn.0058d230
mov edi, dword [esp + 0x34]
cmp edi, ebx
mov dword [esp + 0x58], esi
jle 0x659717
xor esi, esi
mov eax, dword [esp + 0x20]
fld dword [eax + esi]
mov edx, dword [esp + 0x58]
lea ecx, [esp + 0xc4]
fstp dword [esp + 0xc4]
fld dword [eax + esi + 4]
push ecx
push 1
fstp dword [esp + 0xd0]
push edx
lea ecx, [esp + 0x5c]
call fcn.0065ad60
add esi, 0x10
dec edi
jne 0x6596e0
mov eax, dword [esp + 0x54]
mov esi, dword [esp + 0x3c]
mov dword [esp + 0x108], eax
mov ecx, dword [esp + 0x118]
mov edx, dword [esp + 0x114]
mov eax, dword [esp + 0x38]
push ecx
mov ecx, dword [esp + 0x10c]
push edx
mov edx, dword [esp + 0x10c]
push eax
mov eax, dword [esp + 0x10c]
push esi
push ecx
mov ecx, dword [esp + 0xa8]
push edx
push eax
push ecx
mov ecx, ebp
call fcn.00659830
mov edx, dword [esp + 0x54]
push edx
call fcn.00727530
mov eax, dword [esp + 0x68]
push eax
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], ebx
call fcn.00727530
mov ecx, dword [esp + 0x7c]
push ecx
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], ebx
call fcn.00727530
mov edx, dword [esp + 0xa0]
push edx
mov dword [esp + 0x84], ebx
mov dword [esp + 0x88], ebx
mov dword [esp + 0x8c], ebx
call fcn.00727530
mov eax, dword [esp + 0x54]
push eax
mov dword [esp + 0xa8], ebx
mov dword [esp + 0xac], ebx
mov dword [esp + 0xb0], ebx
call fcn.00727530
mov ecx, dword [esp + 0x98]
push ecx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], ebx
call fcn.00727530
mov edx, dword [esp + 0x38]
push edx
mov dword [esp + 0xa0], ebx
mov dword [esp + 0xa4], ebx
mov dword [esp + 0xa8], ebx
call fcn.00727530
mov ecx, dword [esp + 0x108]
add esp, 0x1c
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xe8
ret 0x28