Function at 0x401ce3
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1e4
cmp dword [ebp + 8], 0
push ebx
je 0x4020d3
push dword [ebp + 8]
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenA]
call ebx
test eax, eax
je 0x4020d3
push esi
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
push edi
mov edi, 0x4225d8
push dword [ebp + 8]
push edi
call esi
push dword [ebp + 0xc]
push 0x4224d8
call esi
mov eax, dword [ebp + 0x10]
push 0
mov dword [0x4224d4], eax
mov eax, dword [ebp + 0x14]
mov dword [0x4224d0], 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 [0x422740]
add ecx, 0xffffffba
add eax, 0xffffffdd
mov dword [0x422758], ecx
mov dword [0x42275c], eax
call dword [sym.imp.USER32.dll_GetDC]
push dword [0x422744]
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_GetTextExtentPoint32A]
je 0x401e0f
push 0xa
push eax
call dword [sym.imp.MSVCRT.dll_strchr]
pop ecx
mov dword [ebp - 0x18], eax
test eax, eax
pop ecx
je 0x401e0f
push eax
call ebx
push dword [ebp + 0x14]
mov edi, esi
sub edi, eax
call ebx
add edi, eax
lea eax, [ebp - 0x1e4]
push edi
push dword [ebp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x1e4]
push eax
call ebx
mov edi, dword [sym.imp.GDI32.dll_GetTextExtentPoint32A]
push eax
lea eax, [ebp - 0x1e4]
push eax
push dword [ebp + 0x10]
call edi
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 8], eax
jg 0x401df6
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0xc]
cmp dword [ebp - 4], eax
jg 0x401e01
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x18]
inc eax
inc dword [ebp - 0x14]
test eax, eax
mov dword [ebp + 0x14], eax
jne 0x401d9a
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 0x401e2c
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0xc]
cmp dword [ebp - 4], eax
jg 0x401e37
mov dword [ebp - 4], eax
cmp dword [ebp - 0x14], 0
jne 0x401e65
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 0x401e5a
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0xc]
cmp dword [ebp - 4], eax
jg 0x401e65
mov dword [ebp - 4], eax
push dword [0x422748]
mov eax, dword [0x41bac8]
mov ecx, dword [0x41bad0]
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 0x401ed2
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 [0x41bae0]
mov ecx, dword [0x41bac0]
add ecx, eax
mov eax, dword [ebp - 0x10]
add ecx, dword [0x41bad8]
add ecx, dword [0x41bab8]
lea eax, [eax + ecx + 0x20]
cmp dword [ebp - 8], eax
jg 0x401ec7
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0xc]
cmp dword [ebp - 4], eax
jg 0x401ed2
mov dword [ebp - 4], eax
mov eax, dword [0x41bacc]
mov ecx, dword [0x41bad4]
add ecx, eax
mov eax, dword [0x422758]
add dword [ebp - 4], ecx
mov ecx, dword [0x42275c]
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 [0x422754], edi
sub ecx, edi
pop edi
mov dword [0x422750], 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 [0x422740]
mov ebx, eax
call edi
mov ecx, dword [0x42275c]
mov eax, dword [0x422754]
mov edx, dword [0x422758]
sub ecx, eax
push esi
push ecx
mov ecx, dword [0x422750]
sub edx, ecx
push edx
push eax
push ecx
push dword [0x422740]
call dword [sym.imp.USER32.dll_MoveWindow]
push esi
push ebx
push dword [0x422740]
call dword [sym.imp.USER32.dll_SetWindowRgn]
push 8
push dword [0x422740]
call edi
push dword [0x422740]
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 [0x422740]
call dword [sym.imp.USER32.dll_ReleaseDC]
pop edi
pop esi
jmp 0x4020e1
push 0
push dword [0x422740]
call dword [sym.imp.USER32.dll_ShowWindow]
pop ebx
leave
ret