Function at 0x401538
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0xdc
push ebx
push ebp
mov ebp, dword [0x44551c]
lea eax, [esp + 0x38]
push esi
push edi
push 0x48
push 0
push eax
mov dword [esp + 0x24], ebp
call fcn.004193f0
mov ecx, dword [esp + 0xfc]
add esp, 0xc
xor eax, eax
test ecx, ecx
setne al
mov dword [ebp + 0xc], eax
push 0x6f
pop edi
test ecx, ecx
je 0x4015a1
push 0x23
push ecx
lea eax, [esp + 0x48]
push eax
call fcn.0041c2b4
lea eax, [esp + 0x4c]
push eax
call fcn.0041c299
add esp, 0x10
test eax, eax
jle 0x40159c
lea ecx, [esp + 0x40]
call fcn.004080c9
mov edi, 0x9a
mov esi, dword [sym.imp.KERNEL32.dll_MulDiv]
push 0x60
push dword [ebp + 0x14]
mov dword [ebp + 8], 1
push 0x1fa
call esi
push 0x60
push dword [ebp + 0x14]
lea ecx, [edi + 0x14]
mov ebx, eax
push ecx
call esi
xor esi, esi
mov edi, eax
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
push esi
push esi
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push edi
push ebx
push 1
call esi
sub eax, edi
cdq
sub eax, edx
sar eax, 1
push eax
push 0
call esi
sub eax, ebx
cdq
sub eax, edx
sar eax, 1
push eax
push 0x80800000
lea eax, [esp + 0x64]
push eax
push str.AMORCE
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebp], eax
test eax, eax
je 0x401884
lea ecx, [esp + 0x30]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
cmp dword [ebp + 0xc], 0
mov edi, dword [sym.imp.KERNEL32.dll_MulDiv]
je 0x401640
push 0x60
push dword [ebp + 0x14]
push 0x2b
call edi
mov ecx, dword [ebp + 0xc]
mov ebx, eax
jmp 0x401644
xor ebx, ebx
xor ecx, ecx
test ecx, ecx
je 0x401655
push 0x60
push dword [ebp + 0x14]
push 0x2b
call edi
mov esi, eax
jmp 0x401657
xor esi, esi
push 0x60
push dword [ebp + 0x14]
push 0x11
call edi
mov ecx, dword [esp + 0x3c]
sub ecx, esi
sub ecx, eax
mov eax, ecx
cdq
push 0x60
push dword [ebp + 0x14]
sub eax, edx
mov esi, eax
sar esi, 1
push 0x12
add esi, ebx
call edi
push 0
mov ebx, eax
push 0
mov dword [esp + 0x24], ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
push 0
push dword [ebp]
push 0x60
push dword [ebp + 0x14]
push 0x11
call edi
push eax
push 0x60
push dword [ebp + 0x14]
push 0x12
call edi
mov ecx, dword [esp + 0x4c]
add eax, eax
sub ecx, eax
push ecx
push esi
push ebx
push 0x50000001
mov esi, 0x4385c0
xor ebx, ebx
push esi
push 0x438570
push ebx
call dword [sym.imp.USER32.dll_CreateWindowExW]
push esi
push esi
push eax
mov dword [ebp + 4], eax
call dword [sym.imp.UxTheme.dll_SetWindowTheme]
cmp dword [ebp + 0x10], ebx
mov ecx, 0xbc7200
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
mov eax, 0xe1a11a
cmovne eax, ecx
push eax
push ebx
push 0x409
push dword [ebp + 4]
call esi
cmp dword [ebp + 0x10], ebx
mov ecx, 0x4f4f4f
mov eax, 0xffffff
cmovne eax, ecx
push eax
push ebx
push 0x2001
push dword [ebp + 4]
call esi
push 5
push dword [ebp]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [ebp]
call dword [sym.imp.USER32.dll_UpdateWindow]
cmp dword [ebp + 0xc], ebx
je 0x401884
push dword [ebp]
call dword [sym.imp.USER32.dll_GetDC]
mov ebx, eax
push 1
push ebx
mov dword [esp + 0x1c], ebx
call dword [sym.imp.GDI32.dll_SetBkMode]
xor esi, esi
mov eax, 0xbc7200
cmp dword [ebp + 0x10], esi
mov ecx, 0xe7b86b
cmovne ecx, eax
push ecx
push ebx
call dword [sym.imp.GDI32.dll_SetTextColor]
push 0x5c
lea eax, [esp + 0x8c]
push esi
push eax
call fcn.004193f0
add esp, 0xc
push 0x60
push dword [ebp + 0x14]
push 0xffffffffffffffee
call edi
mov dword [esp + 0x88], eax
lea eax, [esp + 0xa4]
push str.Open_sans
push eax
mov dword [esp + 0x94], esi
mov dword [esp + 0xa0], 0x190
call fcn.0041c2f7
pop ecx
pop ecx
lea eax, [esp + 0x88]
push eax
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
mov ebp, eax
push ebp
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
lea esi, [esp + 0x30]
mov ebx, eax
lea edi, [esp + 0x20]
movsd dword es:[edi], dword [esi]
push 0x60
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, dword [esp + 0x1c]
push dword [edi + 0x14]
push 0x2b
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov esi, dword [esp + 0x14]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x1c]
push 0x24
mov dword [esp + 0x24], eax
lea eax, [esp + 0x24]
push eax
push 0xffffffffffffffff
lea eax, [esp + 0x4c]
push eax
push esi
call dword [sym.imp.USER32.dll_DrawTextW]
push ebx
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
mov ebx, dword [sym.imp.GDI32.dll_DeleteObject]
push ebp
call ebx
push 0xc3bfc0
push 0x60
push dword [edi + 0x14]
push 1
call dword [sym.imp.KERNEL32.dll_MulDiv]
push eax
push 0
call dword [sym.imp.GDI32.dll_CreatePen]
mov edi, eax
push edi
mov ebp, dword [sym.imp.GDI32.dll_SelectObject]
push esi
call ebp
push 0
push dword [esp + 0x30]
mov esi, eax
push dword [esp + 0x28]
push dword [esp + 0x20]
call dword [sym.imp.GDI32.dll_MoveToEx]
push dword [esp + 0x2c]
mov ecx, dword [esp + 0x2c]
sub ecx, dword [esp + 0x20]
push ecx
push dword [esp + 0x1c]
call dword [sym.imp.GDI32.dll_LineTo]
push esi
mov esi, dword [esp + 0x18]
push esi
call ebp
push edi
call ebx
mov eax, dword [esp + 0x18]
push esi
push dword [eax]
call dword [sym.imp.USER32.dll_ReleaseDC]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xdc
ret 8