Function at 0x5d3a10
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 0x5d4111
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
test byte [eax + 0x1c], 0x10
jne 0x5d3a65
mov eax, dword [ebp - 4]
test byte [eax + 0x3cc], 4
je 0x5d3a65
lea edx, [ebp - 0x44]
mov eax, dword [0x78bfd0]
call fcn.0040e928
mov ecx, dword [ebp - 0x44]
mov dl, 1
mov eax, dword [0x43a198]
call fcn.00428180
call fcn.00407e74
mov eax, dword [0x7931e4]
call fcn.005da420
mov eax, dword [ebp - 4]
or byte [eax + 0x3cc], 4
xor edx, edx
push ebp
push 0x5d40f4
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 4]
test byte [eax + 0x1c], 0x10
jne 0x5d40ae
mov eax, dword [ebp - 4]
cmp byte [eax + 0x215], 0
je 0x5d3fa2
xor eax, eax
push ebp
push 0x5d3ac8
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov si, 0xffa7
call fcn.00406d40
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x5d3adf
mov eax, dword [ebp - 4]
cmp byte [eax + 0x2d3], 4
je 0x5d3b13
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0x2d3]
sub al, 4
je 0x5d3b03
add al, 0xfe
sub al, 2
jae 0x5d3bf6
mov eax, dword [ebp - 4]
cmp byte [eax + 0x2d2], 1
jne 0x5d3bf6
mov eax, dword [ebp - 4]
cmp byte [eax + 0x2d2], 1
jne 0x5d3b69
mov eax, dword [0x7931e4]
mov eax, dword [eax + 0x58]
call fcn.00502ec4
mov ebx, eax
mov eax, dword [ebp - 4]
sub ebx, dword [eax + 0x58]
sar ebx, 1
jns 0x5d3b3b
adc ebx, 0
mov eax, dword [0x7931e4]
mov eax, dword [eax + 0x58]
call fcn.00502f04
mov esi, eax
mov eax, dword [ebp - 4]
sub esi, dword [eax + 0x5c]
sar esi, 1
jns 0x5d3b57
adc esi, 0
lea edx, [ebp - 0x14]
mov eax, dword [0x7931e4]
mov eax, dword [eax + 0x58]
mov ecx, dword [eax]
call dword [ecx + 0x70]
jmp 0x5d3bad
mov eax, dword [ebp - 4]
call fcn.005d06f4
lea edx, [ebp - 0x14]
call fcn.005d5a74
lea eax, [ebp - 0x14]
call fcn.00410b34
mov ebx, eax
mov eax, dword [ebp - 4]
sub ebx, dword [eax + 0x58]
sar ebx, 1
jns 0x5d3b90
adc ebx, 0
add ebx, dword [ebp - 0x14]
lea eax, [ebp - 0x14]
call fcn.00410b44
mov esi, eax
mov eax, dword [ebp - 4]
sub esi, dword [eax + 0x5c]
sar esi, 1
jns 0x5d3baa
adc esi, 0
add esi, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
cmp ebx, eax
jge 0x5d3bb6
mov ebx, eax
mov eax, dword [ebp - 0x10]
cmp esi, eax
jge 0x5d3bbf
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 0x5d3eae
mov eax, dword [ebp - 4]
call fcn.005d0f3c
jmp 0x5d3eae
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0x2d3]
mov edx, eax
add dl, 0xfa
sub dl, 2
jae 0x5d3db3
mov eax, dword [0x7931e4]
mov edi, dword [eax + 0x58]
mov eax, dword [ebp - 4]
cmp byte [eax + 0x2d3], 7
jne 0x5d3c3d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov edx, dword [0x5c45e8]
call fcn.00406ca0
test al, al
je 0x5d3c3d
mov eax, dword [ebp - 4]
mov edi, dword [eax + 4]
mov eax, dword [ebp - 4]
cmp byte [eax + 0x2ce], 2
jne 0x5d3c6b
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x308]
mov eax, dword [ebp - 4]
call fcn.005cf340
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x30c]
mov eax, dword [ebp - 4]
call fcn.005cf36c
test edi, edi
je 0x5d3cbb
cmp edi, dword [ebp - 4]
je 0x5d3cbb
mov eax, edi
call fcn.005ceeb8
mov ebx, eax
mov eax, dword [edi + 0x58]
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x58]
sar eax, 1
jns 0x5d3c8d
adc eax, 0
add ebx, eax
mov eax, edi
call fcn.005ceed8
mov esi, eax
mov eax, dword [edi + 0x5c]
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x5c]
sar eax, 1
jns 0x5d3ca8
adc eax, 0
add esi, eax
mov eax, edi
call fcn.005d06f4
lea edx, [ebp - 0x14]
call fcn.005d5a74
jmp 0x5d3cfa
mov eax, dword [0x7931e8]
call fcn.005d5f18
mov ebx, eax
mov eax, dword [ebp - 4]
sub ebx, dword [eax + 0x58]
sar ebx, 1
jns 0x5d3cd4
adc ebx, 0
mov eax, dword [0x7931e8]
call fcn.005d5f10
mov esi, eax
mov eax, dword [ebp - 4]
sub esi, dword [eax + 0x5c]
sar esi, 1
jns 0x5d3ced
adc esi, 0
lea edx, [ebp - 0x14]
mov eax, dword [0x7931e8]
call fcn.005d7184
mov eax, dword [ebp - 0x14]
cmp ebx, eax
jge 0x5d3d03
mov ebx, eax
mov eax, dword [ebp - 0x10]
cmp esi, eax
jge 0x5d3d0c
mov esi, eax
mov eax, dword [ebp - 4]
cmp byte [eax + 0x2ce], 2
jne 0x5d3d7c
mov eax, dword [ebp - 4]
call fcn.0050cda4
test al, al
je 0x5d3d7c
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.005d51b4
mov edx, esi
mov eax, dword [ebp - 4]
call fcn.005d51f0
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.00502e68
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 0x5d3d99
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 0x5d3eae
mov eax, dword [ebp - 4]
call fcn.005d0f3c
jmp 0x5d3eae
cmp al, 5
jne 0x5d3eae
mov eax, dword [ebp - 4]
cmp byte [eax + 0x2d2], 1
jne 0x5d3e01
mov eax, dword [0x7931e4]
mov eax, dword [eax + 0x58]
call fcn.00502ec4
mov ebx, eax
mov eax, dword [ebp - 4]
sub ebx, dword [eax + 0x58]
sar ebx, 1
jns 0x5d3de3
adc ebx, 0
mov eax, dword [0x7931e4]
mov eax, dword [eax + 0x58]
call fcn.00502f04
mov esi, eax
mov eax, dword [ebp - 4]
sub esi, dword [eax + 0x5c]
sar esi, 1
jns 0x5d3e5d
adc esi, 0
jmp 0x5d3e5d
mov eax, dword [0x7931e8]
call fcn.005d5f38
mov ebx, eax
sar ebx, 1
jns 0x5d3e14
adc ebx, 0
mov eax, dword [0x7931e8]
call fcn.005d5f28
add ebx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x58]
sar eax, 1
jns 0x5d3e2d
adc eax, 0
sub ebx, eax
mov eax, dword [0x7931e8]
call fcn.005d5f30
mov esi, eax
sar esi, 1
jns 0x5d3e42
adc esi, 0
mov eax, dword [0x7931e8]
call fcn.005d5f20
add esi, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x5c]
sar eax, 1
jns 0x5d3e5b
adc eax, 0
sub esi, eax
mov eax, dword [0x7931e8]
call fcn.005d5f28
cmp ebx, eax
jge 0x5d3e77
mov eax, dword [0x7931e8]
call fcn.005d5f28
mov ebx, eax
mov eax, dword [0x7931e8]
call fcn.005d5f20
cmp esi, eax
jge 0x5d3e91
mov eax, dword [0x7931e8]
call fcn.005d5f20
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 0x5d3f7d
mov eax, dword [ebp - 4]
cmp byte [eax + 0x2ce], 2
jne 0x5d3f0a
push 0
mov eax, dword [ebp - 4]
call fcn.0050c9d0
push eax
push 0x223
mov eax, dword [0x7931e4]
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.0050c9d0
push eax
call sub.user32.dll_ShowWindow
jmp 0x5d3f5b
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0x2ce]
mov eax, dword [eax*4 + 0x7892fc]
push eax
mov eax, dword [ebp - 4]
call fcn.0050c9d0
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.0050c9d0
push eax
push 0x4137c4
call sub.user32.dll_CallWindowProcW
mov eax, dword [ebp - 4]
call fcn.00503a48
push 0
push 0
push 0x234
mov eax, dword [0x7931e4]
mov eax, dword [eax + 0x58]
mov eax, dword [eax + 0x3c4]
push eax
call sub.user32.dll_SendMessageW
jmp 0x5d40dc
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0x2ce]
mov eax, dword [eax*4 + 0x7892fc]
push eax
mov eax, dword [ebp - 4]
call fcn.0050c9d0
push eax
call sub.user32.dll_ShowWindow
jmp 0x5d40dc
xor eax, eax
push ebp
push 0x5d3fc6
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov si, 0xffa8
call fcn.00406d40
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x5d3fdd
mov eax, dword [0x7931e8]
mov eax, dword [eax + 0x74]
cmp eax, dword [ebp - 4]
jne 0x5d3ff4
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.005d2524
mov eax, dword [ebp - 4]
cmp byte [eax + 0x2d2], 1
jne 0x5d4010
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0xf4]
jmp 0x5d40dc
mov eax, dword [ebp - 4]
test byte [eax + 0x3cc], 8
je 0x5d403e
push 0x97
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.0050c9d0
push eax
call sub.user32.dll_SetWindowPos
jmp 0x5d40dc
xor ebx, ebx
mov eax, dword [ebp - 4]
call fcn.0050c9d0
mov esi, eax
call sub.user32.dll_GetActiveWindow
cmp esi, eax
jne 0x5d4073
mov eax, dword [ebp - 4]
call fcn.0050c9d0
call fcn.005cc1b0
test eax, eax
jne 0x5d4073
mov eax, dword [ebp - 4]
call fcn.0050c9d0
call fcn.005cc4d8
mov ebx, eax
test ebx, ebx
je 0x5d409c
push 0x97
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.0050c9d0
push eax
call sub.user32.dll_SetWindowPos
push ebx
call sub.user32.dll_SetActiveWindow
jmp 0x5d40dc
push 0
mov eax, dword [ebp - 4]
call fcn.0050c9d0
push eax
call sub.user32.dll_ShowWindow
jmp 0x5d40dc
mov eax, dword [ebp - 4]
test byte [eax + 0x1c], 0x10
je 0x5d40dc
mov eax, dword [ebp - 4]
cmp dword [eax + 0x40], 0
je 0x5d40dc
mov eax, dword [ebp - 4]
cmp byte [eax + 0x215], 0
je 0x5d40dc
push 1
mov eax, dword [ebp - 4]
call fcn.0050c9d0
push eax
call sub.user32.dll_ShowWindow
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5d40fb
mov eax, dword [ebp - 4]
and byte [eax + 0x3cc], 0xfb
ret