Function at 0x413fa0
Capabilities:
Hide graphical window

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x594139
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x190
mov eax, dword [0x5de00c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebx + 0x10]
xorps xmm0, xmm0
mov edi, dword [ebx + 8]
mov dword [ebp - 0x160], eax
xor eax, eax
movups xmmword [ebp - 0xcc], xmm0
mov dword [ebp - 0x140], edi
mov dword [ebp - 0xbc], 0
mov dword [ebp - 0xb8], 7
mov word [ebp - 0xcc], ax
lea ecx, [ebp - 0x128]
mov dword [ebp - 4], eax
call fcn.0041b700
movd xmm0, dword [ebp - 0xb4]
lea ecx, [ebp - 0x170]
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [0x5c6ebc]
addss xmm0, dword [0x5c6ef0]
movss dword [0x5de0cc], xmm0
call fcn.004234f0
mov byte [ebp - 4], 1
cmp dword [ebp - 0xd0], 0
jne 0x414074
cmp dword [ebp - 0x170], 0
je 0x414074
push 0
call dword [ebp - 0x168]
cmp dword [0x5def8c], 8
mov eax, 0x5def78
mov esi, dword [sym.imp.USER32.dll_LoadImageW]
cmovae eax, dword [0x5def78]
push 0x10
push 0x20
push 0x20
push 1
push eax
push edi
mov dword [ebp - 0x19c], 0
mov dword [ebp - 0x198], 0x4c4b60
mov dword [ebp - 0x194], 0
mov dword [ebp - 0x190], 0
mov dword [ebp - 0x18c], edi
mov dword [ebp - 0x1a0], 0x30
call esi
cmp dword [0x5def8c], 8
push 0x10
push 0x10
mov dword [ebp - 0x188], eax
mov eax, 0x5def78
cmovae eax, dword [0x5def78]
push 0x10
push 1
push eax
push edi
call esi
push 0x7f00
push 0
mov dword [ebp - 0x174], eax
call dword [sym.imp.USER32.dll_LoadCursorW]
push 4
mov dword [ebp - 0x184], eax
call dword [sym.imp.GDI32.dll_GetStockObject]
cmp dword [0x5e475c], 8
mov dword [ebp - 0x180], eax
mov eax, 0x5e4748
cmovae eax, dword [0x5e4748]
mov dword [ebp - 0x178], eax
lea eax, [ebp - 0x1a0]
push eax
mov dword [ebp - 0x17c], 0
call dword [sym.imp.USER32.dll_RegisterClassExW]
test ax, ax
jne 0x414159
xor esi, esi
jmp 0x41456d
cmp dword [0x5defc4], 8
mov edx, 0x5defb0
xorps xmm0, xmm0
mov dword [ebp - 0x2c], 0
cmovae edx, dword [0x5defb0]
mov ecx, edx
mov dword [ebp - 0x28], 0
movups xmmword [ebp - 0x3c], xmm0
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x414186
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x3c]
call fcn.00403d10
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x164]
call fcn.004e9f00
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x28]
cmp ecx, 8
jb 0x4141f0
mov edx, dword [ebp - 0x3c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4141e6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4145b0
push ecx
push edx
call fcn.0052d747
add esp, 8
lea ecx, [ebp - 0xb0]
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
call fcn.00422a50
mov byte [ebp - 4], 5
mov esi, dword [ebp - 0x100]
cmp esi, 1
jne 0x414249
lea eax, [ebp - 0xb0]
push eax
lea eax, [ebp - 0x128]
push eax
call fcn.00418fb0
test eax, eax
jne 0x414246
lea ecx, [ebp - 0x128]
mov dword [ebp - 0x100], eax
call fcn.0041a9b0
mov esi, dword [ebp - 0x100]
cmp esi, 1
ja 0x414539
mov eax, dword [ebp + esi*8 - 0x118]
mov ecx, 0x90080000
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + esi*8 - 0x114]
mov dword [ebp - 0x18], eax
mov eax, 0x12cf0000
cmovne eax, ecx
dec esi
neg esi
mov dword [ebp - 0x158], eax
sbb esi, esi
and esi, 8
push esi
push 0
push eax
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.USER32.dll_AdjustWindowRectEx]
push 0x20
call dword [sym.imp.d3d9.dll_Direct3DCreate9]
mov esi, eax
test esi, esi
je 0x414539
mov eax, dword [esi]
push 0
push esi
call dword [eax + 0x3c]
mov edi, eax
mov eax, dword [esi]
push esi
call dword [eax + 8]
test edi, edi
je 0x414539
lea eax, [ebp - 0x64]
mov dword [ebp - 0x64], 0x28
push eax
push edi
call dword [sym.imp.USER32.dll_GetMonitorInfoW]
mov eax, dword [ebp - 0x48]
lea ecx, [ebp - 0xb0]
sub eax, dword [ebp - 0x50]
mov dword [ebp - 0x154], eax
mov eax, dword [ebp - 0x44]
sub eax, dword [ebp - 0x4c]
cmp dword [ebp - 0x100], 1
mov dword [ebp - 0x13c], eax
jne 0x4143f4
mov esi, dword [ebp - 0x128]
lea eax, [ebp - 0x34]
push eax
push esi
call fcn.004231a0
lea eax, [ebp - 0x150]
push eax
push esi
call fcn.00423140
mov ecx, dword [ebp - 0x148]
mov eax, dword [ebp - 0x2c]
mov edi, dword [ebp - 0x34]
sub eax, edi
sub ecx, dword [ebp - 0x150]
mov esi, dword [ebp - 0x30]
mov dword [ebp - 0x138], ecx
mov dword [ebp - 0x130], edi
mov dword [ebp - 0x134], esi
cmp eax, ecx
jne 0x414352
mov ecx, dword [ebp - 0x144]
mov eax, dword [ebp - 0x28]
sub ecx, dword [ebp - 0x14c]
sub eax, esi
cmp eax, ecx
je 0x414374
push 0
lea eax, [ebp - 0x34]
push eax
push 0
push 0x30
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
add edi, dword [ebp - 0x34]
add esi, dword [ebp - 0x30]
mov dword [ebp - 0x130], edi
mov dword [ebp - 0x134], esi
mov edi, dword [ebp - 0x120]
cmp edi, 0xffffffff
je 0x414399
mov esi, dword [ebp - 0x11c]
push 0
push esi
push edi
mov dword [ebp - 0x12c], esi
call dword [sym.imp.USER32.dll_MonitorFromPoint]
test eax, eax
jne 0x4143e7
mov eax, dword [ebp - 0x1c]
sub eax, dword [ebp - 0x24]
cdq
sub eax, edx
mov ecx, eax
mov eax, dword [ebp - 0x138]
cdq
sub eax, edx
sar ecx, 1
mov edi, eax
mov eax, dword [ebp - 0x144]
sub eax, dword [ebp - 0x14c]
cdq
sub eax, edx
sar edi, 1
mov esi, eax
sub edi, ecx
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x20]
add edi, dword [ebp - 0x130]
cdq
sub eax, edx
sar esi, 1
sar eax, 1
sub esi, eax
add esi, dword [ebp - 0x134]
mov dword [ebp - 0x12c], esi
mov ecx, dword [ebp - 0x24]
mov eax, 1
mov edx, dword [ebp - 0x20]
jmp 0x414415
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x128]
call fcn.004231a0
mov edx, dword [ebp - 0x20]
xor eax, eax
mov ecx, dword [ebp - 0x24]
mov esi, edx
mov edi, ecx
mov dword [ebp - 0x12c], esi
cmp dword [ebp - 0x100], 0
mov dword [0x5e459c], eax
jne 0x41442b
mov edx, dword [ebp - 0x154]
jmp 0x41443b
mov eax, dword [ebp - 0x18]
sub eax, edx
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x13c], eax
sub edx, ecx
cmp dword [0x5e46d4], 8
mov ecx, 0x5e46c0
push 0
push dword [ebp - 0x140]
cmovae ecx, dword [0x5e46c0]
mov eax, 0x5e4748
cmp dword [0x5e475c], 8
push 0
cmovae eax, dword [0x5e4748]
push 0
push dword [ebp - 0x13c]
push edx
push esi
push edi
push dword [ebp - 0x158]
push ecx
push eax
mov eax, dword [ebp - 0x100]
dec eax
neg eax
sbb eax, eax
and eax, 8
push eax
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov esi, eax
mov dword [ebp - 0x15c], 1
push 4
lea eax, [ebp - 0x15c]
push eax
push 0x21
push esi
call dword [sym.imp.dwmapi.dll_DwmSetWindowAttribute]
test esi, esi
je 0x414539
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x20]
push 0x60
push eax
mov eax, dword [ebp - 0x1c]
sub eax, dword [ebp - 0x24]
push eax
push dword [ebp - 0x12c]
push edi
push 0xfffffffffffffffe
push esi
call dword [sym.imp.USER32.dll_SetWindowPos]
mov edi, dword [ebp - 0x140]
push 0x6f
push edi
call dword [sym.imp.USER32.dll_LoadAcceleratorsW]
push dword [ebx + 0xc]
mov dword [0x5dfc44], eax
push esi
mov dword [0x5e45b8], esi
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
call dword [sym.imp.USER32.dll_UpdateWindow]
push 0
push esi
call dword [sym.imp.USER32.dll_ValidateRect]
push dword [ebp - 0x160]
push esi
push edi
call fcn.00417460
test eax, eax
je 0x414539
push esi
call dword [sym.imp.USER32.dll_SetActiveWindow]
push esi
mov dword [0x5e4588], 1
call fcn.00415de0
mov esi, eax
jmp 0x41453b
xor esi, esi
lea ecx, [ebp - 0x74]
call fcn.0040b140
lea ecx, [ebp - 0x80]
call fcn.00419dc0
lea ecx, [ebp - 0x8c]
call fcn.00419e30
lea ecx, [ebp - 0x98]
call fcn.004038f0
push dword [ebp - 0x164]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x170]
test eax, eax
je 0x41457e
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [ebp - 0xb8]
cmp ecx, 8
jb 0x4145c0
mov edx, dword [ebp - 0xcc]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4145b6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4145b6
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0052d747
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0052d3c5
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0xc