Function at 0x4027d0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [0x422040]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0
call dword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
add esp, 4
push eax
call dword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_srand]
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
add esp, 4
mov dword [ebp - 0x48], 0x30
mov dword [ebp - 0x44], 3
mov dword [ebp - 0x40], 0x4078f0
push 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
call esi
push 0x7f00
push 0
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], 0
call dword [sym.imp.USER32.dll_LoadCursorW]
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x48]
push eax
mov dword [ebp - 0x28], 6
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], str.2dgp
mov dword [ebp - 0x1c], 0
call dword [sym.imp.USER32.dll_RegisterClassExW]
movaps xmm0, xmmword [0x41e1f0]
lea eax, [ebp - 0x18]
push 0
push 0xcf0000
push eax
movups xmmword [ebp - 0x18], xmm0
call dword [sym.imp.USER32.dll_AdjustWindowRect]
push 0
push 0
call esi
push eax
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0x14]
push 0
push 0
push eax
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp - 0x18]
push eax
push Ordinal_1
push Ordinal_1
push 0x10ca0000
push 0x41dc84
push str.2dgp
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov esi, eax
push 0xa
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [ebp + 0xc]
mov dword [0x4223a8], esi
push ecx
mov ecx, esi
call fcn.00402b40
add esp, 8
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
mov edx, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
call fcn.00415a70
movsd xmm1, qword [0x41dfe0]
divsd xmm1, xmm0
divsd xmm0, qword [ebp + 0x10]
movsd qword [0x4223e0], xmm1
call fcn.004159c0
push 0x30
mov dword [0x422418], eax
mov dword [0x42241c], edx
call fcn.0040ac99
add esp, 4
mov dword [ebp - 0xc], eax
mov dword [eax + 8], 0
xorps xmm4, xmm4
mov dword [eax + 0xc], 0
mov dword [eax + 0x10], 0
mov dword [eax + 0x18], 0
mov dword [eax + 0x1c], 0
mov dword [eax + 0x20], 0
mov dword [eax + 0x24], 0
mov dword [eax + 0x28], 0
mov dword [eax + 0x2c], 0
mov dword [eax], 0x3f800000
mov dword [eax + 4], 0x42c80000
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
movd xmm2, dword [0x4223ac]
movd xmm1, dword [0x4223b0]
movss xmm3, dword [0x41dfc0]
cvtdq2ps xmm1, xmm1
cvtdq2ps xmm2, xmm2
mulss xmm1, xmm3
mulss xmm2, xmm3
divss xmm1, dword [eax]
divss xmm2, dword [eax]
addss xmm1, xmm4
addss xmm2, xmm4
movss dword [eax + 0xc], xmm1
xorps xmm1, xmm1
movss dword [eax + 8], xmm2
divss xmm1, dword [eax]
movd xmm2, dword [0x4223b0]
addss xmm1, dword [eax + 0x10]
cvtdq2ps xmm2, xmm2
divss xmm2, dword [eax]
addss xmm2, dword [eax + 0x14]
movss dword [eax + 0x18], xmm1
xorps xmm1, xmm1
movss dword [eax + 0x1c], xmm2
divss xmm1, dword [eax]
movd xmm2, dword [0x4223ac]
addss xmm1, dword [eax + 0x14]
cvtdq2ps xmm2, xmm2
divss xmm2, dword [eax]
addss xmm2, dword [eax + 0x10]
movss dword [eax + 0x24], xmm1
movss dword [eax + 0x20], xmm2
movd xmm1, dword [0x4223ac]
movd xmm2, dword [0x4223b0]
cvtdq2ps xmm1, xmm1
cvtdq2ps xmm2, xmm2
divss xmm1, dword [eax]
divss xmm2, dword [eax]
addss xmm1, dword [eax + 0x10]
addss xmm2, dword [eax + 0x14]
movss dword [eax + 0x28], xmm1
movss dword [eax + 0x2c], xmm2
mov dword [0x42243c], eax
mov dword [eax], 0x3f800000
mov dword [eax + 4], 0x42c80000
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
movd xmm1, dword [0x4223ac]
movd xmm0, dword [0x4223b0]
cvtdq2ps xmm1, xmm1
cvtdq2ps xmm0, xmm0
mulss xmm1, xmm3
mulss xmm0, xmm3
addss xmm1, xmm4
addss xmm0, xmm4
movss dword [eax + 8], xmm1
movss dword [eax + 0xc], xmm0
movd xmm1, dword [0x4223b0]
movss xmm0, dword [eax + 0x10]
cvtdq2ps xmm1, xmm1
addss xmm0, xmm4
addss xmm1, dword [eax + 0x14]
movss dword [eax + 0x18], xmm0
movss dword [eax + 0x1c], xmm1
movd xmm1, dword [0x4223ac]
movss xmm0, dword [eax + 0x14]
cvtdq2ps xmm1, xmm1
addss xmm1, dword [eax + 0x10]
mov ecx, dword [ebp - 4]
addss xmm0, xmm4
movss dword [eax + 0x20], xmm1
xor ecx, ebp
pop esi
movss dword [eax + 0x24], xmm0
movd xmm0, dword [0x4223ac]
movd xmm1, dword [0x4223b0]
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm1, xmm1
addss xmm0, dword [eax + 0x10]
addss xmm1, dword [eax + 0x14]
movss dword [eax + 0x28], xmm0
movss dword [eax + 0x2c], xmm1
mov dword [0x4223ac], 0x500
mov dword [0x4223b0], 0x2d0
call fcn.0040ac8b
mov esp, ebp
pop ebp
ret