Function at 0x402f10
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b06a0
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x4bd040]
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
mov ebx, ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 0xc]
push 0
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x38], 3
mov dword [ebp - 0x34], 0x4028e0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push 0x7f06
push 0
mov dword [ebp - 0x28], eax
call dword [sym.imp.USER32.dll_LoadIconW]
push 0x7f00
push 0
mov dword [ebp - 0x24], eax
call dword [sym.imp.USER32.dll_LoadCursorW]
push 5
mov dword [ebp - 0x20], eax
call dword [sym.imp.GDI32.dll_GetStockObject]
cmp dword [ebp + 0x24], 0xf
lea ecx, [ebp + 0x10]
mov dword [ebp - 0x1c], eax
cmova ecx, dword [ebp + 0x10]
mov eax, dword [ebp + 0x20]
add eax, ecx
mov dword [ebp - 0x18], 0
cmp dword [ebp + 0x24], 0xf
lea ecx, [ebp + 0x10]
cmova ecx, dword [ebp + 0x10]
push ecx
push eax
push ecx
lea ecx, [ebp - 0x88]
call fcn.004418d0
cmp dword [eax + 0x14], 7
jbe 0x402fd3
mov eax, dword [eax]
mov ecx, dword [ebp - 0x74]
mov dword [ebp - 0x14], eax
cmp ecx, 7
jbe 0x403015
mov edx, dword [ebp - 0x88]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40300b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40300b
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.004af678
add esp, 8
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.USER32.dll_RegisterClassW]
cmp dword [ebp + 0x24], 0xf
lea ecx, [ebp + 0x10]
mov eax, dword [ebp + 0x20]
cmova ecx, dword [ebp + 0x10]
add eax, ecx
cmp dword [ebp + 0x24], 0xf
lea ecx, [ebp + 0x10]
cmova ecx, dword [ebp + 0x10]
push ecx
push eax
push ecx
lea ecx, [ebp - 0x70]
call fcn.004418d0
mov edi, eax
cmp dword [edi + 0x14], 7
jbe 0x40304f
mov edi, dword [edi]
cmp dword [ebp + 0x24], 0xf
lea ecx, [ebp + 0x10]
mov eax, dword [ebp + 0x20]
cmova ecx, dword [ebp + 0x10]
add eax, ecx
cmp dword [ebp + 0x24], 0xf
lea ecx, [ebp + 0x10]
cmova ecx, dword [ebp + 0x10]
push ecx
push eax
push ecx
lea ecx, [ebp - 0x58]
call fcn.004418d0
mov esi, eax
cmp dword [esi + 0x14], 7
jbe 0x40307f
mov esi, dword [esi]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
push 0
push 0
push dword [ebp - 0x40]
push dword [ebp - 0x3c]
push 0
push 0
push 0x80000000
push edi
push esi
push 0x800a8
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov ecx, dword [ebp - 0x44]
mov esi, eax
cmp ecx, 7
jbe 0x4030e2
mov edx, dword [ebp - 0x58]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4030d8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403122
push ecx
push edx
call fcn.004af678
add esp, 8
mov ecx, dword [ebp - 0x5c]
xor eax, eax
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
cmp ecx, 7
jbe 0x403132
mov edx, dword [ebp - 0x70]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x403128
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x403128
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.004af678
add esp, 8
xor eax, eax
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 7
mov word [ebp - 0x70], ax
test esi, esi
je 0x403167
push esi
call dword [sym.imp.USER32.dll_UpdateWindow]
push 5
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push 1
push 0
push 0
push esi
call dword [sym.imp.USER32.dll_SetLayeredWindowAttributes]
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp + 0x24]
mov dword [ebx], eax
mov eax, dword [ebp - 0x40]
mov dword [ebx + 8], esi
mov dword [ebx + 4], eax
cmp ecx, 0xf
jbe 0x4031ab
mov edx, dword [ebp + 0x10]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4031a1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4031a1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.004af678
add esp, 8
mov eax, esi
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.004af21a
mov esp, ebp
pop ebp
ret 0x24