Function at 0x41e5ab
Capabilities:
Persist via run registry key

Disassembly:
push 0xffffffffffffffff
push 0x5318e8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov ebp, ecx
call fcn.0051ffd3
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x10], eax
push 0x22
mov ecx, 0x58d244
lea edi, [esp + 0x1c]
mov dword [esp + 0x28], 0
call fcn.0041fc10
push 0x22
push eax
lea eax, [esp + 0x20]
push eax
mov byte [esp + 0x34], 1
call fcn.0040e120
add esp, 0x10
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], 2
call fcn.004038f0
mov byte [esp + 0x24], 1
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41e4c0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov byte [esp + 0x24], 0
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41e4e3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [0x58d244]
mov ecx, dword [0x58d240]
push eax
push ecx
call fcn.004bb34d
add esp, 8
test eax, eax
je 0x41e586
lea edx, [esp + 0x14]
push edx
mov ecx, 0x58d240
mov edi, 0x561804
call fcn.0040e050
push 0x22
push eax
lea eax, [esp + 0x24]
mov bl, 3
push eax
mov byte [esp + 0x34], bl
call fcn.0040e120
add esp, 0x10
mov byte [esp + 0x24], 4
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x18]
call fcn.00404200
mov byte [esp + 0x24], bl
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41e561
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov byte [esp + 0x24], 0
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41e594
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
jmp 0x41e594
push 0x58d240
lea ecx, [esp + 0x14]
call fcn.004038f0
mov eax, dword [ebp + 0xc8]
test eax, eax
lea ecx, [esp + 0x10]
je 0x41e5ab
push 0xb
push str.__Dispatch
jmp 0x41e5b2
push 0xa
push str.__AutoRun
call fcn.00404200
mov eax, dword [ebp + 0x20]
mov ecx, dword [eax - 0xc]
lea esi, [ebp + 0x20]
push ecx
push eax
lea ecx, [esp + 0x18]
call fcn.00404200
mov eax, dword [0x58a840]
mov edi, dword [esp + 0x10]
test ah, ah
mov eax, dword [ebp + 0xc8]
js 0x41e69d
test eax, eax
je 0x41e6b2
push 0xf003f
push 0
push 0
call dword [0x535068]
mov ebx, eax
test ebx, ebx
je 0x41e71a
mov ecx, dword [ebp + 0xb0]
mov edx, dword [ecx - 0xc]
test edx, edx
lea eax, [ebp + 0xb0]
jne 0x41e618
mov eax, esi
mov edx, dword [ebp + 0xa8]
mov eax, dword [eax]
mov ecx, dword [esi]
push 0
push 0
push 0
push 0
push 0
push edi
neg edx
push 1
sbb edx, edx
push 2
and edx, 0x100
or edx, 0x10
push edx
push 0xf01ff
push eax
push ecx
push ebx
call dword [0x535054]
mov esi, eax
test esi, esi
je 0x41e694
mov eax, dword [ebp + 0xb4]
push str.ChangeServiceConfig2A
push str.ADVAPI32.DLL
mov dword [esp + 0x20], eax
call dword [0x53537c]
push eax
call dword [0x535378]
test eax, eax
je 0x41e682
lea ecx, [esp + 0x18]
push ecx
push 1
push esi
call eax
push 0
push 0
push esi
call dword [0x535050]
push esi
call dword [0x535060]
push ebx
call dword [0x535060]
jmp 0x41e71a
test eax, eax
je 0x41e6b2
lea edx, [esp + 0x14]
push edx
push str.SOFTWAREMicrosoftWindowsCurrentVersionRunServices
push 0x80000002
jmp 0x41e6c1
lea eax, [esp + 0x14]
push eax
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
push 0x80000001
call dword [0x53505c]
neg eax
sbb eax, eax
inc eax
test eax, eax
jne 0x41e6ee
mov dword [esp + 0x24], 0xffffffff
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x41e732
mov eax, dword [edi - 0xc]
mov esi, dword [esi]
inc eax
push eax
mov eax, dword [esp + 0x18]
push edi
push 1
push 0
push esi
push eax
call dword [0x53506c]
mov ecx, dword [esp + 0x14]
push ecx
call dword [0x535074]
push 5
push edi
call dword [0x535370]
lea eax, [edi - 0x10]
mov dword [esp + 0x24], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41e73c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret