Function at 0x413f80
Capabilities:
Create thread
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18c
mov eax, dword [0x432008]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x160]
push 0x15c
push 0
push eax
call fcn.004159c0
push 0x2c
xorps xmm0, xmm0
mov dword [ebp - 0x160], 0x282828
lea eax, [ebp - 0x12c]
mov dword [ebp - 0x14c], 0
push 0
push eax
movups xmmword [ebp - 0x15c], xmm0
mov dword [ebp - 0x148], 0
movups xmmword [ebp - 0x144], xmm0
mov dword [ebp - 0x134], 0
mov dword [ebp - 0x130], 0
call fcn.004159c0
push 0xa0
lea eax, [ebp - 0xfc]
mov dword [ebp - 0x100], 0xff
push 0
push eax
call fcn.004159c0
add esp, 0x24
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 0
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
mov byte [ebp - 0x34], 1
mov byte [ebp - 0x33], 0
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x2c], 0
call fcn.00404d70
push 0x18
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
call fcn.004143f9
add esp, 4
cmp dword [0x4339f0], 0
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [ebp - 0x10], eax
mov byte [ebp - 8], 0
jne 0x4141fa
push 0
push 0
lea eax, [ebp - 0x160]
push 0
mov dword [0x4339f0], eax
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
push dword [ebp - 0x160]
mov dword [ebp - 0x30], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
xorps xmm0, xmm0
mov dword [ebp - 0x158], eax
movups xmmword [ebp - 0x118], xmm0
mov dword [ebp - 0x10c], eax
lea eax, [ebp - 0x128]
movups xmmword [ebp - 0x128], xmm0
push eax
movq qword [ebp - 0x108], xmm0
mov dword [ebp - 0x124], 0x402ba0
mov dword [ebp - 0x118], esi
mov dword [ebp - 0x104], str.Vortex_Test_Framework
call dword [sym.imp.USER32.dll_RegisterClassA]
lea eax, [ebp - 0x18c]
push eax
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [ebp - 0x180]
push 0
push esi
push 0
cdq
push 0
sub eax, edx
push 0x1cc
sar eax, 1
push 0x1cc
sub eax, 0xe6
push eax
mov eax, dword [ebp - 0x184]
cdq
sub eax, edx
sar eax, 1
sub eax, 0xe6
push eax
push 0xca0000
push str.Vortex_Glove_Emulator
push dword [ebp - 0x104]
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [ebp - 0x12c], eax
test eax, eax
jne 0x4141c0
push eax
push str.Error
push str.Failed_to_open_window
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x4141fa
push 0x68
push esi
call dword [sym.imp.USER32.dll_LoadIconA]
push eax
push 1
push 0x80
push dword [ebp - 0x12c]
mov dword [ebp - 0x130], eax
call dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0
push 0
push 0x66
push esi
call dword [sym.imp.USER32.dll_LoadImageA]
mov dword [ebp - 0x134], eax
push 0
push 0
lea eax, [ebp - 0x160]
push eax
push 0x402950
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 0x15c], eax
test eax, eax
je 0x414291
push 1
push dword [ebp - 0x12c]
call dword [sym.imp.USER32.dll_ShowWindow]
mov esi, dword [sym.imp.USER32.dll_GetMessageA]
lea eax, [ebp - 0x17c]
push 0
push 0
push 0
push eax
call esi
test eax, eax
je 0x414291
push ebx
mov ebx, dword [sym.imp.USER32.dll_DispatchMessageA]
push edi
mov edi, dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x17c]
push eax
push dword [ebp - 0x12c]
call dword [sym.imp.USER32.dll_IsDialogMessageA]
test eax, eax
jne 0x41427c
lea eax, [ebp - 0x17c]
push eax
call edi
lea eax, [ebp - 0x17c]
push eax
call ebx
push 0
push 0
push 0
lea eax, [ebp - 0x17c]
push eax
call esi
test eax, eax
jne 0x414253
pop edi
pop ebx
mov eax, dword [ebp - 0x10]
mov esi, dword [eax + 4]
cmp byte [esi + 0xd], 0
jne 0x4142c6
nop dword [eax]
push dword [esi + 8]
lea eax, [ebp - 0x10]
push eax
mov ecx, eax
call fcn.00403360
mov eax, esi
mov esi, dword [esi]
push 0x18
push eax
call fcn.00414429
add esp, 8
cmp byte [esi + 0xd], 0
je 0x4142a0
mov eax, dword [ebp - 0x10]
push 0x18
push eax
call fcn.00414429
add esp, 8
lea ecx, [ebp - 0x20]
call fcn.00402ed0
mov eax, dword [ebp - 0x28]
pop esi
test eax, eax
je 0x4142ea
push eax
call fcn.004147c0
add esp, 4
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
call fcn.004143eb
mov esp, ebp
pop ebp
ret 0x10