Function at 0x4b52f0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x42
push 0
push 0
dec ecx
jne 0x4b52f8
push ebx
push esi
mov esi, eax
mov ebx, dword [0x50353c]
xor eax, eax
push ebp
push 0x4b5906
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebx]
call fcn.004da088
lea edx, [ebp - 0x1e0]
mov eax, dword [ebx]
mov eax, dword [eax + 0x368]
call fcn.00435418
mov eax, dword [ebp - 0x1e0]
push eax
mov eax, dword [ebx]
mov edx, dword [eax + 0x15448]
lea eax, [ebp - 0x1e4]
mov ecx, 0x4b591c
call fcn.00403f98
mov edx, dword [ebp - 0x1e4]
pop eax
call fcn.0040405c
jne 0x4b567b
lea eax, [ebp - 8]
mov edx, dword [ebx]
mov edx, dword [edx + 0x153f4]
call fcn.00403d64
mov eax, dword [ebx]
cmp byte [eax + 0x15121], 0xc7
jbe 0x4b53a9
lea eax, [ebp - 8]
push eax
lea edx, [ebp - 0x1e8]
mov eax, dword [ebx]
mov eax, dword [eax + 0x15414]
call fcn.00409274
mov ecx, dword [ebp - 0x1e8]
mov eax, dword [ebx]
mov edx, dword [eax + 0x153f4]
mov eax, dword [ebx]
call fcn.004dc928
lea edx, [ebp - 0x10]
mov eax, dword [esi + 0x2dc]
call fcn.00435418
lea eax, [ebp - 0x1ec]
push eax
lea edx, [ebp - 0x1f0]
mov eax, dword [esi + 0x2dc]
call fcn.00435418
mov eax, dword [ebp - 0x1f0]
mov ecx, 4
mov edx, 1
call fcn.00404154
mov eax, dword [ebp - 0x1ec]
mov edx, 0x4b5930
call fcn.0040405c
jne 0x4b542f
lea ecx, [ebp - 0x1f4]
mov eax, dword [ebx]
mov edx, dword [ebp - 8]
call fcn.004c60ac
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 0x4b565c
mov eax, dword [ebx]
xor edx, edx
mov dword [eax + 0x15430], edx
mov eax, dword [ebx]
add eax, 0x153f4
call fcn.00403ccc
mov eax, dword [esi + 0x2e8]
mov edx, dword [eax]
call dword [edx + 0xb4]
cmp al, 1
jne 0x4b5524
lea eax, [ebp - 0x1f8]
push eax
lea edx, [ebp - 0x1fc]
mov eax, dword [0x503418]
mov eax, dword [eax]
call fcn.00453e58
mov eax, dword [ebp - 0x1fc]
call fcn.00403f4c
sub eax, 3
push eax
lea edx, [ebp - 0x200]
mov eax, dword [0x503418]
mov eax, dword [eax]
call fcn.00453e58
mov eax, dword [ebp - 0x200]
mov edx, 1
pop ecx
call fcn.00404154
mov edx, dword [ebp - 0x1f8]
lea eax, [ebp - 0xc]
mov ecx, 0x4b5940
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.00435418
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 [0x50326c]
cmp dword [eax], 0
je 0x4b560f
push 0
mov eax, dword [0x5031d0]
mov eax, dword [eax]
call fcn.0043b538
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [0x5031d0]
mov eax, dword [eax]
mov dword [eax + 0x324], 1
mov eax, dword [ebx]
imul edx, dword [eax + 0x15228], 0x3e8
mov eax, dword [0x50326c]
mov eax, dword [eax]
mov eax, dword [eax + 0x2d4]
call fcn.00456a8c
mov eax, dword [ebx]
imul edx, dword [eax + 0x1522c], 0x3e8
mov eax, dword [0x50326c]
mov eax, dword [eax]
mov eax, dword [eax + 0x2d8]
call fcn.00456a8c
mov eax, dword [0x50326c]
mov eax, dword [eax]
mov eax, dword [eax + 0x2d4]
cmp dword [eax + 0x24], 0
jne 0x4b55b6
mov edx, dword [0x50326c]
mov edx, 0x3e8
call fcn.00456a8c
mov eax, dword [0x50326c]
mov eax, dword [eax]
mov eax, dword [eax + 0x2d8]
cmp dword [eax + 0x24], 0
jne 0x4b55d9
mov edx, dword [0x50326c]
mov edx, 0x3e8
call fcn.00456a8c
mov eax, dword [0x50326c]
mov eax, dword [eax]
mov eax, dword [eax + 0x2d4]
mov dl, 1
call fcn.00456a7c
mov eax, dword [0x50326c]
mov eax, dword [eax]
mov eax, dword [eax + 0x2d8]
mov dl, 1
call fcn.00456a7c
mov eax, dword [0x50326c]
mov eax, dword [eax]
call fcn.0045085c
jmp 0x4b564b
mov eax, dword [ebx]
call fcn.0045085c
mov eax, dword [ebx]
mov edx, dword [eax]
call dword [edx + 0x4c]
test al, al
jne 0x4b564b
mov eax, dword [0x5034a0]
cmp dword [eax], 0
je 0x4b564b
mov eax, dword [0x5034a0]
mov eax, dword [eax]
mov dl, 1
call fcn.0044d68c
mov eax, dword [0x5034a0]
mov eax, dword [eax]
call fcn.0043b538
push eax
call sub.user32.dll_SetForegroundWindow
mov eax, dword [ebx]
mov eax, dword [eax + 0xa2c]
mov dl, 1
call fcn.00435330
jmp 0x4b5674
mov eax, dword [ebx]
mov byte [eax + 0x14938], 3
mov eax, dword [ebx]
mov eax, dword [eax + 0x64c]
mov dl, 1
call fcn.00456a7c
mov eax, esi
call fcn.004506a4
lea eax, [ebp - 4]
push eax
mov eax, dword [ebx]
lea edx, [eax + 0x15048]
mov eax, dword [ebx]
mov ecx, 1
call fcn.004da140
lea edx, [ebp - 0x208]
mov eax, dword [ebx]
mov eax, dword [eax + 0x368]
call fcn.00435418
mov eax, dword [ebp - 0x208]
push eax
mov eax, dword [ebx]
mov ecx, dword [eax + 0x15448]
lea eax, [ebp - 0x20c]
mov edx, 0x4b594c
call fcn.00403f98
mov edx, dword [ebp - 0x20c]
pop eax
call fcn.0040405c
jne 0x4b583d
lea edx, [ebp - 0x210]
mov eax, dword [esi + 0x2dc]
call fcn.00435418
mov eax, dword [ebp - 0x210]
mov edx, dword [ebp - 4]
call fcn.0040405c
je 0x4b571c
mov eax, dword [ebx]
mov eax, dword [eax + 0x64c]
mov dl, 1
call fcn.00456a7c
mov eax, dword [ebx]
mov byte [eax + 0x14938], 3
mov eax, esi
call fcn.004506a4
jmp 0x4b583d
mov eax, esi
call fcn.004506a4
mov eax, dword [ebx]
xor ecx, ecx
mov edx, 4
call fcn.004da0c8
mov eax, dword [ebx]
mov edx, dword [eax + 0x14928]
mov eax, dword [ebx]
call fcn.004c6f8c
mov eax, dword [0x50326c]
cmp dword [eax], 0
je 0x4b5836
cmp dword [0x506824], 0
jne 0x4b5836
push 0
mov eax, dword [0x5031d0]
mov eax, dword [eax]
call fcn.0043b538
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [0x5031d0]
mov eax, dword [eax]
mov dword [eax + 0x324], 1
mov eax, dword [ebx]
imul edx, dword [eax + 0x15228], 0x3e8
mov eax, dword [0x50326c]
mov eax, dword [eax]
mov eax, dword [eax + 0x2d4]
call fcn.00456a8c
mov eax, dword [ebx]
imul edx, dword [eax + 0x1522c], 0x3e8
mov eax, dword [0x50326c]
mov eax, dword [eax]
mov eax, dword [eax + 0x2d8]
call fcn.00456a8c
mov eax, dword [0x50326c]
mov eax, dword [eax]
mov eax, dword [eax + 0x2d4]
cmp dword [eax + 0x24], 0
jne 0x4b57df
mov edx, dword [0x50326c]
mov edx, 0x3e8
call fcn.00456a8c
mov eax, dword [0x50326c]
mov eax, dword [eax]
mov eax, dword [eax + 0x2d8]
cmp dword [eax + 0x24], 0
jne 0x4b5802
mov edx, dword [0x50326c]
mov edx, 0x3e8
call fcn.00456a8c
mov eax, dword [0x50326c]
mov eax, dword [eax]
mov eax, dword [eax + 0x2d4]
mov dl, 1
call fcn.00456a7c
mov eax, dword [0x50326c]
mov eax, dword [eax]
mov eax, dword [eax + 0x2d8]
mov dl, 1
call fcn.00456a7c
mov eax, dword [0x50326c]
mov eax, dword [eax]
call fcn.0045085c
mov eax, dword [ebx]
call fcn.004da088
mov eax, dword [ebx]
xor ecx, ecx
mov edx, 4
call fcn.004da0c8
cmp dword [0x506824], 0
jne 0x4b588a
mov eax, dword [0x50326c]
cmp dword [eax], 0
jne 0x4b588a
mov eax, dword [ebx]
mov eax, dword [eax + 0x64c]
cmp byte [eax + 0x38], 0
jne 0x4b588a
mov eax, dword [ebx]
mov edx, dword [eax + 0x14e7c]
mov eax, dword [ebx]
call fcn.004cad14
mov eax, dword [ebx]
mov eax, dword [eax + 0x8bc]
mov dl, 1
call fcn.00435330
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b590d
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