Function at 0x5405e6
Capabilities:
Hide graphical window

Disassembly:
push 0xac
mov eax, 0x6067a1
call fcn.004db4be
mov esi, ecx
mov dword [ebp - 0xa4], esi
mov eax, dword [ebp + 0xc]
lea ebx, [esi + 4]
mov dword [ebp - 0xb4], eax
test eax, eax
je 0x540611
mov edi, eax
jmp 0x540658
mov eax, dword [ebx]
lea ecx, [ebp - 0x90]
and dword [ebp - 0x98], 0
push ecx
push eax
mov dword [ebp - 0x94], eax
call dword [sym.imp.USER32.dll_BeginPaint]
push dword [ebx]
mov dword [ebp - 0x98], eax
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
lea eax, [ebp - 0x90]
push eax
push dword [ebp - 0x94]
call dword [sym.imp.USER32.dll_EndPaint]
and dword [ebp - 0x98], 0
push 0xffffffffffffffea
mov edx, 0x2bc
pop ecx
call fcn.00543cc0
push 0x17a8
push dword [ebx]
mov dword [ebp - 0x9c], eax
call dword [sym.imp.USER32.dll_GetDlgItem]
lea ecx, [ebp - 0x40]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [ebp - 0x40]
mov ecx, ebx
push eax
call fcn.0040390c
push 1
push edi
call dword [sym.imp.GDI32.dll_SetBkMode]
push dword [ebp - 0x9c]
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
push 0x3a3a3a
push edi
mov dword [ebp - 0xa0], eax
call dword [sym.imp.GDI32.dll_SetTextColor]
mov ecx, dword [esi + 0x280]
xorps xmm0, xmm0
movups xmmword [ebp - 0x50], xmm0
test ecx, ecx
jne 0x5406ee
push 0x420
lea eax, [ebp - 0x50]
push eax
push 0xffffffffffffffff
push dword [esi + 0x27c]
push edi
call dword [sym.imp.USER32.dll_DrawTextW]
mov ecx, dword [ebp - 0x48]
sub ecx, dword [ebp - 0x50]
add ecx, 0xa
mov dword [esi + 0x280], ecx
mov eax, dword [ebp - 0x40]
add eax, ecx
push 0x824
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x40]
push eax
push 0xffffffffffffffff
push dword [esi + 0x27c]
push edi
call dword [sym.imp.USER32.dll_DrawTextW]
push dword [ebp - 0xa0]
mov esi, dword [sym.imp.GDI32.dll_SelectObject]
push edi
call esi
push dword [ebp - 0x9c]
call dword [sym.imp.GDI32.dll_DeleteObject]
push 0xfffffffffffffff2
mov edx, 0x258
pop ecx
call fcn.00543cc0
push 0x17a9
push dword [ebx]
mov dword [ebp - 0xa0], eax
call dword [sym.imp.USER32.dll_GetDlgItem]
lea ecx, [ebp - 0x30]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [ebp - 0x30]
mov ecx, ebx
push eax
call fcn.0040390c
push 1
push edi
call dword [sym.imp.GDI32.dll_SetBkMode]
push dword [ebp - 0xa0]
push edi
call esi
push 0x8f8f8f
push edi
mov dword [ebp - 0xa8], eax
call dword [sym.imp.GDI32.dll_SetTextColor]
mov eax, dword [ebp - 0x28]
sub eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x38]
inc ecx
add eax, ecx
mov dword [ebp - 0x30], ecx
push 0xea89
mov dword [ebp - 0x28], eax
mov eax, dword [0x668294]
push ecx
lea ecx, [ebp - 0x9c]
mov dword [ebp - 0x9c], eax
call fcn.0041129f
mov esi, dword [ebp - 0x9c]
lea eax, [ebp - 0x30]
push 0x824
push eax
push 0xffffffffffffffff
push esi
push edi
call dword [sym.imp.USER32.dll_DrawTextW]
lea ecx, [esi - 0xc]
cmp ecx, 0x668010
je 0x5407da
call fcn.00407965
push dword [ebp - 0xa8]
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebp - 0xa0]
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [ebp - 0xa4]
cmp dword [eax + 0x284], 0
je 0x540935
push 0x17b5
push dword [ebx]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, eax
push esi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x540829
push 0
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
lea eax, [ebp - 0x20]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [ebp - 0x20]
mov ecx, ebx
push eax
call fcn.0040390c
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x20]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp - 0x1c]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0xa4]
lea ecx, [ebp - 0xa8]
and dword [ebp - 4], 0
mov eax, dword [eax + 0x284]
mov dword [ebp - 0xa8], eax
lea eax, [ebp - 0xb0]
push eax
call fcn.0040d3bb
push edi
mov byte [ebp - 4], 1
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov esi, eax
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0xb8], esi
push dword [eax + 0x284]
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [ebp - 0x9c]
mov edx, dword [ebp - 0xac]
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0xa0]
cmp dword [ebp - 0xb0], ecx
jg 0x5408fb
cmp edx, eax
jg 0x5408fb
push ecx
push ecx
push edx
push dword [ebp - 0xb0]
sub eax, edx
push ecx
push ecx
sub ecx, dword [ebp - 0xb0]
push esi
push edx
push dword [ebp - 0xb0]
cdq
sub eax, edx
sar eax, 1
add eax, dword [ebp - 0x1c]
push eax
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, dword [ebp - 0x20]
mov edx, eax
jmp 0x54090f
push ecx
push ecx
push edx
push dword [ebp - 0xb0]
mov edx, dword [ebp - 0x20]
push ecx
push ecx
push esi
push eax
push ecx
push dword [ebp - 0x1c]
mov ecx, edi
call fcn.00543d75
push dword [ebp - 0xa4]
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
push esi
call dword [sym.imp.GDI32.dll_DeleteDC]
test esi, esi
je 0x540935
push esi
call dword [sym.imp.GDI32.dll_DeleteDC]
cmp dword [ebp - 0xb4], 0
jne 0x540947
push edi
push dword [ebx]
call dword [sym.imp.USER32.dll_ReleaseDC]
xor eax, eax
call fcn.004db46d
ret 0x10