Function at 0x5cf36a
Capabilities:
Hide graphical window

Disassembly:
push ebp
sub esp, 0x1c
mov eax, 0x6bfa21
call fcn.00664608
sub esp, 0x98
push ebx
push esi
push edi
call fcn.005d1467
mov ebx, dword [ebp + 0x3c]
lea edi, [ebp - 0x58]
xor ecx, ecx
mov dword [ebp - 0x6c], ecx
mov dword [ebp - 0x68], ecx
movzx eax, word [ebx + 0x1cc]
mov dword [ebp + 0x3c], eax
xor eax, eax
mov dword [ebp - 0x64], ecx
mov dword [ebp - 0x60], ecx
mov dword [ebp - 0x5c], ecx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
mov dword [ebp - 0x4c], ecx
lea edi, [ebp - 0x48]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
mov dword [ebp - 0x3c], ecx
lea edi, [ebp - 0x38]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
mov dword [ebp - 0x2c], ecx
lea edi, [ebp - 0x28]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
mov dword [ebp - 0x1c], ecx
lea edi, [ebp - 0x18]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.005bda8d
mov esi, eax
call fcn.005bdef4
mov edi, eax
mov dword [ebp - 0x70], edi
call fcn.005ca537
xor ecx, ecx
mov byte [0x7b612a], al
push 7
pop edx
xor eax, eax
mov dword [ebp], ecx
mov dword [ebp + 0x10], ecx
mov dword [ebp + 0x14], edx
mov word [ebp], ax
mov dword [ebp - 4], ecx
test edi, edi
je 0x5cf49e
mov esi, dword [ebp + 0x3c]
xor edx, edx
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x20], eax
movsx eax, si
imul eax, edi
push 0x64
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x28], ecx
pop ecx
div ecx
push edi
push 0x637
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.00599084
push eax
lea eax, [ebp - 0xa4]
push str._s__d__
push eax
call fcn.004577f2
lea ecx, [ebp]
add esp, 0x10
cmp ecx, eax
je 0x5cf48e
mov byte [ebp + 0x3c], 0
push dword [ebp + 0x3c]
push eax
call fcn.00427ad3
lea ecx, [ebp - 0xa4]
call fcn.00427afc
jmp 0x5cf5c2
test esi, esi
jne 0x5cf4f8
call fcn.005be483
test al, al
je 0x5cf532
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.005bddf6
cmp eax, 1
jne 0x5cf4e7
push 0x635
call fcn.00599084
push eax
lea ecx, [ebp]
call fcn.00427ba3
jmp 0x5cf5bf
push eax
push 0x634
call fcn.00599084
push eax
jmp 0x5cf591
cmp esi, edx
je 0x5cf565
cmp esi, 4
je 0x5cf565
cmp esi, 5
je 0x5cf565
cmp esi, 6
je 0x5cf565
cmp esi, 1
je 0x5cf565
cmp esi, 3
jne 0x5cf532
xor eax, eax
mov dword [ebp - 0x54], 0xff00
mov dword [ebp - 0x64], 0xff00
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x60], eax
push 0x633
jmp 0x5cf586
call fcn.005bda9c
test al, al
je 0x5cf5bf
push 0x6a5
mov dword [0x7abf24], 0xb4
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x5cf795
mov dword [ebp - 0x54], 0x85000000
mov dword [ebp - 0x64], 0x85000000
mov dword [ebp - 0x50], 0x3f00
mov dword [ebp - 0x60], 0x3f00
push 0x636
call fcn.00599084
push eax
push 0x6ce074
lea eax, [ebp - 0xa4]
push eax
call fcn.004577f2
lea ecx, [ebp]
add esp, 0xc
cmp ecx, eax
je 0x5cf5b4
mov byte [ebp + 0x1c], 0
push dword [ebp + 0x1c]
push eax
call fcn.00427ad3
lea ecx, [ebp - 0xa4]
call fcn.00427afc
mov esi, dword [ebp + 0x3c]
mov eax, dword [ebp - 0x1c]
xor ecx, ecx
mov dword [ebp - 0x6c], eax
push 0x20
pop eax
movsx edi, si
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x48], eax
mov eax, dword [ebx + 0x1d0]
mov dword [ebp - 0x68], ecx
mov dword [ebp - 0x5c], edi
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x3c], edi
test eax, eax
je 0x5cf606
cmp eax, 5
je 0x5cf5fd
cmp eax, 9
je 0x5cf606
cmp eax, 0x17c
jne 0x5cf60d
mov dword [ebp - 0x38], 0x11a
jmp 0x5cf60d
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 - 0x84], ecx
mov dword [ebp - 0x80], 1
mov dword [ebp - 0x8c], 2
mov dword [ebp - 0x88], 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 - 0x84]
push 1
push eax
push 6
lea eax, [ebp - 0x6c]
push eax
push esi
call dword [sym.imp.MSIMG32.dll_GradientFill]
cmp dword [ebp - 0x70], 0
je 0x5cf6a2
push 1
push 1
lea eax, [ebp - 0x74]
mov dword [ebp - 0x74], 4
push eax
push 6
lea eax, [ebp - 0x6c]
mov dword [ebp - 0x70], 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 [ebx + 0x20c]
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
cmp dword [ebp + 0x14], 8
lea ecx, [ebp]
mov dword [ebp + 0x3c], eax
jb 0x5cf6d3
mov ecx, dword [ebp]
lea eax, [ebp + 0x18]
push eax
push dword [ebp + 0x10]
push ecx
push esi
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
mov eax, edi
sub eax, dword [ebp + 0x18]
cdq
sub eax, edx
mov ecx, eax
push 0x20
pop eax
sub eax, dword [ebp + 0x1c]
cdq
sub eax, edx
sar ecx, 1
sar eax, 1
lea edx, [ebp]
cmp dword [ebp + 0x14], 8
jb 0x5cf705
mov edx, dword [ebp]
push dword [ebp + 0x10]
push edx
push eax
push ecx
push esi
call dword [sym.imp.GDI32.dll_TextOutW]
push dword [ebp + 0x3c]
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
cmp dword [ebp + 0x30], 1
je 0x5cf77f
push 1
push 1
lea eax, [ebp - 0x8c]
push eax
push 6
lea eax, [ebp - 0x6c]
push eax
push esi
call dword [sym.imp.MSIMG32.dll_GradientFill]
lea eax, [ebp - 0x7c]
push eax
push dword [ebp + 0x28]
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [ebp - 0x70]
mov ecx, dword [ebp - 0x78]
sub eax, ecx
cdq
add ecx, 0xfffffff8
push 3
sub eax, edx
push 0
sar eax, 1
push 0
add ecx, eax
mov eax, edi
push 0x28
push 0x96
push dword [ebx + 0x210]
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 [ebx + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push esi
push eax
call dword [sym.imp.USER32.dll_ReleaseDC]
mov eax, dword [ebp + 0x14]
pop edi
pop esi
pop ebx
cmp eax, 8
jb 0x5cf7d3
mov ecx, dword [ebp]
lea eax, [eax*2 + 2]
mov dword [ebp + 0x3c], eax
mov dword [ebp + 0x30], ecx
cmp eax, 0x1000
jb 0x5cf7ca
lea eax, [ebp + 0x3c]
push eax
lea eax, [ebp + 0x30]
push eax
call fcn.004279ae
mov eax, dword [ebp + 0x3c]
mov ecx, dword [ebp + 0x30]
push eax
push ecx
call fcn.006643a9
pop ecx
pop ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
add ebp, 0x20
leave
ret 0x18