Function at 0x4b804c
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push ebx
push esi
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x4b8496
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [0x4d90b8], 0
jne 0x4b8473
call fcn.0040b04c
add esp, 0xfffffff8
fstp qword [esp]
wait
push 0xffffffffffffffff
push 0xffffff6a
call fcn.004b15dc
fcomp qword [0x4d9138]
fnstsw ax
sahf
jbe 0x4b80a3
mov dword [0x4d9134], 0xffffffff
test bl, bl
je 0x4b8398
cmp dword [0x4d9134], 0
je 0x4b8473
call fcn.004b4a54
xor edx, edx
mov eax, esi
call fcn.004bd420
cmp byte [0x4dae03], 0
je 0x4b812d
mov eax, esi
call fcn.00468018
mov edx, eax
mov cl, 1
mov eax, esi
call fcn.004bc780
mov eax, dword [0x4d9684]
cmp dword [eax], 0
je 0x4b8102
mov eax, dword [0x4d9684]
mov eax, dword [eax]
call fcn.00468018
mov edx, eax
mov cl, 1
mov eax, esi
call fcn.004bc780
mov eax, dword [0x4d9610]
cmp dword [eax], 0
je 0x4b812d
mov eax, dword [0x4d9610]
cmp dword [eax], 0
je 0x4b812d
mov eax, dword [0x4d9610]
mov eax, dword [eax]
call fcn.00468018
mov edx, eax
mov cl, 1
mov eax, esi
call fcn.004bc780
call fcn.0040b04c
fstp qword [0x4d9138]
wait
xor eax, eax
mov dword [0x4d9134], eax
cmp byte [0x4daeb0], 0
je 0x4b81a2
xor edx, edx
mov eax, dword [esi + 0x378]
call fcn.00437918
cmp dword [0x4dadfc], 3
jne 0x4b81a2
mov edx, dword [0x4dafb8]
mov eax, dword [esi + 0x310]
call fcn.00461850
mov edx, dword [0x4d922c]
mov eax, dword [esi + 0x310]
mov ecx, dword [eax]
call dword [ecx + 0xdc]
mov edx, dword [0x4dafbc]
mov eax, dword [esi + 0x310]
mov ecx, dword [eax]
call dword [ecx + 0xd8]
mov dword [0x4d922c], 0xffffffff
cmp byte [0x4daf04], 0
je 0x4b81b4
xor edx, edx
mov eax, esi
call fcn.004d31f0
mov eax, dword [0x4d96c0]
mov eax, dword [eax]
cmp byte [eax + 0x9d], 0
jne 0x4b81d6
push 5
mov eax, dword [0x4d96c0]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_ShowWindow
mov dl, 1
mov eax, dword [0x4dadd8]
call fcn.0047ac44
cmp byte [0x4d9224], 0
je 0x4b81f9
mov eax, dword [esi + 0x310]
mov edx, dword [eax]
call dword [edx + 0x88]
mov eax, dword [0x4d9684]
cmp dword [eax], 0
je 0x4b8237
mov eax, dword [0x4d9684]
mov eax, dword [eax]
mov dl, 1
call fcn.0047ac44
mov dl, 1
mov eax, dword [0x4dadd8]
call fcn.0047ac44
mov eax, dword [0x4d9684]
mov eax, dword [eax]
mov dl, 1
call fcn.004d58b8
mov eax, dword [0x4d96c0]
mov eax, dword [eax]
call fcn.0048159c
cmp dword [0x4dadfc], 3
jne 0x4b8286
mov eax, dword [0x4d9684]
cmp dword [eax], 0
jne 0x4b8286
call fcn.004b425c
cmp byte [0x4dae79], 0
je 0x4b8286
cmp byte [0x4d90f8], 0
je 0x4b8286
cmp byte [0x4dae42], 0
je 0x4b8286
cmp byte [0x4daec0], 0
jne 0x4b8286
mov eax, dword [0x4d98e8]
cmp dword [eax], 0
je 0x4b8286
xor edx, edx
mov eax, esi
call fcn.004d1734
cmp byte [0x4dae79], 0
je 0x4b82c2
cmp byte [0x4d90f8], 0
je 0x4b82c2
cmp byte [0x4dae42], 0
je 0x4b82c2
cmp byte [0x4daec0], 0
jne 0x4b82c2
mov eax, dword [0x4d98e8]
cmp dword [eax], 0
je 0x4b82c2
mov eax, dword [0x4d98e8]
mov eax, dword [eax]
mov dl, 1
call fcn.0047ac44
mov eax, esi
call fcn.00468018
push eax
call sub.user32.dll_SetForegroundWindow
mov eax, esi
call fcn.00461a80
cmp byte [0x4daeb0], 0
je 0x4b82e8
xor edx, edx
mov eax, esi
call fcn.004b85c8
cmp byte [0x4daeb1], 0
je 0x4b8352
mov dl, 1
mov eax, dword [esi + 0x3c0]
call fcn.00437918
mov byte [0x4d91f8], 1
cmp byte [0x4dae79], 0
je 0x4b831b
cmp byte [0x4daec0], 0
jne 0x4b831b
xor eax, eax
jmp 0x4b831d
mov al, 1
push eax
lea edx, [ebp - 4]
mov eax, dword [0x4daeac]
call fcn.004b6bb4
mov edx, dword [ebp - 4]
mov cl, 1
mov eax, esi
call fcn.004b95b8
lea edx, [ebp - 8]
mov eax, dword [esi + 0x310]
call fcn.00461820
mov edx, dword [ebp - 8]
mov eax, 0x4d90e4
call fcn.00404854
cmp byte [0x4dae3d], 0
je 0x4b838c
cmp byte [0x4daeb1], 0
jne 0x4b838c
lea edx, [ebp - 0xc]
mov eax, dword [esi + 0x310]
call fcn.00461820
mov edx, dword [ebp - 0xc]
mov eax, dword [0x4daf20]
call fcn.00438ec0
test al, al
jne 0x4b838c
mov dl, 1
mov eax, esi
call fcn.004b9510
mov al, 1
call fcn.004b4324
jmp 0x4b8473
cmp byte [0x4dae79], 0
jne 0x4b83bd
mov eax, dword [esi + 0x3cc]
call fcn.00456ba8
test al, al
je 0x4b83bd
xor edx, edx
mov eax, dword [esi + 0x3cc]
call fcn.00456bcc
call fcn.0040b04c
fstp qword [0x4d9138]
wait
mov dword [0x4d9134], 1
cmp byte [0x4daeb1], 0
je 0x4b83e9
push 1
xor ecx, ecx
xor edx, edx
mov eax, esi
call fcn.004b95b8
mov eax, dword [0x4d9684]
cmp dword [eax], 0
je 0x4b83fa
cmp byte [0x4dae02], 1
mov eax, dword [0x4d9684]
cmp dword [eax], 0
je 0x4b8412
mov eax, dword [0x4d9684]
mov eax, dword [eax]
xor edx, edx
call fcn.0047ac44
push 0
mov eax, dword [0x4d96c0]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [0x4dadd8]
call fcn.0047ac44
mov eax, dword [0x4d98e8]
cmp dword [eax], 0
je 0x4b8448
mov eax, dword [0x4d98e8]
mov eax, dword [eax]
xor edx, edx
call fcn.0047ac44
cmp byte [0x4daeb0], 0
je 0x4b845a
mov dl, 1
mov eax, esi
call fcn.004b85c8
cmp byte [0x4dae0c], 0
jne 0x4b846c
cmp byte [0x4dae0d], 0
je 0x4b8473
mov eax, esi
call fcn.004bd338
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b849d
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.00404824
lea eax, [ebp - 4]
call fcn.00404800
ret