joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400020d0
Capabilities:
Delete network filter via wfp api

Disassembly:
sub rsp, 0x58
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x48], 0
mov dword [rsp + 0x44], 0
lea rcx, [rsp + 0x34]
xor edx, edx
mov r8d, 0x10
call sym.memset
xor eax, eax
mov r9d, eax
mov edx, 0xffffffff
lea rax, [rsp + 0x48]
mov rcx, r9
mov r8, r9
mov qword [rsp + 0x20], rax
call sym.FwpmEngineOpen0
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 0
je 0x14000213b
mov edx, dword [rsp + 0x44]
lea rcx, [0x14000c4c4]
call dbg.__mingw_printf
jmp 0x1400021fc
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x50]
call sym.FwpmFilterDeleteById0
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 0
jne 0x140002168
mov rdx, qword [rsp + 0x50]
lea rcx, str.Deleted_filter_id:__llu._n
call dbg.__mingw_printf
jmp 0x140002198
cmp dword [rsp + 0x44], 0x80320003
jne 0x140002180
lea rcx, str.____The_filter_does_not_exist._n
call dbg.__mingw_printf
jmp 0x140002196
mov rdx, qword [rsp + 0x50]
mov r8d, dword [rsp + 0x44]
lea rcx, str.____Failed_to_delete_filter_id:__llu_with_error_code:_0x_x._n
call dbg.__mingw_printf
jmp 0x140002198
mov rcx, qword [str.Microsoft_Windows_WFP_Built_in_custom_provider.]
lea rdx, [rsp + 0x34]
call sym.GetProviderGUIDByDescription
cmp eax, 0
je 0x1400021f2
mov rcx, qword [rsp + 0x48]
lea rdx, [rsp + 0x34]
call sym.FwpmProviderDeleteByKey0
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 0
je 0x1400021e4
cmp dword [rsp + 0x44], 0x8032000a
je 0x1400021e2
mov edx, dword [rsp + 0x44]
lea rcx, str.____FwpmProviderDeleteByKey0_failed_with_error_code:_0x_x._n
call dbg.__mingw_printf
jmp 0x1400021f0
lea rcx, str.Deleted_custom_WFP_provider._n
call dbg.__mingw_printf
jmp 0x1400021f2
mov rcx, qword [rsp + 0x48]
call sym.FwpmEngineClose0
nop
add rsp, 0x58
ret
Function at 0x140002760
Capabilities:
Acquire debug privileges

