Function at 0x408030
Capabilities:
Create thread
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x78
mov eax, dword [0x47f6c0]
xor eax, esp
mov dword [esp + 0x74], eax
push esi
push edi
call fcn.00405bd0
movss xmm1, dword [0x42b66c]
movss dword [esp + 0xc], xmm1
movaps xmm0, xmm1
movss dword [esp + 8], xmm1
cvtps2pd xmm0, xmm0
call fcn.00415fe0
movss xmm1, dword [esp + 8]
cvtsd2ss xmm0, xmm0
movss dword [esp + 0x10], xmm0
cvtps2pd xmm0, xmm1
call fcn.00415e20
movss xmm1, dword [esp + 0x10]
xorps xmm2, xmm2
cvtsd2ss xmm2, xmm0
sub esp, 0x10
movaps xmm0, xmm1
mulss xmm1, dword [0x42b660]
mulss xmm0, dword [0x42b650]
divss xmm0, xmm2
mulss xmm2, dword [0x42b660]
addss xmm0, xmm1
addss xmm2, dword [0x42b650]
cvtps2pd xmm0, xmm0
movsd qword [esp + 8], xmm0
cvtps2pd xmm0, xmm2
movsd qword [esp], xmm0
push str.x___f_____y___f_n
call fcn.00408320
movss xmm0, dword [esp + 0x1c]
add esp, 0x14
addss xmm0, dword [0x42b644]
movss xmm1, dword [0x42b64c]
comiss xmm1, xmm0
movss dword [esp + 8], xmm0
jae 0x408062
push 0
push 0
push 0
push 0x4075c0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, eax
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [sym.imp.KERNEL32.dll_GetConsoleWindow]
call edi
push eax
mov dword [esp + 0xc], eax
call dword [sym.imp.USER32.dll_GetDC]
movss xmm0, dword [0x42b66c]
mov esi, eax
cvtps2pd xmm0, xmm0
call fcn.00415fe0
movss xmm1, dword [esp + 0xc]
cvtsd2ss xmm0, xmm0
movss dword [esp + 0x10], xmm0
cvtps2pd xmm0, xmm1
call fcn.00415e20
movss xmm1, dword [esp + 0x10]
xorps xmm2, xmm2
cvtsd2ss xmm2, xmm0
push 0xffffff
movaps xmm0, xmm1
mulss xmm1, dword [0x42b660]
mulss xmm0, dword [0x42b650]
divss xmm0, xmm2
mulss xmm2, dword [0x42b660]
addss xmm0, xmm1
addss xmm2, dword [0x42b650]
addss xmm0, dword [0x42b664]
addss xmm2, dword [0x42b668]
cvttss2si eax, xmm0
push eax
cvttss2si eax, xmm2
push eax
push esi
call dword [sym.imp.GDI32.dll_SetPixel]
movss xmm0, dword [esp + 0xc]
addss xmm0, dword [0x42b644]
movss xmm1, dword [0x42b64c]
comiss xmm1, xmm0
movss dword [esp + 0xc], xmm0
jae 0x408144
push esi
push dword [esp + 0xc]
call dword [sym.imp.USER32.dll_ReleaseDC]
push 0xffffffffffffffff
push 0
push 1
mov ecx, 0x480a00
call fcn.00406740
call fcn.00415bbd
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov esi, eax
call edi
mov edi, eax
lea eax, [esp + 0x30]
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esp + 0x34]
movups xmm0, xmmword [str.Conhoid]
push 0
push esi
push 0
push edi
push 0x190
push 0x190
add eax, 0x32
push eax
mov eax, dword [esp + 0x4c]
add eax, 0x12c
push eax
movups xmmword [esp + 0x60], xmm0
push 0x800000
movups xmm0, xmmword [str.ConhoidWndClass]
lea eax, [esp + 0x64]
push eax
movups xmmword [esp + 0x78], xmm0
lea eax, [esp + 0x78]
movups xmm0, xmmword [0x42b56c]
push eax
push 0
movups xmmword [esp + 0x90], xmm0
call dword [sym.imp.USER32.dll_CreateWindowExW]
push 0
mov esi, eax
push 0xfffffffffffffff0
push esi
call dword [sym.imp.USER32.dll_SetWindowLongA]
test esi, esi
jne 0x4082b2
push str.Error_CreateWindow_n
call fcn.00408320
add esp, 4
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x74]
xor ecx, esp
call fcn.00409539
mov esp, ebp
pop ebp
ret
push 5
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
call dword [sym.imp.USER32.dll_UpdateWindow]
mov esi, dword [sym.imp.USER32.dll_GetMessageA]
lea eax, [esp + 0x14]
push 0
push 0
push 0
push eax
call esi
test eax, eax
je 0x408303
mov edi, dword [sym.imp.USER32.dll_TranslateMessage]
nop
lea eax, [esp + 0x14]
push eax
call edi
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageA]
push 0
push 0
push 0
lea eax, [esp + 0x20]
push eax
call esi
test eax, eax
jne 0x4082e0
mov ecx, dword [esp + 0x7c]
xor eax, eax
pop edi
pop esi
xor ecx, esp
call fcn.00409539
mov esp, ebp
pop ebp
ret