Function at 0x49eb30
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x42
push 0
push 0
dec ecx
jne 0x49eb38
push ebx
push esi
mov esi, eax
mov ebx, dword [0x4e1388]
xor eax, eax
push ebp
push 0x49f146
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebx]
call fcn.004becd0
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 + 0x50290]
lea eax, [ebp - 0x1e4]
mov ecx, 0x49f15c
call fcn.00403ec0
mov edx, dword [ebp - 0x1e4]
pop eax
call fcn.00403f84
jne 0x49eebb
lea eax, [ebp - 8]
mov edx, dword [ebx]
mov edx, dword [edx + 0x50240]
call fcn.00403c8c
mov eax, dword [ebx]
cmp byte [eax + 0x4ff6d], 0xc7
jbe 0x49ebe9
lea eax, [ebp - 8]
push eax
lea edx, [ebp - 0x1e8]
mov eax, dword [ebx]
mov eax, dword [eax + 0x50260]
call fcn.0040909c
mov ecx, dword [ebp - 0x1e8]
mov eax, dword [ebx]
mov edx, dword [eax + 0x50240]
mov eax, dword [ebx]
call fcn.004c10b4
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, 0x49f170
call fcn.00403f84
jne 0x49ec6f
lea ecx, [ebp - 0x1f4]
mov eax, dword [ebx]
mov edx, dword [ebp - 8]
call fcn.004addd0
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 0x49ee9c
mov eax, dword [ebx]
xor edx, edx
mov dword [eax + 0x50278], edx
mov eax, dword [ebx]
add eax, 0x50240
call fcn.00403bf4
mov eax, dword [esi + 0x2e8]
mov edx, dword [eax]
call dword [edx + 0xb4]
cmp al, 1
jne 0x49ed64
lea eax, [ebp - 0x1f8]
push eax
lea edx, [ebp - 0x1fc]
mov eax, dword [0x4e1268]
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 [0x4e1268]
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, 0x49f180
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 [0x4e10c8]
cmp dword [eax], 0
je 0x49ee4f
push 0
mov eax, dword [0x4e1030]
mov eax, dword [eax]
call fcn.00437f60
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [0x4e1030]
mov eax, dword [eax]
mov dword [eax + 0x318], 1
mov eax, dword [ebx]
imul edx, dword [eax + 0x50074], 0x3e8
mov eax, dword [0x4e10c8]
mov eax, dword [eax]
mov eax, dword [eax + 0x2d4]
call fcn.00453338
mov eax, dword [ebx]
imul edx, dword [eax + 0x50078], 0x3e8
mov eax, dword [0x4e10c8]
mov eax, dword [eax]
mov eax, dword [eax + 0x2d8]
call fcn.00453338
mov eax, dword [0x4e10c8]
mov eax, dword [eax]
mov eax, dword [eax + 0x2d4]
cmp dword [eax + 0x24], 0
jne 0x49edf6
mov edx, dword [0x4e10c8]
mov edx, 0x3e8
call fcn.00453338
mov eax, dword [0x4e10c8]
mov eax, dword [eax]
mov eax, dword [eax + 0x2d8]
cmp dword [eax + 0x24], 0
jne 0x49ee19
mov edx, dword [0x4e10c8]
mov edx, 0x3e8
call fcn.00453338
mov eax, dword [0x4e10c8]
mov eax, dword [eax]
mov eax, dword [eax + 0x2d4]
mov dl, 1
call fcn.00453328
mov eax, dword [0x4e10c8]
mov eax, dword [eax]
mov eax, dword [eax + 0x2d8]
mov dl, 1
call fcn.00453328
mov eax, dword [0x4e10c8]
mov eax, dword [eax]
call fcn.0044d228
jmp 0x49ee8b
mov eax, dword [ebx]
call fcn.0044d228
mov eax, dword [ebx]
mov edx, dword [eax]
call dword [edx + 0x4c]
test al, al
jne 0x49ee8b
mov eax, dword [0x4e12ec]
cmp dword [eax], 0
je 0x49ee8b
mov eax, dword [0x4e12ec]
mov eax, dword [eax]
mov dl, 1
call fcn.0044a058
mov eax, dword [0x4e12ec]
mov eax, dword [eax]
call fcn.00437f60
push eax
call sub.user32.dll_SetForegroundWindow
mov eax, dword [ebx]
mov eax, dword [eax + 0x63c]
mov dl, 1
call fcn.00431d58
jmp 0x49eeb4
mov eax, dword [ebx]
mov byte [eax + 0xabdc], 3
mov eax, dword [ebx]
mov eax, dword [eax + 0x6ec]
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 + 0x4fe94]
mov eax, dword [ebx]
mov ecx, 1
call fcn.004bed88
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 + 0x50290]
lea eax, [ebp - 0x20c]
mov edx, 0x49f18c
call fcn.00403ec0
mov edx, dword [ebp - 0x20c]
pop eax
call fcn.00403f84
jne 0x49f07d
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 0x49ef5c
mov eax, dword [ebx]
mov eax, dword [eax + 0x6ec]
mov dl, 1
call fcn.00453328
mov eax, dword [ebx]
mov byte [eax + 0xabdc], 3
mov eax, esi
call fcn.0044d070
jmp 0x49f07d
mov eax, esi
call fcn.0044d070
mov eax, dword [ebx]
xor ecx, ecx
mov edx, 4
call fcn.004bed10
mov eax, dword [ebx]
mov edx, dword [eax + 0xabcc]
mov eax, dword [ebx]
call fcn.004ae8d4
mov eax, dword [0x4e10c8]
cmp dword [eax], 0
je 0x49f076
cmp dword [0x4e43ac], 0
jne 0x49f076
push 0
mov eax, dword [0x4e1030]
mov eax, dword [eax]
call fcn.00437f60
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [0x4e1030]
mov eax, dword [eax]
mov dword [eax + 0x318], 1
mov eax, dword [ebx]
imul edx, dword [eax + 0x50074], 0x3e8
mov eax, dword [0x4e10c8]
mov eax, dword [eax]
mov eax, dword [eax + 0x2d4]
call fcn.00453338
mov eax, dword [ebx]
imul edx, dword [eax + 0x50078], 0x3e8
mov eax, dword [0x4e10c8]
mov eax, dword [eax]
mov eax, dword [eax + 0x2d8]
call fcn.00453338
mov eax, dword [0x4e10c8]
mov eax, dword [eax]
mov eax, dword [eax + 0x2d4]
cmp dword [eax + 0x24], 0
jne 0x49f01f
mov edx, dword [0x4e10c8]
mov edx, 0x3e8
call fcn.00453338
mov eax, dword [0x4e10c8]
mov eax, dword [eax]
mov eax, dword [eax + 0x2d8]
cmp dword [eax + 0x24], 0
jne 0x49f042
mov edx, dword [0x4e10c8]
mov edx, 0x3e8
call fcn.00453338
mov eax, dword [0x4e10c8]
mov eax, dword [eax]
mov eax, dword [eax + 0x2d4]
mov dl, 1
call fcn.00453328
mov eax, dword [0x4e10c8]
mov eax, dword [eax]
mov eax, dword [eax + 0x2d8]
mov dl, 1
call fcn.00453328
mov eax, dword [0x4e10c8]
mov eax, dword [eax]
call fcn.0044d228
mov eax, dword [ebx]
call fcn.004becd0
mov eax, dword [ebx]
xor ecx, ecx
mov edx, 4
call fcn.004bed10
cmp dword [0x4e43ac], 0
jne 0x49f0ca
mov eax, dword [0x4e10c8]
cmp dword [eax], 0
jne 0x49f0ca
mov eax, dword [ebx]
mov eax, dword [eax + 0x6ec]
cmp byte [eax + 0x38], 0
jne 0x49f0ca
mov eax, dword [ebx]
mov edx, dword [eax + 0xb650]
mov eax, dword [ebx]
call fcn.004b1ba8
mov eax, dword [ebx]
mov eax, dword [eax + 0x66c]
mov dl, 1
call fcn.00431d58
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49f14d
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