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

Disassembly:
sub esp, 0x70
mov eax, dword [0x425ee0]
xor eax, esp
mov dword [esp + 0x6c], eax
fldz
push ebx
xor ebx, ebx
mov dword [esp + 0xc], ebx
fst dword [esp + 8]
fstp dword [esp + 0x10]
mov dword [esp + 0xc], ebx
fldz
mov byte [esp + 0x6f], bl
fstp qword [esp + 0x14]
push esi
fld dword [esp + 0xc]
push edi
fsub qword [0x41f808]
xor ecx, ecx
fadd dword [0x424370]
fstp dword [0x424370]
fld qword [0x41f800]
fld1
movsx eax, byte [ecx + 0x424f20]
fld qword [0x4235b0]
cdq
fsub st(2)
mov esi, 0x1a
idiv esi
fmul dword [0x4235cc]
inc ecx
add dl, 0x61
mov byte [esp + ecx + 0x6f], dl
fstp dword [0x4235cc]
fld qword [0x4235b0]
fsub st(1)
fstp qword [0x4235b0]
cmp ecx, 7
jne 0x406b1f
push 0xbb6
fstp st(1)
push 0x424f20
fstp st(0)
call fcn.004013d0
mov esi, eax
mov ax, word [0x424358]
movsx ecx, ax
sub ecx, 0x2521b68e
mov dword [esp + 0x14], ecx
add esp, 8
push ebx
fild dword [esp + 0x10]
fmul qword [esp + 0x20]
fstp qword [esp + 0x20]
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
fld qword [0x41f7f8]
mov dword [0x4276d8], eax
mov dword [esp + 0x24], 0x30
mov dword [esp + 0x28], 3
mov dword [esp + 0x2c], 0x405d10
fstp qword [0x4242f0]
fld dword [0x423bbc]
mov dword [esp + 0x30], ebx
fadd qword [0x4235c0]
fld qword [0x4242c8]
mov dx, word [0x423c6c]
movsx eax, dx
mov dword [esp + 0xc], eax
fild dword [esp + 0xc]
fsubp st(1)
fld qword [esp + 0x1c]
fsubp st(2)
fadd qword [0x423aa8]
fcompp
fnstsw ax
fld qword [esp + 0x1c]
fsub qword [0x41f340]
fstp qword [esp + 0x1c]
test ah, 0x41
jne 0x406c1f
fld qword [esp + 0x1c]
fsub qword [0x41f7f0]
fstp qword [esp + 0x1c]
mov ecx, dword [0x4276d8]
push 1
push esi
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ecx
call fcn.00403350
add esp, 8
push 0x7f00
push ebx
mov dword [esp + 0x44], eax
call dword [sym.imp.USER32.dll_LoadCursorA]
fld qword [0x423a78]
fadd qword [esp + 0x1c]
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], 6
lea edx, [esp + 0x70]
fstp qword [0x423a78]
push 1
fld qword [esp + 0x20]
mov dword [esp + 0x4c], ebx
fsub qword [0x41f340]
mov dword [esp + 0x50], edx
mov dword [esp + 0x54], ebx
fstp qword [esp + 0x20]
call dword [sym.imp.GDI32.dll_GetStockObject]
mov dword [esp + 0x44], eax
lea eax, [esp + 0x24]
push eax
call dword [sym.imp.USER32.dll_RegisterClassExA]
push 0xbb6
xor ecx, ecx
push ebx
mov word [esp + 0x14], cx
mov dword [esp + 0x14], ebx
push esi
call fcn.0040b3c0
fld dword [0x423c0c]
fadd qword [0x41f340]
fstp dword [0x423c0c]
fld dword [0x423c0c]
fsubr qword [0x41f398]
call fcn.0040b240
mov word [esp + 0x18], ax
push esi
call fcn.0040b324
push 0x15
push 0x425dcc
call fcn.004013d0
mov edx, dword [0x4276d8]
add esp, 0x18
push ebx
push edx
push ebx
push ebx
push ebx
push connect
push ebx
push connect
push 0xc80000
mov esi, eax
push esi
lea eax, [esp + 0x98]
push eax
push ebx
call dword [sym.imp.USER32.dll_CreateWindowExA]
xor ecx, ecx
mov edi, eax
xor eax, eax
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov word [esp + 0xc], cx
mov dword [esi + 0x10], eax
mov dword [esp + 0xc], ebx
mov byte [esi + 0x14], al
fld dword [0x423c0c]
fadd qword [0x41f340]
fstp dword [0x423c0c]
fld dword [0x423c0c]
fsubr qword [0x41f398]
call fcn.0040b240
mov word [esp + 0xc], ax
push esi
call fcn.0040b324
fld dword [esp + 0x14]
fsub qword [0x41f7e8]
add esp, 4
fsub qword [0x41f7e0]
fcomp qword [0x41f7d8]
fnstsw ax
fld dword [esp + 0x10]
fld1
fsub st(1), st(0)
fxch st(1)
fstp dword [esp + 0x10]
test ah, 1
jne 0x406dc9
mov dx, word [0x423cc0]
movsx eax, dx
mov dword [esp + 0xc], eax
fild dword [esp + 0xc]
fld dword [esp + 0x18]
fsub qword [0x41f7d0]
fsubp st(1)
call fcn.0040b240
mov word [0x423cc0], ax
fld dword [esp + 0x18]
fsub st(1)
fstp dword [esp + 0x18]
cmp edi, ebx
je 0x406ed2
push ebp
fstp st(0)
push 1
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
push edi
call dword [sym.imp.USER32.dll_UpdateWindow]
mov ebp, dword [sym.imp.USER32.dll_GetMessageA]
push ebx
push ebx
push ebx
lea ecx, [esp + 0x64]
push ecx
call ebp
test eax, eax
je 0x406e8e
mov esi, dword [sym.imp.USER32.dll_TranslateMessage]
mov edi, dword [sym.imp.USER32.dll_DispatchMessageA]
lea edx, [esp + 0x58]
push edx
call esi
lea eax, [esp + 0x58]
push eax
call edi
fld qword [0x4242b0]
fadd qword [0x41f7c8]
mov ecx, dword [0x424368]
inc dword [0x424368]
sub ecx, 0x6b1763af
fadd qword [0x41f7c0]
mov dword [esp + 0x14], ecx
fild dword [esp + 0x14]
fcompp
fnstsw ax
fld qword [0x4242b0]
fadd qword [0x41f340]
fstp qword [0x4242b0]
test ah, 0x41
jp 0x406e7c
mov edx, dword [esp + 0x18]
mov eax, 0x18383d14
sub eax, edx
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
fmul qword [0x424260]
fstp qword [0x424260]
push ebx
push ebx
push ebx
lea ecx, [esp + 0x64]
push ecx
call ebp
test eax, eax
jne 0x406e08
fld qword [0x4243d0]
fsub qword [0x41f7b8]
fsub dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x18], edx
fild dword [esp + 0x18]
faddp st(1)
call fcn.0040b240
mov dword [esp + 0x18], eax
fld dword [esp + 0x1c]
fld1
pop ebp
fadd st(1), st(0)
fxch st(1)
fstp dword [esp + 0x18]
fadd qword [0x4243d0]
fstp qword [0x4243d0]
jmp 0x406eeb
fsubr dword [esp + 0x10]
mov dword [esp + 0x5c], ebx
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
call fcn.0040b240
mov dword [esp + 0x14], eax
mov ecx, dword [esp + 0x78]
mov eax, dword [esp + 0x5c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0040b8c5
add esp, 0x70
ret