Function at 0x49bab0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x42
push 0
push 0
dec ecx
jne 0x49bab8
push ebx
push esi
mov esi, eax
mov ebx, dword [0x4cf384]
xor eax, eax
push ebp
push 0x49c0c6
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebx]
call fcn.004b3dac
lea edx, [ebp - 0x1e0]
mov eax, dword [ebx]
mov eax, dword [eax + 0x36c]
call fcn.00431df4
mov eax, dword [ebp - 0x1e0]
push eax
mov eax, dword [ebx]
mov edx, dword [eax + 0x4fff4]
lea eax, [ebp - 0x1e4]
mov ecx, 0x49c0dc
call fcn.00403eb0
mov edx, dword [ebp - 0x1e4]
pop eax
call fcn.00403f74
jne 0x49be3b
lea eax, [ebp - 8]
mov edx, dword [ebx]
mov edx, dword [edx + 0x4ffa4]
call fcn.00403c7c
mov eax, dword [ebx]
cmp byte [eax + 0x4fcd1], 0xc7
jbe 0x49bb69
lea eax, [ebp - 8]
push eax
lea edx, [ebp - 0x1e8]
mov eax, dword [ebx]
mov eax, dword [eax + 0x4ffc4]
call fcn.00409084
mov ecx, dword [ebp - 0x1e8]
mov eax, dword [ebx]
mov edx, dword [eax + 0x4ffa4]
mov eax, dword [ebx]
call fcn.004b5e88
lea edx, [ebp - 0x10]
mov eax, dword [esi + 0x2dc]
call fcn.00431df4
lea eax, [ebp - 0x1ec]
push eax
lea edx, [ebp - 0x1f0]
mov eax, dword [esi + 0x2dc]
call fcn.00431df4
mov eax, dword [ebp - 0x1f0]
mov ecx, 4
mov edx, 1
call fcn.0040406c
mov eax, dword [ebp - 0x1ec]
mov edx, 0x49c0f0
call fcn.00403f74
jne 0x49bbef
lea ecx, [ebp - 0x1f4]
mov eax, dword [ebx]
mov edx, dword [ebp - 8]
call fcn.004a7670
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 0x49be1c
mov eax, dword [ebx]
xor edx, edx
mov dword [eax + 0x4ffdc], edx
mov eax, dword [ebx]
add eax, 0x4ffa4
call fcn.00403be4
mov eax, dword [esi + 0x2e8]
mov edx, dword [eax]
call dword [edx + 0xb4]
cmp al, 1
jne 0x49bce4
lea eax, [ebp - 0x1f8]
push eax
lea edx, [ebp - 0x1fc]
mov eax, dword [0x4cf264]
mov eax, dword [eax]
call fcn.004507d8
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.004507d8
mov eax, dword [ebp - 0x200]
mov edx, 1
pop ecx
call fcn.0040406c
mov edx, dword [ebp - 0x1f8]
lea eax, [ebp - 0xc]
mov ecx, 0x49c100
call fcn.00403eb0
mov edx, dword [ebp - 0xc]
lea eax, [ebp - 0x1dc]
call fcn.0040633e
lea eax, [ebp - 0x1dc]
call fcn.00406766
call fcn.00402854
lea edx, [ebp - 0x204]
mov eax, dword [esi + 0x2dc]
call fcn.00431df4
mov edx, dword [ebp - 0x204]
lea eax, [ebp - 0x1dc]
call fcn.004041fc
call fcn.004069ab
call fcn.00402854
lea eax, [ebp - 0x1dc]
call fcn.004064a8
call fcn.00402854
mov eax, dword [0x4cf0c4]
cmp dword [eax], 0
je 0x49bdcf
push 0
mov eax, dword [0x4cf02c]
mov eax, dword [eax]
call fcn.00437f14
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 + 0x4fdd8], 0x3e8
mov eax, dword [0x4cf0c4]
mov eax, dword [eax]
mov eax, dword [eax + 0x2d4]
call fcn.004532ec
mov eax, dword [ebx]
imul edx, dword [eax + 0x4fddc], 0x3e8
mov eax, dword [0x4cf0c4]
mov eax, dword [eax]
mov eax, dword [eax + 0x2d8]
call fcn.004532ec
mov eax, dword [0x4cf0c4]
mov eax, dword [eax]
mov eax, dword [eax + 0x2d4]
cmp dword [eax + 0x24], 0
jne 0x49bd76
mov edx, dword [0x4cf0c4]
mov edx, 0x3e8
call fcn.004532ec
mov eax, dword [0x4cf0c4]
mov eax, dword [eax]
mov eax, dword [eax + 0x2d8]
cmp dword [eax + 0x24], 0
jne 0x49bd99
mov edx, dword [0x4cf0c4]
mov edx, 0x3e8
call fcn.004532ec
mov eax, dword [0x4cf0c4]
mov eax, dword [eax]
mov eax, dword [eax + 0x2d4]
mov dl, 1
call fcn.004532dc
mov eax, dword [0x4cf0c4]
mov eax, dword [eax]
mov eax, dword [eax + 0x2d8]
mov dl, 1
call fcn.004532dc
mov eax, dword [0x4cf0c4]
mov eax, dword [eax]
call fcn.0044d1dc
jmp 0x49be0b
mov eax, dword [ebx]
call fcn.0044d1dc
mov eax, dword [ebx]
mov edx, dword [eax]
call dword [edx + 0x4c]
test al, al
jne 0x49be0b
mov eax, dword [0x4cf2e8]
cmp dword [eax], 0
je 0x49be0b
mov eax, dword [0x4cf2e8]
mov eax, dword [eax]
mov dl, 1
call fcn.0044a00c
mov eax, dword [0x4cf2e8]
mov eax, dword [eax]
call fcn.00437f14
push eax
call sub.user32.dll_SetForegroundWindow
mov eax, dword [ebx]
mov eax, dword [eax + 0x684]
mov dl, 1
call fcn.00431d0c
jmp 0x49be34
mov eax, dword [ebx]
mov byte [eax + 0xa940], 3
mov eax, dword [ebx]
mov eax, dword [eax + 0x770]
mov dl, 1
call fcn.004532dc
mov eax, esi
call fcn.0044d024
lea eax, [ebp - 4]
push eax
mov eax, dword [ebx]
lea edx, [eax + 0x4fbf8]
mov eax, dword [ebx]
mov ecx, 1
call fcn.004b3e64
lea edx, [ebp - 0x208]
mov eax, dword [ebx]
mov eax, dword [eax + 0x36c]
call fcn.00431df4
mov eax, dword [ebp - 0x208]
push eax
mov eax, dword [ebx]
mov ecx, dword [eax + 0x4fff4]
lea eax, [ebp - 0x20c]
mov edx, 0x49c10c
call fcn.00403eb0
mov edx, dword [ebp - 0x20c]
pop eax
call fcn.00403f74
jne 0x49bffd
lea edx, [ebp - 0x210]
mov eax, dword [esi + 0x2dc]
call fcn.00431df4
mov eax, dword [ebp - 0x210]
mov edx, dword [ebp - 4]
call fcn.00403f74
je 0x49bedc
mov eax, dword [ebx]
mov eax, dword [eax + 0x770]
mov dl, 1
call fcn.004532dc
mov eax, dword [ebx]
mov byte [eax + 0xa940], 3
mov eax, esi
call fcn.0044d024
jmp 0x49bffd
mov eax, esi
call fcn.0044d024
mov eax, dword [ebx]
xor ecx, ecx
mov edx, 4
call fcn.004b3dec
mov eax, dword [ebx]
mov edx, dword [eax + 0xa930]
mov eax, dword [ebx]
call fcn.004a8174
mov eax, dword [0x4cf0c4]
cmp dword [eax], 0
je 0x49bff6
cmp dword [0x4d23a8], 0
jne 0x49bff6
push 0
mov eax, dword [0x4cf02c]
mov eax, dword [eax]
call fcn.00437f14
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 + 0x4fdd8], 0x3e8
mov eax, dword [0x4cf0c4]
mov eax, dword [eax]
mov eax, dword [eax + 0x2d4]
call fcn.004532ec
mov eax, dword [ebx]
imul edx, dword [eax + 0x4fddc], 0x3e8
mov eax, dword [0x4cf0c4]
mov eax, dword [eax]
mov eax, dword [eax + 0x2d8]
call fcn.004532ec
mov eax, dword [0x4cf0c4]
mov eax, dword [eax]
mov eax, dword [eax + 0x2d4]
cmp dword [eax + 0x24], 0
jne 0x49bf9f
mov edx, dword [0x4cf0c4]
mov edx, 0x3e8
call fcn.004532ec
mov eax, dword [0x4cf0c4]
mov eax, dword [eax]
mov eax, dword [eax + 0x2d8]
cmp dword [eax + 0x24], 0
jne 0x49bfc2
mov edx, dword [0x4cf0c4]
mov edx, 0x3e8
call fcn.004532ec
mov eax, dword [0x4cf0c4]
mov eax, dword [eax]
mov eax, dword [eax + 0x2d4]
mov dl, 1
call fcn.004532dc
mov eax, dword [0x4cf0c4]
mov eax, dword [eax]
mov eax, dword [eax + 0x2d8]
mov dl, 1
call fcn.004532dc
mov eax, dword [0x4cf0c4]
mov eax, dword [eax]
call fcn.0044d1dc
mov eax, dword [ebx]
call fcn.004b3dac
mov eax, dword [ebx]
xor ecx, ecx
mov edx, 4
call fcn.004b3dec
cmp dword [0x4d23a8], 0
jne 0x49c04a
mov eax, dword [0x4cf0c4]
cmp dword [eax], 0
jne 0x49c04a
mov eax, dword [ebx]
mov eax, dword [eax + 0x770]
cmp byte [eax + 0x38], 0
jne 0x49c04a
mov eax, dword [ebx]
mov edx, dword [eax + 0xb3b4]
mov eax, dword [ebx]
call fcn.004aaf38
mov eax, dword [ebx]
mov eax, dword [eax + 0x6e8]
mov dl, 1
call fcn.00431d0c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49c0cd
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