Function at 0x4c08d8
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x172
push 0
push 0
dec ecx
jne 0x4c08e1
push ecx
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov esi, edx
lea edi, [ebp - 0x1be]
push ecx
mov ecx, 0x67
rep movsd dword es:[edi], dword [esi]
pop ecx
movsw word es:[edi], word [esi]
mov esi, ecx
mov edi, eax
xor eax, eax
push ebp
push 0x4c1150
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 1], 1
lea eax, [ebp - 0xb2c]
lea edx, [ebp - 0x1be]
call fcn.0040443c
mov edx, dword [ebp - 0xb2c]
mov eax, edi
call fcn.004bfdd4
lea eax, [ebp - 8]
lea edx, [ebp - 0xc3]
call fcn.0040443c
lea eax, [edi + 0x34]
lea edx, [ebp - 0x1be]
call fcn.0040443c
lea edx, [ebp - 0xb30]
mov eax, dword [0x4cd968]
mov eax, dword [eax]
call fcn.0046ada8
mov eax, dword [ebp - 0xb30]
lea edx, [ebp - 0x14]
call fcn.0040958c
mov bl, byte [ebp - 0x2c]
push dword [edi + 0x34]
push 0x4c116c
push dword [0x4cc4b4]
push 0x4c116c
push dword [0x4cc4b8]
push 0x4c116c
push dword [0x4cc4bc]
push 0x4c116c
push dword [0x4cc4c0]
lea eax, [ebp - 0x10]
mov edx, 9
call fcn.00404558
lea ecx, [ebp - 0xc]
mov edx, dword [edi + 0x34]
mov eax, edi
call fcn.004bfc68
lea edx, [ebp - 0xb28]
mov eax, dword [ebp - 0xc]
call fcn.004c74d0
lea eax, [edi + 0x3c]
mov edx, dword [ebp - 8]
call fcn.0040422c
push esi
push edi
add edi, 0x40
lea esi, [ebp - 0xb28]
mov ecx, 0x25a
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
lea eax, [ebp - 0xb28]
lea edx, [ebp - 0x1be]
mov cl, 0xfa
call fcn.00402cec
lea eax, [edi + 0x40]
lea edx, [ebp - 0x1be]
mov cl, 0xfa
call fcn.00402cec
mov eax, dword [ebp - 0xc]
call fcn.00409250
test al, al
je 0x4c0a55
lea eax, [ebp - 0xb34]
lea edx, [ebp - 0xa2d]
call fcn.0040443c
mov edx, dword [ebp - 0xb34]
mov eax, dword [ebp - 8]
call fcn.004c7000
test al, al
jne 0x4c0a55
mov edx, dword [0x4cd650]
mov edx, dword [edx]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov byte [ebp - 1], 0
jmp 0x4c111d
lea eax, [ebp - 0xb38]
mov ecx, 0x4c116c
mov edx, dword [ebp - 0x10]
call fcn.004044e4
mov eax, dword [ebp - 0xb38]
call fcn.00409260
test al, al
jne 0x4c0d92
push dword [edi + 0x34]
push 0x4c116c
push dword [0x4cc4b4]
push 0x4c116c
push 0x4c1178
push 0x4c116c
push 0x4c11ac
push 0x4c116c
lea eax, [ebp - 0x20]
mov edx, 8
call fcn.00404558
mov eax, dword [ebp - 0x20]
call fcn.00409260
test al, al
jne 0x4c0af9
push dword [edi + 0x34]
push 0x4c116c
push dword [0x4cc4b4]
push 0x4c116c
push 0x4c1178
push 0x4c116c
push 0x4c11bc
push 0x4c116c
push 0x4c11cc
push 0x4c116c
lea eax, [ebp - 0x20]
mov edx, 0xa
call fcn.00404558
mov eax, dword [ebp - 0x20]
call fcn.00409260
test al, al
jne 0x4c0b39
push dword [edi + 0x34]
push 0x4c116c
push dword [0x4cc4b4]
push 0x4c116c
push 0x4c1178
push 0x4c116c
push 0x4c11bc
push 0x4c116c
lea eax, [ebp - 0x20]
mov edx, 8
call fcn.00404558
mov eax, dword [ebp - 0x20]
call fcn.00409260
test al, al
jne 0x4c0b79
push dword [edi + 0x34]
push 0x4c116c
push dword [0x4cc4b4]
push 0x4c116c
push 0x4c1178
push 0x4c116c
push 0x4c11cc
push 0x4c116c
lea eax, [ebp - 0x20]
mov edx, 8
call fcn.00404558
mov eax, dword [ebp - 0x20]
call fcn.00409260
test al, al
je 0x4c0cdc
push dword [edi + 0x34]
push 0x4c11dc
mov eax, 0x32
call fcn.0048affc
lea edx, [ebp - 0xb40]
call fcn.00408d48
push dword [ebp - 0xb40]
lea eax, [ebp - 0xb3c]
mov edx, 3
call fcn.00404558
mov edx, dword [ebp - 0xb3c]
mov eax, dword [ebp - 0x20]
call fcn.0048b5bc
test al, al
je 0x4c0cc7
mov eax, dword [ebp - 0xc]
call fcn.004093b4
push dword [edi + 0x34]
push 0x4c116c
push dword [0x4cc4b4]
push 0x4c116c
push dword [0x4cc4b8]
push 0x4c116c
push dword [0x4cc4b0]
lea eax, [ebp - 0xb44]
mov edx, 7
call fcn.00404558
mov eax, dword [ebp - 0xb44]
call fcn.004093b4
push dword [edi + 0x34]
push 0x4c116c
push dword [0x4cc4b4]
push 0x4c116c
push 0x4c11ec
lea eax, [ebp - 0xb48]
mov edx, 5
call fcn.00404558
mov eax, dword [ebp - 0xb48]
call fcn.004093b4
push dword [edi + 0x34]
push 0x4c116c
push 0x4c11ec
lea eax, [ebp - 0xb4c]
mov edx, 3
call fcn.00404558
mov eax, dword [ebp - 0xb4c]
call fcn.004093b4
mov eax, dword [edi + 0x34]
mov edx, 0x10
call fcn.00409298
lea edx, [ebp - 0xb50]
mov eax, dword [ebp - 0x10]
call fcn.004094a4
mov eax, dword [ebp - 0xb50]
push eax
push dword [edi + 0x34]
push 0x4c116c
push dword [0x4cc4b4]
lea eax, [ebp - 0xb54]
mov edx, 3
call fcn.00404558
mov eax, dword [ebp - 0xb54]
mov cl, 1
pop edx
call fcn.0048b1f4
jmp 0x4c111d
mov edx, 0x4c1200
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov byte [ebp - 1], 0
jmp 0x4c111d
mov eax, dword [ebp - 0xc]
call fcn.004093b4
push dword [edi + 0x34]
push 0x4c116c
push 0x4c11ec
lea eax, [ebp - 0xb58]
mov edx, 3
call fcn.00404558
mov eax, dword [ebp - 0xb58]
call fcn.004093b4
push dword [edi + 0x34]
push 0x4c116c
push dword [0x4cc4b4]
push 0x4c116c
push 0x4c11ec
lea eax, [ebp - 0xb5c]
mov edx, 5
call fcn.00404558
mov eax, dword [ebp - 0xb5c]
call fcn.004093b4
mov eax, dword [edi + 0x34]
mov edx, 0x10
call fcn.00409298
push dword [edi + 0x34]
push 0x4c116c
push dword [0x4cc4b4]
lea eax, [ebp - 0xb60]
mov edx, 3
call fcn.00404558
mov eax, dword [ebp - 0xb60]
mov cl, 1
mov edx, dword [ebp - 0x10]
call fcn.0048b1f4
mov edx, dword [0x4cd788]
mov edx, dword [edx]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov byte [ebp - 1], 0
jmp 0x4c111d
mov eax, dword [ebp - 8]
push eax
mov al, byte [ebp - 0x753]
push eax
push 0
lea edx, [ebp - 0xb68]
mov eax, dword [edi + 0x34]
call fcn.004094f8
push dword [ebp - 0xb68]
push 0x4c12f8
lea edx, [ebp - 0xb6c]
mov eax, dword [edi + 0x34]
call fcn.0040958c
push dword [ebp - 0xb6c]
lea eax, [ebp - 0xb64]
mov edx, 3
call fcn.00404558
mov eax, dword [ebp - 0xb64]
xor ecx, ecx
mov edx, dword [ebp - 0x10]
call fcn.004c7c38
cmp bl, 2
jne 0x4c0f00
push 0
mov eax, dword [edi + 0x38]
push eax
call sub.user32.dll_ShowWindow
push 0
mov eax, dword [0x4cd968]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_ShowWindow
push 1
lea eax, [ebp - 0x18]
push eax
xor ecx, ecx
xor edx, edx
mov eax, dword [ebp - 0x10]
call fcn.00489de8
mov eax, dword [ebp - 0x18]
call fcn.0048a38c
xor ebx, ebx
mov eax, dword [ebp - 0x18]
call fcn.0048a40c
mov esi, eax
jmp 0x4c0e4c
push 0xa
call sub.kernel32.dll_Sleep_1
inc ebx
mov eax, dword [ebp - 0x18]
call fcn.0048a40c
mov esi, eax
test esi, esi
jne 0x4c0e58
cmp ebx, 0xc8
jl 0x4c0e3a
test esi, esi
setne bl
jmp 0x4c0e7e
push esi
call sub.user32.dll_IsWindow
cmp eax, 1
sbb ebx, ebx
inc ebx
mov eax, dword [0x4cd968]
mov eax, dword [eax]
call fcn.0046a5ec
push 0xa
call sub.kernel32.dll_Sleep_1
test bl, bl
jne 0x4c0e5f
mov eax, dword [ebp - 0x18]
call fcn.00489fac
mov eax, dword [ebp - 8]
push eax
mov al, byte [ebp - 0x753]
push eax
push 1
lea edx, [ebp - 0xb74]
mov eax, dword [edi + 0x34]
call fcn.004094f8
push dword [ebp - 0xb74]
push 0x4c12f8
lea edx, [ebp - 0xb78]
mov eax, dword [edi + 0x34]
call fcn.0040958c
push dword [ebp - 0xb78]
lea eax, [ebp - 0xb70]
mov edx, 3
call fcn.00404558
mov eax, dword [ebp - 0xb70]
push eax
lea eax, [ebp - 0xb7c]
lea edx, [ebp - 0x6b9]
call fcn.0040443c
mov ecx, dword [ebp - 0xb7c]
mov edx, dword [ebp - 0x10]
pop eax
call fcn.004c7c38
jmp 0x4c111d
mov edx, dword [edi + 0x34]
xor ecx, ecx
mov eax, dword [ebp - 0x10]
call fcn.0048b364
test al, al
je 0x4c111d
mov eax, 0x4c1300
call fcn.00402920
call fcn.004028e4
mov eax, dword [ebp - 0x10]
call fcn.004096d8
test al, al
jne 0x4c0f48
mov edx, dword [0x4cdabc]
mov edx, dword [edx]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov byte [ebp - 1], 0
jmp 0x4c111d
mov eax, dword [ebp - 0xc]
call fcn.004093b4
push dword [edi + 0x34]
push 0x4c116c
push dword [0x4cc4b4]
push 0x4c116c
push dword [0x4cc4b8]
push 0x4c116c
push dword [0x4cc4b0]
lea eax, [ebp - 0xb80]
mov edx, 7
call fcn.00404558
mov eax, dword [ebp - 0xb80]
call fcn.004093b4
push dword [edi + 0x34]
push 0x4c116c
push dword [0x4cc4b4]
push 0x4c116c
push 0x4c11ec
lea eax, [ebp - 0xb84]
mov edx, 5
call fcn.00404558
mov eax, dword [ebp - 0xb84]
call fcn.004093b4
push dword [edi + 0x34]
push 0x4c116c
push 0x4c11ec
lea eax, [ebp - 0xb88]
mov edx, 3
call fcn.00404558
mov eax, dword [ebp - 0xb88]
call fcn.004093b4
mov eax, dword [edi + 0x34]
mov edx, 0x10
call fcn.00409298
lea edx, [ebp - 0xb8c]
mov eax, dword [ebp - 0x10]
call fcn.004094a4
mov eax, dword [ebp - 0xb8c]
push eax
push dword [edi + 0x34]
push 0x4c116c
push dword [0x4cc4b4]
lea eax, [ebp - 0xb90]
mov edx, 3
call fcn.00404558
mov eax, dword [ebp - 0xb90]
mov cl, 1
pop edx
call fcn.0048b1f4
test al, al
jne 0x4c104b
mov edx, dword [0x4cdabc]
mov edx, dword [edx]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x38]
test bl, bl
jne 0x4c111d
push 0
mov eax, dword [edi + 0x38]
push eax
call sub.user32.dll_ShowWindow
lea eax, [ebp - 0xb98]
lea edx, [ebp - 0x1be]
call fcn.0040443c
mov eax, dword [ebp - 0xb98]
lea edx, [ebp - 0xb94]
call fcn.0040958c
mov eax, dword [ebp - 0xb94]
push eax
push edi
push 0x4c081c
xor ecx, ecx
mov dl, 1
mov eax, dword [0x4bf454]
call fcn.004bf704
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x310]
mov edx, dword [eax]
call dword [edx + 0xc8]
test al, al
je 0x4c10c7
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x2f8]
mov si, 0xffeb
call fcn.00403600
jmp 0x4c10cf
mov eax, dword [ebp - 0x1c]
call fcn.00467200
xor eax, eax
push ebp
push 0x4c1116
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x1c]
xor edx, edx
mov dword [eax + 0x24c], edx
mov eax, dword [0x4cd968]
mov eax, dword [eax]
call fcn.0046a604
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 0x24c], 0
je 0x4c10e8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c111d
mov eax, dword [ebp - 0x1c]
call fcn.00403404
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c1157
lea eax, [ebp - 0xb98]
mov edx, 0x1c
call fcn.004041fc
lea eax, [ebp - 0x20]
call fcn.004041d8
lea eax, [ebp - 0x18]
mov edx, 5
call fcn.004041fc
ret