Function at 0x402c20
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b0670
mov eax, dword fs:[0]
push eax
sub esp, 0x74
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 - 0x4c], eax
mov eax, dword [ebp + 0xc]
push 0
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x48], 3
mov dword [ebp - 0x44], 0x4028e0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push 0x7f06
push 0
mov dword [ebp - 0x38], eax
call dword [sym.imp.USER32.dll_LoadIconW]
push 0x7f00
push 0
mov dword [ebp - 0x34], eax
call dword [sym.imp.USER32.dll_LoadCursorW]
push 5
mov dword [ebp - 0x30], eax
call dword [sym.imp.GDI32.dll_GetStockObject]
cmp dword [ebp + 0x24], 0xf
lea ecx, [ebp + 0x10]
mov dword [ebp - 0x2c], eax
cmova ecx, dword [ebp + 0x10]
mov eax, dword [ebp + 0x20]
add eax, ecx
mov dword [ebp - 0x28], 0
cmp dword [ebp + 0x24], 0xf
lea ecx, [ebp + 0x10]
cmova ecx, dword [ebp + 0x10]
push ecx
push eax
push ecx
lea ecx, [ebp - 0x68]
call fcn.004418d0
cmp dword [eax + 0x14], 7
jbe 0x402ce0
mov eax, dword [eax]
mov ecx, dword [ebp - 0x54]
mov dword [ebp - 0x24], eax
cmp ecx, 7
jbe 0x402d1f
mov edx, dword [ebp - 0x68]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x402d15
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x402d15
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 - 0x48]
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 - 0x68]
call fcn.004418d0
mov edi, eax
cmp dword [edi + 0x14], 7
jbe 0x402d59
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 - 0x80]
call fcn.004418d0
mov esi, eax
cmp dword [esi + 0x14], 7
jbe 0x402d89
mov esi, dword [esi]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
push 0
push 0
push dword [ebp - 0x50]
push dword [ebp - 0x4c]
push 0
push 0
push 0x80000000
push edi
push esi
push 0x800a8
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov ecx, dword [ebp - 0x6c]
mov esi, eax
cmp ecx, 7
jbe 0x402dec
mov edx, dword [ebp - 0x80]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x402de2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402e2c
push ecx
push edx
call fcn.004af678
add esp, 8
mov ecx, dword [ebp - 0x54]
xor eax, eax
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 7
mov word [ebp - 0x80], ax
cmp ecx, 7
jbe 0x402e3c
mov edx, dword [ebp - 0x68]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x402e32
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x402e32
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 - 0x58], 0
mov dword [ebp - 0x54], 7
mov word [ebp - 0x68], ax
test esi, esi
je 0x402eaa
push 0xffffffffffffffff
push 0xffffffffffffffff
push eax
push eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x20], 3
call dword [sym.imp.GDI32.dll_CreateRectRgn]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x20]
push eax
push esi
mov dword [ebp - 0x1c], 1
call dword [sym.imp.dwmapi.dll_DwmEnableBlurBehindWindow]
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 - 0x4c]
mov dword [ebx], eax
mov eax, dword [ebp - 0x50]
mov dword [ebx + 8], esi
mov dword [ebx + 4], eax
mov ecx, dword [ebp + 0x24]
cmp ecx, 0xf
jbe 0x402ee0
mov edx, dword [ebp + 0x10]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x402ed6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x402ed6
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