Disassembly:
sub rsp, 0x58
mov qword [rsp + 0x48], 0
lea rcx, [rsp + 0x38]
xor edx, edx
mov r8d, 0x10
call sym.memset
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov rcx, rax
mov edx, 0x28
mov r8d, 1
lea r9, [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_OpenThreadToken]
cmp eax, 0
jne 0x140002812
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3f0
je 0x1400027d1
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.____OpenThreadToken_failed_with_error_code:_0x_x._n
call dbg.__mingw_printf
mov dword [rsp + 0x54], 0
jmp 0x140002908
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0x28
lea r8, [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
cmp eax, 0
jne 0x140002810
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.____OpenProcessToken_failed_with_error_code:_0x_x._n
call dbg.__mingw_printf
mov dword [rsp + 0x54], 0
jmp 0x140002908
jmp 0x140002812
lea r8, [rsp + 0x38]
add r8, 4
xor eax, eax
mov ecx, eax
lea rdx, str.SeDebugPrivilege
call qword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
cmp eax, 0
jne 0x14000285d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.____LookupPrivilegeValueA_failed_with_error_code:_0x_x._n
call dbg.__mingw_printf
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [rsp + 0x54], 0
jmp 0x140002908
mov dword [rsp + 0x38], 1
mov dword [rsp + 0x44], 2
mov rcx, qword [rsp + 0x48]
xor edx, edx
lea r8, [rsp + 0x38]
mov r9d, 0x10
xor eax, eax
mov qword [rsp + 0x20], 0
mov qword [rsp + 0x28], 0
call qword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
cmp eax, 0
jne 0x1400028c7
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.____AdjustTokenPrivileges_failed_with_error_code:_0x_x._n
call dbg.__mingw_printf
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [rsp + 0x54], 0
jmp 0x140002908
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x514
jne 0x1400028f5
lea rcx, str.____Failed_to_get_SeDebugPrivilege._You_might_not_be_able_to_get_the_process_handle_of_the_EDR_process._n
call dbg.__mingw_printf
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [rsp + 0x54], 0
jmp 0x140002908
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [rsp + 0x54], 1
mov eax, dword [rsp + 0x54]
add rsp, 0x58
ret
Function at 0x140002a50
Capabilities:
Get disk information

Disassembly:
sub rsp, 0x298
mov qword [rsp + 0x288], rcx
mov qword [rsp + 0x280], rdx
mov qword [rsp + 0x278], r8
cmp qword [rsp + 0x288], 0
je 0x140002a85
cmp qword [rsp + 0x280], 0
jne 0x140002a95
mov dword [rsp + 0x294], 3
jmp 0x140002bc2
mov rcx, qword [rsp + 0x288]
lea rdx, [rsp + 0x260]
mov r8d, 0xa
call sym.GetDriveName
cmp eax, 0
jne 0x140002ac5
mov dword [rsp + 0x294], 4
jmp 0x140002bc2
lea rcx, [rsp + 0x260]
lea rdx, [rsp + 0x50]
mov r8d, 0x104
call qword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
cmp eax, 0
jne 0x140002af3
mov dword [rsp + 0x294], 5
jmp 0x140002bc2
mov rax, qword [rsp + 0x280]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x278]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x288]
mov qword [rsp + 0x28], rax
lea rcx, [rsp + 0x260]
call sym.wcslen
mov r8, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x38]
mov r9, qword [rsp + 0x40]
shl rax, 1
add r8, rax
mov rax, rsp
mov qword [rax + 0x20], r8
lea r8, str._ls_ls
call sym.swprintf
mov qword [rsp + 0x48], 0
mov rax, qword [rsp + 0x280]
mov rcx, qword [rsp + 0x48]
movzx eax, word [rax + rcx*2]
cmp eax, 0
je 0x140002bb7
mov rax, qword [rsp + 0x280]
mov rcx, qword [rsp + 0x48]
mov cx, word [rax + rcx*2]
call sym.towlower
mov dx, ax
mov rax, qword [rsp + 0x280]
mov rcx, qword [rsp + 0x48]
mov word [rax + rcx*2], dx
mov rax, qword [rsp + 0x48]
add rax, 1
mov qword [rsp + 0x48], rax
jmp 0x140002b67
mov dword [rsp + 0x294], 0
mov eax, dword [rsp + 0x294]
add rsp, 0x298
ret

Function at 0x140002c30
Capabilities:
Check if file exists
Get file attributes

Disassembly:
sub rsp, 0x38
mov qword [rsp + 0x28], rcx
cmp qword [rsp + 0x28], 0
jne 0x140002c4b
mov dword [rsp + 0x34], 0
jmp 0x140002c73
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0xffffffff
jne 0x140002c6b
mov dword [rsp + 0x34], 0
jmp 0x140002c73
mov dword [rsp + 0x34], 1
mov eax, dword [rsp + 0x34]
add rsp, 0x38
ret

Function at 0x140003960
Capabilities:
Write file on windows

Disassembly:
push rsi
sub rsp, 0x30
mov rsi, rcx
mov qword [rsp + 0x48], rdx
mov qword [rsp + 0x50], r8
mov qword [rsp + 0x58], r9
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
mov ecx, 2
call dbg.__acrt_iob_func
lea rcx, str.Mingw_w64_runtime_failure:_n
mov edx, 0x1b
mov r8d, 1
mov r9, rax
call sym.fwrite
mov ecx, 2
call dbg.__acrt_iob_func
mov r8, qword [rsp + 0x28]
mov rcx, rax
mov rdx, rsi
call sym.vfprintf
call sym.abort
int3
Function at 0x140003e60
Capabilities:
Parse pe header

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rsi, rcx
call sym.strlen
xor edi, edi
cmp rax, 8
ja 0x140003edf
mov rax, qword [0x14000c008]
movzx ecx, word [rax]
cmp ecx, 0x5a4d
jne 0x140003edf
movsxd rcx, dword [rax + 0x3c]
cmp dword [rax + rcx], 0x4550
jne 0x140003edd
add rax, rcx
cmp word [rax + 0x18], 0x20b
jne 0x140003edd
movzx ebx, word [rax + 6]
test ebx, ebx
je 0x140003edd
movzx ecx, word [rax + 0x14]
lea rdi, [rcx + rax]
add rdi, 0x18
nop word cs:[rax + rax]
mov r8d, 8
mov rcx, rdi
mov rdx, rsi
call sym.strncmp
test eax, eax
je 0x140003edf
add rdi, 0x28
dec ebx
jne 0x140003ec0
xor edi, edi
mov rax, rdi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret

