joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14002f2c0
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x40
mov rdi, qword [rcx + 0x10]
mov rsi, rdx
mov rbx, rcx
test rdi, rdi
je 0x14002f379
cmp qword [rdi], 0
mov rbx, qword [rcx]
je 0x14002f345
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je case.default.0x14002f35d
lea rdx, str.RegDeleteKeyTransactedW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je case.default.0x14002f35d
mov rdx, qword [rdi]
xor r9d, r9d
mov qword [rsp + 0x28], 0
xor r8d, r8d
mov qword [rsp + 0x20], rdx
mov rcx, rbx
mov rdx, rsi
call qword [case.0x14001c280.0]
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
cmp dword [rdi + 8], 0
je case.default.0x14002f35d
mov rcx, rbx
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
jmp qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov eax, 1
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
cmp byte [0x140382810], 0
jne 0x14002f3c4
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14002f3b4
lea rdx, str.RegDeleteKeyExW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140382808], rax
mov byte [0x140382810], 1
jmp 0x14002f3cb
mov rax, qword [0x140382808]
mov byte [0x140382810], 1
jmp 0x14002f3cb
mov rax, qword [0x140382808]
mov rcx, qword [rbx]
mov rdx, rsi
test rax, rax
je 0x14002f34e
mov r8d, dword [rbx + 8]
xor r9d, r9d
call qword [case.0x14001c280.0]
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
lodsd eax, dword [rsi]
sbb byte [rcx], 0xff
lodsd eax, dword [rsi]
jg 0x1403c4eb8
jmp [rdi + rdi*2 + 0x7eacff19]
Function at 0x14002f400
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x280
mov rax, qword [0x14022b078]
xor rax, rsp
mov qword [rsp + 0x270], rax
mov r9d, dword [rcx + 8]
xor ebp, ebp
mov rsi, rdx
mov qword [rsp + 0x48], rbp
mov r8, rdx
mov qword [rsp + 0x40], rbp
mov rdx, qword [rcx]
mov rdi, rcx
or r9d, 0x2001f
mov qword [rsp + 0x50], rbp
lea rcx, [rsp + 0x40]
call fcn.14002f7c0
mov ebx, eax
test eax, eax
jne 0x14002f585
mov rcx, qword [rsp + 0x40]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x38], rax
lea r9, [rsp + 0x58]
mov qword [rsp + 0x30], rbp
lea r8, [rsp + 0x70]
mov qword [rsp + 0x28], rbp
xor edx, edx
mov qword [rsp + 0x20], rbp
mov dword [rsp + 0x58], 0x100
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x14002f4f5
nop dword [rax]
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x40]
call fcn.14002f400
mov ebx, eax
test eax, eax
jne 0x14002f585
mov rcx, qword [rsp + 0x40]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x38], rax
lea r9, [rsp + 0x58]
mov qword [rsp + 0x30], rbp
lea r8, [rsp + 0x70]
mov qword [rsp + 0x28], rbp
xor edx, edx
mov qword [rsp + 0x20], rbp
mov dword [rsp + 0x58], 0x100
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x14002f4a0
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x14002f50a
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x40], rbp
mov rbx, qword [rdi + 0x10]
mov dword [rsp + 0x48], ebp
test rbx, rbx
je 0x14002f5ba
mov rdi, qword [rdi]
cmp qword [rbx], rbp
je 0x14002f572
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
jne 0x14002f53c
mov ebx, 1
jmp 0x14002f585
lea rdx, str.RegDeleteKeyTransactedW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14002f535
mov rcx, qword [rbx]
xor r9d, r9d
mov qword [rsp + 0x28], rbp
xor r8d, r8d
mov qword [rsp + 0x20], rcx
mov rdx, rsi
mov rcx, rdi
call qword [case.0x14001c280.0]
jmp 0x14002f583
cmp dword [rbx + 8], ebp
je 0x14002f535
mov rcx, rdi
mov rdx, rsi
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov ebx, eax
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x14002f595
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.14013f550
mov rbx, qword [rsp + 0x2b0]
add rsp, 0x280
pop rdi
pop rsi
pop rbp
ret
cmp byte [0x140382810], bpl
jne 0x14002f605
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14002f5f5
lea rdx, str.RegDeleteKeyExW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140382808], rax
mov byte [0x140382810], 1
jmp 0x14002f60c
mov rax, qword [0x140382808]
mov byte [0x140382810], 1
jmp 0x14002f60c
mov rax, qword [0x140382808]
mov rcx, qword [rdi]
test rax, rax
je 0x14002f57a
mov r8d, dword [rdi + 8]
xor r9d, r9d
mov rdx, rsi
call qword [case.0x14001c280.0]
jmp 0x14002f583
Function at 0x14002f8f0
Capabilities:
Get file attributes

