Function at 0x49ba34
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x42
push 0
push 0
dec ecx
jne 0x49ba3c
push ebx
push esi
mov esi, eax
mov ebx, dword [0x4cf384]
xor eax, eax
push ebp
push 0x49c04a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebx]
call fcn.004b3ad4
lea edx, [ebp - 0x1e0]
mov eax, dword [ebx]
mov eax, dword [eax + 0x36c]
call fcn.00431dc8
mov eax, dword [ebp - 0x1e0]
push eax
mov eax, dword [ebx]
mov edx, dword [eax + 0x4ffd4]
lea eax, [ebp - 0x1e4]
mov ecx, 0x49c060
call fcn.00403eb0
mov edx, dword [ebp - 0x1e4]
pop eax
call fcn.00403f74
jne 0x49bdbf
lea eax, [ebp - 8]
mov edx, dword [ebx]
mov edx, dword [edx + 0x4ff8c]
call fcn.00403c7c
mov eax, dword [ebx]
cmp byte [eax + 0x4fcb9], 0xc7
jbe 0x49baed
lea eax, [ebp - 8]
push eax
lea edx, [ebp - 0x1e8]
mov eax, dword [ebx]
mov eax, dword [eax + 0x4ffac]
call fcn.00409058
mov ecx, dword [ebp - 0x1e8]
mov eax, dword [ebx]
mov edx, dword [eax + 0x4ff8c]
mov eax, dword [ebx]
call fcn.004b5bb0
lea edx, [ebp - 0x10]
mov eax, dword [esi + 0x2dc]
call fcn.00431dc8
lea eax, [ebp - 0x1ec]
push eax
lea edx, [ebp - 0x1f0]
mov eax, dword [esi + 0x2dc]
call fcn.00431dc8
mov eax, dword [ebp - 0x1f0]
mov ecx, 4
mov edx, 1
call fcn.0040406c
mov eax, dword [ebp - 0x1ec]
mov edx, 0x49c074
call fcn.00403f74
jne 0x49bb73
lea ecx, [ebp - 0x1f4]
mov eax, dword [ebx]
mov edx, dword [ebp - 8]
call fcn.004a7520
mov edx, dword [ebp - 0x1f4]
lea eax, [ebp - 8]
call fcn.00403c7c
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x10]
call fcn.00403e64
mov ecx, eax
mov edx, 6
mov eax, dword [ebp - 0x10]
call fcn.0040406c
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 8]
call fcn.00403f74
jne 0x49bda0
mov eax, dword [ebx]
xor edx, edx
mov dword [eax + 0x4ffbc], edx
mov eax, dword [ebx]
add eax, 0x4ff8c
call fcn.00403be4
mov eax, dword [esi + 0x2e8]
mov edx, dword [eax]
call dword [edx + 0xb4]
cmp al, 1
jne 0x49bc68
lea eax, [ebp - 0x1f8]
push eax
lea edx, [ebp - 0x1fc]
mov eax, dword [0x4cf264]
mov eax, dword [eax]
call fcn.004507ac
mov eax, dword [ebp - 0x1fc]
call fcn.00403e64
sub eax, 3
push eax
lea edx, [ebp - 0x200]
mov eax, dword [0x4cf264]
mov eax, dword [eax]
call fcn.004507ac
mov eax, dword [ebp - 0x200]
mov edx, 1
pop ecx
call fcn.0040406c
mov edx, dword [ebp - 0x1f8]
lea eax, [ebp - 0xc]
mov ecx, 0x49c084
call fcn.00403eb0
mov edx, dword [ebp - 0xc]
lea eax, [ebp - 0x1dc]
call fcn.0040633e
lea eax, [ebp - 0x1dc]
call fcn.00406732
call fcn.00402854
lea edx, [ebp - 0x204]
mov eax, dword [esi + 0x2dc]
call fcn.00431dc8
mov edx, dword [ebp - 0x204]
lea eax, [ebp - 0x1dc]
call fcn.004041fc
call fcn.00406977
call fcn.00402854
lea eax, [ebp - 0x1dc]
call fcn.004064a8
call fcn.00402854
mov eax, dword [0x4cf0c4]
cmp dword [eax], 0
je 0x49bd53
push 0
mov eax, dword [0x4cf02c]
mov eax, dword [eax]
call fcn.00437ee8
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [0x4cf02c]
mov eax, dword [eax]
mov dword [eax + 0x318], 1
mov eax, dword [ebx]
imul edx, dword [eax + 0x4fdc0], 0x3e8
mov eax, dword [0x4cf0c4]
mov eax, dword [eax]
mov eax, dword [eax + 0x2d4]
call fcn.004532c0
mov eax, dword [ebx]
imul edx, dword [eax + 0x4fdc4], 0x3e8
mov eax, dword [0x4cf0c4]
mov eax, dword [eax]
mov eax, dword [eax + 0x2d8]
call fcn.004532c0
mov eax, dword [0x4cf0c4]
mov eax, dword [eax]
mov eax, dword [eax + 0x2d4]
cmp dword [eax + 0x24], 0
jne 0x49bcfa
mov edx, dword [0x4cf0c4]
mov edx, 0x3e8
call fcn.004532c0
mov eax, dword [0x4cf0c4]
mov eax, dword [eax]
mov eax, dword [eax + 0x2d8]
cmp dword [eax + 0x24], 0
jne 0x49bd1d
mov edx, dword [0x4cf0c4]
mov edx, 0x3e8
call fcn.004532c0
mov eax, dword [0x4cf0c4]
mov eax, dword [eax]
mov eax, dword [eax + 0x2d4]
mov dl, 1
call fcn.004532b0
mov eax, dword [0x4cf0c4]
mov eax, dword [eax]
mov eax, dword [eax + 0x2d8]
mov dl, 1
call fcn.004532b0
mov eax, dword [0x4cf0c4]
mov eax, dword [eax]
call fcn.0044d1b0
jmp 0x49bd8f
mov eax, dword [ebx]
call fcn.0044d1b0
mov eax, dword [ebx]
mov edx, dword [eax]
call dword [edx + 0x4c]
test al, al
jne 0x49bd8f
mov eax, dword [0x4cf2e8]
cmp dword [eax], 0
je 0x49bd8f
mov eax, dword [0x4cf2e8]
mov eax, dword [eax]
mov dl, 1
call fcn.00449fe0
mov eax, dword [0x4cf2e8]
mov eax, dword [eax]
call fcn.00437ee8
push eax
call sub.user32.dll_SetForegroundWindow
mov eax, dword [ebx]
mov eax, dword [eax + 0x684]
mov dl, 1
call fcn.00431ce0
jmp 0x49bdb8
mov eax, dword [ebx]
mov byte [eax + 0xa928], 3
mov eax, dword [ebx]
mov eax, dword [eax + 0x770]
mov dl, 1
call fcn.004532b0
mov eax, esi
call int.0044cff8
lea eax, [ebp - 4]
push eax
mov eax, dword [ebx]
lea edx, [eax + 0x4fbe0]
mov eax, dword [ebx]
mov ecx, 1
call fcn.004b3b8c
lea edx, [ebp - 0x208]
mov eax, dword [ebx]
mov eax, dword [eax + 0x36c]
call fcn.00431dc8
mov eax, dword [ebp - 0x208]
push eax
mov eax, dword [ebx]
mov ecx, dword [eax + 0x4ffd4]
lea eax, [ebp - 0x20c]
mov edx, 0x49c090
call fcn.00403eb0
mov edx, dword [ebp - 0x20c]
pop eax
call fcn.00403f74
jne 0x49bf81
lea edx, [ebp - 0x210]
mov eax, dword [esi + 0x2dc]
call fcn.00431dc8
mov eax, dword [ebp - 0x210]
mov edx, dword [ebp - 4]
call fcn.00403f74
je 0x49be60
mov eax, dword [ebx]
mov eax, dword [eax + 0x770]
mov dl, 1
call fcn.004532b0
mov eax, dword [ebx]
mov byte [eax + 0xa928], 3
mov eax, esi
call int.0044cff8
jmp 0x49bf81
mov eax, esi
call int.0044cff8
mov eax, dword [ebx]
xor ecx, ecx
mov edx, 4
call fcn.004b3b14
mov eax, dword [ebx]
mov edx, dword [eax + 0xa918]
mov eax, dword [ebx]
call fcn.004a8024
mov eax, dword [0x4cf0c4]
cmp dword [eax], 0
je 0x49bf7a
cmp dword [0x4d23a8], 0
jne 0x49bf7a
push 0
mov eax, dword [0x4cf02c]
mov eax, dword [eax]
call fcn.00437ee8
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [0x4cf02c]
mov eax, dword [eax]
mov dword [eax + 0x318], 1
mov eax, dword [ebx]
imul edx, dword [eax + 0x4fdc0], 0x3e8
mov eax, dword [0x4cf0c4]
mov eax, dword [eax]
mov eax, dword [eax + 0x2d4]
call fcn.004532c0
mov eax, dword [ebx]
imul edx, dword [eax + 0x4fdc4], 0x3e8
mov eax, dword [0x4cf0c4]
mov eax, dword [eax]
mov eax, dword [eax + 0x2d8]
call fcn.004532c0
mov eax, dword [0x4cf0c4]
mov eax, dword [eax]
mov eax, dword [eax + 0x2d4]
cmp dword [eax + 0x24], 0
jne 0x49bf23
mov edx, dword [0x4cf0c4]
mov edx, 0x3e8
call fcn.004532c0
mov eax, dword [0x4cf0c4]
mov eax, dword [eax]
mov eax, dword [eax + 0x2d8]
cmp dword [eax + 0x24], 0
jne 0x49bf46
mov edx, dword [0x4cf0c4]
mov edx, 0x3e8
call fcn.004532c0
mov eax, dword [0x4cf0c4]
mov eax, dword [eax]
mov eax, dword [eax + 0x2d4]
mov dl, 1
call fcn.004532b0
mov eax, dword [0x4cf0c4]
mov eax, dword [eax]
mov eax, dword [eax + 0x2d8]
mov dl, 1
call fcn.004532b0
mov eax, dword [0x4cf0c4]
mov eax, dword [eax]
call fcn.0044d1b0
mov eax, dword [ebx]
call fcn.004b3ad4
mov eax, dword [ebx]
xor ecx, ecx
mov edx, 4
call fcn.004b3b14
cmp dword [0x4d23a8], 0
jne 0x49bfce
mov eax, dword [0x4cf0c4]
cmp dword [eax], 0
jne 0x49bfce
mov eax, dword [ebx]
mov eax, dword [eax + 0x770]
cmp byte [eax + 0x38], 0
jne 0x49bfce
mov eax, dword [ebx]
mov edx, dword [eax + 0xb39c]
mov eax, dword [ebx]
call fcn.004aadbc
mov eax, dword [ebx]
mov eax, dword [eax + 0x6e8]
mov dl, 1
call fcn.00431ce0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49c051
lea eax, [ebp - 0x210]
call fcn.00403be4
lea eax, [ebp - 0x20c]
call fcn.00403be4
lea eax, [ebp - 0x208]
mov edx, 2
call fcn.00403c08
lea eax, [ebp - 0x200]
mov edx, 4
call fcn.00403c08
lea eax, [ebp - 0x1f0]
mov edx, 2
call fcn.00403c08
lea eax, [ebp - 0x1e8]
mov edx, 2
call fcn.00403c08
lea eax, [ebp - 0x1e0]
call fcn.00403be4
lea eax, [ebp - 0x10]
mov edx, 4
call fcn.00403c08
ret