Function at 0x5b0f29
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov eax, 0x6a823e
call fcn.006375a8
sub esp, 0xa8
push ebx
push esi
push edi
call fcn.005b2d62
mov ebx, dword [ebp + 0x20]
xor eax, eax
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x64], eax
movzx edi, word [ebx + 0x1b8]
mov dword [ebp + 0x20], edi
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.005a42b0
mov esi, eax
call fcn.005a4608
mov ecx, eax
mov dword [ebp - 0x70], 7
xor edx, edx
mov dword [ebp], ecx
xor eax, eax
mov dword [ebp - 0x74], edx
mov word [ebp - 0x84], ax
mov dword [ebp - 4], edx
test ecx, ecx
je 0x5b103d
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x20], eax
movsx eax, di
imul eax, ecx
push 0x64
pop esi
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x28], edx
div esi
push ecx
push 0x620
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.00588778
push eax
lea eax, [ebp - 0xa4]
push str._s__d__
push eax
call fcn.004638e7
add esp, 0x10
lea ecx, [ebp - 0x84]
push eax
call fcn.0042623d
xor edi, edi
inc edi
jmp 0x5b1159
xor edi, edi
inc edi
test esi, esi
jne 0x5b10a6
call fcn.005a4a13
test al, al
je 0x5b10e3
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.005a454d
cmp eax, edi
jne 0x5b1095
push 0x61e
call fcn.00588778
mov esi, eax
push esi
call fcn.00426a30
pop ecx
push eax
push esi
lea ecx, [ebp - 0x84]
call fcn.004372ba
jmp 0x5b1167
push eax
push 0x61d
call fcn.00588778
push eax
jmp 0x5b113e
xor edi, edi
inc edi
cmp esi, 7
je 0x5b1112
cmp esi, 4
je 0x5b1112
cmp esi, 5
je 0x5b1112
cmp esi, 6
je 0x5b1112
cmp esi, edi
je 0x5b1112
cmp esi, 3
jne 0x5b10e3
xor eax, eax
mov dword [ebp - 0x54], 0xff00
mov dword [ebp - 0x64], 0xff00
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x60], eax
push 0x61c
jmp 0x5b1133
call fcn.005a42bf
test al, al
je 0x5b1167
push 0x6a5
mov dword [0x795500], 0xb4
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x5b136a
mov dword [ebp - 0x54], 0x85000000
mov dword [ebp - 0x64], 0x85000000
mov dword [ebp - 0x50], 0x3f00
mov dword [ebp - 0x60], 0x3f00
push 0x61f
call fcn.00588778
push eax
push 0x6b6d5c
lea eax, [ebp - 0xa4]
push eax
call fcn.004638e7
add esp, 0xc
lea ecx, [ebp - 0x84]
push eax
call fcn.0042623d
push 0
push edi
lea ecx, [ebp - 0xa4]
call fcn.004267c2
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 + 0x1bc]
mov dword [ebp - 0x68], edx
mov dword [ebp - 0x58], ecx
mov dword [ebp - 0x4c], edx
mov dword [ebp - 0x48], ecx
test eax, eax
je 0x5b11ac
cmp eax, 5
je 0x5b11a3
cmp eax, 9
je 0x5b11ac
cmp eax, 0x17c
jne 0x5b11b3
mov dword [ebp - 0x38], 0x11a
jmp 0x5b11b3
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 0x5b124c
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 + 0x1f4]
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 0x5b1285
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 0x5b12cb
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 0x5b1354
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 + 0x1f8]
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.004267c2
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
lea esp, [ebp + 4]
pop ebp
ret 0x18