Function at 0x5e7524
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x5e7b86
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
test byte [eax + 0x1c], 0x10
jne 0x5e7579
mov eax, dword [ebp - 4]
test byte [eax + 0x39c], 4
je 0x5e7579
lea edx, [ebp - 0x18]
mov eax, dword [0xa8f75c]
call fcn.0040e930
mov ecx, dword [ebp - 0x18]
mov dl, 1
mov eax, dword [0x492054]
call fcn.0042e560
call fcn.00409958
mov eax, dword [0xa95384]
call fcn.005edc44
mov eax, dword [ebp - 4]
or byte [eax + 0x39c], 4
xor edx, edx
push ebp
push 0x5e7b69
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 4]
test byte [eax + 0x1c], 0x10
jne 0x5e7b23
mov eax, dword [ebp - 4]
cmp byte [eax + 0x1fd], 0
je 0x5e7a17
xor eax, eax
push ebp
push 0x5e75dc
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov si, 0xffa9
call fcn.00408964
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x5e75f3
mov eax, dword [ebp - 4]
cmp byte [eax + 0x2b7], 4
je 0x5e761f
mov eax, dword [ebp - 4]
cmp byte [eax + 0x2b7], 6
jne 0x5e7703
mov eax, dword [ebp - 4]
cmp byte [eax + 0x2b6], 1
jne 0x5e7703
mov eax, dword [ebp - 4]
cmp byte [eax + 0x2b6], 1
jne 0x5e7665
mov eax, dword [0xa95384]
mov eax, dword [eax + 0x48]
call fcn.00614a80
mov ebx, eax
mov eax, dword [ebp - 4]
sub ebx, dword [eax + 0x50]
sar ebx, 1
jns 0x5e7647
adc ebx, 0
mov eax, dword [0xa95384]
mov eax, dword [eax + 0x48]
call fcn.00614ac0
mov esi, eax
mov eax, dword [ebp - 4]
sub esi, dword [eax + 0x54]
sar esi, 1
jns 0x5e7698
adc esi, 0
jmp 0x5e7698
lea edx, [ebp - 0x14]
mov eax, dword [0xa95388]
call fcn.005eac90
mov ebx, dword [ebp - 0xc]
sub ebx, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
sub ebx, dword [eax + 0x50]
sar ebx, 1
jns 0x5e7685
adc ebx, 0
mov esi, dword [ebp - 8]
sub esi, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
sub esi, dword [eax + 0x54]
sar esi, 1
jns 0x5e7698
adc esi, 0
mov eax, dword [0xa95388]
call fcn.005e9a30
cmp ebx, eax
jge 0x5e76b2
mov eax, dword [0xa95388]
call fcn.005e9a30
mov ebx, eax
mov eax, dword [0xa95388]
call fcn.005e9a28
cmp esi, eax
jge 0x5e76cc
mov eax, dword [0xa95388]
call fcn.005e9a28
mov esi, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x50]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x54]
push eax
mov ecx, esi
mov edx, ebx
mov eax, dword [ebp - 4]
mov ebx, dword [eax]
call dword [ebx + 0xa8]
mov eax, dword [ebp - 4]
cmp byte [eax + 0x61], 0
je 0x5e7923
mov eax, dword [ebp - 4]
call fcn.005e4d14
jmp 0x5e7923
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0x2b7]
mov edx, eax
add dl, 0xfa
sub dl, 2
jae 0x5e7828
mov eax, dword [0xa95384]
mov esi, dword [eax + 0x48]
mov eax, dword [ebp - 4]
cmp byte [eax + 0x2b7], 7
jne 0x5e774a
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov edx, dword [0x5d8bc4]
call fcn.004088e0
test al, al
je 0x5e774a
mov eax, dword [ebp - 4]
mov esi, dword [eax + 4]
test esi, esi
je 0x5e778b
cmp esi, dword [ebp - 4]
je 0x5e778b
mov eax, esi
call fcn.005e2d74
mov ebx, eax
mov eax, dword [esi + 0x50]
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x50]
sar eax, 1
jns 0x5e776c
adc eax, 0
add ebx, eax
mov eax, esi
call fcn.005e2d94
mov edx, dword [esi + 0x54]
mov ecx, dword [ebp - 4]
sub edx, dword [ecx + 0x54]
sar edx, 1
jns 0x5e7785
adc edx, 0
add eax, edx
mov esi, eax
jmp 0x5e77bd
mov eax, dword [0xa95388]
call fcn.005e9a20
mov ebx, eax
mov eax, dword [ebp - 4]
sub ebx, dword [eax + 0x50]
sar ebx, 1
jns 0x5e77a4
adc ebx, 0
mov eax, dword [0xa95388]
call fcn.005e9a18
mov esi, eax
mov eax, dword [ebp - 4]
sub esi, dword [eax + 0x54]
sar esi, 1
jns 0x5e77bd
adc esi, 0
mov eax, dword [0xa95388]
call fcn.005e9a30
cmp ebx, eax
jge 0x5e77d7
mov eax, dword [0xa95388]
call fcn.005e9a30
mov ebx, eax
mov eax, dword [0xa95388]
call fcn.005e9a28
cmp esi, eax
jge 0x5e77f1
mov eax, dword [0xa95388]
call fcn.005e9a28
mov esi, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x50]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x54]
push eax
mov ecx, esi
mov edx, ebx
mov eax, dword [ebp - 4]
mov ebx, dword [eax]
call dword [ebx + 0xa8]
mov eax, dword [ebp - 4]
cmp byte [eax + 0x61], 0
je 0x5e7923
mov eax, dword [ebp - 4]
call fcn.005e4d14
jmp 0x5e7923
cmp al, 5
jne 0x5e7923
mov eax, dword [ebp - 4]
cmp byte [eax + 0x2b6], 1
jne 0x5e7876
mov eax, dword [0xa95384]
mov eax, dword [eax + 0x48]
call fcn.00614a80
mov ebx, eax
mov eax, dword [ebp - 4]
sub ebx, dword [eax + 0x50]
sar ebx, 1
jns 0x5e7858
adc ebx, 0
mov eax, dword [0xa95384]
mov eax, dword [eax + 0x48]
call fcn.00614ac0
mov esi, eax
mov eax, dword [ebp - 4]
sub esi, dword [eax + 0x54]
sar esi, 1
jns 0x5e78d2
adc esi, 0
jmp 0x5e78d2
mov eax, dword [0xa95388]
call fcn.005e9a40
mov ebx, eax
sar ebx, 1
jns 0x5e7889
adc ebx, 0
mov eax, dword [0xa95388]
call fcn.005e9a30
add ebx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x50]
sar eax, 1
jns 0x5e78a2
adc eax, 0
sub ebx, eax
mov eax, dword [0xa95388]
call fcn.005e9a38
mov esi, eax
sar esi, 1
jns 0x5e78b7
adc esi, 0
mov eax, dword [0xa95388]
call fcn.005e9a28
add esi, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x54]
sar eax, 1
jns 0x5e78d0
adc eax, 0
sub esi, eax
mov eax, dword [0xa95388]
call fcn.005e9a30
cmp ebx, eax
jge 0x5e78ec
mov eax, dword [0xa95388]
call fcn.005e9a30
mov ebx, eax
mov eax, dword [0xa95388]
call fcn.005e9a28
cmp esi, eax
jge 0x5e7906
mov eax, dword [0xa95388]
call fcn.005e9a28
mov esi, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x50]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x54]
push eax
mov ecx, esi
mov edx, ebx
mov eax, dword [ebp - 4]
mov ebx, dword [eax]
call dword [ebx + 0xa8]
mov eax, dword [ebp - 4]
mov byte [eax + 0x2b7], 0
mov eax, dword [ebp - 4]
cmp byte [eax + 0x2b6], 1
jne 0x5e79f2
mov eax, dword [ebp - 4]
cmp byte [eax + 0x2b2], 2
jne 0x5e797f
push 0
mov eax, dword [ebp - 4]
call fcn.0061e3c8
push eax
push 0x223
mov eax, dword [0xa95384]
mov eax, dword [eax + 0x48]
mov eax, dword [eax + 0x394]
push eax
call sub.user32.dll_SendMessageW
push 3
mov eax, dword [ebp - 4]
call fcn.0061e3c8
push eax
call sub.user32.dll_ShowWindow
jmp 0x5e79d0
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0x2b2]
mov eax, dword [eax*4 + 0xa86598]
push eax
mov eax, dword [ebp - 4]
call fcn.0061e3c8
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x50]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x54]
shl edx, 0x10
or eax, edx
push eax
push 0
push 5
mov eax, dword [ebp - 4]
call fcn.0061e3c8
push eax
push 0x414ce4
call sub.user32.dll_CallWindowProcW
mov eax, dword [ebp - 4]
call fcn.00615460
push 0
push 0
push 0x234
mov eax, dword [0xa95384]
mov eax, dword [eax + 0x48]
mov eax, dword [eax + 0x394]
push eax
call sub.user32.dll_SendMessageW
jmp 0x5e7b51
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0x2b2]
mov eax, dword [eax*4 + 0xa86598]
push eax
mov eax, dword [ebp - 4]
call fcn.0061e3c8
push eax
call sub.user32.dll_ShowWindow
jmp 0x5e7b51
xor eax, eax
push ebp
push 0x5e7a3b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov si, 0xffaa
call fcn.00408964
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x5e7a52
mov eax, dword [0xa95388]
mov eax, dword [eax + 0x6c]
cmp eax, dword [ebp - 4]
jne 0x5e7a69
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.005e6280
mov eax, dword [ebp - 4]
cmp byte [eax + 0x2b6], 1
jne 0x5e7a85
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0xd0]
jmp 0x5e7b51
mov eax, dword [ebp - 4]
test byte [eax + 0x39c], 8
je 0x5e7ab3
push 0x97
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.0061e3c8
push eax
call sub.user32.dll_SetWindowPos
jmp 0x5e7b51
xor ebx, ebx
mov eax, dword [ebp - 4]
call fcn.0061e3c8
mov esi, eax
call sub.user32.dll_GetActiveWindow
cmp esi, eax
jne 0x5e7ae8
mov eax, dword [ebp - 4]
call fcn.0061e3c8
call fcn.005e00d0
test eax, eax
jne 0x5e7ae8
mov eax, dword [ebp - 4]
call fcn.0061e3c8
call fcn.005e0424
mov ebx, eax
test ebx, ebx
je 0x5e7b11
push 0x97
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.0061e3c8
push eax
call sub.user32.dll_SetWindowPos
push ebx
call sub.user32.dll_SetActiveWindow
jmp 0x5e7b51
push 0
mov eax, dword [ebp - 4]
call fcn.0061e3c8
push eax
call sub.user32.dll_ShowWindow
jmp 0x5e7b51
mov eax, dword [ebp - 4]
test byte [eax + 0x1c], 0x10
je 0x5e7b51
mov eax, dword [ebp - 4]
cmp dword [eax + 0x38], 0
je 0x5e7b51
mov eax, dword [ebp - 4]
cmp byte [eax + 0x1fd], 0
je 0x5e7b51
push 1
mov eax, dword [ebp - 4]
call fcn.0061e3c8
push eax
call sub.user32.dll_ShowWindow
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5e7b70
mov eax, dword [ebp - 4]
and byte [eax + 0x39c], 0xfb
ret