Disassembly:
push rbx
sub rsp, 0x50
mov rax, qword [0x14022b078]
xor rax, rsp
mov qword [rsp + 0x40], rax
cmp qword [rcx + 0x10], 0
mov ebx, 0xffffffff
je 0x14002f975
mov rdx, rcx
lea rcx, [rsp + 0x20]
call fcn.14002f990
cmp qword [rsp + 0x38], 8
lea rcx, [rsp + 0x20]
cmovae rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov rdx, qword [rsp + 0x38]
mov ebx, eax
cmp rdx, 8
jb 0x14002f975
mov rcx, qword [rsp + 0x20]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002f970
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002f98a
call fcn.14013f180
mov eax, ebx
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.14013f550
add rsp, 0x50
pop rbx
ret
call fcn.14016111c
int3

Function at 0x14002f990
Capabilities:
Query environment variable

Disassembly:
mov r11, rsp
push rdi
sub rsp, 0x60
mov qword [r11 - 0x40], 0xfffffffffffffffe
mov qword [r11 + 0x18], rbx
mov qword [r11 + 0x20], rsi
mov rax, qword [0x14022b078]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rdi, rdx
mov rsi, rcx
mov qword [r11 - 0x38], rcx
xor eax, eax
mov dword [rsp + 0x24], eax
mov qword [rcx + 0x10], rax
mov qword [rcx + 0x18], 7
mov word [rcx], ax
mov dword [rsp + 0x24], 1
mov qword [r11 - 0x30], rax
mov qword [r11 - 0x28], rax
mov qword [r11 - 0x20], rax
lea r8, [r11 - 0x48]
mov edx, 0x800
lea rcx, [r11 - 0x30]
call fcn.140025f20
nop
mov rax, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x38]
sub rax, rbx
sar rax, 1
cmp qword [rdi + 0x18], 8
jb 0x14002fa17
mov rdi, qword [rdi]
mov r8d, eax
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
je 0x14002fa48
mov r8, 0xffffffffffffffff
inc r8
cmp word [rbx + r8*2], 0
jne 0x14002fa31
mov rdx, rbx
mov rcx, rsi
call fcn.140017000
nop
test rbx, rbx
je 0x14002fa84
mov rdx, qword [rsp + 0x48]
sub rdx, rbx
sar rdx, 1
add rdx, rdx
mov rax, rbx
cmp rdx, 0x1000
jb 0x14002fa7c
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002faa6
mov rcx, rbx
call fcn.14013f180
mov rax, rsi
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.14013f550
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
call fcn.14016111c
int3
Function at 0x14002fab0
Capabilities:
Copy file
Get file attributes

