Function at 0x4a5c1c
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 7
push 0
push 0
dec ecx
jne 0x4a5c25
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 0x4a5f3f
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 9], 0
lea edx, [ebp - 0x10]
mov eax, dword [0x4b571c]
call fcn.0049a950
lea eax, [ebp - 0x14]
mov edx, dword [ebp - 0x10]
mov ecx, 0x4a5f50
call fcn.00406240
lea eax, [ebp - 0x18]
mov edx, dword [ebp - 0x10]
mov ecx, 0x4a5f60
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 0x4a5edb
push dword fs:[eax]
mov dword fs:[eax], esp
xor ecx, ecx
mov edx, 0x4a5f78
mov eax, dword [ebp - 0x2c]
call fcn.004351dc
test al, al
je 0x4a5ec5
cmp dword [ebp - 4], 0
je 0x4a5d09
cmp dword [ebp - 8], 0
je 0x4a5cfc
lea eax, [ebp - 0x24]
mov edx, dword [ebp - 8]
call fcn.004046f0
jmp 0x4a5d16
lea edx, [ebp - 0x24]
mov eax, dword [ebp - 4]
call fcn.004093ec
jmp 0x4a5d16
lea eax, [ebp - 0x24]
mov edx, 0x4a5fc4
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, 0x4a5fd8
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.0x4a5d6d
jmp dword [eax*4 + 0x4a5d74]
lea ecx, [ebp - 0x20]
mov edx, 0x4a5fe8
mov eax, dword [ebp - 0x2c]
call fcn.0043568c
jmp case.default.0x4a5d6d
lea ecx, [ebp - 0x20]
mov edx, 0x4a5ff8
mov eax, dword [ebp - 0x2c]
call fcn.0043568c
jmp case.default.0x4a5d6d
lea ecx, [ebp - 0x20]
mov edx, 0x4a600c
mov eax, dword [ebp - 0x2c]
call fcn.0043568c
jmp case.default.0x4a5d6d
lea ecx, [ebp - 0x20]
mov edx, 0x4a6020
mov eax, dword [ebp - 0x2c]
call fcn.0043568c
jmp case.default.0x4a5d6d
lea ecx, [ebp - 0x38]
mov edx, 0x4a6030
mov eax, dword [ebp - 0x2c]
call fcn.0043568c
mov edx, dword [ebp - 0x38]
lea eax, [ebp - 0x20]
mov ecx, 0x4a6040
call fcn.00404964
cmp dword [ebp - 0x20], 0
je 0x4a5ec1
cmp dword [ebp + 8], 0
je 0x4a5e75
cmp bl, 4
je 0x4a5e1f
push dword [ebp - 0x20]
push 0x4a6074
push dword [ebp + 8]
lea eax, [ebp - 0x1c]
mov edx, 3
call fcn.004049d8
jmp 0x4a5e2f
lea eax, [ebp - 0x1c]
mov ecx, 0x4a6074
mov edx, dword [ebp - 0x20]
call fcn.00404964
push dword [ebp - 0x1c]
push 0x4a6074
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 0x4a5e98
mov eax, dword [ebp - 0x1c]
call fcn.0040951c
test al, al
jne 0x4a5e98
mov byte [ebp - 9], 0
call fcn.00404140
jmp 0x4a5ee2
push dword [ebp - 0x20]
push 0x4a6074
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 0x4a5ebb
mov byte [ebp - 9], 0
call fcn.00404140
jmp 0x4a5ee2
mov byte [ebp - 9], 1
jmp 0x4a5ec5
mov byte [ebp - 9], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a5ee2
mov eax, dword [ebp - 0x2c]
call fcn.00403908
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a5f46
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