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

Disassembly:
push ebp
mov ebp, ecx
mov ecx, 9
push edi
push esi
mov esi, edx
push ebx
mov ebx, eax
xor eax, eax
sub esp, 0xbc
mov edx, dword [ebx + 0x2c]
lea edi, [esp + 0x2c]
rep stosd dword es:[edi], eax
mov eax, dword [ebx]
mov dword [esp + 0x7c], edx
mov dword [esp + 0x50], eax
mov eax, dword [ebx + 4]
mov dword [esp + 0x54], eax
mov eax, dword [ebx + 8]
mov dword [esp + 0x58], eax
mov eax, dword [ebx + 0xc]
mov dword [esp + 0x5c], eax
mov eax, dword [ebx + 0x10]
mov dword [esp + 0x60], eax
mov eax, dword [ebx + 0x14]
mov dword [esp + 0x64], eax
mov eax, dword [ebx + 0x18]
mov dword [esp + 0x68], eax
mov eax, dword [ebx + 0x1c]
mov dword [esp + 0x6c], eax
mov eax, dword [ebx + 0x20]
mov dword [esp + 0x70], eax
mov eax, dword [ebx + 0x24]
mov dword [esp + 0x74], eax
mov eax, dword [ebx + 0x28]
mov dword [esp + 0x78], eax
test eax, 0xff0000
jne 0x665a4fb0
lea eax, [esp + 0x50]
call fcn.6658a250
cmp byte [esp + 0x7b], 0
jne 0x665a4fc0
lea eax, [esp + 0x50]
call fcn.6658a5e0
mov eax, dword [esp + 0x58]
sub eax, 0x7b3
cmp eax, 0x42
jbe 0x665a51c0
mov dword [esp + 0x58], 0x7d0
fldz
mov dword [esp + 0x5c], 1
mov dword [esp + 0x60], 1
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
fstp qword [esp + 0x70]
lea eax, [esp + 0x50]
mov dword [esp + 0x6c], 0
mov byte [esp + 0x78], 0
call fcn.6658a3d0
mov eax, dword [esp + 0x50]
mov edx, dword [esp + 0x54]
mov dword [esp + 8], 0x3e8
mov dword [esp + 0xc], 0
mov dword [esp], eax
mov dword [esp + 4], edx
call sub.libgcc_s_dw2_1.dll___divdi3
sub eax, 0x18a36940
cmp byte [0x6667ce04], 0
mov dword [esp + 0x28], eax
je 0x665a5260
mov dword [esp], 2
call dword [0x6667ce48]
mov ebx, eax
test eax, eax
je 0x665a51f8
mov dword [esp], eax
call dword [0x6667ce50]
lea eax, [esp + 0x28]
mov dword [esp], eax
call dword [sym.imp.msvcrt.dll_localtime]
mov edi, dword [0x6667cef8]
test edi, edi
jne 0x665a5178
test eax, eax
je 0x665a5178
mov edx, dword [eax]
mov dword [esp + 0x2c], edx
mov edx, dword [eax + 4]
mov dword [esp + 0x30], edx
mov edx, dword [eax + 8]
mov dword [esp + 0x34], edx
mov edx, dword [eax + 0xc]
mov dword [esp + 0x38], edx
mov edx, dword [eax + 0x10]
mov dword [esp + 0x3c], edx
mov edx, dword [eax + 0x14]
mov dword [esp + 0x40], edx
mov edx, dword [eax + 0x18]
mov dword [esp + 0x44], edx
mov edx, dword [eax + 0x1c]
mov eax, dword [eax + 0x20]
mov dword [esp], ebx
mov dword [esp + 0x48], edx
mov dword [esp + 0x4c], eax
call dword [0x6667ce58]
mov eax, dword [esp + 0x40]
fild dword [esp + 0x2c]
mov dword [esp + 0xa8], 0x1010000
mov byte [esp + 0xac], 0
add eax, 0x76c
mov byte [esp + 0xae], 0
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x3c]
fstp qword [esp + 0xa0]
add eax, 1
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x98], eax
lea eax, [esp + 0x80]
call fcn.6658a3d0
mov dword [ebp], 0
mov eax, dword [esp + 0x80]
mov edx, dword [esp + 0x84]
sub eax, dword [esp + 0x50]
sbb edx, dword [esp + 0x54]
add esp, 0xbc
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp], ebx
call dword [0x6667ce58]
mov dword [esi + 0x14], 1
mov edx, 0x6667e0c8
mov ecx, 0xffffffff
mov dword [esp + 4], 0xffffffff
mov dword [esp], 1
mov eax, dword [esi]
call fcn.665a4a40
mov dword [ebp], 1
xor eax, eax
xor edx, edx
add esp, 0xbc
pop ebx
pop esi
pop edi
pop ebp
ret
fnstcw word [esp + 0x1e]
fld dword [0x66690c4c]
fadd qword [esp + 0x70]
movzx eax, word [esp + 0x1e]
or ah, 0xc
mov word [esp + 0x1c], ax
fldcw word [esp + 0x1c]
fistp dword [esp + 0x18]
fldcw word [esp + 0x1e]
fild dword [esp + 0x18]
fstp qword [esp + 0x70]
jmp 0x665a5000
lea eax, [esp + 0x28]
mov dword [esp], eax
call dword [sym.imp.msvcrt.dll_localtime]
mov edx, dword [0x6667cef8]
test edx, edx
jne 0x665a5181
test eax, eax
je 0x665a5181
mov edx, dword [eax]
mov dword [esp + 0x2c], edx
mov edx, dword [eax + 4]
mov dword [esp + 0x30], edx
mov edx, dword [eax + 8]
mov dword [esp + 0x34], edx
mov edx, dword [eax + 0xc]
mov dword [esp + 0x38], edx
mov edx, dword [eax + 0x10]
mov dword [esp + 0x3c], edx
mov edx, dword [eax + 0x14]
mov dword [esp + 0x40], edx
mov edx, dword [eax + 0x18]
mov dword [esp + 0x44], edx
mov edx, dword [eax + 0x1c]
mov eax, dword [eax + 0x20]
mov dword [esp + 0x48], edx
mov dword [esp + 0x4c], eax
jmp 0x665a50da
lea eax, [esp + 0x28]
mov dword [esp], eax
call dword [sym.imp.msvcrt.dll_localtime]
mov ecx, dword [0x6667cef8]
test ecx, ecx
jne 0x665a5181
test eax, eax
je 0x665a5181
mov ecx, 9
lea edi, [esp + 0x2c]
mov esi, eax
rep movsd dword es:[edi], dword [esi]
jmp 0x665a50da