Function at 0x49e9e8
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x42
push 0
push 0
dec ecx
jne 0x49e9f0
push ebx
push esi
mov esi, eax
mov ebx, dword [0x4e6388]
xor eax, eax
push ebp
push 0x49effe
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebx]
call fcn.004bfe18
lea edx, [ebp - 0x1e0]
mov eax, dword [ebx]
mov eax, dword [eax + 0x368]
call fcn.00431e40
mov eax, dword [ebp - 0x1e0]
push eax
mov eax, dword [ebx]
mov edx, dword [eax + 0x5fd24]
lea eax, [ebp - 0x1e4]
mov ecx, 0x49f014
call fcn.00403ec0
mov edx, dword [ebp - 0x1e4]
pop eax
call fcn.00403f84
jne 0x49ed73
lea eax, [ebp - 8]
mov edx, dword [ebx]
mov edx, dword [edx + 0x5fcd4]
call fcn.00403c8c
mov eax, dword [ebx]
cmp byte [eax + 0x5fa01], 0xc7
jbe 0x49eaa1
lea eax, [ebp - 8]
push eax
lea edx, [ebp - 0x1e8]
mov eax, dword [ebx]
mov eax, dword [eax + 0x5fcf4]
call fcn.0040909c
mov ecx, dword [ebp - 0x1e8]
mov eax, dword [ebx]
mov edx, dword [eax + 0x5fcd4]
mov eax, dword [ebx]
call fcn.004c23b0
lea edx, [ebp - 0x10]
mov eax, dword [esi + 0x2dc]
call fcn.00431e40
lea eax, [ebp - 0x1ec]
push eax
lea edx, [ebp - 0x1f0]
mov eax, dword [esi + 0x2dc]
call fcn.00431e40
mov eax, dword [ebp - 0x1f0]
mov ecx, 4
mov edx, 1
call fcn.0040407c
mov eax, dword [ebp - 0x1ec]
mov edx, 0x49f028
call fcn.00403f84
jne 0x49eb27
lea ecx, [ebp - 0x1f4]
mov eax, dword [ebx]
mov edx, dword [ebp - 8]
call fcn.004ae2a0
mov edx, dword [ebp - 0x1f4]
lea eax, [ebp - 8]
call fcn.00403c8c
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x10]
call fcn.00403e74
mov ecx, eax
mov edx, 6
mov eax, dword [ebp - 0x10]
call fcn.0040407c
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 8]
call fcn.00403f84
jne 0x49ed54
mov eax, dword [ebx]
xor edx, edx
mov dword [eax + 0x5fd0c], edx
mov eax, dword [ebx]
add eax, 0x5fcd4
call fcn.00403bf4
mov eax, dword [esi + 0x2e8]
mov edx, dword [eax]
call dword [edx + 0xb4]
cmp al, 1
jne 0x49ec1c
lea eax, [ebp - 0x1f8]
push eax
lea edx, [ebp - 0x1fc]
mov eax, dword [0x4e6268]
mov eax, dword [eax]
call fcn.00450824
mov eax, dword [ebp - 0x1fc]
call fcn.00403e74
sub eax, 3
push eax
lea edx, [ebp - 0x200]
mov eax, dword [0x4e6268]
mov eax, dword [eax]
call fcn.00450824
mov eax, dword [ebp - 0x200]
mov edx, 1
pop ecx
call fcn.0040407c
mov edx, dword [ebp - 0x1f8]
lea eax, [ebp - 0xc]
mov ecx, 0x49f038
call fcn.00403ec0
mov edx, dword [ebp - 0xc]
lea eax, [ebp - 0x1dc]
call fcn.0040634e
lea eax, [ebp - 0x1dc]
call fcn.00406776
call fcn.00402864
lea edx, [ebp - 0x204]
mov eax, dword [esi + 0x2dc]
call fcn.00431e40
mov edx, dword [ebp - 0x204]
lea eax, [ebp - 0x1dc]
call fcn.0040420c
call fcn.004069bb
call fcn.00402864
lea eax, [ebp - 0x1dc]
call fcn.004064b8
call fcn.00402864
mov eax, dword [0x4e60c8]
cmp dword [eax], 0
je 0x49ed07
push 0
mov eax, dword [0x4e6030]
mov eax, dword [eax]
call fcn.00437f60
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [0x4e6030]
mov eax, dword [eax]
mov dword [eax + 0x318], 1
mov eax, dword [ebx]
imul edx, dword [eax + 0x5fb08], 0x3e8
mov eax, dword [0x4e60c8]
mov eax, dword [eax]
mov eax, dword [eax + 0x2d4]
call fcn.00453338
mov eax, dword [ebx]
imul edx, dword [eax + 0x5fb0c], 0x3e8
mov eax, dword [0x4e60c8]
mov eax, dword [eax]
mov eax, dword [eax + 0x2d8]
call fcn.00453338
mov eax, dword [0x4e60c8]
mov eax, dword [eax]
mov eax, dword [eax + 0x2d4]
cmp dword [eax + 0x24], 0
jne 0x49ecae
mov edx, dword [0x4e60c8]
mov edx, 0x3e8
call fcn.00453338
mov eax, dword [0x4e60c8]
mov eax, dword [eax]
mov eax, dword [eax + 0x2d8]
cmp dword [eax + 0x24], 0
jne 0x49ecd1
mov edx, dword [0x4e60c8]
mov edx, 0x3e8
call fcn.00453338
mov eax, dword [0x4e60c8]
mov eax, dword [eax]
mov eax, dword [eax + 0x2d4]
mov dl, 1
call fcn.00453328
mov eax, dword [0x4e60c8]
mov eax, dword [eax]
mov eax, dword [eax + 0x2d8]
mov dl, 1
call fcn.00453328
mov eax, dword [0x4e60c8]
mov eax, dword [eax]
call fcn.0044d228
jmp 0x49ed43
mov eax, dword [ebx]
call fcn.0044d228
mov eax, dword [ebx]
mov edx, dword [eax]
call dword [edx + 0x4c]
test al, al
jne 0x49ed43
mov eax, dword [0x4e62ec]
cmp dword [eax], 0
je 0x49ed43
mov eax, dword [0x4e62ec]
mov eax, dword [eax]
mov dl, 1
call fcn.0044a058
mov eax, dword [0x4e62ec]
mov eax, dword [eax]
call fcn.00437f60
push eax
call sub.user32.dll_SetForegroundWindow
mov eax, dword [ebx]
mov eax, dword [eax + 0x8b0]
mov dl, 1
call fcn.00431d58
jmp 0x49ed6c
mov eax, dword [ebx]
mov byte [eax + 0xcbb0], 3
mov eax, dword [ebx]
mov eax, dword [eax + 0x67c]
mov dl, 1
call fcn.00453328
mov eax, esi
call fcn.0044d070
lea eax, [ebp - 4]
push eax
mov eax, dword [ebx]
lea edx, [eax + 0x5f928]
mov eax, dword [ebx]
mov ecx, 1
call fcn.004bfed0
lea edx, [ebp - 0x208]
mov eax, dword [ebx]
mov eax, dword [eax + 0x368]
call fcn.00431e40
mov eax, dword [ebp - 0x208]
push eax
mov eax, dword [ebx]
mov ecx, dword [eax + 0x5fd24]
lea eax, [ebp - 0x20c]
mov edx, 0x49f044
call fcn.00403ec0
mov edx, dword [ebp - 0x20c]
pop eax
call fcn.00403f84
jne 0x49ef35
lea edx, [ebp - 0x210]
mov eax, dword [esi + 0x2dc]
call fcn.00431e40
mov eax, dword [ebp - 0x210]
mov edx, dword [ebp - 4]
call fcn.00403f84
je 0x49ee14
mov eax, dword [ebx]
mov eax, dword [eax + 0x67c]
mov dl, 1
call fcn.00453328
mov eax, dword [ebx]
mov byte [eax + 0xcbb0], 3
mov eax, esi
call fcn.0044d070
jmp 0x49ef35
mov eax, esi
call fcn.0044d070
mov eax, dword [ebx]
xor ecx, ecx
mov edx, 4
call fcn.004bfe58
mov eax, dword [ebx]
mov edx, dword [eax + 0xcba0]
mov eax, dword [ebx]
call fcn.004aee48
mov eax, dword [0x4e60c8]
cmp dword [eax], 0
je 0x49ef2e
cmp dword [0x4e93ac], 0
jne 0x49ef2e
push 0
mov eax, dword [0x4e6030]
mov eax, dword [eax]
call fcn.00437f60
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [0x4e6030]
mov eax, dword [eax]
mov dword [eax + 0x318], 1
mov eax, dword [ebx]
imul edx, dword [eax + 0x5fb08], 0x3e8
mov eax, dword [0x4e60c8]
mov eax, dword [eax]
mov eax, dword [eax + 0x2d4]
call fcn.00453338
mov eax, dword [ebx]
imul edx, dword [eax + 0x5fb0c], 0x3e8
mov eax, dword [0x4e60c8]
mov eax, dword [eax]
mov eax, dword [eax + 0x2d8]
call fcn.00453338
mov eax, dword [0x4e60c8]
mov eax, dword [eax]
mov eax, dword [eax + 0x2d4]
cmp dword [eax + 0x24], 0
jne 0x49eed7
mov edx, dword [0x4e60c8]
mov edx, 0x3e8
call fcn.00453338
mov eax, dword [0x4e60c8]
mov eax, dword [eax]
mov eax, dword [eax + 0x2d8]
cmp dword [eax + 0x24], 0
jne 0x49eefa
mov edx, dword [0x4e60c8]
mov edx, 0x3e8
call fcn.00453338
mov eax, dword [0x4e60c8]
mov eax, dword [eax]
mov eax, dword [eax + 0x2d4]
mov dl, 1
call fcn.00453328
mov eax, dword [0x4e60c8]
mov eax, dword [eax]
mov eax, dword [eax + 0x2d8]
mov dl, 1
call fcn.00453328
mov eax, dword [0x4e60c8]
mov eax, dword [eax]
call fcn.0044d228
mov eax, dword [ebx]
call fcn.004bfe18
mov eax, dword [ebx]
xor ecx, ecx
mov edx, 4
call fcn.004bfe58
cmp dword [0x4e93ac], 0
jne 0x49ef82
mov eax, dword [0x4e60c8]
cmp dword [eax], 0
jne 0x49ef82
mov eax, dword [ebx]
mov eax, dword [eax + 0x67c]
cmp byte [eax + 0x38], 0
jne 0x49ef82
mov eax, dword [ebx]
mov edx, dword [eax + 0xd624]
mov eax, dword [ebx]
call fcn.004b25c0
mov eax, dword [ebx]
mov eax, dword [eax + 0x62c]
mov dl, 1
call fcn.00431d58
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49f005
lea eax, [ebp - 0x210]
call fcn.00403bf4
lea eax, [ebp - 0x20c]
call fcn.00403bf4
lea eax, [ebp - 0x208]
mov edx, 2
call fcn.00403c18
lea eax, [ebp - 0x200]
mov edx, 4
call fcn.00403c18
lea eax, [ebp - 0x1f0]
mov edx, 2
call fcn.00403c18
lea eax, [ebp - 0x1e8]
mov edx, 2
call fcn.00403c18
lea eax, [ebp - 0x1e0]
call fcn.00403bf4
lea eax, [ebp - 0x10]
mov edx, 4
call fcn.00403c18
ret