Function at 0x140003ef0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rax, qword [0x14000c008]
cmp word [rax], 0x5a4d
jne 0x140003f5b
movsxd rdx, dword [rax + 0x3c]
cmp dword [rax + rdx], 0x4550
jne 0x140003f5b
add rax, rdx
cmp word [rax + 0x18], 0x20b
jne 0x140003f5b
movzx edx, word [rax + 6]
test edx, edx
je 0x140003f5b
sub rcx, qword [0x14000c008]
movzx r8d, word [rax + 0x14]
add rax, r8
add rax, 0x18
jmp 0x140003f48
add rax, 0x28
dec edx
je 0x140003f5b
mov r8d, dword [rax + 0xc]
cmp rcx, r8
jb 0x140003f40
add r8d, dword [rax + 8]
cmp rcx, r8
jae 0x140003f40
ret
xor eax, eax
ret

Function at 0x140003f60
Capabilities:
Parse pe header

Disassembly:
mov rcx, qword [0x14000c008]
xor eax, eax
cmp word [rcx], 0x5a4d
jne 0x140003f8b
movsxd rdx, dword [rcx + 0x3c]
cmp dword [rcx + rdx], 0x4550
jne 0x140003f8b
cmp word [rcx + rdx + 0x18], 0x20b
jne 0x140003f8b
movzx eax, word [rcx + rdx + 6]
ret

Function at 0x140003ff0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x14000c008]
cmp word [rax], 0x5a4d
jne 0x140004014
movsxd rcx, dword [rax + 0x3c]
cmp dword [rax + rcx], 0x4550
jne 0x140004014
cmp word [rax + rcx + 0x18], 0x20b
je 0x140004016
xor eax, eax
ret

Function at 0x1400040b0
Capabilities:
Parse pe header

Disassembly:
push rsi
mov rdx, qword [0x14000c008]
cmp word [rdx], 0x5a4d
jne 0x14000413d
movsxd rax, dword [rdx + 0x3c]
cmp dword [rdx + rax], 0x4550
jne 0x14000413d
add rax, rdx
cmp word [rax + 0x18], 0x20b
jne 0x14000413d
mov r8d, dword [rax + 0x90]
test r8, r8
je 0x14000413d
movzx r9d, word [rax + 6]
test r9, r9
je 0x14000413d
movzx r10d, word [rax + 0x14]
shl r9d, 3
lea r9, [r9 + r9*4]
add r10, rax
add r10, 0x24
xor eax, eax
xor r11d, r11d
jmp 0x140004119
add r11, 0x28
cmp r9d, r11d
je 0x14000413f
mov esi, dword [r10 + r11]
cmp esi, r8d
ja 0x140004110
add esi, dword [r10 + r11 - 4]
cmp esi, r8d
jbe 0x140004110
add rdx, r8
add rdx, 0xc
xor eax, eax
cmp dword [rdx - 8], 0
jne 0x140004161
jmp 0x14000415c
xor eax, eax
pop rsi
ret
dec ecx
add rdx, 0x14
cmp dword [rdx - 8], 0
jne 0x140004161
cmp dword [rdx], 0
je 0x14000413f
test ecx, ecx
jg 0x140004150
mov eax, dword [rdx]
add rax, qword [0x14000c008]
jmp 0x14000413f
Function at 0x140003b00
Capabilities:
Encode data using base64

