Function at 0x5d7616
Capabilities:
Hide graphical window

Disassembly:
push ebp
sub esp, 0x1c
mov eax, 0x6c8d02
call fcn.0066bd6c
sub esp, 0x98
push ebx
push esi
push edi
call fcn.005d96f6
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.005c6088
mov esi, eax
call fcn.005c64ef
mov edi, eax
mov dword [ebp - 0x70], edi
call fcn.005d285c
xor ecx, ecx
mov byte [0x7c0dfa], 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 0x5d774a
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 0x636
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.005a1454
push eax
lea eax, [ebp - 0xa4]
push str._s__d__
push eax
call fcn.004646d1
lea ecx, [ebp]
add esp, 0x10
cmp ecx, eax
je 0x5d773a
mov byte [ebp + 0x3c], 0
push dword [ebp + 0x3c]
push eax
call fcn.00427543
lea ecx, [ebp - 0xa4]
call fcn.0042756c
jmp 0x5d786e
test esi, esi
jne 0x5d77a4
call fcn.005c6a7e
test al, al
je 0x5d77de
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.005c63f1
cmp eax, 1
jne 0x5d7793
push 0x634
call fcn.005a1454
push eax
lea ecx, [ebp]
call fcn.00427613
jmp 0x5d786b
push eax
push 0x633
call fcn.005a1454
push eax
jmp 0x5d783d
cmp esi, edx
je 0x5d7811
cmp esi, 4
je 0x5d7811
cmp esi, 5
je 0x5d7811
cmp esi, 6
je 0x5d7811
cmp esi, 1
je 0x5d7811
cmp esi, 3
jne 0x5d77de
xor eax, eax
mov dword [ebp - 0x54], 0xff00
mov dword [ebp - 0x64], 0xff00
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x60], eax
push 0x632
jmp 0x5d7832
call fcn.005c6097
test al, al
je 0x5d786b
push 0x6a5
mov dword [0x7b6d84], 0xb4
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x5d7a41
mov dword [ebp - 0x54], 0x85000000
mov dword [ebp - 0x64], 0x85000000
mov dword [ebp - 0x50], 0x3f00
mov dword [ebp - 0x60], 0x3f00
push 0x635
call fcn.005a1454
push eax
push 0x6d7054
lea eax, [ebp - 0xa4]
push eax
call fcn.004646d1
lea ecx, [ebp]
add esp, 0xc
cmp ecx, eax
je 0x5d7860
mov byte [ebp + 0x1c], 0
push dword [ebp + 0x1c]
push eax
call fcn.00427543
lea ecx, [ebp - 0xa4]
call fcn.0042756c
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 0x5d78b2
cmp eax, 5
je 0x5d78a9
cmp eax, 9
je 0x5d78b2
cmp eax, 0x17c
jne 0x5d78b9
mov dword [ebp - 0x38], 0x11a
jmp 0x5d78b9
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 0x5d794e
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 0x5d797f
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 0x5d79b1
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 0x5d7a2b
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 0x5d7a7f
mov ecx, dword [ebp]
lea eax, [eax*2 + 2]
mov dword [ebp + 0x3c], eax
mov dword [ebp + 0x30], ecx
cmp eax, 0x1000
jb 0x5d7a76
lea eax, [ebp + 0x3c]
push eax
lea eax, [ebp + 0x30]
push eax
call fcn.0042741e
mov eax, dword [ebp + 0x3c]
mov ecx, dword [ebp + 0x30]
push eax
push ecx
call fcn.0066bb0a
pop ecx
pop ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
add ebp, 0x20
leave
ret 0x18