Function at 0x4b9db8
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 6
push 0
push 0
dec ecx
jne 0x4b9dc1
push ecx
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
mov eax, dword [ebp + 8]
xor edx, edx
push ebp
push 0x4ba159
push dword fs:[edx]
mov dword fs:[edx], esp
mov byte [ebp - 9], 0
xor edx, edx
push ebp
push 0x4ba0eb
push dword fs:[edx]
mov dword fs:[edx], esp
test eax, eax
jne 0x4b9e1b
push 0x4ba17c
push 1
lea eax, [ebp - 8]
push eax
mov ecx, 0x4ba1a0
mov edx, 0x80000002
mov eax, dword [0x4b8614]
call fcn.004b8a10
jmp 0x4b9e3d
dec eax
jne 0x4b9e3d
push 0x4ba17c
push 1
lea eax, [ebp - 8]
push eax
mov ecx, 0x4ba1a0
mov edx, 0x80000002
mov eax, dword [0x4b8614]
call fcn.004b8a10
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 8]
call fcn.00411370
mov eax, dword [ebp - 0x10]
mov edx, 0x4ba208
call fcn.00407598
jne 0x4b9e76
push 0x4ba220
push 1
lea eax, [ebp - 8]
push eax
mov ecx, 0x4ba240
mov edx, 0x80000002
mov eax, dword [0x4b8614]
call fcn.004b8a10
lea ecx, [ebp - 0x14]
mov edx, dword [ebp - 8]
mov eax, dword [0x4b9450]
call fcn.004bec04
mov edx, dword [ebp - 0x14]
lea eax, [ebp - 8]
call fcn.00406f2c
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 8]
call fcn.004126ac
mov edx, dword [ebp - 0x18]
lea eax, [ebp - 8]
call fcn.00406f2c
mov edx, dword [ebp - 8]
mov eax, ebx
call fcn.004be454
test al, al
je 0x4b9f01
push 0x4ba2ac
push 0x4ba2c4
push 0x4ba2d8
push dword [esi]
push 0x4ba300
lea eax, [ebp - 0x1c]
mov edx, 3
call fcn.00407478
mov eax, dword [ebp - 0x1c]
push eax
push 0
call fcn.004b7788
mov edx, dword [0x4e0830]
movzx edx, byte [edx]
xor ecx, ecx
call fcn.004b7d48
mov eax, esi
mov edx, dword [ebp - 8]
call fcn.00406ed8
mov byte [ebp - 9], 1
cmp byte [ebp - 9], 0
jne 0x4b9ffd
lea eax, [ebp - 4]
xor edx, edx
call fcn.00406f2c
lea edx, [ebp - 4]
mov ecx, 0x4ba310
mov eax, dword [0x4b9450]
call fcn.004ba728
test al, al
jne 0x4b9f3f
lea edx, [ebp - 4]
mov ecx, 0x4ba33c
mov eax, dword [0x4b9450]
call fcn.004ba728
test al, al
cmp dword [ebp - 4], 0
je 0x4b9f72
push 0x4ba36c
push 1
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x20]
mov ecx, dword [ebp - 4]
mov edx, 0x4ba398
call fcn.00407394
mov ecx, dword [ebp - 0x20]
mov edx, 0x80000002
mov eax, dword [0x4b8614]
call fcn.004b8a10
lea ecx, [ebp - 0x24]
mov edx, dword [ebp - 8]
mov eax, dword [0x4b9450]
call fcn.004bec04
mov edx, dword [ebp - 0x24]
lea eax, [ebp - 8]
call fcn.00406f2c
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 8]
call fcn.004126ac
mov edx, dword [ebp - 0x28]
lea eax, [ebp - 8]
call fcn.00406f2c
mov edx, dword [ebp - 8]
mov eax, ebx
call fcn.004be454
test al, al
je 0x4b9ffd
push 0x4ba2ac
push 0x4ba2c4
push 0x4ba410
push dword [esi]
push 0x4ba300
lea eax, [ebp - 0x2c]
mov edx, 3
call fcn.00407478
mov eax, dword [ebp - 0x2c]
push eax
push 0
call fcn.004b7788
mov edx, dword [0x4e0830]
movzx edx, byte [edx]
xor ecx, ecx
call fcn.004b7d48
mov eax, esi
mov edx, dword [ebp - 8]
call fcn.00406ed8
mov byte [ebp - 9], 1
cmp byte [ebp - 9], 0
jne 0x4ba0b1
push 0x4ba440
push 1
lea eax, [ebp - 8]
push eax
mov ecx, 0x4ba464
mov edx, 0x80000002
mov eax, dword [0x4b8614]
call fcn.004b8a10
lea ecx, [ebp - 0x30]
mov edx, dword [ebp - 8]
mov eax, dword [0x4b9450]
call fcn.004bec04
mov edx, dword [ebp - 0x30]
lea eax, [ebp - 8]
call fcn.00406f2c
lea edx, [ebp - 0x34]
mov eax, dword [ebp - 8]
call fcn.004126ac
mov edx, dword [ebp - 0x34]
lea eax, [ebp - 8]
call fcn.00406f2c
mov edx, dword [ebp - 8]
mov eax, ebx
call fcn.004be454
test al, al
je 0x4ba0b1
push 0x4ba2ac
push 0x4ba2c4
push 0x4ba4d8
push dword [esi]
push 0x4ba300
lea eax, [ebp - 0x38]
mov edx, 3
call fcn.00407478
mov eax, dword [ebp - 0x38]
push eax
push 0
call fcn.004b7788
mov edx, dword [0x4e0830]
movzx edx, byte [edx]
xor ecx, ecx
call fcn.004b7d48
mov eax, esi
mov edx, dword [ebp - 8]
call fcn.00406ed8
mov byte [ebp - 9], 1
cmp byte [ebp - 9], 0
jne 0x4ba0e1
push 0x4ba2ac
push 0x4ba2c4
push 0x4ba50c
call sub.kernel32.dll_GetLastError_1
push eax
call fcn.004b7788
mov edx, dword [0x4e0830]
movzx edx, byte [edx]
mov cl, 1
call fcn.004b7ff8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4ba131
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ba160
lea eax, [ebp - 0x38]
mov edx, 0xb
call fcn.00406ed0
lea eax, [ebp - 8]
mov edx, 2
call fcn.00406ed0
ret