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

Disassembly:
sub esp, 0x6c
mov eax, dword [0x425fd0]
xor eax, esp
mov dword [esp + 0x68], eax
fldz
push ebx
xor ebx, ebx
mov dword [esp + 0x14], ebx
xor eax, eax
mov word [esp + 0x10], ax
mov dword [esp + 8], ebx
fst dword [esp + 0xc]
fstp dword [esp + 4]
push ebp
fld dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0xc], ecx
fisub dword [esp + 0xc]
push esi
mov byte [esp + 0x73], bl
push edi
xor ecx, ecx
lea ebp, [ebx + 1]
fstp dword [esp + 0x18]
lea ebx, [ebx]
movsx eax, byte [ecx + 0x423688]
cdq
mov esi, 0x1a
idiv esi
add dl, 0x61
mov byte [esp + ecx + 0x70], dl
add ecx, ebp
cmp ecx, 7
jne 0x405740
push 0xbb6
push 0x423688
call fcn.00402390
add esp, 8
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
movzx edx, word [esp + 0x1c]
mov dword [0x4277b8], eax
mov eax, dword [0x4277b8]
add edx, 0x489454f
push ebp
mov dword [esp + 0x28], 0x30
mov word [esp + 0x20], dx
push esi
mov dword [esp + 0x30], 3
mov dword [esp + 0x34], 0x4049e0
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], eax
call fcn.00401270
add esp, 8
push 0x7f00
push ebx
mov dword [esp + 0x44], eax
call dword [sym.imp.USER32.dll_LoadCursorA]
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], 6
mov dword [esp + 0x14], 0x5f805f18
fld dword [0x425ec4]
fsub qword [0x41f340]
mov dword [esp + 0x48], ebx
fstp dword [0x425ec4]
fld dword [0x425ec4]
fadd qword [0x423468]
mov ecx, dword [0x42599c]
mov dword [esp + 0x1c], ecx
fild dword [esp + 0x1c]
fsubp st(1)
fcomp qword [0x41f6d8]
fnstsw ax
test ah, 0x44
jnp 0x405841
mov edx, dword [esp + 0x20]
sub edx, 0x627a295e
mov dword [esp + 0x1c], edx
fild dword [esp + 0x1c]
fmul dword [esp + 0x18]
fstp dword [esp + 0x18]
add dword [esp + 0x20], ebp
lea eax, [esp + 0x70]
push ebp
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], ebx
call dword [sym.imp.GDI32.dll_GetStockObject]
fld dword [esp + 0x10]
fld1
mov dword [esp + 0x44], eax
fsub st(1), st(0)
lea ecx, [esp + 0x24]
fxch st(1)
push ecx
fstp dword [esp + 0x14]
fld dword [0x4259c0]
fsub qword [0x41f6d0]
fld dword [esp + 0x14]
fsubp st(1)
fsubr dword [esp + 0x1c]
fstp dword [esp + 0x1c]
fadd dword [0x4259c0]
fstp dword [0x4259c0]
call dword [sym.imp.USER32.dll_RegisterClassExA]
fldz
push 0xbb6
push ebx
fst dword [esp + 0x18]
fstp dword [esp + 0x18]
push esi
call fcn.0040b1a0
push esi
call fcn.0040b05e
fld qword [0x425960]
fsub qword [0x41f350]
fadd qword [0x41f348]
call fcn.0040b0f0
push 0x15
mov dword [0x423550], eax
mov dword [esp + 0x34], 0x63845115
push 0x424dd0
call fcn.00402390
mov edx, dword [0x4277b8]
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]
fldz
movzx ecx, word [0x425218]
mov edi, eax
xor eax, eax
add ecx, 0x10a2108d
mov word [0x425218], cx
mov dword [esi], eax
mov dword [esi + 4], eax
fst dword [esp + 0x10]
mov dword [esi + 8], eax
fstp dword [esp + 0x10]
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
push esi
mov byte [esi + 0x14], al
call fcn.0040b05e
add esp, 4
fld qword [0x425960]
fsub qword [0x41f350]
fadd qword [0x41f348]
call fcn.0040b0f0
mov dword [0x423550], eax
fld dword [0x4250bc]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x10], edx
fisub dword [esp + 0x10]
fadd qword [0x423540]
mov ax, word [0x424dc8]
movsx ecx, ax
mov dword [esp + 0x10], ecx
fild dword [esp + 0x10]
fmulp st(1)
call fcn.0040b0f0
mov word [0x424dc8], ax
fld qword [0x423540]
fadd qword [0x41f340]
or ecx, 0xffffffff
fstp qword [0x423540]
add dword [esp + 0x14], ecx
cmp edi, ebx
je 0x405a53
push ebp
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
fld dword [esp + 0x18]
mov dx, word [0x4230a0]
fsub qword [0x41f6c8]
movsx eax, dx
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
fmulp st(1)
call fcn.0040b0f0
push edi
mov word [0x4230a0], ax
call dword [sym.imp.USER32.dll_UpdateWindow]
mov esi, dword [sym.imp.USER32.dll_GetMessageA]
push ebx
push ebx
push ebx
lea ecx, [esp + 0x60]
push ecx
call esi
test eax, eax
je 0x405a3c
mov edi, dword [sym.imp.USER32.dll_TranslateMessage]
mov ebp, dword [sym.imp.USER32.dll_DispatchMessageA]
lea ebx, [ebx]
lea edx, [esp + 0x54]
push edx
call edi
lea eax, [esp + 0x54]
push eax
call ebp
push ebx
push ebx
push ebx
lea ecx, [esp + 0x60]
push ecx
call esi
test eax, eax
jne 0x405a20
mov eax, dword [esp + 0x5c]
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x68]
xor ecx, esp
call fcn.0040b6e4
add esp, 0x6c
ret
mov edx, dword [0x425358]
cmp edx, 0x1b667edf
jne 0x405a89
mov ax, word [0x425258]
mov edx, dword [esp + 0x14]
cwde
sub eax, edx
mov edx, dword [0x424da0]
add eax, edx
add dword [0x425928], eax
add word [0x425258], cx
add dword [0x424da0], ebp
mov ecx, dword [esp + 0x78]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
xor eax, eax
call fcn.0040b6e4
add esp, 0x6c
ret