Function at 0x5a3f31
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov eax, 0x681ae6
call fcn.0062921c
sub esp, 0xa8
push ebx
push esi
push edi
call fcn.005a5d6e
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.00596b44
mov esi, eax
call fcn.00596e9c
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 0x5a4045
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.0057b788
push eax
lea eax, [ebp - 0xa4]
push str._s__d__
push eax
call fcn.004607f4
add esp, 0x10
lea ecx, [ebp - 0x84]
push eax
call fcn.004232e6
xor edi, edi
inc edi
jmp 0x5a4161
xor edi, edi
inc edi
test esi, esi
jne 0x5a40ae
call fcn.005972a7
test al, al
je 0x5a40eb
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.00596de1
cmp eax, edi
jne 0x5a409d
push 0x61e
call fcn.0057b788
mov esi, eax
push esi
call fcn.00423ad9
pop ecx
push eax
push esi
lea ecx, [ebp - 0x84]
call fcn.004340c0
jmp 0x5a416f
push eax
push 0x61d
call fcn.0057b788
push eax
jmp 0x5a4146
xor edi, edi
inc edi
cmp esi, 7
je 0x5a411a
cmp esi, 4
je 0x5a411a
cmp esi, 5
je 0x5a411a
cmp esi, 6
je 0x5a411a
cmp esi, edi
je 0x5a411a
cmp esi, 3
jne 0x5a40eb
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 0x5a413b
call fcn.00596b53
test al, al
je 0x5a416f
push 0x6a5
mov dword [0x764550], 0xb4
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x5a4372
mov dword [ebp - 0x54], 0x85000000
mov dword [ebp - 0x64], 0x85000000
mov dword [ebp - 0x50], 0x3f00
mov dword [ebp - 0x60], 0x3f00
push 0x61f
call fcn.0057b788
push eax
push 0x68ea78
lea eax, [ebp - 0xa4]
push eax
call fcn.004607f4
add esp, 0xc
lea ecx, [ebp - 0x84]
push eax
call fcn.004232e6
push 0
push edi
lea ecx, [ebp - 0xa4]
call fcn.0042386b
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 0x5a41b4
cmp eax, 5
je 0x5a41ab
cmp eax, 9
je 0x5a41b4
cmp eax, 0x17c
jne 0x5a41bb
mov dword [ebp - 0x38], 0x11a
jmp 0x5a41bb
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 0x5a4254
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 0x5a428d
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 0x5a42d3
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 0x5a435c
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.0042386b
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
lea esp, [ebp + 4]
pop ebp
ret 0x18