Function at 0x5b8d30
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x65d89a
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x74f8a0]
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 0x5b9092
cmp dword [esi + 0xabc], edi
je 0x5b8d86
cmp dword [esi + 0xacc], edi
je 0x5b9092
cmp dword [esi + 0x518], edi
je 0x5b8e5f
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 0x5b8de3
mov ecx, dword [esi + 0x518]
call fcn.0049aeb0
test eax, eax
jne 0x5b8dc6
push 5
mov ecx, dword [esi + 0x518]
call fcn.005ed1bc
mov ecx, dword [esi + 0x518]
call fcn.0049b2b0
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 0x5b8e5f
mov ebx, 5
mov dword [ebp - 0x18], ebx
cmp dword [esi + 8], 0
je 0x5b8e72
xor ebx, ebx
mov dword [ebp - 0x18], ebx
mov ecx, esi
call fcn.005afab0
sub eax, 1
je 0x5b8e90
sub eax, 1
je 0x5b8dd1
sub eax, 1
jne 0x5b8e9e
xor ebx, ebx
jmp 0x5b8e9b
cmp dword [esi + 8], 0
jne 0x5b8e9e
mov ebx, 6
mov dword [ebp - 0x18], ebx
push 0xc20
call fcn.005ec308
add esp, 4
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 5
test eax, eax
je 0x5b8ec2
push 0
push esi
mov ecx, eax
call fcn.0049dfb0
jmp 0x5b8ec4
xor eax, eax
mov byte [ebp - 4], 0
mov dword [esi + 0x518], eax
test eax, eax
jne 0x5b8ef4
push str.SsMgr_err2_n
lea ecx, [esi + 0x51c]
call fcn.00564020
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 0x5b8f1c
mov ecx, dword [esi + 0x340]
cmp ecx, 0x40
je 0x5b8f1c
cmp ecx, 0x800
je 0x5b8f1c
cmp edx, 8
je 0x5b8f1c
cmp edx, 0x40
jne 0x5b8f65
mov ecx, dword [esi + 0x33c]
test ecx, ecx
je 0x5b8f65
cmp byte [ecx + 0x345], 0
je 0x5b8f65
cmp byte [esi + 0xaed], 0
je 0x5b8f46
mov byte [esi + 0xaed], 0
xor ebx, ebx
mov dword [ebp - 0x18], ebx
jmp 0x5b8f6a
cmp byte [esi + 0xaee], 0
je 0x5b8f65
mov byte [esi + 0xaee], 0
cmp ebx, 5
jne 0x5b8f6a
mov ebx, 6
mov dword [ebp - 0x18], ebx
jmp 0x5b8f6a
cmp ebx, 5
je 0x5b8f71
mov byte [eax + 0x80], 1
mov eax, dword [esi + 0x518]
mov edi, dword [eax]
add edi, 0x13c
call fcn.00411420
push eax
push 0x67
mov ecx, dword [esi + 0x518]
mov edx, dword [edi]
call edx
cmp dword [esi + 0x944], 3
je 0x5b905d
cmp dword [esi + 0xabc], 0
je 0x5b8fb4
cmp dword [esi + 0xacc], 0
je 0x5b905d
mov ecx, dword [esi + 0x518]
test ebx, ebx
jne 0x5b9001
push 7
call fcn.005ed1bc
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.0049ae60
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.005ed1bc
cmp ebx, 5
jne 0x5b90a6
push 0x43
push 0
push 0
push 0
push 0
push 0x7581d8
mov ecx, dword [esi + 0x518]
call fcn.005ed449
push 0x43
push 0
push 0
push 0
push 0
push 0x758230
mov ecx, dword [esi + 0x518]
call fcn.005ed449
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 0x5b90a6
push edi
push 1
push 1
mov ecx, esi
call fcn.005b6890
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