Function at 0x5f0948
Capabilities:
Hide graphical window

Disassembly:
push ebp
sub esp, 0x1c
mov eax, 0x6e7ed1
call fcn.006899cc
sub esp, 0x98
push ebx
push esi
push edi
call fcn.005f2d15
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.005dc922
mov esi, eax
call fcn.005dcd89
mov edi, eax
mov dword [ebp - 0x70], edi
call fcn.005eb74b
xor ecx, ecx
mov byte [0x7e5b32], 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 0x5f0a7c
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 0x63b
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.005ba91d
push eax
lea eax, [ebp - 0xa4]
push str._s__d__
push eax
call fcn.00475719
lea ecx, [ebp]
add esp, 0x10
cmp ecx, eax
je 0x5f0a6c
mov byte [ebp + 0x3c], 0
push dword [ebp + 0x3c]
push eax
call fcn.00448215
lea ecx, [ebp - 0xa4]
call fcn.0044823e
jmp 0x5f0ba0
test esi, esi
jne 0x5f0ad6
call fcn.005dd318
test al, al
je 0x5f0b10
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.005dcc8b
cmp eax, 1
jne 0x5f0ac5
push 0x639
call fcn.005ba91d
push eax
lea ecx, [ebp]
call fcn.004482e2
jmp 0x5f0b9d
push eax
push 0x638
call fcn.005ba91d
push eax
jmp 0x5f0b6f
cmp esi, edx
je 0x5f0b43
cmp esi, 4
je 0x5f0b43
cmp esi, 5
je 0x5f0b43
cmp esi, 6
je 0x5f0b43
cmp esi, 1
je 0x5f0b43
cmp esi, 3
jne 0x5f0b10
xor eax, eax
mov dword [ebp - 0x54], 0xff00
mov dword [ebp - 0x64], 0xff00
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x60], eax
push 0x637
jmp 0x5f0b64
call fcn.005dc931
test al, al
je 0x5f0b9d
push 0x6a5
mov dword [0x7db0c8], 0xb4
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x5f0d73
mov dword [ebp - 0x54], 0x85000000
mov dword [ebp - 0x64], 0x85000000
mov dword [ebp - 0x50], 0x3f00
mov dword [ebp - 0x60], 0x3f00
push 0x63a
call fcn.005ba91d
push eax
push 0x6f60f4
lea eax, [ebp - 0xa4]
push eax
call fcn.00475719
lea ecx, [ebp]
add esp, 0xc
cmp ecx, eax
je 0x5f0b92
mov byte [ebp + 0x1c], 0
push dword [ebp + 0x1c]
push eax
call fcn.00448215
lea ecx, [ebp - 0xa4]
call fcn.0044823e
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 0x5f0be4
cmp eax, 5
je 0x5f0bdb
cmp eax, 9
je 0x5f0be4
cmp eax, 0x17c
jne 0x5f0beb
mov dword [ebp - 0x38], 0x11a
jmp 0x5f0beb
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 0x5f0c80
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 + 0x214]
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
cmp dword [ebp + 0x14], 8
lea ecx, [ebp]
mov dword [ebp + 0x3c], eax
jb 0x5f0cb1
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 0x5f0ce3
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 0x5f0d5d
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 + 0x218]
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 0x5f0db1
mov ecx, dword [ebp]
lea eax, [eax*2 + 2]
mov dword [ebp + 0x3c], eax
mov dword [ebp + 0x30], ecx
cmp eax, 0x1000
jb 0x5f0da8
lea eax, [ebp + 0x3c]
push eax
lea eax, [ebp + 0x30]
push eax
call fcn.0044810a
mov eax, dword [ebp + 0x3c]
mov ecx, dword [ebp + 0x30]
push eax
push ecx
call fcn.0068976d
pop ecx
pop ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
add ebp, 0x20
leave
ret 0x18