Function at 0x41cd60
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe40
push ebx
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
test eax, eax
je 0x41cd83
xor edx, edx
mov dword [eax], edx
xor eax, eax
push ebp
push 0x41d048
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x48], 3
mov eax, dword [ebp - 4]
mov dword [ebp - 0x44], eax
xor eax, eax
mov dword [ebp - 0x40], eax
xor eax, eax
mov dword [ebp - 0x3c], eax
mov eax, dword [0x42ac40]
mov dword [ebp - 0x38], eax
push 0x7f00
push 0
call sub.user32.dll_LoadIconW
mov dword [ebp - 0x34], eax
push 0x7f00
push 0
call sub.user32.dll_LoadCursorW
mov dword [ebp - 0x30], eax
push 0
call sub.gdi32.dll_GetStockObject
mov dword [ebp - 0x2c], eax
xor eax, eax
mov dword [ebp - 0x28], eax
mov eax, 0x41d05c
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x48]
push eax
call sub.user32.dll_RegisterClassW
test ax, ax
jne 0x41ce0d
push 0
push 0
push 0x41d078
push 0
call sub.user32.dll_MessageBoxW
jmp 0x41d032
push 0
push 0
push 0
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 0xc]
push eax
push 0
push 0
mov eax, dword [0x42ac40]
push eax
push 0
mov ecx, 0x41d05c
mov edx, 0x41d05c
mov eax, 8
call fcn.004094ec
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x41ce59
push 0
push 0
push 0x41d0ac
push 0
call sub.user32.dll_MessageBoxW
jmp 0x41d032
xor eax, eax
mov dword [ebp - 0x58], eax
xor eax, eax
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x4c], eax
push 0xffffffffffffffec
mov eax, dword [ebp - 0x14]
push eax
call sub.user32.dll_GetWindowLongW
push eax
push 0
push 0xfffffffffffffff0
mov eax, dword [ebp - 0x14]
push eax
call sub.user32.dll_GetWindowLongW
push eax
lea eax, [ebp - 0x58]
push eax
call sub.user32.dll_AdjustWindowRectEx
test eax, eax
je 0x41ceb3
push 0
mov eax, dword [ebp - 0x4c]
sub eax, dword [ebp - 0x54]
push eax
mov eax, dword [ebp - 0x50]
sub eax, dword [ebp - 0x58]
push eax
push 0x32
push 0x32
mov eax, dword [ebp - 0x14]
push eax
call sub.user32.dll_MoveWindow
push 5
mov eax, dword [ebp - 0x14]
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [ebp - 0x14]
push eax
call sub.user32.dll_UpdateWindow
push 0x80000020
lea eax, [ebp - 0x1c]
push eax
call fcn.0041cca0
cmp dword [ebp - 0x1c], 0
jne 0x41cef0
push 0
push 0
push 0x41d0dc
push 0
call sub.user32.dll_MessageBoxW
jmp 0x41d032
lea eax, [ebp - 0x188]
push eax
mov eax, dword [ebp + 0xc]
push eax
push 0
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [eax]
call dword [eax + 0x38]
test byte [ebp - 0x16a], 1
je 0x41cf18
mov dword [ebp - 0x20], 0x40
jmp 0x41cf1f
mov dword [ebp - 0x20], 0x20
mov eax, dword [ebp - 8]
mov dword [ebp - 0x1c0], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x1bc], eax
mov dword [ebp - 0x1b8], 0x15
mov dword [ebp - 0x1b4], 1
xor eax, eax
mov dword [ebp - 0x1b0], eax
xor eax, eax
mov dword [ebp - 0x1ac], eax
mov dword [ebp - 0x1a8], 1
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x1a4], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x1a0], eax
mov dword [ebp - 0x19c], 0xffffffff
mov dword [ebp - 0x198], 0x4b
xor eax, eax
mov dword [ebp - 0x194], eax
xor eax, eax
mov dword [ebp - 0x190], eax
mov dword [ebp - 0x18c], 0x80000000
mov eax, dword [ebp + 8]
call fcn.0040875c
push eax
lea eax, [ebp - 0x1c0]
push eax
mov eax, dword [ebp - 0x20]
push eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp + 0xc]
push eax
push 0
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [eax]
call dword [eax + 0x40]
mov dword [ebp - 0x18], eax
test byte [ebp - 0x15], 0x80
je 0x41d023
mov dword [ebp - 0x198], 0x50
mov eax, dword [ebp + 8]
call fcn.0040875c
push eax
lea eax, [ebp - 0x1c0]
push eax
mov eax, dword [ebp - 0x20]
push eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp + 0xc]
push eax
push 0
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [eax]
call dword [eax + 0x40]
mov dword [ebp - 0x18], eax
test byte [ebp - 0x15], 0x80
je 0x41d023
lea eax, [ebp - 0x1c]
call fcn.0040875c
push 0
push 0
push 0x41d114
push 0
call sub.user32.dll_MessageBoxW
jmp 0x41d032
lea eax, [ebp - 0x1c]
call fcn.0040875c
mov dword [ebp - 0x10], 0xffffffff
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41d04f
lea eax, [ebp - 0x1c]
call fcn.0040875c
ret