Function at 0x5b30f0
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 0x5b37f1
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
test byte [eax + 0x1c], 0x10
jne 0x5b3145
mov eax, dword [ebp - 4]
test byte [eax + 0x3cc], 4
je 0x5b3145
lea edx, [ebp - 0x44]
mov eax, dword [0x6d01fc]
call fcn.00410300
mov ecx, dword [ebp - 0x44]
mov dl, 1
mov eax, dword [0x43ce90]
call fcn.00429020
call fcn.004098c4
mov eax, dword [0x6d779c]
call fcn.005b9650
mov eax, dword [ebp - 4]
or byte [eax + 0x3cc], 4
xor edx, edx
push ebp
push 0x5b37d4
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 4]
test byte [eax + 0x1c], 0x10
jne 0x5b378e
mov eax, dword [ebp - 4]
cmp byte [eax + 0x215], 0
je 0x5b3682
xor eax, eax
push ebp
push 0x5b31a8
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 0x5b31bf
mov eax, dword [ebp - 4]
cmp byte [eax + 0x2d3], 4
je 0x5b31f3
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0x2d3]
sub al, 4
je 0x5b31e3
add al, 0xfe
sub al, 2
jae 0x5b32d6
mov eax, dword [ebp - 4]
cmp byte [eax + 0x2d2], 1
jne 0x5b32d6
mov eax, dword [ebp - 4]
cmp byte [eax + 0x2d2], 1
jne 0x5b3249
mov eax, dword [0x6d779c]
mov eax, dword [eax + 0x58]
call fcn.00511b80
mov ebx, eax
mov eax, dword [ebp - 4]
sub ebx, dword [eax + 0x58]
sar ebx, 1
jns 0x5b321b
adc ebx, 0
mov eax, dword [0x6d779c]
mov eax, dword [eax + 0x58]
call fcn.00511bc0
mov esi, eax
mov eax, dword [ebp - 4]
sub esi, dword [eax + 0x5c]
sar esi, 1
jns 0x5b3237
adc esi, 0
lea edx, [ebp - 0x14]
mov eax, dword [0x6d779c]
mov eax, dword [eax + 0x58]
mov ecx, dword [eax]
call dword [ecx + 0x70]
jmp 0x5b328d
mov eax, dword [ebp - 4]
call fcn.005afdd4
lea edx, [ebp - 0x14]
call fcn.005b4d34
lea eax, [ebp - 0x14]
call fcn.004125d0
mov ebx, eax
mov eax, dword [ebp - 4]
sub ebx, dword [eax + 0x58]
sar ebx, 1
jns 0x5b3270
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 0x5b328a
adc esi, 0
add esi, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
cmp ebx, eax
jge 0x5b3296
mov ebx, eax
mov eax, dword [ebp - 0x10]
cmp esi, eax
jge 0x5b329f
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 0x5b358e
mov eax, dword [ebp - 4]
call fcn.005b061c
jmp 0x5b358e
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0x2d3]
mov edx, eax
add dl, 0xfa
sub dl, 2
jae 0x5b3493
mov eax, dword [0x6d779c]
mov edi, dword [eax + 0x58]
mov eax, dword [ebp - 4]
cmp byte [eax + 0x2d3], 7
jne 0x5b331d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov edx, dword [0x5a3f0c]
call fcn.0040868c
test al, al
je 0x5b331d
mov eax, dword [ebp - 4]
mov edi, dword [eax + 4]
mov eax, dword [ebp - 4]
cmp byte [eax + 0x2ce], 2
jne 0x5b334b
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x308]
mov eax, dword [ebp - 4]
call fcn.005aea20
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x30c]
mov eax, dword [ebp - 4]
call fcn.005aea4c
test edi, edi
je 0x5b339b
cmp edi, dword [ebp - 4]
je 0x5b339b
mov eax, edi
call fcn.005ae57c
mov ebx, eax
mov eax, dword [edi + 0x58]
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x58]
sar eax, 1
jns 0x5b336d
adc eax, 0
add ebx, eax
mov eax, edi
call fcn.005ae59c
mov esi, eax
mov eax, dword [edi + 0x5c]
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x5c]
sar eax, 1
jns 0x5b3388
adc eax, 0
add esi, eax
mov eax, edi
call fcn.005afdd4
lea edx, [ebp - 0x14]
call fcn.005b4d34
jmp 0x5b33da
mov eax, dword [0x6d77a0]
call fcn.005b51d8
mov ebx, eax
mov eax, dword [ebp - 4]
sub ebx, dword [eax + 0x58]
sar ebx, 1
jns 0x5b33b4
adc ebx, 0
mov eax, dword [0x6d77a0]
call fcn.005b51d0
mov esi, eax
mov eax, dword [ebp - 4]
sub esi, dword [eax + 0x5c]
sar esi, 1
jns 0x5b33cd
adc esi, 0
lea edx, [ebp - 0x14]
mov eax, dword [0x6d77a0]
call fcn.005b6444
mov eax, dword [ebp - 0x14]
cmp ebx, eax
jge 0x5b33e3
mov ebx, eax
mov eax, dword [ebp - 0x10]
cmp esi, eax
jge 0x5b33ec
mov esi, eax
mov eax, dword [ebp - 4]
cmp byte [eax + 0x2ce], 2
jne 0x5b345c
mov eax, dword [ebp - 4]
call fcn.0051b800
test al, al
je 0x5b345c
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.005b454c
mov edx, esi
mov eax, dword [ebp - 4]
call fcn.005b4588
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.00511b24
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 0x5b3479
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 0x5b358e
mov eax, dword [ebp - 4]
call fcn.005b061c
jmp 0x5b358e
cmp al, 5
jne 0x5b358e
mov eax, dword [ebp - 4]
cmp byte [eax + 0x2d2], 1
jne 0x5b34e1
mov eax, dword [0x6d779c]
mov eax, dword [eax + 0x58]
call fcn.00511b80
mov ebx, eax
mov eax, dword [ebp - 4]
sub ebx, dword [eax + 0x58]
sar ebx, 1
jns 0x5b34c3
adc ebx, 0
mov eax, dword [0x6d779c]
mov eax, dword [eax + 0x58]
call fcn.00511bc0
mov esi, eax
mov eax, dword [ebp - 4]
sub esi, dword [eax + 0x5c]
sar esi, 1
jns 0x5b353d
adc esi, 0
jmp 0x5b353d
mov eax, dword [0x6d77a0]
call fcn.005b51f8
mov ebx, eax
sar ebx, 1
jns 0x5b34f4
adc ebx, 0
mov eax, dword [0x6d77a0]
call fcn.005b51e8
add ebx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x58]
sar eax, 1
jns 0x5b350d
adc eax, 0
sub ebx, eax
mov eax, dword [0x6d77a0]
call fcn.005b51f0
mov esi, eax
sar esi, 1
jns 0x5b3522
adc esi, 0
mov eax, dword [0x6d77a0]
call fcn.005b51e0
add esi, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x5c]
sar eax, 1
jns 0x5b353b
adc eax, 0
sub esi, eax
mov eax, dword [0x6d77a0]
call fcn.005b51e8
cmp ebx, eax
jge 0x5b3557
mov eax, dword [0x6d77a0]
call fcn.005b51e8
mov ebx, eax
mov eax, dword [0x6d77a0]
call fcn.005b51e0
cmp esi, eax
jge 0x5b3571
mov eax, dword [0x6d77a0]
call fcn.005b51e0
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 0x5b365d
mov eax, dword [ebp - 4]
cmp byte [eax + 0x2ce], 2
jne 0x5b35ea
push 0
mov eax, dword [ebp - 4]
call fcn.0051b42c
push eax
push 0x223
mov eax, dword [0x6d779c]
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.0051b42c
push eax
call sub.user32.dll_ShowWindow
jmp 0x5b363b
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0x2ce]
mov eax, dword [eax*4 + 0x6cec24]
push eax
mov eax, dword [ebp - 4]
call fcn.0051b42c
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.0051b42c
push eax
push 0x414788
call sub.user32.dll_CallWindowProcW
mov eax, dword [ebp - 4]
call fcn.005126a4
push 0
push 0
push 0x234
mov eax, dword [0x6d779c]
mov eax, dword [eax + 0x58]
mov eax, dword [eax + 0x3c4]
push eax
call sub.user32.dll_SendMessageW
jmp 0x5b37bc
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0x2ce]
mov eax, dword [eax*4 + 0x6cec24]
push eax
mov eax, dword [ebp - 4]
call fcn.0051b42c
push eax
call sub.user32.dll_ShowWindow
jmp 0x5b37bc
xor eax, eax
push ebp
push 0x5b36a6
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 0x5b36bd
mov eax, dword [0x6d77a0]
mov eax, dword [eax + 0x74]
cmp eax, dword [ebp - 4]
jne 0x5b36d4
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.005b1c04
mov eax, dword [ebp - 4]
cmp byte [eax + 0x2d2], 1
jne 0x5b36f0
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0xf4]
jmp 0x5b37bc
mov eax, dword [ebp - 4]
test byte [eax + 0x3cc], 8
je 0x5b371e
push 0x97
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.0051b42c
push eax
call sub.user32.dll_SetWindowPos
jmp 0x5b37bc
xor ebx, ebx
mov eax, dword [ebp - 4]
call fcn.0051b42c
mov esi, eax
call sub.user32.dll_GetActiveWindow
cmp esi, eax
jne 0x5b3753
mov eax, dword [ebp - 4]
call fcn.0051b42c
call fcn.005ab994
test eax, eax
jne 0x5b3753
mov eax, dword [ebp - 4]
call fcn.0051b42c
call fcn.005abcbc
mov ebx, eax
test ebx, ebx
je 0x5b377c
push 0x97
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.0051b42c
push eax
call sub.user32.dll_SetWindowPos
push ebx
call sub.user32.dll_SetActiveWindow
jmp 0x5b37bc
push 0
mov eax, dword [ebp - 4]
call fcn.0051b42c
push eax
call sub.user32.dll_ShowWindow
jmp 0x5b37bc
mov eax, dword [ebp - 4]
test byte [eax + 0x1c], 0x10
je 0x5b37bc
mov eax, dword [ebp - 4]
cmp dword [eax + 0x40], 0
je 0x5b37bc
mov eax, dword [ebp - 4]
cmp byte [eax + 0x215], 0
je 0x5b37bc
push 1
mov eax, dword [ebp - 4]
call fcn.0051b42c
push eax
call sub.user32.dll_ShowWindow
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5b37db
mov eax, dword [ebp - 4]
and byte [eax + 0x3cc], 0xfb
ret