Function at 0x5a55f9
Capabilities:
Hide graphical window

Disassembly:
push 0x30
mov eax, 0x60d732
call fcn.004db48b
mov ebx, ecx
mov dword [ebp - 0x1c], ebx
cmp dword [0x673c90], 0
mov edi, dword [ebp + 8]
jne 0x5a567b
test edi, edi
je 0x5a567b
mov eax, dword [0x668294]
push 0x81cd
push ecx
lea ecx, [ebp + 8]
mov dword [ebp + 8], eax
call fcn.0041129f
mov esi, dword [ebp + 8]
push 0x24
push dword [0x674764]
push esi
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 6
lea ecx, [esi - 0xc]
setne al
mov byte [ebp + 0xb], al
cmp ecx, 0x668010
je 0x5a5661
call fcn.00407965
mov al, byte [ebp + 0xb]
test al, al
je 0x5a5671
and dword [0x673bdc], 0
jmp 0x5a5952
mov dword [0x673c90], 1
cmp dword [0x673c94], 0
jne 0x5a5691
test edi, edi
je 0x5a5691
mov dword [ebp + 8], 1
jmp 0x5a5695
and dword [ebp + 8], 0
push 0xb
push 0
lea ecx, [ebx + 0x5a8]
push 0xffffffffffffffff
call fcn.00429dec
xor esi, esi
cmp dword [0x673514], esi
jle 0x5a56ca
push esi
mov ecx, 0x673510
call fcn.0042b716
mov eax, dword [eax]
or dword [eax + 0x20], 0xffffffff
inc esi
cmp esi, dword [0x673514]
jl 0x5a56b0
mov dword [0x673bdc], edi
mov eax, dword [ebx + 0x328]
mov dword [ebp - 0x24], eax
and dword [ebp - 4], 0
neg edi
sbb edi, edi
and edi, 8
push edi
push 0x7f4c
push eax
call dword [sym.imp.USER32.dll_CheckMenuItem]
mov eax, dword [0x673bdc]
lea edi, [ebx + 0x548]
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
neg eax
sbb eax, eax
and eax, 4
push eax
push dword [edi]
call esi
push 4
xor ecx, ecx
cmp dword [0x673bdc], ecx
pop eax
cmovne eax, ecx
push eax
push dword [ebx + 0x56c]
call esi
cmp dword [0x673bdc], 0
je 0x5a5732
mov edx, dword [edi]
jmp 0x5a5738
mov edx, dword [ebx + 0x56c]
mov eax, dword [ebx + 0x5a8]
lea ecx, [ebx + 0x4dc]
mov dword [ecx], edx
mov dword [ecx + 4], eax
call fcn.0047cf0e
cmp dword [0x673bdc], 0
je 0x5a5923
lea eax, [ebp - 0x2c]
mov ecx, edi
push eax
call fcn.0047bd6d
cmp dword [ebp - 0x2c], 0
jne 0x5a590c
mov eax, dword [0x668294]
mov dword [ebp - 0x10], eax
push 0x81cc
push ecx
lea ecx, [ebp - 0x10]
call fcn.0041129f
lea ecx, [ebp - 0x3c]
call fcn.0041d3e0
push 0x7c
mov edx, ecx
mov byte [ebp - 4], 2
push 7
lea ecx, [ebp - 0x10]
call fcn.005c9168
pop ecx
pop ecx
push 0
lea ecx, [ebp - 0x3c]
call fcn.0041d3f0
push 0xffff0002
push 1
push 0
push dword [eax]
lea eax, [ebp - 0x2c]
mov ecx, ebx
push 0xffff0000
push eax
call fcn.0047a799
mov esi, dword [eax]
mov edi, dword [eax + 4]
push esi
push 2
push 0x1102
push dword [edi]
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x20], edi
call dword [sym.imp.USER32.dll_SendMessageW]
cmp dword [ebp + 8], 0
je 0x5a58cb
push ecx
push 0xf
pop edx
push edx
xor ecx, ecx
call fcn.005ca2ab
mov eax, dword [0x673514]
xor esi, esi
mov dword [ebp + 8], esi
pop ecx
pop ecx
test eax, eax
jle 0x5a588c
mov ebx, eax
push esi
mov ecx, 0x673510
call fcn.0042b6f7
mov edi, dword [eax]
mov dword [ebp - 0x28], edi
test edi, edi
je 0x5a5826
lock inc dword [edi + 0x34]
mov byte [ebp - 4], 3
test edi, edi
je 0x5a5866
cmp dword [edi + 0x2c], 0
jne 0x5a5866
lea eax, [edi + 0x14]
push eax
lea ecx, [ebp - 0x18]
call fcn.0040d36e
mov byte [ebp - 4], 4
mov ecx, edi
mov esi, dword [ebp - 0x18]
push esi
call fcn.00596eb0
lea ecx, [esi - 0xc]
mov byte [ebp - 4], 3
cmp ecx, 0x668010
je 0x5a5863
call fcn.00407965
mov esi, dword [ebp + 8]
push 1
mov ecx, edi
call fcn.00596150
mov byte [ebp - 4], 2
test edi, edi
je 0x5a587e
mov ecx, edi
call fcn.00422d15
inc esi
mov dword [ebp + 8], esi
cmp esi, ebx
jl 0x5a580e
mov ebx, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x20]
lea eax, [ebp + 8]
mov ecx, 0x668e30
push eax
call fcn.005c04e8
mov byte [ebp - 4], 5
mov esi, dword [ebp + 8]
test esi, esi
je 0x5a58af
push 0
push esi
mov ecx, ebx
call fcn.005a0c1d
mov dword [0x673c94], 1
mov byte [ebp - 4], 2
test esi, esi
je 0x5a58c8
mov ecx, esi
call fcn.00422d15
mov esi, dword [ebp - 0x14]
mov eax, dword [0x673c98]
cmp dword [eax - 8], 0
je 0x5a58df
mov ecx, ebx
call fcn.005a09b7
jmp 0x5a58ef
push esi
push 9
push 0x110b
push dword [edi]
call dword [sym.imp.USER32.dll_SendMessageW]
lea ecx, [ebp - 0x3c]
call fcn.0041d40f
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff4
cmp ecx, 0x668010
je 0x5a5952
call fcn.00407965
jmp 0x5a5952
push 0
push 0x7fee
push 0x111
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x5a5952
mov eax, dword [0x673738]
test eax, eax
js 0x5a5934
cmp eax, dword [0x673514]
jl 0x5a5936
xor eax, eax
push eax
mov ecx, ebx
call fcn.005a0fb4
test eax, eax
je 0x5a5952
mov ecx, ebx
call fcn.005a0f75
mov ecx, dword [ebx + 0x188]
mov dword [ecx + 0x1c], eax
call fcn.004db459
ret 4