Disassembly:
push rsi
push rdi
push rbx
mov r9, r8
mov r8, rdx
movabs r11, 0xaaaaaaaaaaaaaaab
cmp r9, 3
jae 0x140003b21
mov r10, rcx
jmp 0x140003bad
mov rax, r9
mul r11
shr rdx, 1
lea rax, [0x140368200]
mov rsi, rcx
nop word cs:[rax + rax]
movzx r10d, byte [r8]
shr r10d, 2
movzx r10d, byte [r10 + rax]
mov byte [rsi], r10b
movzx r10d, byte [r8]
shl r10d, 4
and r10d, 0x30
movzx edi, byte [r8 + 1]
shr edi, 4
or edi, r10d
movzx r10d, byte [rdi + rax]
mov byte [rsi + 1], r10b
movzx r10d, byte [r8 + 2]
shr r10d, 6
movzx edi, byte [r8 + 1]
and edi, 0xf
lea r10d, [r10 + rdi*4]
movzx r10d, byte [r10 + rax]
mov byte [rsi + 2], r10b
movzx edi, byte [r8 + 2]
and edi, 0x3f
lea r10, [rsi + 4]
add r8, 3
movzx ebx, byte [rdi + rax]
mov byte [rsi + 3], bl
mov rsi, r10
dec rdx
jne 0x140003b40
mov rax, r9
mul r11
shr rdx, 1
lea rax, [rdx + rdx*2]
sub r9, rax
cmp r9, 1
je 0x140003c0f
cmp r9, 2
jne 0x140003c44
movzx eax, byte [r8]
shr eax, 2
lea rdx, [0x140368200]
movzx eax, byte [rax + rdx]
mov byte [r10], al
movzx eax, byte [r8]
shl eax, 4
and eax, 0x30
movzx r9d, byte [r8 + 1]
shr r9d, 4
or r9d, eax
movzx eax, byte [r9 + rdx]
mov byte [r10 + 1], al
movzx eax, byte [r8 + 1]
and eax, 0xf
movzx eax, byte [rdx + rax*4]
mov byte [r10 + 2], al
jmp 0x140003c3b
movzx eax, byte [r8]
shr eax, 2
lea rdx, [0x140368200]
movzx eax, byte [rax + rdx]
mov byte [r10], al
movzx eax, byte [r8]
shl eax, 4
and eax, 0x30
movzx eax, byte [rax + rdx]
mov byte [r10 + 1], al
mov byte [r10 + 2], 0x3d
mov byte [r10 + 3], 0x3d
add r10, 4
sub r10, rcx
mov rax, r10
pop rbx
pop rdi
pop rsi
ret
Function at 0x1400036c8
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140003712
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140003712
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140003712
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140003712
cmp dword [rcx + 0x84], 0xe
jbe 0x140003712
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140003714
xor al, al
add rsp, 0x28
ret
Function at 0x140003108
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140003152
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140003152
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140003152
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140003152
cmp dword [rcx + 0x84], 0xe
jbe 0x140003152
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140003154
xor al, al
add rsp, 0x28
ret
Function at 0x1400081d0
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
push rbp
mov rbp, rsp
sub rsp, 0x70
mov qword [rbp - 0x40], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x14040a3a0]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rdi, rcx
cmp qword [rcx + 0x68], 0
je 0x14000837a
cmp byte [rcx + 0x71], 0
je 0x14000837a
mov rax, qword [rcx]
or edx, 0xffffffff
call qword [rax + 0x18]
cmp eax, 0xffffffff
jne 0x14000822a
xor al, al
jmp 0x14000837c
mov qword [rbp - 0x18], 0xf
mov qword [rbp - 0x20], 0
mov byte [rbp - 0x30], 0
xor r8d, r8d
lea edx, [r8 + 8]
lea rcx, [rbp - 0x30]
call fcn.140007a10
nop
mov rcx, qword [rbp - 0x30]
mov r9, qword [rbp - 0x18]
nop word [rax + rax]
lea rdx, [rbp - 0x30]
cmp r9, 0x10
cmovae rdx, rcx
lea r8, [rbp - 0x30]
cmovae r8, rcx
mov rcx, qword [rdi + 0x68]
mov r10, qword [rcx]
mov r9, qword [rbp - 0x20]
add r9, rdx
lea rax, [rbp - 0x38]
mov qword [rsp + 0x20], rax
lea rdx, [rdi + 0x74]
call qword [r10 + 0x40]
test eax, eax
je 0x14000829e
sub eax, 1
jne 0x140008312
jmp 0x1400082a2
mov byte [rdi + 0x71], 0
lea rax, [rbp - 0x30]
mov rcx, qword [rbp - 0x30]
mov r9, qword [rbp - 0x18]
cmp r9, 0x10
cmovae rax, rcx
mov rbx, qword [rbp - 0x38]
sub rbx, rax
je 0x1400082ef
lea rax, [rbp - 0x30]
cmp r9, 0x10
cmovae rax, rcx
mov r9, qword [rdi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, rax
call fcn.14011f3cc
mov r9, qword [rbp - 0x18]
mov rcx, qword [rbp - 0x30]
cmp rbx, rax
jne 0x14000831f
cmp byte [rdi + 0x71], 0
je 0x140008323
test rbx, rbx
jne 0x140008260
xor r8d, r8d
lea edx, [rbx + 8]
lea rcx, [rbp - 0x30]
call fcn.140007d60
jmp 0x14000824f
sub eax, 2
mov r9, qword [rbp - 0x18]
mov rcx, qword [rbp - 0x30]
je 0x140008323
xor bl, bl
jmp 0x140008325
mov bl, 1
cmp r9, 0x10
jb 0x140008375
lea rax, [r9 + 1]
cmp rax, 0x1000
jb 0x140008370
test byte [rbp - 0x30], 0x1f
je 0x140008343
call fcn.14011ef24
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x140008352
call fcn.14011ef24
int3
sub rcx, rax
cmp rcx, 8
jae 0x140008361
call fcn.14011ef24
int3
cmp rcx, 0x27
jbe 0x14000836d
call fcn.14011ef24
int3
mov rcx, rax
call fcn.1400f8420
movzx eax, bl
jmp 0x14000837c
mov al, 1
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1400fbe80
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x14000a4a0
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x1a8]
sub rsp, 0x2a0
mov qword [rsp + 0x70], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x14040a3a0]
xor rax, rsp
mov qword [rbp + 0x190], rax
mov rsi, rcx
xor ebx, ebx
mov dword [rsp + 0x40], ebx
mov edx, 0x104
lea rcx, [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
dec eax
cmp eax, 0x103
ja 0x14000a5fb
xor eax, eax
mov qword [rsp + 0x78], rax
or edi, 0xffffffff
mov r8d, edi
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x30]
call fcn.1400090f0
mov rbx, rax
lea rcx, [rsp + 0x20]
call fcn.1400278f0
movzx r8d, word [rax]
mov rdx, rbx
lea rcx, [rsp + 0x28]
call fcn.1400091e0
nop
lea r8, str.Temp
mov rdx, rax
lea rcx, [rsp + 0x78]
call fcn.1400092a0
nop
mov rcx, qword [rsp + 0x28]
mov eax, dword [rcx]
test eax, eax
je 0x14000a56b
cmp eax, edi
je 0x14000a57a
mov eax, edi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x14000a57a
mov rcx, qword [rsp + 0x28]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.14002c3b0
nop
mov rcx, qword [rsp + 0x30]
mov eax, dword [rcx]
test eax, eax
je 0x14000a59a
cmp eax, 0xffffffff
je 0x14000a5a8
mov eax, edi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x14000a5a8
mov rcx, qword [rsp + 0x30]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.14002c3b0
mov rax, qword [rsp + 0x78]
mov qword [rsi], rax
lea rax, [0x14017f600]
mov qword [rsp + 0x78], rax
mov ecx, dword [0x14017f600]
test ecx, ecx
je 0x14000a5e5
cmp ecx, 0xffffffff
je 0x14000a69f
lock xadd dword [0x14017f600], edi
cmp edi, 1
jne 0x14000a69f
mov rax, qword [rsp + 0x78]
mov edx, 2
lea r8d, [rdx + 6]
mov rcx, rax
call fcn.14002c3b0
jmp 0x14000a69f
mov qword [rsp + 0x50], 2
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x58], xmm0
lea rax, [0x1402be910]
mov qword [rsp + 0x68], rax
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x50]
call fcn.140010450
mov rbx, rax
or edi, 0xffffffff
mov r8d, edi
lea rdx, str.Failed_to_get_Windows_directory.
lea rcx, [rsp + 0x38]
call fcn.140004090
nop
mov rdx, rax
mov rcx, qword [rbx]
call fcn.140029fd0
nop
mov rcx, qword [rsp + 0x38]
mov eax, dword [rcx]
test eax, eax
je 0x14000a66c
cmp eax, edi
je 0x14000a67a
lock xadd dword [rcx], edi
cmp edi, 1
jne 0x14000a67a
mov rcx, qword [rsp + 0x38]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.14002c3b0
mov rcx, qword [rbx]
cmp byte [rcx + 0x20], 0
je 0x14000a68b
mov dl, 0x20
call fcn.14002a050
nop
lea rcx, [rsp + 0x48]
call fcn.1400231f0
lea rax, [0x14017f600]
mov qword [rsi], rax
mov rax, rsi
mov rcx, qword [rbp + 0x190]
xor rcx, rsp
call fcn.1400fbe80
lea r11, [rsp + 0x2a0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x14000aaa0
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
push rdi
push r14
push r15
sub rsp, 0x2d0
mov qword [rax - 0x260], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
movaps xmmword [rax - 0x28], xmm6
movaps xmmword [rax - 0x38], xmm7
mov rax, qword [0x14040a3a0]
xor rax, rsp
mov qword [rsp + 0x2a0], rax
mov r14, rcx
xor ebp, ebp
mov dword [rsp + 0x30], ebp
movsd xmm6, qword [0x1403d0350]
mov ebx, ebp
lea r15, [0x1402be910]
or esi, 0xffffffff
movsd xmm7, qword [0x1403d0340]
nop word [rax + rax]
movd xmm0, ebx
cvtdq2pd xmm0, xmm0
mulsd xmm0, xmm7
subsd xmm6, xmm0
mov qword [rsp + 0x48], 2
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], r15
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x48]
call fcn.140010450
mov rdi, rax
mov r8d, esi
lea rdx, str.SysWow64_folder_obfuscation_value:
lea rcx, [rsp + 0x20]
call fcn.140004090
nop
mov rdx, rax
mov rcx, qword [rdi]
call fcn.140029fd0
nop
mov rcx, qword [rsp + 0x20]
mov eax, dword [rcx]
test eax, eax
je 0x14000ab8a
cmp eax, 0xffffffff
je 0x14000ab98
mov eax, esi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x14000ab98
mov rcx, qword [rsp + 0x20]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.14002c3b0
mov rcx, qword [rdi]
cmp byte [rcx + 0x20], 0
je 0x14000aba8
mov dl, 0x20
call fcn.14002a050
movaps xmm1, xmm6
mov rcx, qword [rdi]
call fcn.14002a2b0
mov rcx, qword [rdi]
cmp byte [rcx + 0x20], 0
je 0x14000abc4
mov dl, 0x20
call fcn.14002a050
nop
lea rcx, [rsp + 0x38]
call fcn.1400231f0
inc ebx
cmp ebx, 0x1e
jl 0x14000ab10
mov edx, 0x104
lea rcx, [rsp + 0x90]
call qword [sym.imp.KERNEL32.dll_GetSystemWow64DirectoryW]
test eax, eax
jne 0x14000ac94
mov qword [rsp + 0x68], 2
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x70], xmm0
mov qword [rsp + 0x80], r15
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x68]
call fcn.140010450
mov rbx, rax
mov r8d, esi
lea rdx, str.Failed_to_get_SysWow64_directory.
lea rcx, [rsp + 0x28]
call fcn.140004090
nop
mov rdx, rax
mov rcx, qword [rbx]
call fcn.140029fd0
nop
mov rcx, qword [rsp + 0x28]
mov eax, dword [rcx]
test eax, eax
je 0x14000ac5f
cmp eax, 0xffffffff
je 0x14000ac6d
lock xadd dword [rcx], esi
cmp esi, 1
jne 0x14000ac6d
mov rcx, qword [rsp + 0x28]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.14002c3b0
mov rcx, qword [rbx]
cmp byte [rcx + 0x20], 0
je 0x14000ac7e
mov dl, 0x20
call fcn.14002a050
nop
lea rcx, [rsp + 0x40]
call fcn.1400231f0
lea rax, [0x14017f600]
mov qword [r14], rax
jmp 0x14000aca7
mov r8d, esi
lea rdx, [rsp + 0x90]
mov rcx, r14
call fcn.1400090f0
mov rax, r14
mov rcx, qword [rsp + 0x2a0]
xor rcx, rsp
call fcn.1400fbe80
lea r11, [rsp + 0x2d0]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
Function at 0x14000d500
Capabilities:
Enumerate process modules

