Function at 0x4b7cd4
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 6
push 0
push 0
dec ecx
jne 0x4b7cdd
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 0x4b8075
push dword fs:[edx]
mov dword fs:[edx], esp
mov byte [ebp - 9], 0
xor edx, edx
push ebp
push 0x4b8007
push dword fs:[edx]
mov dword fs:[edx], esp
test eax, eax
jne 0x4b7d37
push 0x4b8098
push 1
lea eax, [ebp - 8]
push eax
mov ecx, 0x4b80bc
mov edx, 0x80000002
mov eax, dword [0x4aeed0]
call fcn.004af2cc
jmp 0x4b7d59
dec eax
jne 0x4b7d59
push 0x4b8098
push 1
lea eax, [ebp - 8]
push eax
mov ecx, 0x4b80bc
mov edx, 0x80000002
mov eax, dword [0x4aeed0]
call fcn.004af2cc
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 8]
call fcn.004111f8
mov eax, dword [ebp - 0x10]
mov edx, 0x4b8124
call fcn.0040781c
jne 0x4b7d92
push 0x4b813c
push 1
lea eax, [ebp - 8]
push eax
mov ecx, 0x4b815c
mov edx, 0x80000002
mov eax, dword [0x4aeed0]
call fcn.004af2cc
lea ecx, [ebp - 0x14]
mov edx, dword [ebp - 8]
mov eax, dword [0x4b736c]
call fcn.004bcb20
mov edx, dword [ebp - 0x14]
lea eax, [ebp - 8]
call fcn.004071b0
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 8]
call fcn.0041245c
mov edx, dword [ebp - 0x18]
lea eax, [ebp - 8]
call fcn.004071b0
mov edx, dword [ebp - 8]
mov eax, ebx
call fcn.004bc370
test al, al
je 0x4b7e1d
push 0x4b81c8
push 0x4b81e0
push 0x4b81f4
push dword [esi]
push 0x4b821c
lea eax, [ebp - 0x1c]
mov edx, 3
call fcn.004076fc
mov eax, dword [ebp - 0x1c]
push eax
push 0
call fcn.004b2030
mov edx, dword [0x4c9434]
movzx edx, byte [edx]
xor ecx, ecx
call fcn.004b26d0
mov eax, esi
mov edx, dword [ebp - 8]
call fcn.0040715c
mov byte [ebp - 9], 1
cmp byte [ebp - 9], 0
jne 0x4b7f19
lea eax, [ebp - 4]
xor edx, edx
call fcn.004071b0
lea edx, [ebp - 4]
mov ecx, 0x4b822c
mov eax, dword [0x4b736c]
call fcn.004b8644
test al, al
jne 0x4b7e5b
lea edx, [ebp - 4]
mov ecx, 0x4b8258
mov eax, dword [0x4b736c]
call fcn.004b8644
test al, al
cmp dword [ebp - 4], 0
je 0x4b7e8e
push 0x4b8288
push 1
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x20]
mov ecx, dword [ebp - 4]
mov edx, 0x4b82b4
call fcn.00407618
mov ecx, dword [ebp - 0x20]
mov edx, 0x80000002
mov eax, dword [0x4aeed0]
call fcn.004af2cc
lea ecx, [ebp - 0x24]
mov edx, dword [ebp - 8]
mov eax, dword [0x4b736c]
call fcn.004bcb20
mov edx, dword [ebp - 0x24]
lea eax, [ebp - 8]
call fcn.004071b0
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 8]
call fcn.0041245c
mov edx, dword [ebp - 0x28]
lea eax, [ebp - 8]
call fcn.004071b0
mov edx, dword [ebp - 8]
mov eax, ebx
call fcn.004bc370
test al, al
je 0x4b7f19
push 0x4b81c8
push 0x4b81e0
push 0x4b832c
push dword [esi]
push 0x4b821c
lea eax, [ebp - 0x2c]
mov edx, 3
call fcn.004076fc
mov eax, dword [ebp - 0x2c]
push eax
push 0
call fcn.004b2030
mov edx, dword [0x4c9434]
movzx edx, byte [edx]
xor ecx, ecx
call fcn.004b26d0
mov eax, esi
mov edx, dword [ebp - 8]
call fcn.0040715c
mov byte [ebp - 9], 1
cmp byte [ebp - 9], 0
jne 0x4b7fcd
push 0x4b835c
push 1
lea eax, [ebp - 8]
push eax
mov ecx, 0x4b8380
mov edx, 0x80000002
mov eax, dword [0x4aeed0]
call fcn.004af2cc
lea ecx, [ebp - 0x30]
mov edx, dword [ebp - 8]
mov eax, dword [0x4b736c]
call fcn.004bcb20
mov edx, dword [ebp - 0x30]
lea eax, [ebp - 8]
call fcn.004071b0
lea edx, [ebp - 0x34]
mov eax, dword [ebp - 8]
call fcn.0041245c
mov edx, dword [ebp - 0x34]
lea eax, [ebp - 8]
call fcn.004071b0
mov edx, dword [ebp - 8]
mov eax, ebx
call fcn.004bc370
test al, al
je 0x4b7fcd
push 0x4b81c8
push 0x4b81e0
push 0x4b83f4
push dword [esi]
push 0x4b821c
lea eax, [ebp - 0x38]
mov edx, 3
call fcn.004076fc
mov eax, dword [ebp - 0x38]
push eax
push 0
call fcn.004b2030
mov edx, dword [0x4c9434]
movzx edx, byte [edx]
xor ecx, ecx
call fcn.004b26d0
mov eax, esi
mov edx, dword [ebp - 8]
call fcn.0040715c
mov byte [ebp - 9], 1
cmp byte [ebp - 9], 0
jne 0x4b7ffd
push 0x4b81c8
push 0x4b81e0
push 0x4b8428
call sub.kernel32.dll_GetLastError_1
push eax
call fcn.004b2030
mov edx, dword [0x4c9434]
movzx edx, byte [edx]
mov cl, 1
call fcn.004b2980
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4b804d
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b807c
lea eax, [ebp - 0x38]
mov edx, 0xb
call fcn.00407154
lea eax, [ebp - 8]
mov edx, 2
call fcn.00407154
ret