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

Disassembly:
sub esp, 0x70
mov eax, dword [0x424fb0]
xor eax, esp
mov dword [esp + 0x6c], eax
fldz
push ebx
fst dword [esp + 0x18]
push esi
fst dword [esp + 8]
xor ebx, ebx
fldz
push edi
fst qword [esp + 0x18]
mov byte [esp + 0x77], bl
fstp qword [esp + 0x18]
xor ecx, ecx
mov esi, 0xc79c6a57
fstp dword [esp + 0x10]
jmp 0x406690
movsx eax, byte [ecx + 0x423420]
cdq
mov edi, 0x1a
idiv edi
inc ecx
add dl, 0x61
mov byte [esp + ecx + 0x6f], dl
add dword [0x422078], esi
cmp ecx, 7
jne 0x406690
push 0xbb6
push 0x423420
call fcn.00402360
add esp, 8
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
fld dword [esp + 0xc]
fld1
mov dword [0x4267b8], eax
fsub st(1), st(0)
fxch st(1)
fstp dword [esp + 0xc]
fld dword [esp + 0xc]
fadd qword [0x41e6b0]
fld dword [0x424c94]
fcompp
fnstsw ax
fld dword [0x424c94]
fsub st(1)
fstp dword [0x424c94]
test ah, 0x41
jne 0x406719
fld qword [0x424e28]
fmul qword [0x41e6a8]
fstp qword [0x424e28]
fld dword [0x422ffc]
mov dword [esp + 0x24], 0x30
fmul dword [esp + 0x20]
mov dword [esp + 0x28], 3
fstp dword [0x422ffc]
fld dword [0x422f6c]
fsub qword [esp + 0x18]
fsub dword [esp + 0x10]
mov eax, dword [0x424eb0]
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
fmulp st(1)
call fcn.0040abf0
mov dword [0x424eb0], eax
fld dword [esp + 0x10]
fsub st(1)
xor edx, edx
push ebx
fstp dword [esp + 0x14]
fld qword [esp + 0x1c]
fsub st(1)
fstp qword [esp + 0x1c]
fld dword [0x422f6c]
mov dword [esp + 0x30], 0x405ad0
fadd st(1)
mov dword [esp + 0x34], ebx
fstp dword [0x422f6c]
fld qword [0x4245e8]
mov ecx, dword [0x4267b8]
fmul qword [0x41e6a0]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x38], ebx
fstp qword [0x4245e8]
fld dword [0x424db8]
fsub dword [esp + 0x10]
fadd dword [esp + 0x10]
fstp dword [esp + 0x10]
fsubr dword [0x424db8]
fstp dword [0x424db8]
mov dword [esp + 0x14], ebx
mov word [esp + 0x10], dx
movzx eax, word [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x14]
sub eax, ecx
movzx ecx, byte [esi + 0x16]
lea eax, [eax + edx - 0x27bffd8c]
movzx edx, byte [esi + 0x17]
push edx
push ecx
mov ecx, dword [esi + 0x1e]
push 0x30000
mov word [esp + 0x1c], ax
mov eax, dword [esi + 0x22]
push 1
add eax, esi
push ecx
push eax
call dword [sym.imp.USER32.dll_CreateIconFromResourceEx]
push 0x7f00
push ebx
mov dword [esp + 0x44], eax
call dword [sym.imp.USER32.dll_LoadCursorA]
lea edx, [esp + 0x70]
push 1
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], 6
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], edx
mov dword [esp + 0x54], ebx
call dword [sym.imp.GDI32.dll_GetStockObject]
fld qword [esp + 0x18]
fsub qword [0x41e698]
mov dword [esp + 0x44], eax
fsub dword [esp + 0x20]
movzx eax, word [0x424bc8]
movsx ecx, ax
mov dword [esp + 0x14], ecx
fild dword [esp + 0x14]
faddp st(1)
call fcn.0040abf0
lea edx, [esp + 0x24]
push edx
mov word [0x424bc8], ax
call dword [sym.imp.USER32.dll_RegisterClassExA]
push esi
push 0xbb6
call fcn.00401b40
push 0x15
push 0x423054
call fcn.00402360
add esp, 0x10
push ebx
mov esi, eax
mov eax, dword [0x4267b8]
push eax
push ebx
push ebx
push ebx
push connect
push ebx
push connect
push 0xc80000
push esi
lea ecx, [esp + 0x98]
push ecx
push ebx
call dword [sym.imp.USER32.dll_CreateWindowExA]
push esi
push 0x15
mov edi, eax
call fcn.00401b40
add esp, 8
cmp edi, ebx
je 0x406943
push 1
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
push edi
call dword [sym.imp.USER32.dll_UpdateWindow]
mov esi, dword [sym.imp.USER32.dll_GetMessageA]
push ebx
push ebx
push ebx
lea edx, [esp + 0x60]
push edx
call esi
test eax, eax
je 0x40692d
mov edi, dword [sym.imp.USER32.dll_TranslateMessage]
push ebp
mov ebp, dword [sym.imp.USER32.dll_DispatchMessageA]
lea esp, [esp]
lea eax, [esp + 0x58]
push eax
call edi
lea ecx, [esp + 0x58]
push ecx
call ebp
push ebx
push ebx
push ebx
lea edx, [esp + 0x64]
push edx
call esi
test eax, eax
jne 0x406910
pop ebp
mov eax, dword [esp + 0x5c]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x6c]
xor ecx, esp
call fcn.0040abd3
add esp, 0x70
ret
mov ecx, dword [esp + 0x78]
pop edi
pop esi
pop ebx
xor ecx, esp
xor eax, eax
call fcn.0040abd3
add esp, 0x70
ret