Function at 0x4a5fe0
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 7
push 0
push 0
dec ecx
jne 0x4a5fe9
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 0x4a6303
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 9], 0
lea edx, [ebp - 0x10]
mov eax, dword [0x4b571c]
call fcn.0049ad04
lea eax, [ebp - 0x14]
mov edx, dword [ebp - 0x10]
mov ecx, 0x4a6314
call fcn.00406240
lea eax, [ebp - 0x18]
mov edx, dword [ebp - 0x10]
mov ecx, 0x4a6324
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 0x4a629f
push dword fs:[eax]
mov dword fs:[eax], esp
xor ecx, ecx
mov edx, 0x4a633c
mov eax, dword [ebp - 0x2c]
call fcn.004351dc
test al, al
je 0x4a6289
cmp dword [ebp - 4], 0
je 0x4a60cd
cmp dword [ebp - 8], 0
je 0x4a60c0
lea eax, [ebp - 0x24]
mov edx, dword [ebp - 8]
call fcn.004046f0
jmp 0x4a60da
lea edx, [ebp - 0x24]
mov eax, dword [ebp - 4]
call fcn.004093ec
jmp 0x4a60da
lea eax, [ebp - 0x24]
mov edx, 0x4a6388
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, 0x4a639c
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.0x4a6131
jmp dword [eax*4 + 0x4a6138]
lea ecx, [ebp - 0x20]
mov edx, 0x4a63ac
mov eax, dword [ebp - 0x2c]
call fcn.0043568c
jmp case.default.0x4a6131
lea ecx, [ebp - 0x20]
mov edx, 0x4a63bc
mov eax, dword [ebp - 0x2c]
call fcn.0043568c
jmp case.default.0x4a6131
lea ecx, [ebp - 0x20]
mov edx, 0x4a63d0
mov eax, dword [ebp - 0x2c]
call fcn.0043568c
jmp case.default.0x4a6131
lea ecx, [ebp - 0x20]
mov edx, 0x4a63e4
mov eax, dword [ebp - 0x2c]
call fcn.0043568c
jmp case.default.0x4a6131
lea ecx, [ebp - 0x38]
mov edx, 0x4a63f4
mov eax, dword [ebp - 0x2c]
call fcn.0043568c
mov edx, dword [ebp - 0x38]
lea eax, [ebp - 0x20]
mov ecx, 0x4a6404
call fcn.00404964
cmp dword [ebp - 0x20], 0
je 0x4a6285
cmp dword [ebp + 8], 0
je 0x4a6239
cmp bl, 4
je 0x4a61e3
push dword [ebp - 0x20]
push 0x4a6438
push dword [ebp + 8]
lea eax, [ebp - 0x1c]
mov edx, 3
call fcn.004049d8
jmp 0x4a61f3
lea eax, [ebp - 0x1c]
mov ecx, 0x4a6438
mov edx, dword [ebp - 0x20]
call fcn.00404964
push dword [ebp - 0x1c]
push 0x4a6438
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 0x4a625c
mov eax, dword [ebp - 0x1c]
call fcn.0040951c
test al, al
jne 0x4a625c
mov byte [ebp - 9], 0
call fcn.00404140
jmp 0x4a62a6
push dword [ebp - 0x20]
push 0x4a6438
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 0x4a627f
mov byte [ebp - 9], 0
call fcn.00404140
jmp 0x4a62a6
mov byte [ebp - 9], 1
jmp 0x4a6289
mov byte [ebp - 9], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a62a6
mov eax, dword [ebp - 0x2c]
call fcn.00403908
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a630a
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