Function at 0x5c0c50
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x665bda
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 0x5c0fb2
cmp dword [esi + 0xacc], edi
je 0x5c0ca6
cmp dword [esi + 0xadc], edi
je 0x5c0fb2
cmp dword [esi + 0x528], edi
je 0x5c0d7f
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 0x5c0d03
mov ecx, dword [esi + 0x528]
call fcn.004a0400
test eax, eax
jne 0x5c0ce6
push 5
mov ecx, dword [esi + 0x528]
call fcn.005f537a
mov ecx, dword [esi + 0x528]
call fcn.004a07c0
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 0x5c0d7f
mov ebx, 5
mov dword [ebp - 0x18], ebx
cmp dword [esi + 8], 0
je 0x5c0d92
xor ebx, ebx
mov dword [ebp - 0x18], ebx
mov ecx, esi
call fcn.005b7990
sub eax, 1
je 0x5c0db0
sub eax, 1
je 0x5c0cf1
sub eax, 1
jne 0x5c0dbe
xor ebx, ebx
jmp 0x5c0dbb
cmp dword [esi + 8], 0
jne 0x5c0dbe
mov ebx, 6
mov dword [ebp - 0x18], ebx
push 0xc20
call fcn.005f44e8
add esp, 4
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 5
test eax, eax
je 0x5c0de2
push 0
push esi
mov ecx, eax
call fcn.004a34d0
jmp 0x5c0de4
xor eax, eax
mov byte [ebp - 4], 0
mov dword [esi + 0x528], eax
test eax, eax
jne 0x5c0e14
push str.SsMgr_err2_n
lea ecx, [esi + 0x52c]
call fcn.0056a780
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 0x5c0e3c
mov ecx, dword [esi + 0x354]
cmp ecx, 0x40
je 0x5c0e3c
cmp ecx, 0x800
je 0x5c0e3c
cmp edx, 8
je 0x5c0e3c
cmp edx, 0x40
jne 0x5c0e85
mov ecx, dword [esi + 0x350]
test ecx, ecx
je 0x5c0e85
cmp byte [ecx + 0x359], 0
je 0x5c0e85
cmp byte [esi + 0xafd], 0
je 0x5c0e66
mov byte [esi + 0xafd], 0
xor ebx, ebx
mov dword [ebp - 0x18], ebx
jmp 0x5c0e8a
cmp byte [esi + 0xafe], 0
je 0x5c0e85
mov byte [esi + 0xafe], 0
cmp ebx, 5
jne 0x5c0e8a
mov ebx, 6
mov dword [ebp - 0x18], ebx
jmp 0x5c0e8a
cmp ebx, 5
je 0x5c0e91
mov byte [eax + 0x80], 1
mov eax, dword [esi + 0x528]
mov edi, dword [eax]
add edi, 0x13c
call fcn.004110b0
push eax
push 0x67
mov ecx, dword [esi + 0x528]
mov edx, dword [edi]
call edx
cmp dword [esi + 0x954], 3
je 0x5c0f7d
cmp dword [esi + 0xacc], 0
je 0x5c0ed4
cmp dword [esi + 0xadc], 0
je 0x5c0f7d
mov ecx, dword [esi + 0x528]
test ebx, ebx
jne 0x5c0f21
push 7
call fcn.005f537a
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.004a03b0
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.005f537a
cmp ebx, 5
jne 0x5c0fc6
push 0x43
push 0
push 0
push 0
push 0
push 0x761210
mov ecx, dword [esi + 0x528]
call fcn.005f560f
push 0x43
push 0
push 0
push 0
push 0
push 0x761268
mov ecx, dword [esi + 0x528]
call fcn.005f560f
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 0x5c0fc6
push edi
push 1
push 1
mov ecx, esi
call fcn.005be7b0
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