Function at 0x5b9d88
Capabilities:
Hide graphical window

Disassembly:
push ebp
sub esp, 0x5c
mov eax, 0x6b5edc
call fcn.006426c4
sub esp, 0x48
push ebx
push esi
push edi
call fcn.005bbc58
mov edi, dword [ebp + 0x7c]
movzx eax, word [edi + 0x1c4]
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.005aa69b
mov esi, eax
call fcn.005aa9f3
cmp byte [0x7e58a9], 0
mov ebx, eax
mov dword [ebp - 0x10], ebx
je 0x5b9e30
call fcn.005aa6aa
test al, al
jne 0x5b9e30
call fcn.005df398
cmp eax, 1
je 0x5b9e30
mov byte [0x7b09a2], 1
xor ecx, ecx
jmp 0x5b9e38
xor ecx, ecx
mov byte [0x7b09a2], 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 0x5b9ecd
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 0x631
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.0058dfbe
push eax
lea eax, [ebp - 0x44]
push str._s__d__
push eax
call fcn.00465d7f
add esp, 0x10
lea ecx, [ebp - 0x2c]
push eax
call fcn.00428071
push 0
push 1
lea ecx, [ebp - 0x44]
call fcn.004285f6
jmp 0x5b9fea
test esi, esi
jne 0x5b9f31
call fcn.005aadfe
test al, al
je 0x5b9f6b
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.005aa938
cmp eax, 1
jne 0x5b9f20
push 0x62f
call fcn.0058dfbe
mov esi, eax
push esi
call fcn.00428864
pop ecx
push eax
push esi
lea ecx, [ebp - 0x2c]
call fcn.00439135
jmp 0x5b9fe7
push eax
push 0x62e
call fcn.0058dfbe
push eax
jmp 0x5b9fc6
cmp esi, edx
je 0x5b9f9a
cmp esi, 4
je 0x5b9f9a
cmp esi, 5
je 0x5b9f9a
cmp esi, 6
je 0x5b9f9a
cmp esi, 1
je 0x5b9f9a
cmp esi, 3
jne 0x5b9f6b
xor eax, eax
mov dword [ebp + 0x18], 0xff00
mov dword [ebp + 8], 0xff00
mov dword [ebp + 0x1c], eax
mov dword [ebp + 0xc], eax
push 0x62d
jmp 0x5b9fbb
call fcn.005aa6aa
test al, al
je 0x5b9fe7
push 0x6a5
mov dword [0x7a652c], 0xb4
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x5ba1b1
mov dword [ebp + 0x18], 0x85000000
mov dword [ebp + 8], 0x85000000
mov dword [ebp + 0x1c], 0x3f00
mov dword [ebp + 0xc], 0x3f00
push 0x630
call fcn.0058dfbe
push eax
push 0x6c408c
lea eax, [ebp - 0x44]
push eax
call fcn.00465d7f
add esp, 0xc
lea ecx, [ebp - 0x2c]
push eax
call fcn.00428071
push 0
push 1
lea ecx, [ebp - 0x44]
call fcn.004285f6
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 + 0x1c8]
mov dword [ebp + 4], ecx
mov dword [ebp + 0x10], ebx
mov dword [ebp + 0x20], ecx
mov dword [ebp + 0x30], ebx
test eax, eax
je 0x5ba02e
cmp eax, 5
je 0x5ba025
cmp eax, 9
je 0x5ba02e
cmp eax, 0x17c
jne 0x5ba035
mov dword [ebp + 0x34], 0x11a
jmp 0x5ba035
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 0x5ba0be
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 + 0x204]
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 0x5ba0ef
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 0x5ba122
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 0x5ba19b
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 + 0x208]
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.004285f6
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
lea esp, [ebp + 0x60]
pop ebp
ret 0x18