Function at 0x4016bb
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2e4
cmp dword [ebp + 8], 0
push ebx
je 0x401aac
push dword [ebp + 8]
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenW]
call ebx
test eax, eax
je 0x401aac
push esi
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpyW]
push edi
mov edi, 0x41f7b4
push dword [ebp + 8]
push edi
call esi
push dword [ebp + 0xc]
push 0x41f9b4
call esi
mov eax, dword [ebp + 0x10]
push 0
mov dword [0x41f6e0], eax
mov eax, dword [ebp + 0x14]
mov dword [0x41f7b0], eax
call dword [sym.imp.USER32.dll_GetSystemMetrics]
push 1
mov dword [ebp + 0x10], eax
pop esi
push esi
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, dword [ebp + 0x10]
push dword [0x41fbb4]
add ecx, 0xffffffba
add eax, 0xffffffdd
mov dword [0x41fbc8], ecx
mov dword [0x41fbcc], eax
call dword [sym.imp.USER32.dll_GetDC]
push dword [0x41fbb8]
and dword [ebp - 8], 0
and dword [ebp - 4], 0
mov dword [ebp + 0x10], eax
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
and dword [ebp - 0x14], 0
mov dword [ebp - 0x1c], eax
mov eax, edi
mov dword [ebp + 0x14], edi
test edi, edi
mov edi, dword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
je 0x4017e8
push 0xa
push eax
call dword [sym.imp.MSVCRT.dll_wcschr]
pop ecx
mov dword [ebp - 0x18], eax
test eax, eax
pop ecx
je 0x4017e8
push eax
call ebx
push dword [ebp + 0x14]
mov edi, esi
sub edi, eax
call ebx
add edi, eax
lea eax, [ebp - 0x2e4]
push edi
push dword [ebp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x2e4]
push eax
call ebx
mov edi, dword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
push eax
lea eax, [ebp - 0x2e4]
push eax
push dword [ebp + 0x10]
call edi
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 8], eax
jg 0x4017ce
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0xc]
cmp dword [ebp - 4], eax
jg 0x4017d9
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x18]
inc eax
inc eax
inc dword [ebp - 0x14]
test eax, eax
mov dword [ebp + 0x14], eax
jne 0x401772
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 0x14]
call ebx
push eax
push dword [ebp + 0x14]
push dword [ebp + 0x10]
call edi
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 8], eax
jg 0x401805
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0xc]
cmp dword [ebp - 4], eax
jg 0x401810
mov dword [ebp - 4], eax
cmp dword [ebp - 0x14], 0
jne 0x40183e
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 8]
call ebx
push eax
push dword [ebp + 8]
push dword [ebp + 0x10]
call edi
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 8], eax
jg 0x401833
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0xc]
cmp dword [ebp - 4], eax
jg 0x40183e
mov dword [ebp - 4], eax
push dword [0x41fbbc]
mov eax, dword [0x417890]
mov ecx, dword [0x417898]
push dword [ebp + 0x10]
add ecx, eax
add dword [ebp - 8], ecx
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebp + 0xc]
call ebx
test eax, eax
je 0x4018ab
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 0xc]
call ebx
push eax
push dword [ebp + 0xc]
push dword [ebp + 0x10]
call edi
mov eax, dword [0x4178a8]
mov ecx, dword [0x417888]
add ecx, eax
mov eax, dword [ebp - 0x10]
add ecx, dword [0x4178a0]
add ecx, dword [0x417880]
lea eax, [eax + ecx + 0x20]
cmp dword [ebp - 8], eax
jg 0x4018a0
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0xc]
cmp dword [ebp - 4], eax
jg 0x4018ab
mov dword [ebp - 4], eax
mov eax, dword [0x417894]
mov ecx, dword [0x41789c]
add ecx, eax
mov eax, dword [0x41fbc8]
add dword [ebp - 4], ecx
mov ecx, dword [0x41fbcc]
mov edi, ecx
mov edx, eax
sub edi, dword [ebp - 4]
sub edx, dword [ebp - 8]
push 5
and dword [ebp - 0xe4], 0
mov dword [0x41fbc4], edi
sub ecx, edi
pop edi
mov dword [0x41fbc0], edx
push 4
sub eax, edx
pop edx
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0xd8], edx
mov dword [ebp - 0xc4], edx
lea edx, [eax - 5]
mov dword [ebp - 0x84], eax
mov dword [ebp + 0x14], edx
mov dword [ebp - 0xb4], edx
lea edx, [eax - 4]
and dword [ebp - 0xb8], 0
mov dword [ebp + 0xc], edx
mov dword [ebp - 0xac], edx
lea edx, [eax - 3]
and dword [ebp - 0xb0], 0
mov dword [ebp + 8], edx
mov dword [ebp - 0xa4], edx
lea edx, [eax - 1]
lea eax, [ecx - 5]
mov dword [ebp - 4], eax
mov dword [ebp - 0x80], eax
lea eax, [ecx - 4]
mov dword [ebp - 0x9c], edx
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x78], eax
lea eax, [ecx - 3]
mov dword [ebp - 0x94], edx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x70], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x7c], edx
mov dword [ebp - 0x74], edx
mov edx, dword [ebp + 0xc]
push 3
mov dword [ebp - 0x6c], eax
lea eax, [ecx - 1]
mov dword [ebp - 0x64], edx
mov edx, dword [ebp + 0x14]
pop ebx
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0xe0], edi
mov dword [ebp - 0xdc], esi
mov dword [ebp - 0xd4], esi
mov dword [ebp - 0xd0], ebx
mov dword [ebp - 0xcc], ebx
mov dword [ebp - 0xc8], esi
mov dword [ebp - 0xc0], esi
mov dword [ebp - 0xbc], edi
mov dword [ebp - 0xa8], esi
mov dword [ebp - 0xa0], esi
mov dword [ebp - 0x98], ebx
mov dword [ebp - 0x90], 4
mov dword [ebp - 0x88], edi
mov dword [ebp - 0x5c], edx
mov dword [ebp - 0x58], ecx
mov dword [ebp - 0x54], edi
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x4c], 4
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x14]
and dword [ebp - 0x2c], 0
and dword [ebp - 0x24], 0
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x28], eax
push 2
lea eax, [ebp - 0xe4]
push 0x19
push eax
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x20], edi
call dword [sym.imp.GDI32.dll_CreatePolygonRgn]
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [0x41fbb4]
mov ebx, eax
call edi
mov ecx, dword [0x41fbcc]
mov eax, dword [0x41fbc4]
mov edx, dword [0x41fbc8]
sub ecx, eax
push esi
push ecx
mov ecx, dword [0x41fbc0]
sub edx, ecx
push edx
push eax
push ecx
push dword [0x41fbb4]
call dword [sym.imp.USER32.dll_MoveWindow]
push esi
push ebx
push dword [0x41fbb4]
call dword [sym.imp.USER32.dll_SetWindowRgn]
push 8
push dword [0x41fbb4]
call edi
push dword [0x41fbb4]
call dword [sym.imp.USER32.dll_UpdateWindow]
push ebx
call dword [sym.imp.GDI32.dll_DeleteObject]
push dword [ebp - 0x1c]
push dword [ebp + 0x10]
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebp + 0x10]
push dword [0x41fbb4]
call dword [sym.imp.USER32.dll_ReleaseDC]
pop edi
pop esi
jmp 0x401aba
push 0
push dword [0x41fbb4]
call dword [sym.imp.USER32.dll_ShowWindow]
pop ebx
leave
ret