Function at 0x5b7f3b
Capabilities:
Hide graphical window

Disassembly:
push ebp
sub esp, 0x5c
mov eax, 0x69c2df
call fcn.00640244
sub esp, 0x48
push ebx
push esi
push edi
call fcn.005b9d8f
mov edi, dword [ebp + 0x7c]
movzx eax, word [edi + 0x1bc]
mov dword [ebp + 0x7c], eax
xor eax, eax
mov dword [ebp], eax
mov dword [ebp + 4], eax
mov dword [ebp + 8], eax
mov dword [ebp + 0xc], eax
mov dword [ebp + 0x10], eax
mov dword [ebp + 0x14], eax
mov dword [ebp + 0x18], eax
mov dword [ebp + 0x1c], eax
mov dword [ebp + 0x20], eax
mov dword [ebp + 0x24], eax
mov dword [ebp + 0x28], eax
mov dword [ebp + 0x2c], eax
mov dword [ebp + 0x30], eax
mov dword [ebp + 0x34], eax
mov dword [ebp + 0x38], eax
mov dword [ebp + 0x3c], eax
mov dword [ebp + 0x40], eax
mov dword [ebp + 0x44], eax
mov dword [ebp + 0x48], eax
mov dword [ebp + 0x4c], eax
mov dword [ebp + 0x50], eax
mov dword [ebp + 0x54], eax
mov dword [ebp + 0x58], eax
mov dword [ebp + 0x5c], eax
call fcn.005a8e35
mov esi, eax
call fcn.005a918d
cmp byte [0x7e1489], 0
mov ebx, eax
mov dword [ebp - 0x10], ebx
je 0x5b7fe3
call fcn.005a8e44
test al, al
jne 0x5b7fe3
call fcn.005dd31e
cmp eax, 1
je 0x5b7fe3
mov byte [0x7ac782], 1
xor ecx, ecx
jmp 0x5b7feb
xor ecx, ecx
mov byte [0x7ac782], cl
push 7
pop edx
xor eax, eax
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], ecx
mov word [ebp - 0x2c], ax
mov dword [ebp - 4], ecx
test ebx, ebx
je 0x5b8080
mov esi, dword [ebp + 0x7c]
xor edx, edx
mov dword [ebp + 0x58], eax
mov dword [ebp + 0x48], eax
mov dword [ebp + 0x5c], eax
mov dword [ebp + 0x4c], eax
movsx eax, si
imul eax, ebx
push 0x64
mov dword [ebp + 0x40], ecx
mov dword [ebp + 0x44], ecx
pop ecx
div ecx
push ebx
push 0x62e
mov dword [ebp + 0x18], 0x85000000
mov dword [ebp + 8], 0x85000000
mov dword [ebp + 0x1c], 0x3f00
mov dword [ebp + 0xc], 0x3f00
mov dword [ebp + 0x50], eax
mov dword [ebp + 0x54], 0x20
call fcn.0058c7b7
push eax
lea eax, [ebp - 0x44]
push str._s__d__
push eax
call fcn.004654e1
add esp, 0x10
lea ecx, [ebp - 0x2c]
push eax
call fcn.00427c6d
push 0
push 1
lea ecx, [ebp - 0x44]
call fcn.004281f2
jmp 0x5b819d
test esi, esi
jne 0x5b80e4
call fcn.005a9598
test al, al
je 0x5b811e
xor eax, eax
mov dword [ebp + 0x18], 0x9900ff00
mov dword [ebp + 8], 0x9900ff00
mov dword [ebp + 0x1c], eax
mov dword [ebp + 0xc], eax
call fcn.005a90d2
cmp eax, 1
jne 0x5b80d3
push 0x62c
call fcn.0058c7b7
mov esi, eax
push esi
call fcn.00428460
pop ecx
push eax
push esi
lea ecx, [ebp - 0x2c]
call fcn.00438cfb
jmp 0x5b819a
push eax
push 0x62b
call fcn.0058c7b7
push eax
jmp 0x5b8179
cmp esi, edx
je 0x5b814d
cmp esi, 4
je 0x5b814d
cmp esi, 5
je 0x5b814d
cmp esi, 6
je 0x5b814d
cmp esi, 1
je 0x5b814d
cmp esi, 3
jne 0x5b811e
xor eax, eax
mov dword [ebp + 0x18], 0xff00
mov dword [ebp + 8], 0xff00
mov dword [ebp + 0x1c], eax
mov dword [ebp + 0xc], eax
push 0x62a
jmp 0x5b816e
call fcn.005a8e44
test al, al
je 0x5b819a
push 0x6a5
mov dword [0x7a23ac], 0xb4
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x5b8364
mov dword [ebp + 0x18], 0x85000000
mov dword [ebp + 8], 0x85000000
mov dword [ebp + 0x1c], 0x3f00
mov dword [ebp + 0xc], 0x3f00
push 0x62d
call fcn.0058c7b7
push eax
push 0x6c101c
lea eax, [ebp - 0x44]
push eax
call fcn.004654e1
add esp, 0xc
lea ecx, [ebp - 0x2c]
push eax
call fcn.00427c6d
push 0
push 1
lea ecx, [ebp - 0x44]
call fcn.004281f2
mov esi, dword [ebp + 0x7c]
mov eax, dword [ebp + 0x50]
xor ecx, ecx
mov dword [ebp], eax
push 0x20
pop eax
movsx ebx, si
mov dword [ebp + 0x14], eax
mov dword [ebp + 0x24], eax
mov eax, dword [edi + 0x1c0]
mov dword [ebp + 4], ecx
mov dword [ebp + 0x10], ebx
mov dword [ebp + 0x20], ecx
mov dword [ebp + 0x30], ebx
test eax, eax
je 0x5b81e1
cmp eax, 5
je 0x5b81d8
cmp eax, 9
je 0x5b81e1
cmp eax, 0x17c
jne 0x5b81e8
mov dword [ebp + 0x34], 0x11a
jmp 0x5b81e8
mov dword [ebp + 0x34], 0xaa
push 0x6a5
push dword [edi + 4]
mov dword [ebp + 0x28], 0xfb00f600
mov dword [ebp + 0x2c], 0xf800
mov dword [ebp + 0x38], 0xf300e500
mov dword [ebp + 0x3c], 0xeb00
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x48], 1
mov dword [ebp - 0x54], 2
mov dword [ebp - 0x50], 3
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push 1
mov esi, eax
lea eax, [ebp - 0x4c]
push 1
push eax
push 6
lea eax, [ebp]
push eax
push esi
call dword [sym.imp.MSIMG32.dll_GradientFill]
cmp dword [ebp - 0x10], 0
je 0x5b8271
push 1
push 1
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 4
push eax
push 6
lea eax, [ebp]
mov dword [ebp - 0x10], 5
push eax
push esi
call dword [sym.imp.MSIMG32.dll_GradientFill]
push 1
push esi
call dword [sym.imp.GDI32.dll_SetBkMode]
push 0xffffff
push esi
call dword [sym.imp.GDI32.dll_SetTextColor]
push dword [edi + 0x1f8]
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
cmp dword [ebp - 0x18], 8
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x10], eax
jae 0x5b82a2
lea ecx, [ebp - 0x2c]
lea eax, [ebp - 0x34]
push eax
push dword [ebp - 0x1c]
push ecx
push esi
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
mov ecx, dword [ebp - 0x2c]
mov eax, ebx
sub eax, dword [ebp - 0x34]
cdq
sub eax, edx
sar eax, 1
mov dword [ebp + 0x7c], eax
push 0x20
pop eax
sub eax, dword [ebp - 0x30]
cdq
sub eax, edx
sar eax, 1
cmp dword [ebp - 0x18], 8
jae 0x5b82d5
lea ecx, [ebp - 0x2c]
push dword [ebp - 0x1c]
push ecx
push eax
push dword [ebp + 0x7c]
push esi
call dword [sym.imp.GDI32.dll_TextOutW]
push dword [ebp - 0x10]
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
cmp dword [ebp + 0x70], 1
je 0x5b834e
push 1
push 1
lea eax, [ebp - 0x54]
push eax
push 6
lea eax, [ebp]
push eax
push esi
call dword [sym.imp.MSIMG32.dll_GradientFill]
lea eax, [ebp - 0x3c]
push eax
push dword [ebp + 0x68]
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x38]
sub eax, ecx
cdq
add ecx, 0xfffffff8
push 3
sub eax, edx
push 0
sar eax, 1
push 0
add ecx, eax
mov eax, ebx
push 0x28
push 0x96
push dword [edi + 0x1fc]
cdq
sub eax, edx
sar eax, 1
push ecx
sub eax, 0x4b
push eax
push esi
call dword [sym.imp.USER32.dll_DrawIconEx]
push 0x6a5
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push esi
push eax
call dword [sym.imp.USER32.dll_ReleaseDC]
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.004281f2
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
lea esp, [ebp + 0x60]
pop ebp
ret 0x18