Function at 0x5b6480
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x65abda
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x74d890]
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 + 0x944], 3
je 0x5b67e2
cmp dword [esi + 0xabc], edi
je 0x5b64d6
cmp dword [esi + 0xacc], edi
je 0x5b67e2
cmp dword [esi + 0x518], edi
je 0x5b65af
mov byte [ebp - 4], 1
mov eax, dword [esi + 0x518]
mov ecx, dword [eax + 0x20]
push ecx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x5b6533
mov ecx, dword [esi + 0x518]
call fcn.00499150
test eax, eax
jne 0x5b6516
push 5
mov ecx, dword [esi + 0x518]
call fcn.005ea90a
mov ecx, dword [esi + 0x518]
call fcn.00499530
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 0x5b65af
mov ebx, 5
mov dword [ebp - 0x18], ebx
cmp dword [esi + 8], 0
je 0x5b65c2
xor ebx, ebx
mov dword [ebp - 0x18], ebx
mov ecx, esi
call fcn.005ad240
sub eax, 1
je 0x5b65e0
sub eax, 1
je 0x5b6521
sub eax, 1
jne 0x5b65ee
xor ebx, ebx
jmp 0x5b65eb
cmp dword [esi + 8], 0
jne 0x5b65ee
mov ebx, 6
mov dword [ebp - 0x18], ebx
push 0xc20
call fcn.005e9a78
add esp, 4
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 5
test eax, eax
je 0x5b6612
push 0
push esi
mov ecx, eax
call fcn.0049c240
jmp 0x5b6614
xor eax, eax
mov byte [ebp - 4], 0
mov dword [esi + 0x518], eax
test eax, eax
jne 0x5b6644
push str.SsMgr_err2_n
lea ecx, [esi + 0x51c]
call fcn.00561720
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 + 0x338]
cmp edx, 4
je 0x5b666c
mov ecx, dword [esi + 0x340]
cmp ecx, 0x40
je 0x5b666c
cmp ecx, 0x800
je 0x5b666c
cmp edx, 8
je 0x5b666c
cmp edx, 0x40
jne 0x5b66b5
mov ecx, dword [esi + 0x33c]
test ecx, ecx
je 0x5b66b5
cmp byte [ecx + 0x345], 0
je 0x5b66b5
cmp byte [esi + 0xaed], 0
je 0x5b6696
mov byte [esi + 0xaed], 0
xor ebx, ebx
mov dword [ebp - 0x18], ebx
jmp 0x5b66ba
cmp byte [esi + 0xaee], 0
je 0x5b66b5
mov byte [esi + 0xaee], 0
cmp ebx, 5
jne 0x5b66ba
mov ebx, 6
mov dword [ebp - 0x18], ebx
jmp 0x5b66ba
cmp ebx, 5
je 0x5b66c1
mov byte [eax + 0x80], 1
mov eax, dword [esi + 0x518]
mov edi, dword [eax]
add edi, 0x13c
call fcn.004110e0
push eax
push 0x67
mov ecx, dword [esi + 0x518]
mov edx, dword [edi]
call edx
cmp dword [esi + 0x944], 3
je 0x5b67ad
cmp dword [esi + 0xabc], 0
je 0x5b6704
cmp dword [esi + 0xacc], 0
je 0x5b67ad
mov ecx, dword [esi + 0x518]
test ebx, ebx
jne 0x5b6751
push 6
call fcn.005ea90a
push ebx
mov eax, dword [esi + 0x518]
mov ecx, dword [eax + 0x20]
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 0x518]
call fcn.00499100
mov byte [esi + 0xaed], 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.005ea90a
cmp ebx, 5
jne 0x5b67f6
push 0x43
push 0
push 0
push 0
push 0
push 0x7561b8
mov ecx, dword [esi + 0x518]
call fcn.005eab9b
push 0x43
push 0
push 0
push 0
push 0
push 0x756210
mov ecx, dword [esi + 0x518]
call fcn.005eab9b
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 + 0x518]
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 + 0xabc], edi
je 0x5b67f6
push edi
push 1
push 1
mov ecx, esi
call fcn.005b3fe0
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