Function at 0x5b33a4
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffac
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x44], ecx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x5b3aa5
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
test byte [eax + 0x1c], 0x10
jne 0x5b33f9
mov eax, dword [ebp - 4]
test byte [eax + 0x3cc], 4
je 0x5b33f9
lea edx, [ebp - 0x44]
mov eax, dword [0x6cd180]
call fcn.00410300
mov ecx, dword [ebp - 0x44]
mov dl, 1
mov eax, dword [0x43ce78]
call fcn.00429008
call fcn.004098c4
mov eax, dword [0x6d479c]
call fcn.005b9904
mov eax, dword [ebp - 4]
or byte [eax + 0x3cc], 4
xor edx, edx
push ebp
push 0x5b3a88
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 4]
test byte [eax + 0x1c], 0x10
jne 0x5b3a42
mov eax, dword [ebp - 4]
cmp byte [eax + 0x215], 0
je 0x5b3936
xor eax, eax
push ebp
push 0x5b345c
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov si, 0xffa7
call fcn.00408760
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x5b3473
mov eax, dword [ebp - 4]
cmp byte [eax + 0x2d3], 4
je 0x5b34a7
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0x2d3]
sub al, 4
je 0x5b3497
add al, 0xfe
sub al, 2
jae 0x5b358a
mov eax, dword [ebp - 4]
cmp byte [eax + 0x2d2], 1
jne 0x5b358a
mov eax, dword [ebp - 4]
cmp byte [eax + 0x2d2], 1
jne 0x5b34fd
mov eax, dword [0x6d479c]
mov eax, dword [eax + 0x58]
call fcn.00511e34
mov ebx, eax
mov eax, dword [ebp - 4]
sub ebx, dword [eax + 0x58]
sar ebx, 1
jns 0x5b34cf
adc ebx, 0
mov eax, dword [0x6d479c]
mov eax, dword [eax + 0x58]
call fcn.00511e74
mov esi, eax
mov eax, dword [ebp - 4]
sub esi, dword [eax + 0x5c]
sar esi, 1
jns 0x5b34eb
adc esi, 0
lea edx, [ebp - 0x14]
mov eax, dword [0x6d479c]
mov eax, dword [eax + 0x58]
mov ecx, dword [eax]
call dword [ecx + 0x70]
jmp 0x5b3541
mov eax, dword [ebp - 4]
call fcn.005b0088
lea edx, [ebp - 0x14]
call fcn.005b4fe8
lea eax, [ebp - 0x14]
call fcn.004125d0
mov ebx, eax
mov eax, dword [ebp - 4]
sub ebx, dword [eax + 0x58]
sar ebx, 1
jns 0x5b3524
adc ebx, 0
add ebx, dword [ebp - 0x14]
lea eax, [ebp - 0x14]
call fcn.004125d8
mov esi, eax
mov eax, dword [ebp - 4]
sub esi, dword [eax + 0x5c]
sar esi, 1
jns 0x5b353e
adc esi, 0
add esi, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
cmp ebx, eax
jge 0x5b354a
mov ebx, eax
mov eax, dword [ebp - 0x10]
cmp esi, eax
jge 0x5b3553
mov esi, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x58]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x5c]
push eax
mov ecx, esi
mov edx, ebx
mov eax, dword [ebp - 4]
mov ebx, dword [eax]
call dword [ebx + 0xc8]
mov eax, dword [ebp - 4]
cmp byte [eax + 0x69], 0
je 0x5b3842
mov eax, dword [ebp - 4]
call fcn.005b08d0
jmp 0x5b3842
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0x2d3]
mov edx, eax
add dl, 0xfa
sub dl, 2
jae 0x5b3747
mov eax, dword [0x6d479c]
mov edi, dword [eax + 0x58]
mov eax, dword [ebp - 4]
cmp byte [eax + 0x2d3], 7
jne 0x5b35d1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov edx, dword [0x5a41c0]
call fcn.0040868c
test al, al
je 0x5b35d1
mov eax, dword [ebp - 4]
mov edi, dword [eax + 4]
mov eax, dword [ebp - 4]
cmp byte [eax + 0x2ce], 2
jne 0x5b35ff
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x308]
mov eax, dword [ebp - 4]
call fcn.005aecd4
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x30c]
mov eax, dword [ebp - 4]
call fcn.005aed00
test edi, edi
je 0x5b364f
cmp edi, dword [ebp - 4]
je 0x5b364f
mov eax, edi
call fcn.005ae830
mov ebx, eax
mov eax, dword [edi + 0x58]
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x58]
sar eax, 1
jns 0x5b3621
adc eax, 0
add ebx, eax
mov eax, edi
call fcn.005ae850
mov esi, eax
mov eax, dword [edi + 0x5c]
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x5c]
sar eax, 1
jns 0x5b363c
adc eax, 0
add esi, eax
mov eax, edi
call fcn.005b0088
lea edx, [ebp - 0x14]
call fcn.005b4fe8
jmp 0x5b368e
mov eax, dword [0x6d47a0]
call fcn.005b548c
mov ebx, eax
mov eax, dword [ebp - 4]
sub ebx, dword [eax + 0x58]
sar ebx, 1
jns 0x5b3668
adc ebx, 0
mov eax, dword [0x6d47a0]
call fcn.005b5484
mov esi, eax
mov eax, dword [ebp - 4]
sub esi, dword [eax + 0x5c]
sar esi, 1
jns 0x5b3681
adc esi, 0
lea edx, [ebp - 0x14]
mov eax, dword [0x6d47a0]
call fcn.005b66f8
mov eax, dword [ebp - 0x14]
cmp ebx, eax
jge 0x5b3697
mov ebx, eax
mov eax, dword [ebp - 0x10]
cmp esi, eax
jge 0x5b36a0
mov esi, eax
mov eax, dword [ebp - 4]
cmp byte [eax + 0x2ce], 2
jne 0x5b3710
mov eax, dword [ebp - 4]
call fcn.0051bab4
test al, al
je 0x5b3710
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.005b4800
mov edx, esi
mov eax, dword [ebp - 4]
call fcn.005b483c
mov dword [ebp - 0x40], 0x2c
lea eax, [ebp - 0x40]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x288]
push eax
call sub.user32.dll_GetWindowPlacement
lea edx, [ebp - 0x54]
mov eax, dword [ebp - 4]
call fcn.00511dd8
lea esi, [ebp - 0x54]
lea edi, [ebp - 0x24]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x40]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x288]
push eax
call sub.user32.dll_SetWindowPlacement
jmp 0x5b372d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x58]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x5c]
push eax
mov ecx, esi
mov edx, ebx
mov eax, dword [ebp - 4]
mov ebx, dword [eax]
call dword [ebx + 0xc8]
mov eax, dword [ebp - 4]
cmp byte [eax + 0x69], 0
je 0x5b3842
mov eax, dword [ebp - 4]
call fcn.005b08d0
jmp 0x5b3842
cmp al, 5
jne 0x5b3842
mov eax, dword [ebp - 4]
cmp byte [eax + 0x2d2], 1
jne 0x5b3795
mov eax, dword [0x6d479c]
mov eax, dword [eax + 0x58]
call fcn.00511e34
mov ebx, eax
mov eax, dword [ebp - 4]
sub ebx, dword [eax + 0x58]
sar ebx, 1
jns 0x5b3777
adc ebx, 0
mov eax, dword [0x6d479c]
mov eax, dword [eax + 0x58]
call fcn.00511e74
mov esi, eax
mov eax, dword [ebp - 4]
sub esi, dword [eax + 0x5c]
sar esi, 1
jns 0x5b37f1
adc esi, 0
jmp 0x5b37f1
mov eax, dword [0x6d47a0]
call fcn.005b54ac
mov ebx, eax
sar ebx, 1
jns 0x5b37a8
adc ebx, 0
mov eax, dword [0x6d47a0]
call fcn.005b549c
add ebx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x58]
sar eax, 1
jns 0x5b37c1
adc eax, 0
sub ebx, eax
mov eax, dword [0x6d47a0]
call fcn.005b54a4
mov esi, eax
sar esi, 1
jns 0x5b37d6
adc esi, 0
mov eax, dword [0x6d47a0]
call fcn.005b5494
add esi, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x5c]
sar eax, 1
jns 0x5b37ef
adc eax, 0
sub esi, eax
mov eax, dword [0x6d47a0]
call fcn.005b549c
cmp ebx, eax
jge 0x5b380b
mov eax, dword [0x6d47a0]
call fcn.005b549c
mov ebx, eax
mov eax, dword [0x6d47a0]
call fcn.005b5494
cmp esi, eax
jge 0x5b3825
mov eax, dword [0x6d47a0]
call fcn.005b5494
mov esi, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x58]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x5c]
push eax
mov ecx, esi
mov edx, ebx
mov eax, dword [ebp - 4]
mov ebx, dword [eax]
call dword [ebx + 0xc8]
mov eax, dword [ebp - 4]
mov byte [eax + 0x2d3], 0
mov eax, dword [ebp - 4]
cmp byte [eax + 0x2d2], 1
jne 0x5b3911
mov eax, dword [ebp - 4]
cmp byte [eax + 0x2ce], 2
jne 0x5b389e
push 0
mov eax, dword [ebp - 4]
call fcn.0051b6e0
push eax
push 0x223
mov eax, dword [0x6d479c]
mov eax, dword [eax + 0x58]
mov eax, dword [eax + 0x3c4]
push eax
call sub.user32.dll_SendMessageW
push 3
mov eax, dword [ebp - 4]
call fcn.0051b6e0
push eax
call sub.user32.dll_ShowWindow
jmp 0x5b38ef
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0x2ce]
mov eax, dword [eax*4 + 0x6cbc24]
push eax
mov eax, dword [ebp - 4]
call fcn.0051b6e0
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x58]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x5c]
shl edx, 0x10
or eax, edx
push eax
push 0
push 5
mov eax, dword [ebp - 4]
call fcn.0051b6e0
push eax
push 0x414770
call sub.user32.dll_CallWindowProcW
mov eax, dword [ebp - 4]
call fcn.00512958
push 0
push 0
push 0x234
mov eax, dword [0x6d479c]
mov eax, dword [eax + 0x58]
mov eax, dword [eax + 0x3c4]
push eax
call sub.user32.dll_SendMessageW
jmp 0x5b3a70
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0x2ce]
mov eax, dword [eax*4 + 0x6cbc24]
push eax
mov eax, dword [ebp - 4]
call fcn.0051b6e0
push eax
call sub.user32.dll_ShowWindow
jmp 0x5b3a70
xor eax, eax
push ebp
push 0x5b395a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov si, 0xffa8
call fcn.00408760
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x5b3971
mov eax, dword [0x6d47a0]
mov eax, dword [eax + 0x74]
cmp eax, dword [ebp - 4]
jne 0x5b3988
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.005b1eb8
mov eax, dword [ebp - 4]
cmp byte [eax + 0x2d2], 1
jne 0x5b39a4
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0xf4]
jmp 0x5b3a70
mov eax, dword [ebp - 4]
test byte [eax + 0x3cc], 8
je 0x5b39d2
push 0x97
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.0051b6e0
push eax
call sub.user32.dll_SetWindowPos
jmp 0x5b3a70
xor ebx, ebx
mov eax, dword [ebp - 4]
call fcn.0051b6e0
mov esi, eax
call sub.user32.dll_GetActiveWindow
cmp esi, eax
jne 0x5b3a07
mov eax, dword [ebp - 4]
call fcn.0051b6e0
call fcn.005abc48
test eax, eax
jne 0x5b3a07
mov eax, dword [ebp - 4]
call fcn.0051b6e0
call fcn.005abf70
mov ebx, eax
test ebx, ebx
je 0x5b3a30
push 0x97
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.0051b6e0
push eax
call sub.user32.dll_SetWindowPos
push ebx
call sub.user32.dll_SetActiveWindow
jmp 0x5b3a70
push 0
mov eax, dword [ebp - 4]
call fcn.0051b6e0
push eax
call sub.user32.dll_ShowWindow
jmp 0x5b3a70
mov eax, dword [ebp - 4]
test byte [eax + 0x1c], 0x10
je 0x5b3a70
mov eax, dword [ebp - 4]
cmp dword [eax + 0x40], 0
je 0x5b3a70
mov eax, dword [ebp - 4]
cmp byte [eax + 0x215], 0
je 0x5b3a70
push 1
mov eax, dword [ebp - 4]
call fcn.0051b6e0
push eax
call sub.user32.dll_ShowWindow
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5b3a8f
mov eax, dword [ebp - 4]
and byte [eax + 0x3cc], 0xfb
ret