Disassembly:
mov r11, rsp
push rdi
sub rsp, 0x90
mov qword [r11 - 0x78], 0xfffffffffffffffe
mov qword [r11 + 0x18], rbx
mov qword [r11 + 0x20], rsi
mov rax, qword [0x14022b078]
xor rax, rsp
mov qword [rsp + 0x88], rax
movzx edi, r8b
mov rbx, rdx
mov rdx, rcx
lea rcx, [r11 - 0x30]
call fcn.14002f990
nop
mov rdx, rbx
lea rcx, [rsp + 0x28]
call fcn.14002f990
nop
xor esi, esi
test dil, dil
jne 0x14002fb80
cmp qword [rsp + 0x38], rsi
je 0x14002fb80
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x48]
call fcn.14002f990
lea rcx, [rsp + 0x48]
cmp qword [rsp + 0x60], 8
cmovae rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebx, eax
mov rdx, qword [rsp + 0x60]
cmp rdx, 8
jb 0x14002fb77
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002fb72
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002fc77
call fcn.14013f180
cmp ebx, 0xffffffff
je 0x14002fb80
mov eax, esi
jmp 0x14002fbae
lea rdx, [rsp + 0x28]
cmp qword [rsp + 0x40], 8
cmovae rdx, qword [rsp + 0x28]
lea rcx, [rsp + 0x68]
cmp qword [rsp + 0x80], 8
cmovae rcx, qword [rsp + 0x68]
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
setne bl
mov rdx, qword [rsp + 0x40]
cmp rdx, 8
jb 0x14002fbf5
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002fbf0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002fc7d
call fcn.14013f180
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x40], 7
mov word [rsp + 0x28], si
mov rdx, qword [rsp + 0x80]
cmp rdx, 8
jb 0x14002fc49
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002fc44
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002fc71
call fcn.14013f180
movzx eax, bl
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.14013f550
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
call fcn.14016111c
nop
call fcn.14016111c
nop
call fcn.14016111c
int3
Function at 0x140039130
Capabilities:
Get local ipv4 addresses

Disassembly:
mov r11, rsp
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x90
mov qword [r11 - 0x80], 0xfffffffffffffffe
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rbp
mov qword [r11 + 0x18], rsi
mov rax, qword [0x14022b078]
xor rax, rsp
mov qword [rsp + 0x80], rax
xor r15b, r15b
xor r13d, r13d
mov dword [r11 - 0x78], r13d
lea rax, [r11 - 0x78]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x900
xor ecx, ecx
call qword [sym.imp.IPHLPAPI.DLL_GetAdaptersAddresses]
cmp eax, 0x6f
jne 0x14003937f
xor eax, eax
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], rax
mov edx, dword [rsp + 0x40]
lea r8, [rsp + 0x30]
lea rcx, [rsp + 0x68]
call fcn.140024120
nop
mov r14, qword [rsp + 0x68]
mov rsi, r14
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov r9, r14
xor r8d, r8d
mov edx, 0x900
xor ecx, ecx
call qword [sym.imp.IPHLPAPI.DLL_GetAdaptersAddresses]
test eax, eax
jne 0x140039349
mov qword [rsp + 0x58], r13
mov ebx, 7
mov qword [rsp + 0x60], rbx
mov word [rsp + 0x48], r13w
mov rbp, qword [rsp + 0x48]
test r14, r14
je 0x140039311
lea r12, str.Microsoft_Wi_Fi_Direct_Virtual_Adapter
nop dword [rax]
nop dword [rax + rax]
mov r9, qword [rsi + 0x40]
mov rdx, 0xffffffffffffffff
nop dword [rax + rax]
inc rdx
cmp word [r9 + rdx*2], 0
jne 0x140039230
cmp rdx, rbx
ja 0x14003926b
lea rdi, [rsp + 0x48]
cmp rbx, 8
cmovae rdi, rbp
mov qword [rsp + 0x58], rdx
lea rbx, [rdx + rdx]
mov r8, rbx
mov rdx, r9
mov rcx, rdi
call fcn.14015dc80
mov word [rbx + rdi], r13w
jmp 0x140039278
xor r8d, r8d
lea rcx, [rsp + 0x48]
call fcn.140016ea0
lea r10, [rsp + 0x48]
mov rbp, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x60]
cmp rbx, 8
cmovae r10, rbp
mov rax, qword [rsp + 0x58]
cmp rax, 0x26
jb 0x1400392fa
add rax, 0xffffffffffffffdb
lea r11, [r10 + rax*2]
mov rax, r10
mov rcx, r11
sub rcx, rax
sar rcx, 1
je 0x1400392fa
cmp word [rax], 0x4d
je 0x1400392c0
add rax, 2
sub rcx, 1
jmp 0x1400392ae
test rax, rax
je 0x1400392fa
mov r8d, 0x26
mov rdx, r12
mov r9, rax
sub r9, r12
movzx ecx, word [rdx]
cmp word [r9 + rdx], cx
jne 0x140039308
add rdx, 2
sub r8, 1
jne 0x1400392d4
sub rax, r10
sar rax, 1
cmp rax, 0xffffffffffffffff
je 0x1400392fa
cmp dword [rsi + 0x68], 1
je 0x14003930e
mov rsi, qword [rsi + 8]
test rsi, rsi
je 0x140039311
jmp 0x140039220
add rax, 2
jmp 0x1400392a5
mov r15b, 1
cmp rbx, 8
jb 0x140039349
lea rdx, [rbx*2 + 2]
mov rax, rbp
cmp rdx, 0x1000
jb 0x140039340
add rdx, 0x27
mov rbp, qword [rbp - 8]
sub rax, rbp
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400393ba
mov rcx, rbp
call fcn.14013f180
nop
test r14, r14
je 0x14003937f
mov rdx, qword [rsp + 0x78]
sub rdx, r14
mov rax, r14
cmp rdx, 0x1000
jb 0x140039377
add rdx, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400393b4
mov rcx, r14
call fcn.14013f180
movzx eax, r15b
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.14013f550
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
call fcn.14016111c
nop
call fcn.14016111c
nop
Function at 0x14003a520
Capabilities:
Download url
Receive data

