Function at 0x41cd90
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49bb89
mov eax, dword fs:[0]
push eax
sub esp, 0x90
mov eax, dword [0x544070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x68], ecx
mov dword [ebp - 4], 0
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 0
call fcn.0041d7b0
mov dword [ebp - 0x5c], eax
mov byte [ebp - 4], 1
mov esi, 0x4b1104
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop dword [eax]
mov edx, dword [esi]
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
cmp word [edx], ax
je 0x41ce1f
mov eax, edx
lea edi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x41ce10
sub eax, edi
sar eax, 1
push eax
push edx
lea ecx, [ebp - 0x28]
call fcn.00403c50
push 1
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 2
push eax
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x50]
call fcn.00415750
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x41ce59
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00403050
xor eax, eax
mov dword [ebp - 0x14], 7
sub esp, 0x28
mov word [ebp - 0x28], ax
mov eax, esp
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x5c]
mov dword [eax], vtable.std::_Func_impl_class__lambda_4484e50502aeae366d8b0a2d23bddab6___class_std::allocator_int___void__class_utils::RegistryValue_.0
mov dword [eax + 4], ecx
lea ecx, [ebp - 0x50]
mov dword [eax + 0x24], eax
call fcn.00415ca0
mov byte [ebp - 4], 1
cmp dword [ebp - 0x30], 0
jne 0x41ce98
push dword [ebp - 0x34]
call ebx
mov eax, dword [ebp - 0x38]
cmp eax, 8
jb 0x41cead
inc eax
lea ecx, [ebp - 0x4c]
push eax
push dword [ebp - 0x4c]
call fcn.00403050
add esi, 4
cmp esi, 0x4b110c
jl 0x41cdf0
xor esi, esi
lea edi, [ebp - 0x5c]
push 1
xor eax, eax
mov dword [ebp - 0x14], 7
push 0x4b26ec
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
call fcn.00403c50
push 0x20019
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 5
push eax
push reloc.WS2_32.dll_closesocket
lea ecx, [ebp - 0x50]
call fcn.00415750
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x41cf17
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00403050
xor eax, eax
mov dword [ebp - 0x14], 7
sub esp, 0x28
mov word [ebp - 0x28], ax
mov eax, esp
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x50]
mov dword [eax], vtable.std::_Func_impl_class__lambda_11d81e8bedc4b94d73d3d8fbd317310e___class_std::allocator_int___void__class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___.0
mov dword [eax + 4], edi
mov dword [eax + 8], esi
mov dword [eax + 0x24], eax
call fcn.00415a10
mov byte [ebp - 4], 1
cmp dword [ebp - 0x30], 0
jne 0x41cf56
push dword [ebp - 0x34]
call ebx
mov eax, dword [ebp - 0x38]
cmp eax, 8
jb 0x41cf6b
inc eax
lea ecx, [ebp - 0x4c]
push eax
push dword [ebp - 0x4c]
call fcn.00403050
inc esi
cmp esi, 2
jl 0x41cec1
push 0
push 0
call dword [sym.imp.ole32.dll_CoInitializeEx]
push 0x3c
xor eax, eax
mov dword [ebp - 0x14], 7
push str._programdata_MicrosoftWindowsStart_MenuProgramsStartUp_
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
call fcn.00403c50
sub esp, 0x28
mov byte [ebp - 4], 8
mov eax, esp
lea ecx, [ebp - 0x5c]
mov dword [eax], 0x4b2a18
mov dword [eax + 4], ecx
lea ecx, [ebp - 0x28]
mov dword [eax + 0x24], eax
call fcn.0041c9d0
mov byte [ebp - 4], 1
add esp, 0x28
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x41cfde
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00403050
push 0x38
xor eax, eax
mov dword [ebp - 0x14], 7
push str._appdata_MicrosoftWindowsStart_MenuProgramsStartUp_
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
call fcn.00403c50
sub esp, 0x28
mov byte [ebp - 4], 9
mov eax, esp
lea ecx, [ebp - 0x5c]
mov dword [eax], 0x4b2a34
mov dword [eax + 4], ecx
lea ecx, [ebp - 0x28]
mov dword [eax + 0x24], eax
call fcn.0041c9d0
mov byte [ebp - 4], 1
add esp, 0x28
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x41d03d
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00403050
call dword [sym.imp.ole32.dll_CoUninitialize]
mov edi, dword [ebp - 0x5c]
mov eax, dword [edi]
mov dword [ebp - 0x54], eax
cmp eax, edi
je 0x41d1e5
lea ecx, [ebp - 0x5d]
mov dword [ebp - 0x94], ecx
lea ecx, [ebp - 0x5e]
mov dword [ebp - 0x9c], ecx
push 1
lea ecx, [ebp - 0x18]
mov byte [ebp - 0x20], 1
lea ebx, [eax + 0x10]
call fcn.0040d400
mov byte [ebp - 4], 0xa
push 0x18
mov byte [ebp - 0x7c], 3
call fcn.0045bdbe
mov esi, eax
add esp, 4
mov dword [ebp - 0x90], esi
mov dword [ebp - 0x6c], esi
mov dword [ebp - 0x64], esi
mov byte [ebp - 4], 0xc
test esi, esi
je 0x41d0c7
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
cmp dword [esi + 0x14], 0x10
jb 0x41d0b6
mov eax, dword [esi]
jmp 0x41d0b8
mov eax, esi
push 0xffffffffffffffff
push 0
push ebx
mov ecx, esi
mov byte [eax], 0
call fcn.00402d80
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x74], esi
push str.name
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0xd
call fcn.004132b0
mov byte [ebp - 4], 0xa
mov cl, byte [eax]
mov byte [eax], 3
mov edx, dword [eax + 8]
mov byte [ebp - 0x7c], cl
mov ecx, dword [eax + 0xc]
mov dword [eax + 8], esi
mov esi, dword [ebp - 0x70]
mov dword [ebp - 0x70], ecx
lea ecx, [ebp - 0x7c]
mov dword [eax + 0xc], esi
mov dword [ebp - 0x74], edx
call fcn.004119c0
push 0x18
mov byte [ebp - 0x8c], 3
call fcn.0045bdbe
mov esi, eax
add esp, 4
mov dword [ebp - 0x98], esi
add ebx, 0x18
mov dword [ebp - 0x64], esi
mov dword [ebp - 0x6c], esi
mov byte [ebp - 4], 0xf
test esi, esi
je 0x41d161
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
cmp dword [esi + 0x14], 0x10
jb 0x41d150
mov eax, dword [esi]
jmp 0x41d152
mov eax, esi
push 0xffffffffffffffff
push 0
push ebx
mov ecx, esi
mov byte [eax], 0
call fcn.00402d80
mov dword [ebp - 0x98], 0
mov dword [ebp - 0x84], esi
push str.command
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0x10
call fcn.004132b0
mov byte [ebp - 4], 0xa
mov cl, byte [eax]
mov byte [eax], 3
mov edx, dword [eax + 8]
mov byte [ebp - 0x8c], cl
mov ecx, dword [eax + 0xc]
mov dword [eax + 8], esi
mov esi, dword [ebp - 0x80]
mov dword [ebp - 0x80], ecx
lea ecx, [ebp - 0x8c]
mov dword [eax + 0xc], esi
mov dword [ebp - 0x84], edx
call fcn.004119c0
mov ecx, dword [ebp - 0x68]
lea eax, [ebp - 0x20]
push eax
lea ecx, [ecx + 0x20]
call fcn.00413000
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 1
call fcn.004119c0
lea ecx, [ebp - 0x54]
call fcn.00411780
mov eax, dword [ebp - 0x54]
cmp eax, edi
jne 0x41d065
mov edi, dword [ebp - 0x5c]
mov esi, dword [edi]
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0x54], esi
call fcn.0041d730
mov edi, dword [ebp - 0x5c]
push edi
call fcn.0045bdf1
add esp, 4
mov dword [ebp - 4], 0x11
mov esi, dword [ebp + 0x10]
test esi, esi
je 0x41d22d
or edi, 0xffffffff
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x41d22d
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x41d22d
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0045bdad
mov esp, ebp
pop ebp
ret 0xc