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

Disassembly:
push ebp
push edi
mov edi, edx
mov edx, 1
push esi
mov esi, eax
push ebx
sub esp, 0xcc
lea eax, [esp + 0x5c]
mov dword [esp], 0
mov dword [esp + 4], eax
mov eax, esi
mov dword [esp + 0x48], ecx
xor ecx, ecx
mov dword [esp + 0x5c], 0
call fcn.66657b40
mov dword [esp + 0x44], 0
mov ebx, eax
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x5c]
test ebx, ebx
jne 0x666586a9
lea esi, [esi]
mov edx, dword [esi + 0x1c]
sub edx, dword [esp + 0x48]
cmp edx, dword [esp + 0x44]
jle 0x666586a9
mov ecx, dword [eax + 0x18]
movzx edx, byte [ecx + 2]
movzx ebx, byte [ecx + 3]
shl edx, 8
add ebx, edx
mov dword [esp + 0x40], ebx
je 0x666586c8
fldz
mov dword [esp + 0x38], 0
xor ebx, ebx
lea ebp, [esp + 0x60]
fst qword [esp + 0x30]
mov dword [esp + 0x3c], 0
fstp qword [esp + 0x28]
jmp 0x666584db
mov ecx, dword [eax + 0x18]
movzx edx, byte [esi + 0x17]
movzx eax, byte [esi + 0x15]
mov dword [esp + 4], ebp
mov dword [esp], ebx
call fcn.6658d100
mov eax, dword [esp + 0x60]
movzx edx, byte [esi + 0x16]
lea ecx, [esp + 0x90]
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0x64]
mov byte [esp + 0x26], dl
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x98], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0xa0], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 0xa4], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0xa8], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 0xac], eax
mov eax, dword [esp + 0x80]
mov dword [esp + 0xb0], eax
mov eax, dword [esp + 0x84]
mov dword [esp + 0xb4], eax
mov eax, dword [esp + 0x88]
mov dword [esp + 0xb8], eax
mov eax, dword [esp + 0x8c]
mov dword [esp + 0xbc], eax
movzx eax, byte [esi + 0x14]
call fcn.6658cf70
mov dword [esp], edi
movzx eax, byte [esi + 0x15]
lea ecx, [esp + 0x90]
movzx edx, byte [esp + 0x26]
fstp qword [esp + 0x18]
call fcn.6658cea0
movzx eax, byte [esi + 0x14]
movzx edx, byte [esi + 0x16]
mov byte [esp + 0x26], al
mov byte [esp + 0x27], dl
call fcn.6658cf70
fld qword [esp + 0x18]
movzx edx, byte [esp + 0x27]
mov ecx, ebp
movzx eax, byte [esp + 0x26]
fsubp st(1)
fstp qword [esp + 0x18]
call fcn.6658cf70
test ebx, ebx
fld qword [esp + 0x18]
je 0x66658608
fld qword [esp + 0x28]
fcomi st(1)
ja 0x66658610
fucompi st(1)
jp 0x66658630
jne 0x66658636
fld qword [esp + 0x30]
fcompi st(2)
jbe 0x66658640
fxch st(1)
jmp 0x66658614
fxch st(1)
jmp 0x66658614
fstp st(0)
fxch st(1)
mov eax, dword [esp + 0x60]
mov edx, dword [esp + 0x64]
fstp qword [esp + 0x30]
fstp qword [esp + 0x28]
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], edx
jmp 0x66658648
fstp st(0)
fstp st(0)
jmp 0x66658648
fstp st(0)
fstp st(0)
jmp 0x66658648
fstp st(0)
fstp st(0)
lea esi, [esi]
mov eax, dword [esp + 0x5c]
add ebx, 1
cmp ebx, dword [esp + 0x40]
jne 0x666584d8
lea ebx, [esp + 0x90]
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
mov dword [esp], eax
mov dword [esp + 4], ebx
mov eax, esi
call fcn.66657b40
mov edx, dword [esp + 0x5c]
mov ebx, eax
test edx, edx
je 0x6665868d
sub dword [edx + 0x10], 1
jne 0x6665868d
mov eax, esi
call fcn.6664e490
mov eax, dword [esp + 0x90]
add dword [esp + 0x44], 1
mov dword [esp + 0x5c], eax
test ebx, ebx
je 0x66658488
mov dword [esp + 0x4c], ebx
mov edx, dword [esp + 0xe0]
mov dword [edx], eax
mov eax, dword [esp + 0x4c]
add esp, 0xcc
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
jmp 0x66658659