Function at 0x419de0
Capabilities:
Create thread
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45bee0
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x48800c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 4
call fcn.00459e87
add esp, 4
lea ecx, [ebp - 0x14]
mov dword [eax], 0x419da0
push ecx
push 0
push eax
push 0x41a530
push 0
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
add esp, 0x18
mov dword [ebp - 0x18], eax
test eax, eax
je 0x41a3b9
push 0
mov dword [0x554e8c], 0x30
mov dword [0x554e90], 0x40
mov dword [0x554e94], 0x4082a0
mov dword [0x554e98], 0
mov dword [0x554e9c], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
xorps xmm0, xmm0
mov dword [0x554ea0], eax
push 0x554e8c
movups xmmword [0x554ea4], xmm0
mov dword [0x554eb4], 0x47ad1c
mov dword [0x554eb8], 0
call dword [sym.imp.USER32.dll_RegisterClassExA]
mov ebx, dword [0x554ea0]
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 1
call esi
push 0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [0x482a88]
subss xmm0, dword [0x482bb4]
cvttss2si edi, xmm0
call esi
push 0
push ebx
push 0
push 0
push 0x172
movd xmm0, eax
cvtdq2ps xmm0, xmm0
push 0x186
push edi
mulss xmm0, dword [0x482a88]
subss xmm0, dword [0x482bbc]
cvttss2si eax, xmm0
push eax
push 0x80000000
push 0x47ad40
push str.class001
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
push 0xa
push eax
mov dword [0x554e84], eax
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [0x554e84]
call dword [sym.imp.USER32.dll_UpdateWindow]
push 0x20
mov dword [ebp - 4], 0
call dword [sym.imp.d3d9.dll_Direct3DCreate9]
mov ecx, eax
mov dword [0x554e80], ecx
test ecx, ecx
je 0x419fdb
push 0x554e88
push 0x554ebc
push 0x40
push dword [0x554e84]
xorps xmm0, xmm0
mov dword [0x554ed0], 0
push 1
movlpd qword [0x554ebc], xmm0
movlpd qword [0x554ec8], xmm0
mov dword [0x554ed8], 0
movlpd qword [0x554ee8], xmm0
mov dword [0x554edc], 1
mov dword [0x554ed4], 1
mov dword [0x554ec4], 0
mov dword [0x554ee0], 1
mov dword [0x554ee4], 0x50
mov dword [0x554ef0], 1
mov eax, dword [ecx]
push 0
push ecx
call dword [eax + 0x40]
call fcn.00408570
cmp byte [0x488028], 0
je 0x41a1a8
mov esi, dword [sym.imp.USER32.dll_PeekMessageA]
mov edi, dword [sym.imp.USER32.dll_TranslateMessage]
mov ebx, dword [sym.imp.USER32.dll_DispatchMessageA]
mov dword [ebp - 0x40], 5
mov dword [ebp - 0x3c], 0
nop dword [eax]
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]
add esp, 4
push 1
push 0
push 0
push 0
lea eax, [ebp - 0x34]
mov dword [ebp - 4], 1
push eax
call esi
test eax, eax
je 0x41a064
nop
lea eax, [ebp - 0x34]
push eax
call edi
lea eax, [ebp - 0x34]
push eax
call ebx
cmp dword [ebp - 0x30], 0x12
je 0x41a075
push 1
push 0
push 0
push 0
lea eax, [ebp - 0x34]
push eax
call esi
test eax, eax
jne 0x41a040
mov eax, dword [0x554f14]
test eax, eax
je 0x41a085
mov ecx, dword [eax + 0xc8]
jmp 0x41a087
cmp byte [0x488028], 0
sete byte [0x488028]
jmp 0x41a0af
xor ecx, ecx
cmp dword [ecx + 0xc], 0
jne 0x41a0a5
test eax, eax
je 0x41a0a5
mov eax, dword [eax + 0xc8]
test eax, eax
je 0x41a0a5
cmp dword [eax], 0
je 0x41a0a5
call fcn.0043fed0
call fcn.00440450
call fcn.0041fcf0
call fcn.00408b90
mov dword [ebp - 4], 2
call fcn.00421f20
mov ecx, dword [0x554e88]
push 0
push 7
push ecx
mov eax, dword [ecx]
call dword [eax + 0xe4]
mov ecx, dword [0x554e88]
push 0
push 0x1b
push ecx
mov eax, dword [ecx]
call dword [eax + 0xe4]
mov ecx, dword [0x554e88]
push 0
push 0xae
push ecx
mov eax, dword [ecx]
call dword [eax + 0xe4]
mov ecx, dword [0x554e88]
push 0
push ecx
mov dword [esp], 0x3f800000
mov eax, dword [ecx]
push 0xff000000
push 3
push 0
push 0
push ecx
call dword [eax + 0xac]
mov eax, dword [0x554e88]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xa4]
test eax, eax
js 0x41a161
call fcn.00422280
mov eax, dword [0x554f14]
xor ecx, ecx
mov eax, dword [eax + 0x1d5c]
mov eax, dword [eax]
add eax, 0x34
cmp byte [eax], cl
cmovne ecx, eax
call fcn.0043f9a0
mov eax, dword [0x554e88]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xa8]
mov ecx, dword [0x554e88]
push 0
push 0
push 0
mov eax, dword [ecx]
push 0
push ecx
call dword [eax + 0x44]
cmp eax, 0x88760868
jne 0x41a193
mov eax, dword [0x554e88]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc]
cmp eax, 0x88760869
jne 0x41a193
call fcn.004084a0
lea ecx, [ebp - 0x40]
call fcn.0041a3d0
cmp byte [0x488028], 0
jne 0x41a010
mov dword [ebp - 4], 3
mov ecx, dword [0x554f14]
test ecx, ecx
je 0x41a1c1
mov edi, dword [ecx + 0xc8]
jmp 0x41a1c3
xor edi, edi
lea ebx, [ecx + 8]
test ecx, ecx
je 0x41a234
mov esi, dword [ecx + 0xc8]
test esi, esi
je 0x41a234
cmp dword [esi], 0
je 0x41a234
mov edx, dword [esi + 4]
test edx, edx
je 0x41a1f3
mov eax, dword [edx]
push edx
call dword [eax + 8]
mov ecx, dword [0x554f14]
mov dword [esi + 4], 0
mov edx, dword [esi + 8]
test edx, edx
je 0x41a20d
mov eax, dword [edx]
push edx
call dword [eax + 8]
mov ecx, dword [0x554f14]
mov dword [esi + 8], 0
mov edx, dword [esi + 0xc]
test edx, edx
je 0x41a234
mov eax, dword [edx]
push edx
call dword [eax + 8]
mov ecx, dword [0x554f14]
mov dword [esi + 0xc], 0
mov eax, dword [ecx + 0x98]
mov dword [eax + 4], 0
mov edx, dword [edi]
test edx, edx
je 0x41a246
mov eax, dword [edx]
push edx
call dword [eax + 8]
mov ecx, dword [0x554f14]
mov dword [ebx + 0xb8], 0
mov dword [ebx + 0xc0], 0
test ecx, ecx
je 0x41a264
dec dword [ecx + 0x36c]
push edi
mov edi, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
call edi
mov eax, dword [0x554f14]
add esp, 4
test eax, eax
je 0x41a281
mov esi, dword [eax + 0xc4]
jmp 0x41a283
xor esi, esi
mov ecx, dword [esi + 0x28]
lea ebx, [eax + 8]
test ecx, ecx
je 0x41a299
push ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [0x554f14]
mov dword [ebx + 0xb4], 0
mov dword [ebx + 0xbc], 0
test eax, eax
je 0x41a2b7
dec dword [eax + 0x36c]
push esi
call edi
mov esi, dword [0x554f14]
add esp, 4
mov ecx, esi
call fcn.00421360
mov eax, dword [0x554f14]
xor ecx, ecx
cmp eax, esi
cmove eax, ecx
mov dword [0x554f14], eax
test esi, esi
je 0x41a2fb
mov ecx, esi
call fcn.0042ff10
mov eax, dword [0x554f14]
test eax, eax
je 0x41a2f5
dec dword [eax + 0x36c]
push esi
call edi
add esp, 4
mov dword [ebp - 4], 4
mov ecx, dword [0x554e88]
test ecx, ecx
je 0x41a31c
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [0x554e88], 0
mov ecx, dword [0x554e80]
test ecx, ecx
je 0x41a336
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [0x554e80], 0
mov dword [ebp - 4], 0xffffffff
push dword [0x554e84]
call dword [sym.imp.USER32.dll_DestroyWindow]
push dword [0x554ea0]
push dword [0x554eb4]
call dword [sym.imp.USER32.dll_UnregisterClassA]
cmp dword [ebp - 0x14], 0
jne 0x41a369
push 1
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
call dword [sym.imp.MSVCP140.dll__Thrd_id]
mov ecx, dword [ebp - 0x14]
cmp ecx, eax
jne 0x41a37e
push 5
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
push 0
push ecx
push dword [ebp - 0x18]
call dword [sym.imp.MSVCP140.dll__Thrd_join]
add esp, 0xc
test eax, eax
je 0x41a399
push 2
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00459c94
mov esp, ebp
pop ebp
ret 0x10
push 6
mov dword [ebp - 0x14], 0
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3