Function at 0x4a4b5c
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x18], ebx
mov byte [ebp - 5], cl
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4a4f31
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x4cc56c]
cmp byte [eax], 2
jbe 0x4a4f16
test dl, dl
je 0x4a4bfd
mov eax, dword [0x4cc130]
movzx eax, byte [eax]
xor al, 1
mov edx, dword [0x4cc130]
mov byte [edx], al
mov eax, dword [0x4cc130]
cmp byte [eax], 1
cmc
sbb eax, eax
push eax
push 0xffffffffffffffff
mov ecx, 0x4a4f44
mov edx, 0x4a4f68
mov eax, dword [ebp - 4]
call fcn.004a4a90
test al, al
jne 0x4a4bfd
lea edx, [ebp - 0x18]
mov eax, dword [0x4cc130]
movzx eax, byte [eax]
call fcn.004380c0
mov eax, dword [ebp - 0x18]
push eax
push 1
push 0
push 1
mov edx, dword [0x4cc6b4]
mov edx, dword [edx]
mov ecx, 0x4a4f78
mov eax, 0x80000001
call fcn.0044c6fc
mov eax, dword [0x4cc130]
cmp byte [eax], 0
je 0x4a4d04
mov ebx, 2
imul eax, ebx, 0x77
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x94]
mov edx, dword [edx + 4]
mov edx, dword [edx + 0x609]
xor ecx, ecx
mov dword [edx + eax + 0xe], ecx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x94]
mov edx, dword [edx + 4]
mov edx, dword [edx + 0x609]
xor ecx, ecx
mov dword [edx + eax + 0x12], ecx
mov ebx, 3
imul eax, ebx, 0x77
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x94]
mov edx, dword [edx + 4]
mov edx, dword [edx + 0x609]
xor ecx, ecx
mov dword [edx + eax + 0xe], ecx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x94]
mov edx, dword [edx + 4]
mov edx, dword [edx + 0x609]
xor ecx, ecx
mov dword [edx + eax + 0x12], ecx
mov ebx, 6
imul eax, ebx, 0x77
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x94]
mov edx, dword [edx + 4]
mov edx, dword [edx + 0x609]
xor ecx, ecx
mov dword [edx + eax + 0xe], ecx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x94]
mov ecx, dword [edx + 4]
mov ecx, dword [ecx + 0x609]
xor ebx, ebx
mov dword [ecx + eax + 0x12], ebx
mov eax, dword [edx + 8]
test eax, eax
je 0x4a4eb9
xor edx, edx
call fcn.0043eb6c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x94]
mov eax, dword [eax + 8]
xor edx, edx
call fcn.0043f100
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x121]
xor edx, edx
call fcn.0043f100
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x125]
mov eax, dword [eax + 0x407]
push eax
call sub.user32.dll_ShowWindow
jmp 0x4a4eb9
mov eax, dword [ebp - 4]
mov esi, dword [eax + 0x94]
cmp dword [esi + 8], 0
je 0x4a4eb9
mov ebx, 2
imul edi, ebx, 0x77
mov eax, dword [esi + 4]
mov eax, dword [eax + 0x609]
mov edx, dword [0x4cc528]
mov edx, dword [edx]
mov dword [eax + edi + 0xe], edx
mov eax, dword [esi + 8]
call fcn.0043f7e0
add eax, 2
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x94]
mov edx, dword [edx + 4]
mov edx, dword [edx + 0x609]
mov dword [edx + edi + 0x12], eax
mov cl, 7
mov edx, 5
mov eax, 5
call fcn.00442048
mov dword [ebp - 0xc], eax
xor edx, edx
push ebp
push 0x4a4e22
push dword fs:[edx]
mov dword fs:[edx], esp
lea eax, [ebp - 0x14]
push eax
push 0
lea eax, [ebp - 0x20]
call fcn.0042df0c
mov eax, dword [ebp - 0x20]
lea edx, [ebp - 0x1c]
call fcn.0040a3a0
lea eax, [ebp - 0x1c]
mov edx, 0x4a4f90
call fcn.0040554c
mov eax, dword [ebp - 0x1c]
push eax
push 0x1388
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xba6]
push eax
push 1
push 0
push 0xffffffffffffffff
push 1
push 0
push 0xffffffffffffffff
push 0
lea ecx, [ebp - 0x10]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.0049fbe0
mov ebx, 3
imul eax, ebx, 0x77
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x94]
mov edx, dword [edx + 4]
mov edx, dword [edx + 0x609]
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx + 0x10]
mov dword [edx + eax + 0xe], ecx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x94]
mov edx, dword [edx + 4]
mov edx, dword [edx + 0x609]
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx + 0x14]
mov dword [edx + eax + 0x12], ecx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a4e29
mov eax, dword [ebp - 0xc]
call fcn.00404288
ret
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x94]
mov eax, dword [eax + 8]
test eax, eax
je 0x4a4ed3
mov edx, eax
mov eax, dword [ebp - 4]
call fcn.00489998
mov eax, dword [ebp - 4]
call fcn.004a1140
cmp byte [ebp - 5], 0
je 0x4a4f16
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0xe4], edx
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0xe8], edx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x94]
mov eax, dword [eax + 4]
call fcn.00437ae4
mov eax, dword [ebp - 4]
mov edx, dword [eax + 5]
mov eax, dword [ebp - 4]
call fcn.004891b8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a4f38
lea eax, [ebp - 0x20]
mov edx, 3
call fcn.004052a4
ret