Function at 0x4a5be4
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 7
push 0
push 0
dec ecx
jne 0x4a5bed
push ecx
xchg dword [ebp - 4], ecx
push ebx
mov ebx, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404b08
mov eax, dword [ebp - 8]
call fcn.00404b08
mov eax, dword [ebp + 8]
call fcn.00404b08
xor eax, eax
push ebp
push 0x4a5f07
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 9], 0
lea edx, [ebp - 0x10]
mov eax, dword [0x4b571c]
call fcn.0049a918
lea eax, [ebp - 0x14]
mov edx, dword [ebp - 0x10]
mov ecx, 0x4a5f18
call fcn.00406240
lea eax, [ebp - 0x18]
mov edx, dword [ebp - 0x10]
mov ecx, 0x4a5f28
call fcn.00406240
mov eax, dword [ebp - 4]
call fcn.00404b18
push eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [eax]
call dword [eax + 0x50]
mov dl, 1
mov eax, dword [0x434f9c]
call fcn.0043509c
mov dword [ebp - 0x2c], eax
mov edx, 0x80000001
mov eax, dword [ebp - 0x2c]
call fcn.00435178
xor eax, eax
push ebp
push 0x4a5ea3
push dword fs:[eax]
mov dword fs:[eax], esp
xor ecx, ecx
mov edx, 0x4a5f40
mov eax, dword [ebp - 0x2c]
call fcn.004351dc
test al, al
je 0x4a5e8d
cmp dword [ebp - 4], 0
je 0x4a5cd1
cmp dword [ebp - 8], 0
je 0x4a5cc4
lea eax, [ebp - 0x24]
mov edx, dword [ebp - 8]
call fcn.004046f0
jmp 0x4a5cde
lea edx, [ebp - 0x24]
mov eax, dword [ebp - 4]
call fcn.004093ec
jmp 0x4a5cde
lea eax, [ebp - 0x24]
mov edx, 0x4a5f8c
call fcn.004046f0
mov eax, dword [ebp - 0x24]
call fcn.00404b18
push eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [eax]
call dword [eax + 0x1c]
lea edx, [ebp - 0x30]
mov eax, dword [ebp - 4]
call fcn.004093b8
mov eax, dword [ebp - 0x30]
call fcn.00404b18
push eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [eax]
call dword [eax + 0x24]
lea ecx, [ebp - 0x34]
mov edx, 0x4a5fa0
mov eax, dword [ebp - 0x24]
call fcn.00409324
mov edx, dword [ebp - 0x34]
lea eax, [ebp - 0x24]
call fcn.004046f0
xor eax, eax
mov al, bl
cmp eax, 4
ja case.default.0x4a5d35
jmp dword [eax*4 + 0x4a5d3c]
lea ecx, [ebp - 0x20]
mov edx, 0x4a5fb0
mov eax, dword [ebp - 0x2c]
call fcn.0043568c
jmp case.default.0x4a5d35
lea ecx, [ebp - 0x20]
mov edx, 0x4a5fc0
mov eax, dword [ebp - 0x2c]
call fcn.0043568c
jmp case.default.0x4a5d35
lea ecx, [ebp - 0x20]
mov edx, 0x4a5fd4
mov eax, dword [ebp - 0x2c]
call fcn.0043568c
jmp case.default.0x4a5d35
lea ecx, [ebp - 0x20]
mov edx, 0x4a5fe8
mov eax, dword [ebp - 0x2c]
call fcn.0043568c
jmp case.default.0x4a5d35
lea ecx, [ebp - 0x38]
mov edx, 0x4a5ff8
mov eax, dword [ebp - 0x2c]
call fcn.0043568c
mov edx, dword [ebp - 0x38]
lea eax, [ebp - 0x20]
mov ecx, 0x4a6008
call fcn.00404964
cmp dword [ebp - 0x20], 0
je 0x4a5e89
cmp dword [ebp + 8], 0
je 0x4a5e3d
cmp bl, 4
je 0x4a5de7
push dword [ebp - 0x20]
push 0x4a603c
push dword [ebp + 8]
lea eax, [ebp - 0x1c]
mov edx, 3
call fcn.004049d8
jmp 0x4a5df7
lea eax, [ebp - 0x1c]
mov ecx, 0x4a603c
mov edx, dword [ebp - 0x20]
call fcn.00404964
push dword [ebp - 0x1c]
push 0x4a603c
push dword [ebp - 0x24]
lea eax, [ebp - 0x3c]
mov edx, 3
call fcn.004049d8
mov edx, dword [ebp - 0x3c]
lea eax, [ebp - 0x28]
call fcn.00404eb0
mov eax, dword [ebp - 0x1c]
call fcn.00409280
test al, al
jne 0x4a5e60
mov eax, dword [ebp - 0x1c]
call fcn.0040951c
test al, al
jne 0x4a5e60
mov byte [ebp - 9], 0
call fcn.00404140
jmp 0x4a5eaa
push dword [ebp - 0x20]
push 0x4a603c
push dword [ebp - 0x24]
lea eax, [ebp - 0x40]
mov edx, 3
call fcn.004049d8
mov edx, dword [ebp - 0x40]
lea eax, [ebp - 0x28]
call fcn.00404eb0
push 0xffffffffffffffff
mov eax, dword [ebp - 0x28]
call fcn.00404ec0
push eax
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [eax]
call dword [eax + 0x18]
test eax, eax
je 0x4a5e83
mov byte [ebp - 9], 0
call fcn.00404140
jmp 0x4a5eaa
mov byte [ebp - 9], 1
jmp 0x4a5e8d
mov byte [ebp - 9], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a5eaa
mov eax, dword [ebp - 0x2c]
call fcn.00403908
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a5f0e
lea eax, [ebp - 0x40]
mov edx, 5
call fcn.0040467c
lea eax, [ebp - 0x28]
call fcn.00404d64
lea eax, [ebp - 0x24]
mov edx, 3
call fcn.0040467c
lea eax, [ebp - 0x18]
call fcn.004061fc
lea eax, [ebp - 0x14]
call fcn.004061fc
lea eax, [ebp - 0x10]
call fcn.004061fc
lea eax, [ebp - 8]
mov edx, 2
call fcn.0040467c
lea eax, [ebp + 8]
call fcn.00404658
ret