Function at 0x410930
Capabilities:
Create process on windows
Create process suspended
Create thread
Get common file path
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x661ad9
mov eax, dword fs:[0]
push eax
sub esp, 0xb90
mov eax, dword [0x714f78]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push 0x104
lea ecx, [ebp - 0x12c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
call fcn.00423a0b
mov ecx, eax
test ecx, ecx
je 0x410d3e
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0xb3c], eax
lea eax, [ebp - 0x12c]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0xb3c]
call fcn.00402ad0
test al, al
jne 0x4109dd
lea ecx, [ebp - 0x12c]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4109c1
sub ecx, edx
lea eax, [ebp - 0x12c]
push ecx
push eax
lea ecx, [ebp - 0xb3c]
call fcn.00408790
mov esi, dword [ebp - 0xb3c]
push 0x5c
push esi
mov byte [ebp - 4], 2
call fcn.00626e79
add esp, 8
test eax, eax
je 0x410a49
sub eax, esi
test eax, eax
jle 0x410a49
push eax
lea eax, [ebp - 0xb40]
push eax
lea ecx, [ebp - 0xb3c]
call fcn.0040d990
push eax
lea ecx, [ebp - 0xb3c]
mov byte [ebp - 4], 3
call fcn.0040a060
mov edx, dword [ebp - 0xb40]
or esi, 0xffffffff
mov byte [ebp - 4], 2
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x410ac2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x410ac2
lea eax, [ebp - 0x230]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
test eax, eax
jle 0x410a7c
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0xb3c]
push 0x687f94
push eax
call fcn.00402cc0
add esp, 0xc
jmp 0x410abf
lea eax, [ebp - 0x334]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
mov esi, eax
lea eax, [ebp - 0x334]
push eax
lea eax, [ebp - 0xb3c]
push 0x687f94
push eax
call fcn.00402cc0
add esp, 0xc
cmp esi, 0x104
ja 0x410cc5
test esi, esi
je 0x410cc5
or esi, 0xffffffff
lea eax, [ebp - 0xb48]
push eax
push 0x20006
push 0
push str.SoftwareMicrosoftWindows_NTCurrentVersionAppCompatFlagsLayers
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov edi, dword [ebp - 0xb3c]
test eax, eax
jne 0x410bb6
call fcn.00423a0b
mov ecx, eax
test ecx, ecx
je 0x410d48
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0xb40], eax
push edi
lea eax, [ebp - 0xb40]
mov byte [ebp - 4], 4
push str._sclientClient.exe
push eax
call fcn.00402cc0
mov eax, dword [0x688324]
movups xmm0, xmmword [str._RUNASADMIN_WINXPSP3]
mov dword [ebp - 0x18], eax
mov ax, word [0x688328]
mov word [ebp - 0x14], ax
mov eax, dword [ebp - 0xb40]
add eax, 0xfffffff0
push eax
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0xb44], eax
call fcn.00407710
add esp, 0x10
lea esi, [eax + 0x10]
push 0x16
lea eax, [ebp - 0x28]
push eax
push 1
push 0
push esi
push dword [ebp - 0xb48]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 0xb48]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea edx, [esi - 0x10]
or esi, 0xffffffff
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x410b98
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0xb44]
mov eax, esi
mov byte [ebp - 4], 2
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x410bb6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [0x714070]
push dword [ebp + 8]
shl eax, 4
push dword [eax + 0x7230c4]
push dword [eax + 0x7230c0]
lea eax, [ebp - 0xb34]
push str..clientclient.exe__s__s__k_192198425__t_28665689__s
push eax
call fcn.00413120
push 0x40
lea eax, [ebp - 0xb98]
xorps xmm0, xmm0
push 0
push eax
movups xmmword [ebp - 0xb58], xmm0
call fcn.00605e30
add esp, 0x20
mov dword [ebp - 0xb9c], 0x44
xor eax, eax
mov dword [ebp - 0xb98], 0
mov word [ebp - 0xb6a], ax
mov dword [ebp - 0xb68], eax
lea eax, [ebp - 0xb58]
push eax
lea eax, [ebp - 0xb9c]
mov dword [ebp - 0xb94], 0
push eax
push str..client
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0xb34]
mov dword [ebp - 0xb90], 0
push eax
push 0
mov dword [ebp - 0xb70], 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov dword [ebp - 0xb44], eax
test eax, eax
je 0x410cbc
push dword [ebp - 0xb58]
call fcn.0040b9a0
add esp, 4
push 0
push 0
push dword [ebp - 0xb58]
push 0x40d6f0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
test ecx, ecx
je 0x410cac
push ecx
call eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0xb54]
call eax
mov eax, dword [ebp - 0xb44]
test eax, eax
setne byte [ebp - 0xb35]
jmp 0x410ce3
push 0
push 0
push 0x6882a4
call fcn.004334c2
mov edi, dword [ebp - 0xb3c]
or esi, 0xffffffff
mov byte [ebp - 0xb35], 0
mov byte [ebp - 4], 0
add edi, 0xfffffff0
mov eax, esi
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x410cfe
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp + 8]
mov dword [ebp - 4], 0xffffffff
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], esi
dec esi
test esi, esi
jg 0x410d1d
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov al, byte [ebp - 0xb35]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0060266e
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.004020e0
push 0x80004005
call fcn.004020e0
int3