Disassembly:
push rbx
sub rsp, 0x30
xor bl, bl
cmp qword [rdx + 0x18], 8
jb 0x14003a532
mov rdx, qword [rdx]
cmp qword [rcx + 0x18], 8
jb 0x14003a53c
mov rcx, qword [rcx]
mov r8, rdx
mov qword [rsp + 0x20], 0
mov rdx, rcx
xor r9d, r9d
xor ecx, ecx
call qword [sym.imp.urlmon.dll_URLDownloadToFileW]
movzx ecx, bl
mov edx, 1
test eax, eax
cmovns ecx, edx
movzx eax, cl
add rsp, 0x30
pop rbx
ret
Function at 0x140043830
Capabilities:
Enumerate process modules

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0x90
mov qword [rbp - 0x19], 0xfffffffffffffffe
mov qword [rsp + 0xe0], rbx
mov rax, qword [0x14022b078]
xor rax, rsp
mov qword [rbp + 0x17], rax
mov r12, rdx
mov rdi, rcx
mov qword [rbp - 0x11], rcx
xor ebx, ebx
mov dword [rbp - 0x39], ebx
mov qword [rcx], rbx
mov qword [rcx + 8], rbx
xor r8d, r8d
xor edx, edx
call fcn.140044a50
mov qword [rdi], rax
mov dword [rbp - 0x39], 1
xor eax, eax
mov qword [rbp - 1], rax
mov qword [rbp + 7], rax
mov qword [rbp + 0xf], rax
lea rcx, [rbp - 1]
call fcn.140044950
nop
mov dword [rbp - 9], ebx
test r12, r12
je 0x140043976
mov rax, qword [rbp + 7]
mov rdx, qword [rbp - 1]
sub rax, rdx
sar rax, 3
lea r8d, [rax*8]
mov dword [rsp + 0x20], 3
lea r9, [rbp - 9]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_K32EnumProcessModulesEx]
test eax, eax
je 0x140043976
mov edx, dword [rbp - 9]
shr rdx, 3
lea rcx, [rbp - 1]
call fcn.140044f00
mov rbx, qword [rbp - 1]
mov r15, qword [rbp + 7]
cmp rbx, r15
je 0x14004397a
movabs r13, 0x666666666666665
nop
mov rax, qword [rbx]
mov qword [rbp - 0x31], r12
mov qword [rbp - 0x29], rax
mov byte [rbp - 0x21], 0
mov rsi, qword [rdi]
mov r14, qword [rsi + 8]
lea r9, [rbp - 0x31]
mov r8, r14
mov rdx, rsi
call fcn.140045260
mov rdx, qword [rdi + 8]
mov rcx, r13
sub rcx, rdx
cmp rcx, 1
jb 0x1400439dd
lea rcx, [rdx + 1]
mov qword [rdi + 8], rcx
mov qword [rsi + 8], rax
mov qword [r14], rax
cmp byte [rbp - 0x21], 0
je 0x14004396d
mov rcx, qword [rbp - 0x29]
test rcx, rcx
je 0x14004396d
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add rbx, 8
cmp rbx, r15
jne 0x140043910
mov rbx, qword [rbp - 1]
test rbx, rbx
je 0x1400439b3
mov rdx, qword [rbp + 0xf]
sub rdx, rbx
and rdx, 0xfffffffffffffff8
mov rax, rbx
cmp rdx, 0x1000
jb 0x1400439ab
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400439ea
mov rcx, rbx
call fcn.14013f180
mov rax, rdi
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.14013f550
mov rbx, qword [rsp + 0xe0]
add rsp, 0x90
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea rcx, str.list_T__too_long
call fcn.14011d024
nop
call fcn.14016111c
int3