Disassembly:
push rsi
mov eax, 0x1250
call fcn.1400fc800
sub rsp, rax
mov rax, qword [0x14040a3a0]
xor rax, rsp
mov qword [rsp + 0x1240], rax
mov rsi, rcx
lea r8, [rsp + 0x28]
lea rcx, [rsp + 0x30]
mov edx, 0x1000
call qword [sym.imp.KERNEL32.dll_K32EnumProcesses]
test eax, eax
je 0x14000d69b
mov qword [rsp + 0x1260], rbx
xor ebx, ebx
mov qword [rsp + 0x1268], rbp
mov ebp, dword [rsp + 0x28]
shr ebp, 2
mov qword [rsp + 0x1270], rdi
mov qword [rsp + 0x1278], r14
test ebp, ebp
je 0x14000d679
or r14, 0xffffffffffffffff
nop word [rax + rax]
mov r8d, dword [rsp + rbx*4 + 0x30]
mov eax, ebx
test r8d, r8d
je 0x14000d66f
xor edx, edx
mov ecx, 0x410
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rdi, rax
test rax, rax
je 0x14000d66f
lea r9, [rsp + 0x2c]
mov r8d, 8
lea rdx, [rsp + 0x20]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_K32EnumProcessModules]
test eax, eax
je 0x14000d666
mov rdx, qword [rsp + 0x20]
lea r8, [rsp + 0x1030]
mov r9d, 0x104
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_K32GetModuleBaseNameW]
test eax, eax
je 0x14000d666
cmp word [rsp + 0x1030], 0
jne 0x14000d5f9
xor eax, eax
jmp 0x14000d60e
lea rcx, [rsp + 0x1030]
mov rax, r14
inc rax
cmp word [rcx + rax*2], 0
jne 0x14000d604
cmp qword [rsi + 0x18], 8
jb 0x14000d61a
mov rdx, qword [rsi]
jmp 0x14000d61d
mov rdx, rsi
mov r10, qword [rsi + 0x10]
mov r9, rax
cmp r10, rax
cmovb r9, r10
test r9, r9
je 0x14000d657
lea r8, [rsp + 0x1030]
nop dword [rax + rax]
movzx ecx, word [r8]
cmp word [rdx], cx
jne 0x14000d6b4
add rdx, 2
add r8, 2
sub r9, 1
jne 0x14000d640
xor r9d, r9d
test r9d, r9d
jne 0x14000d666
cmp r10, rax
jb 0x14000d666
jbe 0x14000d6c3
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc ebx
cmp ebx, ebp
jb 0x14000d580
xor al, al
mov rdi, qword [rsp + 0x1270]
mov rbp, qword [rsp + 0x1268]
mov rbx, qword [rsp + 0x1260]
mov r14, qword [rsp + 0x1278]
mov rcx, qword [rsp + 0x1240]
xor rcx, rsp
call fcn.1400fbe80
add rsp, 0x1250
pop rsi
ret
cmp word [rdx], cx
mov r9d, 1
cmovb r9d, r14d
jmp 0x14000d65a
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
jmp 0x14000d67b
Function at 0x14000d7c0
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x270
mov rax, qword [0x14040a3a0]
xor rax, rsp
mov qword [rsp + 0x260], rax
xor edx, edx
mov rdi, rcx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14000d853
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x238
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x14000d84a
lea rax, [rsp + 0x4c]
mov r8, rdi
sub r8, rax
nop dword [rax + rax]
movzx edx, word [rax]
movzx ecx, word [rax + r8]
sub edx, ecx
jne 0x14000d834
add rax, 2
test ecx, ecx
jne 0x14000d820
mov rcx, rbx
test edx, edx
je 0x14000d876
lea rdx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x14000d810
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.1400fbe80
mov rbx, qword [rsp + 0x280]
add rsp, 0x270
pop rdi
ret
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rsp + 0x28]
jmp 0x14000d855