Function at 0x4074f0
Capabilities:
Hide graphical window
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x7c
mov eax, dword [0x425fd0]
xor eax, esp
mov dword [esp + 0x78], eax
fldz
push ebx
fst qword [esp + 0x20]
push esi
fldz
push edi
fstp dword [esp + 0x14]
xor edi, edi
xor eax, eax
mov byte [esp + 0x83], al
xor esi, esi
fstp qword [esp + 0x18]
mov dword [esp + 0x10], edi
fld qword [0x41f7e0]
mov word [esp + 0xc], ax
fld1
lea ebx, [edi + 1]
fld qword [0x423120]
fadd st(2)
call fcn.0040b060
mov word [esp + 0xc], ax
fld qword [0x423120]
movsx eax, byte [esi + 0x4234d8]
fsub st(1)
cdq
mov ecx, 0x1a
fstp qword [0x423120]
idiv ecx
add dl, 0x61
mov byte [esp + esi + 0x7c], dl
add esi, ebx
cmp esi, 7
jne 0x407538
fstp st(1)
push 0xbb6
push 0x4234d8
fstp st(0)
call fcn.00401e10
add esp, 8
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
movzx edx, word [esp + 0xc]
mov dword [0x4277d8], eax
mov eax, dword [0x423380]
mov dword [esp + 0x30], 0x30
mov dword [esp + 0x34], 3
mov dword [esp + 0x38], 0x406b90
mov dword [esp + 0x3c], edi
sub edx, eax
mov word [esp + 0xc], dx
dec dword [0x423380]
mov ecx, dword [0x4277d8]
push ebx
push esi
mov dword [esp + 0x48], edi
mov dword [esp + 0x4c], ecx
call fcn.004026d0
add esp, 8
push 0x7f00
push edi
mov dword [esp + 0x50], eax
call dword [sym.imp.USER32.dll_LoadCursorA]
fld dword [0x425058]
mov dword [esp + 0x4c], eax
fld dword [esp + 0x14]
mov edx, dword [0x4250b0]
mov dword [esp + 0x20], edx
fild dword [esp + 0x20]
mov dword [esp + 0x50], 6
fsubp st(2)
fucompp
fnstsw ax
fld dword [0x425058]
fld1
fadd st(1), st(0)
fxch st(1)
fstp dword [0x425058]
fsubr dword [esp + 0x14]
fstp dword [esp + 0x14]
test ah, 0x44
jnp 0x40764f
movzx eax, word [0x42471c]
add eax, 0x11b90cd
mov word [0x42471c], ax
lea ecx, [esp + 0x7c]
push ebx
mov dword [esp + 0x58], edi
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x60], edi
call dword [sym.imp.GDI32.dll_GetStockObject]
lea edx, [esp + 0x30]
push edx
mov dword [esp + 0x54], eax
call dword [sym.imp.USER32.dll_RegisterClassExA]
fldz
push 0xbb6
fstp qword [esp + 0x24]
xor eax, eax
push edi
mov word [esp + 0x28], ax
push esi
call fcn.0040b110
movzx ecx, word [0x425ea4]
add ecx, 0x224ec574
mov word [0x425ea4], cx
push esi
call fcn.0040b18a
push 0x15
push 0x423108
call fcn.00401e10
mov edx, dword [0x4277d8]
add esp, 0x18
push edi
push edx
push edi
push edi
push edi
push connect
push edi
push connect
push 0xc80000
mov esi, eax
push esi
lea eax, [esp + 0xa4]
push eax
push edi
call dword [sym.imp.USER32.dll_CreateWindowExA]
fldz
mov edi, eax
fstp qword [esp + 0x20]
xor eax, eax
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
xor ecx, ecx
mov word [esp + 0x20], cx
mov byte [esi + 0x14], al
movzx edx, word [0x425ea4]
add edx, 0x224ec574
push esi
mov word [0x425ea4], dx
call fcn.0040b18a
add esp, 4
test edi, edi
je 0x4078c1
add dword [esp + 0xc], ebx
fld qword [0x423498]
fadd qword [esp + 0x18]
mov eax, dword [0x423130]
mov cx, word [esp + 0xc]
mov dword [esp + 0x20], eax
fild dword [esp + 0x20]
movsx edx, cx
sub edx, 0x106f60fa
mov dword [esp + 0xc], edx
fsubp st(1)
fild dword [esp + 0xc]
fadd dword [0x4246d8]
fcompp
fnstsw ax
fld qword [0x423498]
fld1
fsub st(1), st(0)
fxch st(1)
fstp qword [0x423498]
test ah, 1
jne 0x4077ab
fsubr qword [esp + 0x18]
fstp qword [esp + 0x18]
mov eax, dword [esp + 0x10]
mov dword [esp + 0xc], eax
fild dword [esp + 0xc]
fsub qword [esp + 0x18]
fsub qword [0x4242d0]
fmul qword [0x425030]
fstp qword [0x425030]
jmp 0x4077c3
fld qword [esp + 0x18]
fsubr qword [0x41f7d8]
fstp qword [0x4232a8]
fsubr qword [esp + 0x18]
fstp qword [esp + 0x18]
push ebx
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 0
push 0
push 0
lea ecx, [esp + 0x6c]
push ecx
call esi
test eax, eax
je 0x40791e
mov edi, dword [sym.imp.USER32.dll_DispatchMessageA]
lea edx, [esp + 0x60]
push edx
call dword [sym.imp.USER32.dll_TranslateMessage]
mov ax, word [0x425038]
movsx ecx, ax
add ecx, 0x6143dcaa
cmp ecx, 0x15378526
jge 0x40785e
mov dx, word [0x42436c]
add word [0x42436c], bx
movsx eax, dx
add eax, 0xb135a83
cmp eax, 0xbbcb0fab
jge 0x407882
mov ecx, dword [0x4233b4]
mov dword [esp + 0xc], ecx
fild dword [esp + 0xc]
fld qword [esp + 0x28]
fsub qword [0x41f7d0]
fadd qword [0x41f7c8]
fsubp st(1)
call fcn.0040b060
mov dword [0x4233b4], eax
jmp 0x407882
mov edx, dword [esp + 0x10]
mov dword [esp + 0xc], edx
fild dword [esp + 0xc]
fadd dword [esp + 0x14]
fstp qword [0x4242d0]
fld dword [esp + 0x14]
fsub qword [0x41f348]
fstp dword [esp + 0x14]
lea eax, [esp + 0x60]
push eax
call edi
add word [0x4233b8], bx
mov cx, word [0x4233b8]
movsx edx, cx
mov dword [esp + 0xc], edx
push 0
push 0
fild dword [esp + 0x14]
push 0
lea eax, [esp + 0x6c]
push eax
fmul qword [esp + 0x28]
fstp qword [esp + 0x28]
call esi
test eax, eax
jne 0x4077f3
jmp 0x40791e
mov dword [0x423138], 0x3ff89fef
mov dword [esp + 0x68], 0
dec word [0x425054]
fld qword [esp + 0x28]
mov cx, word [0x425054]
mov ax, word [0x4250a4]
movsx edx, cx
mov dword [esp + 0x10], edx
movsx ecx, ax
fild dword [esp + 0x10]
mov dword [esp + 0x10], ecx
fsubp st(1)
fild dword [esp + 0x10]
faddp st(1)
call fcn.0040b060
mov word [0x4250a4], ax
fld qword [esp + 0x28]
fadd qword [0x41f348]
fstp qword [esp + 0x28]
mov ecx, dword [esp + 0x84]
mov eax, dword [esp + 0x68]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0040b6e4
mov esp, ebp
pop ebp
ret