Function at 0x4b7cec
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x42
push 0
push 0
dec ecx
jne 0x4b7cf4
push ebx
push esi
mov esi, eax
mov ebx, dword [0x50b540]
xor eax, eax
push ebp
push 0x4b8302
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebx]
call fcn.004d7830
lea edx, [ebp - 0x1e0]
mov eax, dword [ebx]
mov eax, dword [eax + 0x368]
call fcn.00435428
mov eax, dword [ebp - 0x1e0]
push eax
mov eax, dword [ebx]
mov edx, dword [eax + 0x155a8]
lea eax, [ebp - 0x1e4]
mov ecx, 0x4b8318
call fcn.00403f98
mov edx, dword [ebp - 0x1e4]
pop eax
call fcn.0040405c
jne 0x4b8077
lea eax, [ebp - 8]
mov edx, dword [ebx]
mov edx, dword [edx + 0x15558]
call fcn.00403d64
mov eax, dword [ebx]
cmp byte [eax + 0x15285], 0xc7
jbe 0x4b7da5
lea eax, [ebp - 8]
push eax
lea edx, [ebp - 0x1e8]
mov eax, dword [ebx]
mov eax, dword [eax + 0x15578]
call fcn.00409274
mov ecx, dword [ebp - 0x1e8]
mov eax, dword [ebx]
mov edx, dword [eax + 0x15558]
mov eax, dword [ebx]
call fcn.004d9768
lea edx, [ebp - 0x10]
mov eax, dword [esi + 0x2dc]
call fcn.00435428
lea eax, [ebp - 0x1ec]
push eax
lea edx, [ebp - 0x1f0]
mov eax, dword [esi + 0x2dc]
call fcn.00435428
mov eax, dword [ebp - 0x1f0]
mov ecx, 4
mov edx, 1
call fcn.00404154
mov eax, dword [ebp - 0x1ec]
mov edx, 0x4b832c
call fcn.0040405c
jne 0x4b7e2b
lea ecx, [ebp - 0x1f4]
mov eax, dword [ebx]
mov edx, dword [ebp - 8]
call fcn.004c7820
mov edx, dword [ebp - 0x1f4]
lea eax, [ebp - 8]
call fcn.00403d64
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x10]
call fcn.00403f4c
mov ecx, eax
mov edx, 6
mov eax, dword [ebp - 0x10]
call fcn.00404154
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 8]
call fcn.0040405c
jne 0x4b8058
mov eax, dword [ebx]
xor edx, edx
mov dword [eax + 0x15594], edx
mov eax, dword [ebx]
add eax, 0x15558
call fcn.00403ccc
mov eax, dword [esi + 0x2e8]
mov edx, dword [eax]
call dword [edx + 0xb4]
cmp al, 1
jne 0x4b7f20
lea eax, [ebp - 0x1f8]
push eax
lea edx, [ebp - 0x1fc]
mov eax, dword [0x50b418]
mov eax, dword [eax]
call fcn.00454160
mov eax, dword [ebp - 0x1fc]
call fcn.00403f4c
sub eax, 3
push eax
lea edx, [ebp - 0x200]
mov eax, dword [0x50b418]
mov eax, dword [eax]
call fcn.00454160
mov eax, dword [ebp - 0x200]
mov edx, 1
pop ecx
call fcn.00404154
mov edx, dword [ebp - 0x1f8]
lea eax, [ebp - 0xc]
mov ecx, 0x4b833c
call fcn.00403f98
mov edx, dword [ebp - 0xc]
lea eax, [ebp - 0x1dc]
call fcn.0040649a
lea eax, [ebp - 0x1dc]
call fcn.004068c2
call fcn.00402874
lea edx, [ebp - 0x204]
mov eax, dword [esi + 0x2dc]
call fcn.00435428
mov edx, dword [ebp - 0x204]
lea eax, [ebp - 0x1dc]
call fcn.004042e4
call fcn.00406b07
call fcn.00402874
lea eax, [ebp - 0x1dc]
call fcn.00406604
call fcn.00402874
mov eax, dword [0x50b26c]
cmp dword [eax], 0
je 0x4b800b
push 0
mov eax, dword [0x50b1d0]
mov eax, dword [eax]
call fcn.0043b548
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [0x50b1d0]
mov eax, dword [eax]
mov dword [eax + 0x324], 1
mov eax, dword [ebx]
imul edx, dword [eax + 0x1538c], 0x3e8
mov eax, dword [0x50b26c]
mov eax, dword [eax]
mov eax, dword [eax + 0x2d4]
call fcn.00456d94
mov eax, dword [ebx]
imul edx, dword [eax + 0x15390], 0x3e8
mov eax, dword [0x50b26c]
mov eax, dword [eax]
mov eax, dword [eax + 0x2d8]
call fcn.00456d94
mov eax, dword [0x50b26c]
mov eax, dword [eax]
mov eax, dword [eax + 0x2d4]
cmp dword [eax + 0x24], 0
jne 0x4b7fb2
mov edx, dword [0x50b26c]
mov edx, 0x3e8
call fcn.00456d94
mov eax, dword [0x50b26c]
mov eax, dword [eax]
mov eax, dword [eax + 0x2d8]
cmp dword [eax + 0x24], 0
jne 0x4b7fd5
mov edx, dword [0x50b26c]
mov edx, 0x3e8
call fcn.00456d94
mov eax, dword [0x50b26c]
mov eax, dword [eax]
mov eax, dword [eax + 0x2d4]
mov dl, 1
call fcn.00456d84
mov eax, dword [0x50b26c]
mov eax, dword [eax]
mov eax, dword [eax + 0x2d8]
mov dl, 1
call fcn.00456d84
mov eax, dword [0x50b26c]
mov eax, dword [eax]
call fcn.00450b64
jmp 0x4b8047
mov eax, dword [ebx]
call fcn.00450b64
mov eax, dword [ebx]
mov edx, dword [eax]
call dword [edx + 0x4c]
test al, al
jne 0x4b8047
mov eax, dword [0x50b4a4]
cmp dword [eax], 0
je 0x4b8047
mov eax, dword [0x50b4a4]
mov eax, dword [eax]
mov dl, 1
call fcn.0044d994
mov eax, dword [0x50b4a4]
mov eax, dword [eax]
call fcn.0043b548
push eax
call sub.user32.dll_SetForegroundWindow
mov eax, dword [ebx]
mov eax, dword [eax + 0xa0c]
mov dl, 1
call fcn.00435340
jmp 0x4b8070
mov eax, dword [ebx]
mov byte [eax + 0x14a9c], 3
mov eax, dword [ebx]
mov eax, dword [eax + 0x634]
mov dl, 1
call fcn.00456d84
mov eax, esi
call fcn.004509ac
lea eax, [ebp - 4]
push eax
mov eax, dword [ebx]
lea edx, [eax + 0x151ac]
mov eax, dword [ebx]
mov ecx, 1
call fcn.004d78e8
lea edx, [ebp - 0x208]
mov eax, dword [ebx]
mov eax, dword [eax + 0x368]
call fcn.00435428
mov eax, dword [ebp - 0x208]
push eax
mov eax, dword [ebx]
mov ecx, dword [eax + 0x155a8]
lea eax, [ebp - 0x20c]
mov edx, 0x4b8348
call fcn.00403f98
mov edx, dword [ebp - 0x20c]
pop eax
call fcn.0040405c
jne 0x4b8239
lea edx, [ebp - 0x210]
mov eax, dword [esi + 0x2dc]
call fcn.00435428
mov eax, dword [ebp - 0x210]
mov edx, dword [ebp - 4]
call fcn.0040405c
je 0x4b8118
mov eax, dword [ebx]
mov eax, dword [eax + 0x634]
mov dl, 1
call fcn.00456d84
mov eax, dword [ebx]
mov byte [eax + 0x14a9c], 3
mov eax, esi
call fcn.004509ac
jmp 0x4b8239
mov eax, esi
call fcn.004509ac
mov eax, dword [ebx]
xor ecx, ecx
mov edx, 4
call fcn.004d7870
mov eax, dword [ebx]
mov edx, dword [eax + 0x14a8c]
mov eax, dword [ebx]
call fcn.004c8ccc
mov eax, dword [0x50b26c]
cmp dword [eax], 0
je 0x4b8232
cmp dword [0x50e830], 0
jne 0x4b8232
push 0
mov eax, dword [0x50b1d0]
mov eax, dword [eax]
call fcn.0043b548
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [0x50b1d0]
mov eax, dword [eax]
mov dword [eax + 0x324], 1
mov eax, dword [ebx]
imul edx, dword [eax + 0x1538c], 0x3e8
mov eax, dword [0x50b26c]
mov eax, dword [eax]
mov eax, dword [eax + 0x2d4]
call fcn.00456d94
mov eax, dword [ebx]
imul edx, dword [eax + 0x15390], 0x3e8
mov eax, dword [0x50b26c]
mov eax, dword [eax]
mov eax, dword [eax + 0x2d8]
call fcn.00456d94
mov eax, dword [0x50b26c]
mov eax, dword [eax]
mov eax, dword [eax + 0x2d4]
cmp dword [eax + 0x24], 0
jne 0x4b81db
mov edx, dword [0x50b26c]
mov edx, 0x3e8
call fcn.00456d94
mov eax, dword [0x50b26c]
mov eax, dword [eax]
mov eax, dword [eax + 0x2d8]
cmp dword [eax + 0x24], 0
jne 0x4b81fe
mov edx, dword [0x50b26c]
mov edx, 0x3e8
call fcn.00456d94
mov eax, dword [0x50b26c]
mov eax, dword [eax]
mov eax, dword [eax + 0x2d4]
mov dl, 1
call fcn.00456d84
mov eax, dword [0x50b26c]
mov eax, dword [eax]
mov eax, dword [eax + 0x2d8]
mov dl, 1
call fcn.00456d84
mov eax, dword [0x50b26c]
mov eax, dword [eax]
call fcn.00450b64
mov eax, dword [ebx]
call fcn.004d7830
mov eax, dword [ebx]
xor ecx, ecx
mov edx, 4
call fcn.004d7870
cmp dword [0x50e830], 0
jne 0x4b8286
mov eax, dword [0x50b26c]
cmp dword [eax], 0
jne 0x4b8286
mov eax, dword [ebx]
mov eax, dword [eax + 0x634]
cmp byte [eax + 0x38], 0
jne 0x4b8286
mov eax, dword [ebx]
mov edx, dword [eax + 0x14fe0]
mov eax, dword [ebx]
call fcn.004cd24c
mov eax, dword [ebx]
mov eax, dword [eax + 0x8a4]
mov dl, 1
call fcn.00435340
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b8309
lea eax, [ebp - 0x210]
call fcn.00403ccc
lea eax, [ebp - 0x20c]
call fcn.00403ccc
lea eax, [ebp - 0x208]
mov edx, 2
call fcn.00403cf0
lea eax, [ebp - 0x200]
mov edx, 4
call fcn.00403cf0
lea eax, [ebp - 0x1f0]
mov edx, 2
call fcn.00403cf0
lea eax, [ebp - 0x1e8]
mov edx, 2
call fcn.00403cf0
lea eax, [ebp - 0x1e0]
call fcn.00403ccc
lea eax, [ebp - 0x10]
mov edx, 4
call fcn.00403cf0
ret