Function at 0x140043da0
Capabilities:
Enumerate process modules

Disassembly:
push rbx
sub rsp, 0x50
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov rax, qword [0x14022b078]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rbx, rcx
mov qword [rsp + 0x30], rcx
mov dword [rsp + 0x20], 0
xor eax, eax
mov qword [rcx], rax
mov qword [rcx + 8], rax
mov qword [rcx + 0x10], rax
mov edx, 0x1000
call fcn.140023f80
mov dword [rsp + 0x20], 1
mov dword [rsp + 0x38], 0
mov rcx, qword [rbx]
mov rdx, qword [rbx + 8]
sub rdx, rcx
sar rdx, 2
lea edx, [rdx*4]
lea r8, [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_K32EnumProcesses]
test eax, eax
je 0x140043e29
mov edx, dword [rsp + 0x38]
shr rdx, 2
mov rcx, rbx
call fcn.1400450b0
mov rax, rbx
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.14013f550
add rsp, 0x50
pop rbx
ret
Function at 0x140043e40
Capabilities:
Create process on windows

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0xb0
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov rax, qword [0x14022b078]
xor rax, rsp
mov qword [rsp + 0xa8], rax
mov rsi, r9
mov rbx, r8
mov rbp, rcx
mov r14, qword [rsp + 0x100]
mov rdi, qword [rsp + 0x108]
lea r8, [0x1401d9070]
lea rcx, [rsp + 0x68]
call fcn.140034fe0
nop
mov rdx, rbx
cmp qword [rbx + 0x18], 8
jb 0x140043ea1
mov rdx, qword [rbx]
mov r8, qword [rbx + 0x10]
mov rcx, rax
call fcn.140024680
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x88], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x98], xmm1
xor ebx, ebx
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], 7
mov word [rax], bx
mov rdx, qword [rsp + 0x80]
cmp rdx, 8
jb 0x140043f1a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140043f15
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140044037
call fcn.14013f180
test rbp, rbp
je 0x140043f6e
lea r8, [rsp + 0x88]
cmp qword [rsp + 0xa0], 8
cmovae r8, qword [rsp + 0x88]
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x38], rbx
mov dword [rsp + 0x30], ebx
mov dword [rsp + 0x28], 1
mov qword [rsp + 0x20], rbx
xor r9d, r9d
xor edx, edx
mov rcx, rbp
call qword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
jmp 0x140043fb6
lea rdx, [rsp + 0x88]
cmp qword [rsp + 0xa0], 8
cmovae rdx, qword [rsp + 0x88]
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
mov ecx, eax
test eax, eax
je 0x140043fc9
test rdi, rdi
je 0x140043fc7
mov rax, qword [rsi]
mov qword [rdi], rax
test ecx, ecx
setne bl
mov rdx, qword [rsp + 0xa0]
cmp rdx, 8
jb 0x140044010
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x88]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004400b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140044031
call fcn.14013f180
movzx eax, bl
mov rcx, qword [rsp + 0xa8]
xor rcx, rsp
call fcn.14013f550
add rsp, 0xb0
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
call fcn.14016111c
int3
call fcn.14016111c
int3
Function at 0x1400448d0
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x28
test rcx, rcx
je 0x1400448e9
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
setne al
add rsp, 0x28
ret
xor al, al
add rsp, 0x28
ret
push rbx
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
lea rcx, [0x140237790]
call fcn.14011d448
test eax, eax
je 0x1400b2736
mov ecx, eax
call fcn.14011d578
movzx ebx, byte [0x1402376c2]
lea rcx, [0x140237790]
call fcn.14011d46c
test eax, eax
je 0x1400b2755
mov ecx, eax
call fcn.14011d578
nop
test bl, bl
je 0x1400b2774
mov rcx, qword [0x1402376c8]
test rcx, rcx
je 0x1400b2774
mov edx, 0xffffffff
add rsp, 0x30
pop rbx
jmp 0x1400448d0
xor al, al
add rsp, 0x30
pop rbx
ret
Function at 0x1400901f0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0xa0
mov qword [rax - 0x58], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
mov rax, qword [0x14022b078]
xor rax, rsp
mov qword [rsp + 0x90], rax
mov rsi, rcx
mov qword [rsp + 0x58], rcx
mov r9, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 8
jb 0x140090237
mov rdx, qword [rdx]
xor ebp, ebp
movabs r8, 0xcbf29ce484222325
mov ecx, ebp
add r9, r9
je 0x140090273
movabs r10, 0x100000001b3
nop dword [rax]
nop dword [rax + rax]
movzx eax, byte [rcx + rdx]
xor r8, rax
imul r8, r10
inc rcx
cmp rcx, r9
jb 0x140090260
lea r9, [rsp + 0x8a]
movabs r10, 0xcccccccccccccccd
nop word [rax + rax]
sub r9, 2
mov rax, r10
mul r8
shr rdx, 3
movzx eax, dx
shl ax, 2
lea ecx, [rax + rdx]
add cx, cx
sub r8w, cx
add r8w, 0x30
mov word [r9], r8w
mov r8, rdx
test rdx, rdx
jne 0x140090290
movdqa xmm0, xmmword [0x1401da830]
movdqu xmmword [rsp + 0x40], xmm0
mov word [rsp + 0x30], bp
lea rax, [rsp + 0x8a]
cmp r9, rax
je 0x1400902fc
lea r8, [rsp + 0x8a]
sub r8, r9
sar r8, 1
mov rdx, r9
lea rcx, [rsp + 0x30]
call fcn.140017000
nop
mov rcx, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x48]
mov rax, rdx
sub rax, rcx
cmp rax, 4
jb 0x14009034b
lea rdi, [rcx + 4]
mov qword [rsp + 0x40], rdi
lea rbx, [rsp + 0x30]
cmp rdx, 8
cmovae rbx, qword [rsp + 0x30]
lea rcx, [rbx + rcx*2]
mov r8d, 8
lea rdx, str..png
call fcn.14015dc80
mov word [rbx + rdi*2], bp
lea rax, [rsp + 0x30]
jmp 0x14009036c
mov qword [rsp + 0x20], 4
lea r9, str..png
xor r8d, r8d
lea edx, [r8 + 4]
lea rcx, [rsp + 0x30]
call fcn.1400249f0
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x60], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x70], xmm1
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], 7
mov word [rax], bp
mov rdx, qword [rsp + 0x48]
cmp rdx, 8
jb 0x1400903ce
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400903c9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14009045f
call fcn.14013f180
movdqa xmm0, xmmword [0x1401da830]
movdqu xmmword [rsp + 0x40], xmm0
mov word [rsp + 0x30], bp
lea rdx, [rsp + 0x60]
mov rcx, rsi
call fcn.140090d60
nop
mov rdx, qword [rsp + 0x78]
cmp rdx, 8
jb 0x14009042d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140090428
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140090459
call fcn.14013f180
mov rax, rsi
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.14013f550
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
call fcn.14016111c
nop
call fcn.14016111c
nop
int3