Function at 0x5c5932
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov eax, 0x6c1e52
call fcn.00651da4
sub esp, 0xa8
push ebx
push esi
push edi
call fcn.005c7827
mov ebx, dword [ebp + 0x20]
movzx eax, word [ebx + 0x1c8]
mov dword [ebp + 0x20], eax
xor eax, eax
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
call fcn.005b60f9
mov esi, eax
call fcn.005b6451
mov edi, eax
mov dword [ebp], edi
call fcn.005c18c0
push 7
mov byte [0x7c1d6a], al
xor ecx, ecx
pop edx
xor eax, eax
mov dword [ebp - 0x70], edx
mov dword [ebp - 0x74], ecx
mov word [ebp - 0x84], ax
mov dword [ebp - 4], ecx
test edi, edi
je 0x5c5a52
mov dword [ebp - 0x14], eax
xor edx, edx
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0x20]
cwde
imul eax, edi
push 0x64
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x28], ecx
pop ecx
div ecx
push edi
push 0x639
mov dword [ebp - 0x54], 0x85000000
mov dword [ebp - 0x64], 0x85000000
mov dword [ebp - 0x50], 0x3f00
mov dword [ebp - 0x60], 0x3f00
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], 0x20
call fcn.00595698
push eax
lea eax, [ebp - 0xa4]
push str._s__d__
push eax
call fcn.00462014
add esp, 0x10
lea ecx, [ebp - 0x84]
push eax
call fcn.004281d1
xor edi, edi
inc edi
jmp 0x5c5b6d
xor edi, edi
inc edi
test esi, esi
jne 0x5c5abb
call fcn.005b685c
test al, al
je 0x5c5af7
xor eax, eax
mov dword [ebp - 0x54], 0x9900ff00
mov dword [ebp - 0x64], 0x9900ff00
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x60], eax
call fcn.005b6396
cmp eax, edi
jne 0x5c5aaa
push 0x637
call fcn.00595698
mov esi, eax
push esi
call fcn.004287c6
pop ecx
push eax
push esi
lea ecx, [ebp - 0x84]
call fcn.004286de
jmp 0x5c5b7b
push eax
push 0x636
call fcn.00595698
push eax
jmp 0x5c5b52
xor edi, edi
inc edi
cmp esi, edx
je 0x5c5b26
cmp esi, 4
je 0x5c5b26
cmp esi, 5
je 0x5c5b26
cmp esi, 6
je 0x5c5b26
cmp esi, edi
je 0x5c5b26
cmp esi, 3
jne 0x5c5af7
xor eax, eax
mov dword [ebp - 0x54], 0xff00
mov dword [ebp - 0x64], 0xff00
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x60], eax
push 0x635
jmp 0x5c5b47
call fcn.005b6108
test al, al
je 0x5c5b7b
push 0x6a5
mov dword [0x7b84a4], 0xb4
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x5c5d7e
mov dword [ebp - 0x54], 0x85000000
mov dword [ebp - 0x64], 0x85000000
mov dword [ebp - 0x50], 0x3f00
mov dword [ebp - 0x60], 0x3f00
push 0x638
call fcn.00595698
push eax
push 0x6d201c
lea eax, [ebp - 0xa4]
push eax
call fcn.00462014
add esp, 0xc
lea ecx, [ebp - 0x84]
push eax
call fcn.004281d1
push 0
push edi
lea ecx, [ebp - 0xa4]
call fcn.004284eb
mov eax, dword [ebp - 0x1c]
xor edx, edx
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp + 0x20]
cwde
push 0x20
mov dword [ebp - 0x5c], eax
pop ecx
mov dword [ebp - 0x3c], eax
mov eax, dword [ebx + 0x1cc]
mov dword [ebp - 0x68], edx
mov dword [ebp - 0x58], ecx
mov dword [ebp - 0x4c], edx
mov dword [ebp - 0x48], ecx
test eax, eax
je 0x5c5bc0
cmp eax, 5
je 0x5c5bb7
cmp eax, 9
je 0x5c5bc0
cmp eax, 0x17c
jne 0x5c5bc7
mov dword [ebp - 0x38], 0x11a
jmp 0x5c5bc7
mov dword [ebp - 0x38], 0xaa
push 0x6a5
push dword [ebx + 4]
mov dword [ebp - 0x44], 0xfb00f600
mov dword [ebp - 0x40], 0xf800
mov dword [ebp - 0x34], 0xf300e500
mov dword [ebp - 0x30], 0xeb00
mov dword [ebp - 0xac], edx
mov dword [ebp - 0xa8], edi
mov dword [ebp - 0xb4], 2
mov dword [ebp - 0xb0], 3
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push edi
mov esi, eax
lea eax, [ebp - 0xac]
push edi
push eax
push 6
lea eax, [ebp - 0x6c]
push eax
push esi
call dword [sym.imp.MSIMG32.dll_GradientFill]
cmp dword [ebp], 0
je 0x5c5c60
push edi
push edi
lea eax, [ebp - 0x8c]
mov dword [ebp - 0x8c], 4
push eax
push 6
lea eax, [ebp - 0x6c]
mov dword [ebp - 0x88], 5
push eax
push esi
call dword [sym.imp.MSIMG32.dll_GradientFill]
push edi
push esi
call dword [sym.imp.GDI32.dll_SetBkMode]
push 0xffffff
push esi
call dword [sym.imp.GDI32.dll_SetTextColor]
push dword [ebx + 0x208]
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
cmp dword [ebp - 0x70], 8
mov ecx, dword [ebp - 0x84]
mov dword [ebp - 0x88], eax
jae 0x5c5c99
lea ecx, [ebp - 0x84]
lea eax, [ebp - 0x94]
push eax
push dword [ebp - 0x74]
push ecx
push esi
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
mov edx, dword [ebp + 0x20]
mov ecx, dword [ebp - 0x84]
movsx eax, dx
sub eax, dword [ebp - 0x94]
cdq
sub eax, edx
sar eax, 1
mov dword [ebp], eax
push 0x20
pop eax
sub eax, dword [ebp - 0x90]
cdq
sub eax, edx
sar eax, 1
cmp dword [ebp - 0x70], 8
jae 0x5c5cdf
lea ecx, [ebp - 0x84]
push dword [ebp - 0x74]
push ecx
push eax
push dword [ebp]
push esi
call dword [sym.imp.GDI32.dll_TextOutW]
push dword [ebp - 0x88]
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
cmp dword [ebp + 0x14], edi
je 0x5c5d68
push edi
push edi
lea eax, [ebp - 0xb4]
push eax
push 6
lea eax, [ebp - 0x6c]
push eax
push esi
call dword [sym.imp.MSIMG32.dll_GradientFill]
lea eax, [ebp - 0x9c]
push eax
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [ebp - 0x90]
mov ecx, dword [ebp - 0x98]
sub eax, ecx
push 3
push 0
push 0
cdq
add ecx, 0xfffffff8
push 0x28
sub eax, edx
sar eax, 1
push 0x96
push dword [ebx + 0x20c]
add ecx, eax
push ecx
mov ecx, dword [ebp + 0x20]
movsx eax, cx
cdq
sub eax, edx
sar eax, 1
sub eax, 0x4b
push eax
push esi
call dword [sym.imp.USER32.dll_DrawIconEx]
push 0x6a5
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push esi
push eax
call dword [sym.imp.USER32.dll_ReleaseDC]
push 0
push edi
lea ecx, [ebp - 0x84]
call fcn.004284eb
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
lea esp, [ebp + 4]
pop ebp
ret 0x18