Function at 0x5e263c
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov eax, 0x5ddda0
call fcn.00407d00
xor eax, eax
push ebp
push 0x5e2905
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x14]
call fcn.004a44bc
mov edx, dword [ebp - 0x14]
mov eax, dword [0x5eea5c]
call fcn.00405e48
mov eax, dword [0x5ee5e4]
cmp byte [eax], 0
mov eax, dword [0x5ee4d4]
setne byte [eax]
mov eax, dword [0x5ee394]
mov dword [eax], 2
mov eax, dword [0x5ee720]
mov eax, dword [eax]
call fcn.0048b028
lea edx, [ebp - 0x18]
mov eax, 0x5e291c
call fcn.0048d214
mov edx, dword [ebp - 0x18]
mov eax, dword [0x5ee720]
mov eax, dword [eax]
call fcn.0048aae0
lea edx, [ebp - 0x20]
xor eax, eax
call fcn.00403438
mov eax, dword [ebp - 0x20]
lea edx, [ebp - 0x1c]
call fcn.0040b894
mov edx, dword [ebp - 0x1c]
mov eax, dword [0x5ee720]
mov eax, dword [eax]
add eax, 0x50
mov ecx, 0x5e2930
call fcn.00405798
mov eax, dword [0x5ee720]
mov eax, dword [eax]
xor edx, edx
call fcn.0048ced0
mov eax, dword [0x5ee9f4]
mov eax, dword [eax]
movzx eax, byte [eax + 0x19]
mov edx, eax
add dl, 0xfe
sub dl, 2
jb 0x5e28ea
mov edx, dword [0x5ee9f4]
test al, al
jne 0x5e288c
mov edx, 0x5e293c
mov cl, 1
mov eax, 0x5e2964
call fcn.00412188
mov ebx, eax
mov edx, 0x5e293c
mov cl, 1
mov eax, 0x5e2974
call fcn.00412188
mov byte [0x5f76c0], al
mov edx, 0x5e293c
mov cl, 1
mov eax, 0x5e298c
call fcn.00412188
test bl, bl
je 0x5e2785
mov dl, 2
mov eax, 0x5e29a0
call fcn.005dacd4
mov edx, dword [0x5ee720]
mov edx, dword [edx]
mov eax, dword [0x5dc240]
call fcn.0048d9f4
jmp 0x5e28ea
cmp byte [0x5f76c0], 0
je 0x5e27a6
mov dl, 2
mov eax, 0x5e29b0
call fcn.005dacd4
mov al, 1
call fcn.005d6fa4
jmp 0x5e28ea
test al, al
je 0x5e27c0
mov eax, 0x5e29b0
mov dl, 2
call fcn.005dacd4
call fcn.005d827c
jmp 0x5e28ea
mov dl, 1
mov eax, 0x5e29c4
call fcn.005dacd4
test al, al
je 0x5e28ea
mov eax, dword [0x5ee77c]
mov eax, dword [eax]
cmp byte [eax + 0x80], 0
jne 0x5e27e9
call fcn.005d827c
mov eax, dword [0x5ee924]
mov eax, dword [eax]
call fcn.0049d3cc
test eax, eax
jle 0x5e28ea
push 0
mov eax, dword [0x5ee720]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [0x5ee720]
mov eax, dword [eax]
xor edx, edx
call fcn.0048ced0
mov eax, dword [0x5ee77c]
mov eax, dword [eax]
cmp byte [eax + 0x3f], 0
setne al
mov edx, dword [0x5ee720]
mov edx, dword [edx]
mov byte [edx + 0x5b], al
mov ecx, dword [0x5ee2c8]
mov eax, dword [0x5ee720]
mov eax, dword [eax]
mov edx, dword [0x5d7bd0]
call fcn.0048b040
push 0
mov eax, dword [0x5ee720]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [0x5ee77c]
mov eax, dword [eax]
cmp byte [eax + 0x80], 0
je 0x5e287e
mov eax, dword [0x5ee2c8]
mov eax, dword [eax]
xor edx, edx
call fcn.005d9c40
mov eax, dword [0x5ee720]
mov eax, dword [eax]
call fcn.0048b178
jmp 0x5e28ea
mov eax, 0x5e29c4
xor edx, edx
call fcn.005dacd4
xor eax, eax
push ebp
push 0x5e28bc
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x5ee720]
mov eax, dword [eax]
call fcn.0048af2c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x5e28da
mov eax, dword [0x5ee720]
mov eax, dword [eax]
cmp byte [eax + 0xa4], 0
je 0x5e2898
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5e290c
lea eax, [ebp - 0x20]
mov edx, 4
call fcn.004054a4
ret