Function at 0x5c0b20
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x665b8a
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x758898]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 0x14], esi
xor edi, edi
mov dword [ebp - 4], edi
cmp dword [esi + 0x954], 3
je 0x5c0e82
cmp dword [esi + 0xacc], edi
je 0x5c0b76
cmp dword [esi + 0xadc], edi
je 0x5c0e82
cmp dword [esi + 0x528], edi
je 0x5c0c4f
mov byte [ebp - 4], 1
mov eax, dword [esi + 0x528]
mov ecx, dword [eax + 0x20]
push ecx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x5c0bd3
mov ecx, dword [esi + 0x528]
call fcn.004a0950
test eax, eax
jne 0x5c0bb6
push 5
mov ecx, dword [esi + 0x528]
call fcn.005f52ac
mov ecx, dword [esi + 0x528]
call fcn.004a0d10
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [ebp - 4], edi
jmp 0x5c0c4f
mov ebx, 5
mov dword [ebp - 0x18], ebx
cmp dword [esi + 8], 0
je 0x5c0c62
xor ebx, ebx
mov dword [ebp - 0x18], ebx
mov ecx, esi
call fcn.005b7880
sub eax, 1
je 0x5c0c80
sub eax, 1
je 0x5c0bc1
sub eax, 1
jne 0x5c0c8e
xor ebx, ebx
jmp 0x5c0c8b
cmp dword [esi + 8], 0
jne 0x5c0c8e
mov ebx, 6
mov dword [ebp - 0x18], ebx
push 0xc20
call fcn.005f43f8
add esp, 4
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 5
test eax, eax
je 0x5c0cb2
push 0
push esi
mov ecx, eax
call fcn.004a3a20
jmp 0x5c0cb4
xor eax, eax
mov byte [ebp - 4], 0
mov dword [esi + 0x528], eax
test eax, eax
jne 0x5c0ce4
push str.SsMgr_err2_n
lea ecx, [esi + 0x52c]
call fcn.0056a760
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [esi + 0x34c]
cmp edx, 4
je 0x5c0d0c
mov ecx, dword [esi + 0x354]
cmp ecx, 0x40
je 0x5c0d0c
cmp ecx, 0x800
je 0x5c0d0c
cmp edx, 8
je 0x5c0d0c
cmp edx, 0x40
jne 0x5c0d55
mov ecx, dword [esi + 0x350]
test ecx, ecx
je 0x5c0d55
cmp byte [ecx + 0x359], 0
je 0x5c0d55
cmp byte [esi + 0xafd], 0
je 0x5c0d36
mov byte [esi + 0xafd], 0
xor ebx, ebx
mov dword [ebp - 0x18], ebx
jmp 0x5c0d5a
cmp byte [esi + 0xafe], 0
je 0x5c0d55
mov byte [esi + 0xafe], 0
cmp ebx, 5
jne 0x5c0d5a
mov ebx, 6
mov dword [ebp - 0x18], ebx
jmp 0x5c0d5a
cmp ebx, 5
je 0x5c0d61
mov byte [eax + 0x80], 1
mov eax, dword [esi + 0x528]
mov edi, dword [eax]
add edi, 0x13c
call fcn.004113e0
push eax
push 0x67
mov ecx, dword [esi + 0x528]
mov edx, dword [edi]
call edx
cmp dword [esi + 0x954], 3
je 0x5c0e4d
cmp dword [esi + 0xacc], 0
je 0x5c0da4
cmp dword [esi + 0xadc], 0
je 0x5c0e4d
mov ecx, dword [esi + 0x528]
test ebx, ebx
jne 0x5c0df1
push 7
call fcn.005f52ac
push ebx
mov eax, dword [esi + 0x528]
mov ecx, dword [eax + 0x20]
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 0x528]
call fcn.004a0900
mov byte [esi + 0xafd], 1
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push ebx
call fcn.005f52ac
cmp ebx, 5
jne 0x5c0e96
push 0x43
push 0
push 0
push 0
push 0
push 0x761210
mov ecx, dword [esi + 0x528]
call fcn.005f5541
push 0x43
push 0
push 0
push 0
push 0
push 0x761268
mov ecx, dword [esi + 0x528]
call fcn.005f5541
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0
push 0x1472
push 0x111
mov edx, dword [esi + 0x528]
mov eax, dword [edx + 0x20]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [esi + 0xacc], edi
je 0x5c0e96
push edi
push 1
push 1
mov ecx, esi
call fcn.005be680
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret