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

Disassembly:
sub esp, 0x78
mov eax, dword [0x425ee0]
xor eax, esp
mov dword [esp + 0x74], eax
fldz
push ebx
fst qword [esp + 0xc]
xor ebx, ebx
mov dword [esp + 8], ebx
fstp qword [esp + 0x1c]
mov dword [esp + 0x14], ebx
xor eax, eax
mov word [esp + 4], ax
fld qword [esp + 0xc]
fmul qword [0x41f700]
push esi
mov byte [esp + 0x7b], bl
push edi
fstp qword [esp + 0x14]
xor ecx, ecx
movsx eax, byte [ecx + 0x423678]
cdq
mov esi, 0x1a
idiv esi
inc ecx
add dl, 0x61
mov byte [esp + ecx + 0x77], dl
cmp ecx, 7
jne 0x4068f0
push 0xbb6
push 0x423678
call fcn.00401480
add dword [esp + 0x24], 0x68d99ec
add esp, 8
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
fldz
mov dword [0x4276f8], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x2c], 0x30
mov dword [esp + 0x30], 3
mov dword [esp + 0x34], 0x405f50
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
movzx edx, byte [esi + 0x17]
movzx ecx, byte [esi + 0x16]
mov eax, dword [esi + 0x22]
push ebx
push edx
push ecx
mov ecx, dword [esi + 0x1e]
push 0x30000
push 1
add eax, esi
push ecx
mov dword [esp + 0x34], ebx
push eax
fstp qword [esp + 0x38]
call dword [sym.imp.USER32.dll_CreateIconFromResourceEx]
push 0x7f00
fld qword [esp + 0x28]
mov dword [esp + 0x48], eax
fadd qword [0x41f6f8]
push ebx
fstp qword [esp + 0x2c]
call dword [sym.imp.USER32.dll_LoadCursorA]
mov edx, dword [esp + 0x10]
mov dword [esp + 0x1c], edx
fild dword [esp + 0x1c]
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], 6
mov dword [esp + 0x50], ebx
fadd dword [0x42423c]
lea eax, [esp + 0x78]
push 1
fstp dword [0x42423c]
inc dword [esp + 0x14]
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], ebx
call dword [sym.imp.GDI32.dll_GetStockObject]
lea ecx, [esp + 0x2c]
push ecx
mov dword [esp + 0x50], eax
call dword [sym.imp.USER32.dll_RegisterClassExA]
push 0xbb6
xor edx, edx
xor eax, eax
push ebx
mov word [esp + 0x14], dx
mov word [esp + 0x14], ax
push esi
call fcn.0040b4b0
push esi
call fcn.0040b405
movzx ecx, word [esp + 0x1c]
movzx edx, word [esp + 0x1c]
sub ecx, edx
push 0x15
mov word [esp + 0x20], cx
push 0x424350
call fcn.00401480
add esp, 0x18
fld qword [esp + 0x14]
mov esi, eax
fsub qword [0x41f348]
fstp qword [esp + 0x14]
fld qword [esp + 0x14]
fld qword [esp + 0x14]
fadd qword [0x41f6f0]
fsubr qword [0x41f6e8]
fcompp
fnstsw ax
test ah, 0x41
jp 0x406a66
mov dword [esp + 0x10], 0x33889ebf
mov eax, dword [0x4276f8]
push ebx
push eax
push ebx
push ebx
push ebx
push connect
push ebx
push connect
push 0xc80000
push esi
lea ecx, [esp + 0xa0]
push ecx
push ebx
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov edi, eax
xor eax, eax
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
xor edx, edx
mov dword [esi + 0xc], eax
mov word [esp + 0xc], dx
mov dword [esi + 0x10], eax
mov word [esp + 0xc], ax
push esi
mov byte [esi + 0x14], al
call fcn.0040b405
movzx ecx, word [esp + 0x10]
movzx edx, word [esp + 0x10]
sub ecx, edx
add esp, 4
mov word [esp + 0xc], cx
cmp edi, ebx
je 0x406b53
push 1
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
push edi
call dword [sym.imp.USER32.dll_UpdateWindow]
mov eax, dword [esp + 0x10]
mov ecx, dword [0x423038]
mov esi, dword [sym.imp.USER32.dll_GetMessageA]
push ebx
push ebx
lea edx, [ecx + eax + 0x1b998bb6]
push ebx
lea eax, [esp + 0x68]
mov dword [esp + 0x1c], edx
dec dword [0x423038]
push eax
call esi
test eax, eax
je 0x406b3d
mov edi, dword [sym.imp.USER32.dll_TranslateMessage]
push ebp
mov ebp, dword [sym.imp.USER32.dll_DispatchMessageA]
nop
lea ecx, [esp + 0x60]
push ecx
call edi
lea edx, [esp + 0x60]
push edx
call ebp
push ebx
push ebx
push ebx
lea eax, [esp + 0x6c]
push eax
call esi
test eax, eax
jne 0x406b20
pop ebp
mov eax, dword [esp + 0x64]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x74]
xor ecx, esp
call fcn.0040b493
add esp, 0x78
ret
mov ecx, dword [esp + 0x80]
pop edi
pop esi
pop ebx
xor ecx, esp
xor eax, eax
call fcn.0040b493
add esp, 0x78
ret