joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140032ea0
Capabilities:
Access peb ldr_data

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 8
mov qword [rsp + 0x60], 0
mov rcx, qword [0x140317678]
mov rcx, qword gs:[rcx]
mov rcx, qword [rcx]
mov rcx, qword [rcx + 0x30]
mov qword [rcx + 0x2e8], 8
lea rdx, [rsp + 0x20]
mov qword [rcx + 0x2f0], rdx
mov rax, qword [rsp + 0x18]
xorps xmm15, xmm15
mov r14, qword [0x140317678]
mov r14, qword gs:[r14]
mov r14, qword [r14]
call fcn.140032a40
mov qword [rsp + 0x60], rax
add rsp, 8
pop rbp
ret

Function at 0x140045ae0
Capabilities:
Encode data using base64

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x140045c9c
push rbp
mov rbp, rsp
sub rsp, 0x10
mov edx, dword [rax + 0x188]
mov esi, dword [rax + 0x18c]
mov rdi, qword [rax + 0x990]
mov r8d, dword [rax + 0x18c]
cmp r8d, esi
jne 0x140045af2
cmp esi, edx
jne 0x140045c8a
nop dword [rax]
test rdi, rdi
jne 0x140045c8a
test rbx, rbx
jne 0x140045b54
mov qword [rsp + 0x20], rax
nop
call fcn.140071a80
xorps xmm15, xmm15
mov r14, qword [0x140317678]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rbx, qword [rsp]
mov rax, qword [rsp + 0x20]
mov edx, dword [rax + 0x22a8]
test edx, edx
jne 0x140045bb1
mov ecx, dword [rax]
mov edx, ecx
sar edx, 0x1f
shr edx, 0x1b
add edx, ecx
mov esi, edx
and edx, 0xffffffe0
sub ecx, edx
test ecx, ecx
jl 0x140045c85
mov rdx, qword [0x1402d2518]
sar esi, 5
mov edi, 1
shl edi, cl
movsxd rsi, esi
cmp ecx, 0x20
sbb r8d, r8d
and r8d, edi
cmp rdx, rsi
jbe 0x140045c79
mov rdx, qword [0x1402d2510]
lea rdx, [rdx + rsi*4]
not r8d
lock and dword [rdx], r8d
mov ecx, dword [rax]
mov edx, ecx
sar edx, 0x1f
shr edx, 0x1b
add edx, ecx
mov esi, edx
and edx, 0xffffffe0
sub ecx, edx
test ecx, ecx
jl 0x140045c74
mov rdx, qword [0x1402d24f8]
sar esi, 5
mov edi, 1
shl edi, cl
movsxd rsi, esi
cmp ecx, 0x20
sbb r8d, r8d
and r8d, edi
cmp rdx, rsi
jbe 0x140045c69
mov rcx, qword [0x1402d24f0]
lea rcx, [rcx + rsi*4]
lock or dword [rcx], r8d
mov rcx, qword [0x1402d3cb0]
mov qword [rax + 8], rcx
mov rcx, rax
nop
mov qword [0x1402d3cb0], rax
nop
mov edx, 1
lea rsi, [0x1402d3cb8]
lock xadd dword [rsi], edx
nop
mov rdx, qword [rcx + 0x1230]
shr rdx, 0x3d
test dl, dl
jne 0x140045c58
movabs rdx, 0x1fffffffffffffff
and rdx, rbx
bts rdx, 0x3f
nop
nop
xchg qword [rcx + 0x1230], rdx
mov rax, rbx
add rsp, 0x10
pop rbp
ret
lea rax, [0x140175718]
mov ebx, 0x28
call fcn.1400683e0
mov rax, rsi
mov rcx, rdx
call fcn.14006fac0
call fcn.140033de0
mov rax, rsi
mov rcx, rdx
nop
call fcn.14006fac0
call fcn.140033de0
lea rax, [0x140174849]
mov ebx, 0x23
call fcn.1400683e0
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.14006d7c0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.140045ae0
Function at 0x14004b220
Capabilities:
Access peb ldr_data

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x70
mov rcx, r14
test rcx, rcx
je 0x14004b268
mov rcx, qword [rcx + 0x30]
mov rcx, qword [rcx + 0x90]
nop dword [rax + rax]
test rcx, rcx
je 0x14004b268
mov qword [rsp + 0x68], rcx
nop
mov rax, qword [rdi + 0x28]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x58], 0
mov qword [rsp + 0x50], 0
jmp 0x14004b278
mov eax, 1
add rsp, 0x70
pop rbp
ret
mov rax, qword [rsp + 0x60]
mov rcx, qword [0x140138d10]
lea rdx, [rsp + 0x58]
mov rbx, qword [rax + 0xf8]
mov qword [rsp], rcx
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], 0
call fcn.140032c20
xorps xmm15, xmm15
mov r14, qword [0x140317678]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x20]
nop
test rax, rax
je 0x14004b351
mov rcx, qword [rsp + 0x58]
mov rdx, qword [0x140138d18]
mov rbx, qword [rsp + 0x60]
mov rsi, rbx
lea rdi, [rsp + 0x50]
mov r8, qword [rsi + 0xf8]
mov qword [rsp], rdx
mov qword [rsp + 8], 0
mov qword [rsp + 0x10], rcx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x40], 0
call fcn.140032ea0
xorps xmm15, xmm15
mov r14, qword [0x140317678]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x68]
cmp qword [rcx], rax
ja 0x14004b351
cmp qword [rcx + 8], rax
ja 0x14004b273
mov eax, 1
add rsp, 0x70
pop rbp
ret
Function at 0x14005e3c0
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x14005e463
push rbp
mov rbp, rsp
sub rsp, 0x48
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rcx
mov qword [rsp + 0x70], rdi
test byte [rax], al
lea rdx, [rax + 0x10]
mov rsi, qword [rsp + 0x68]
mov rcx, rdi
mov rax, rdx
mov rbx, rsi
call fcn.14005ad00
nop
test bl, bl
je 0x14005e45d
mov qword [rsp + 0x18], rax
lea rcx, [0x14005e4a0]
mov qword [rsp + 0x20], rcx
mov rcx, qword [rsp + 0x58]
mov qword [rsp + 0x28], rcx
mov rcx, qword [rsp + 0x60]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x68]
mov qword [rsp + 0x40], rcx
lea rcx, [rsp + 0x20]
mov qword [rsp], rcx
call fcn.14006d6a0
xorps xmm15, xmm15
mov r14, qword [0x140317678]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x18]
add rsp, 0x48
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
call fcn.14006d7c0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
jmp fcn.14005e3c0
Function at 0x140068760
Capabilities:
Access peb ldr_data

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x78
mov qword [rsp + 0x30], r14
mov rax, qword [r14 + 0x30]
inc dword [rax + 0xd8]
mov byte [r14 + 0xbf], 1
mov qword [r14 + 0x10], 0xfffffffffffffade
mov rax, qword [r14 + 0x30]
mov rcx, qword [rax + 0xa0]
mov ecx, dword [rcx + 0x14]
mov dword [rax + 0x2b4], ecx
mov rax, qword [r14 + 0x30]
mov rax, qword [rax + 0xa0]
inc dword [rax + 0x14]
lea rax, [rsp + 0x88]
mov qword [rsp + 0x18], rax
call fcn.1400499a0
mov qword [rsp + 0x20], rax
mov rbx, qword [rsp + 0x18]
mov rcx, rax
mov rax, qword [rsp + 0x80]
call fcn.140040980
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax + 0x38]
mov qword [rax + 0x70], rcx
mov rdx, qword [rax + 0x40]
mov qword [rax + 0x78], rdx
mov rdx, qword [rax + 0x68]
mov qword [rax + 0x80], rdx
cmp qword [rax], rcx
ja 0x140068806
nop word [rax + rax]
cmp qword [rax + 8], rcx
jae 0x140068854
mov rdx, qword [rax + 0x38]
lea rbx, [0x140041300]
mov qword [rsp + 0x50], rbx
mov rbx, qword [rsp + 0x18]
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x60], rdx
mov qword [rsp + 0x68], rcx
mov qword [rsp + 0x70], rax
lea rcx, [rsp + 0x50]
mov qword [rsp], rcx
call fcn.14006d6a0
xorps xmm15, xmm15
mov r14, qword [0x140317678]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x30]
mov ebx, 2
mov ecx, 3
nop
call fcn.14003a420
mov rdx, qword [rsp + 0x30]
mov rsi, qword [rdx + 0x70]
cmp qword [rdx], rsi
ja 0x140068879
cmp qword [rdx + 8], rsi
jae 0x1400688bc
lea rax, [0x140041200]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x18]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rdx
lea rax, [rsp + 0x38]
mov qword [rsp], rax
nop dword [rax]
call fcn.14006d6a0
xorps xmm15, xmm15
mov r14, qword [0x140317678]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rdx, qword [rsp + 0x30]
mov rax, qword [rdx + 0x80]
test rax, rax
je 0x1400688cd
cmp qword [rdx], rax
ja 0x1400688d3
cmp qword [rdx + 8], rax
jae 0x14006890e
lea rax, [0x140041100]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rdx
lea rax, [rsp + 0x38]
mov qword [rsp], rax
call fcn.14006d6a0
xorps xmm15, xmm15
mov r14, qword [0x140317678]
mov r14, qword gs:[r14]
mov r14, qword [r14]
lea rax, [0x1402176e8]
mov qword [rsp], rax
call fcn.14006d6a0
xorps xmm15, xmm15
mov r14, qword [0x140317678]
mov r14, qword gs:[r14]
mov r14, qword [r14]
lea rax, [rsp + 0x88]
mov qword [rsp + 0x28], rax
nop dword [rax]
call fcn.1400499a0
mov rbx, qword [rsp + 0x28]
mov rcx, rax
mov rax, qword [rsp + 0x80]
call fcn.140040980
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x30]
dec dword [rax + 0xd8]
add rsp, 0x78
pop rbp
ret
Function at 0x14006aa40
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x10
mov qword [rsp + 0x20], rax
test rbx, rbx
jbe 0x14006abb7
movzx edx, byte [rax]
test edx, edx
jne 0x14006aa74
nop dword [rax]
test r8b, r8b
jne 0x14006aa74
xor eax, eax
xor ebx, ebx
mov rcx, rbx
xor edi, edi
add rsp, 0x10
pop rbp
ret
bt edx, 7
jae 0x14006aa87
xor edx, edx
xor r8d, r8d
xor r9d, r9d
jmp 0x14006ab77
mov r8d, 1
mov r9d, edx
and edx, 1
neg edx
shr r9d, 1
xor edx, r9d
add dword [rsi], edx
nop dword [rax]
cmp rbx, r8
jb 0x14006ab65
sub rbx, r8
sub rcx, r8
mov rdx, rcx
neg rdx
sar rdx, 0x3f
and r8, rdx
lea rdx, [rax + r8]
test rbx, rbx
jbe 0x14006ab57
movzx esi, byte [rax + r8]
bt esi, 7
jae 0x14006aadd
xor eax, eax
xor esi, esi
xor r8d, r8d
jmp 0x14006ab20
mov eax, 1
cmp rax, rbx
ja 0x14006ab0b
add qword [rdi], rsi
sub rcx, rax
sub rbx, rax
mov rsi, rcx
neg rsi
sar rsi, 0x3f
and rax, rsi
add rax, rdx
mov edi, 1
add rsp, 0x10
pop rbp
ret
mov rcx, rbx
call fcn.14006fb80
lea r8d, [rcx + 7]
mov rcx, r11
mov eax, r12d
nop dword [rax]
cmp rax, rbx
jae 0x14006ab4f
movzx r9d, byte [rax + rdx]
mov r10d, r9d
and r9d, 0x7f
mov r11, rcx
mov ecx, r8d
shl r9d, cl
lea r12d, [rax + 1]
or esi, r9d
test r10b, 0x80
jne 0x14006ab13
mov rcx, r11
mov eax, r12d
jmp 0x14006aae2
mov rcx, rbx
call fcn.14006fac0
xor eax, eax
mov rcx, rax
nop dword [rax]
call fcn.14006fac0
mov eax, r8d
mov rcx, rbx
call fcn.14006fb80
lea r9d, [rcx + 7]
mov rcx, r12
cmp rbx, rdx
jbe 0x14006abad
movzx r10d, byte [rdx + rax]
mov r11d, r10d
and r10d, 0x7f
mov r12, rcx
mov ecx, r9d
shl r10d, cl
inc edx
or r8d, r10d
test r11b, 0x80
jne 0x14006ab70
mov rcx, r12
mov r9d, edx
mov edx, r8d
mov r8d, r9d
jmp 0x14006aa8d
mov eax, edx
mov rcx, rbx
call fcn.14006fac0
xor eax, eax
mov rcx, rax
nop dword [rax]
call fcn.14006fac0
nop
int3

Function at 0x14006c0c0
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x14006c16f
push rbp
mov rbp, rsp
sub rsp, 0x58
mov qword [rsp + 0x70], rbx
lea rdx, [rsp + 0x68]
mov qword [rsp + 8], 0
movups xmmword [rsp + 0x10], xmm15
movups xmmword [rsp + 0x18], xmm15
movups xmmword [rsp + 0x28], xmm15
movups xmmword [rsp + 0x38], xmm15
movups xmmword [rsp + 0x48], xmm15
lea rsi, [0x1400583c0]
mov qword [rsp + 0x10], rsi
mov rsi, qword [rsp + 0x60]
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdx
mov rdx, r14
mov qword [rsp + 0x28], rdx
lea rdx, [rsp + 8]
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x40], rbx
lea rax, [rsp + 0x10]
mov qword [rsp], rax
call fcn.14006d6a0
xorps xmm15, xmm15
mov r14, qword [0x140317678]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 8]
add rsp, 0x58
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
call fcn.14006d7c0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
nop dword [rax]
jmp fcn.14006c0c0
Function at 0x14006f5c0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x1400046e3
push rbp
mov rbp, rsp
sub rsp, 0x18
mov rdx, qword [rax]
mov rcx, qword [rax + 8]
mov rax, rdx
call fcn.14000a9c0
add rsp, 0x18
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.14006d7c0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp 0x1400046c0
cmp byte [0x140317409], 0
je 0x14006f5d5
mov rcx, qword [rax + 8]
mov rax, qword [rax]
jmp 0x14006c800
jmp 0x1400046c0

Function at 0x14006f5e0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
mov rcx, qword [0x140317748]
mov eax, dword [rax]
xor rcx, rax
xor rax, rbx
xor rax, qword [0x140317740]
mul rcx
xor rax, rdx
mov rcx, rax
movabs rax, 0x1d8e4e27c47d124b
mul rcx
xor rax, rdx
nop
nop
ret
cmp byte [0x140317409], 0
je 0x14006f615
movq xmm0, rbx
pinsrd xmm0, dword [rax], 2
aesenc xmm0, xmmword [0x140317a80]
aesenc xmm0, xmmword [0x140317a90]
aesenc xmm0, xmmword [0x140317aa0]
movq rax, xmm0
ret
jmp 0x14000aba0

Function at 0x14006f620
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
mov rcx, qword [0x140317748]
mov rax, qword [rax]
xor rcx, rax
xor rax, rbx
xor rax, qword [0x140317740]
mul rcx
xor rax, rdx
mov rcx, rax
movabs rax, 0x1d8e4e27c47d1247
mul rcx
xor rax, rdx
nop
nop
ret
cmp byte [0x140317409], 0
je 0x14006f656
movq xmm0, rbx
pinsrq xmm0, qword [rax], 1
aesenc xmm0, xmmword [0x140317a80]
aesenc xmm0, xmmword [0x140317a90]
aesenc xmm0, xmmword [0x140317aa0]
movq rax, xmm0
ret
jmp 0x14000abe0
Function at 0x1400979e0
Capabilities:
Hash data using fnv

Disassembly:
lea r12, [rsp - 0xa0]
cmp r12, qword [r14 + 0x10]
jbe 0x14009885b
push rbp
mov rbp, rsp
sub rsp, 0x118
mov qword [rsp + 0x130], rbx
mov qword [rsp + 0x128], rax
mov rax, qword [rsp + 0x120]
call fcn.140074a00
mov rcx, qword [rsp + 0x128]
mov rax, qword [rsp + 0x130]
movabs rdx, 0xcbf29ce484222325
jmp 0x140097a53
mov rsi, qword [rsp + 0x110]
add rsi, 0x10
mov rax, qword [rsp + 0xb8]
dec rax
mov rdx, rcx
mov rcx, rsi
mov qword [rsp + 0x68], rdx
nop dword [rax + rax]
test rax, rax
jle 0x1400981f0
mov qword [rsp + 0xb8], rax
mov qword [rsp + 0x110], rcx
mov rax, rcx
lea rbx, [0x140154960]
mov ecx, 1
call fcn.140007aa0
mov rax, qword [rsp + 0x110]
call fcn.140070e00
mov rdx, qword [rsp + 0x110]
mov rsi, qword [rdx]
test rsi, rsi
je 0x140098228
mov qword [rsp + 0x18], rsi
mov ecx, dword [rsi + 0x10]
shr ecx, 1
mov rax, qword [rdx + 8]
mov qword [rsp + 0x100], rax
and ecx, 0x3f
lea rbx, [0x140238100]
jmp qword [rbx + rcx*8]
call fcn.140074a40
mov rax, qword [rsp + 0x68]
add rsp, 0x118
pop rbp
ret
lea rax, [0x140150ee0]
lea rbx, [0x1402366f0]
call fcn.140068000
lea rax, [rcx + 1]
mov rcx, qword [rsp + 0x20]
mov rbx, rsi
cmp rax, rcx
jge 0x140098288
mov qword [rsp + 0xb0], rax
mov qword [rsp + 0xa8], rbx
lea rcx, [rdx + rax*8]
mov rax, rcx
call fcn.140070e00
mov rcx, qword [rsp + 0xb0]
mov rdx, qword [rsp + 0xc0]
mov rbx, qword [rdx + rcx*8]
mov rsi, qword [rsp + 0xa8]
xor eax, eax
jmp 0x1400982b5
movabs rdx, 0x100000001b3
mov rcx, rbx
jmp 0x140097a36
movzx edi, bl
xor rsi, rdi
inc rax
shr rbx, 8
movabs rdi, 0x100000001b3
imul rsi, rdi
cmp rax, 8
jl 0x14009829a
nop dword [rax + rax]
jmp 0x14009823b
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
call fcn.14006d7c0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
nop
jmp fcn.1400979e0
Function at 0x140098aa0
Capabilities:
Hash data using fnv

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x140098bb8
push rbp
mov rbp, rsp
sub rsp, 0x30
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rbx
mov rax, qword [rsp + 0x38]
call fcn.140074a00
mov rcx, qword [rsp + 0x40]
test byte [rcx], al
mov rbx, qword [rsp + 0x48]
mov rdx, rbx
and edx, 0x7f
shl rdx, 5
add rcx, rdx
mov qword [rsp + 0x28], rcx
xor eax, eax
jmp 0x140098af5
mov rax, qword [rsp + 0x10]
inc rax
mov rcx, qword [rsp + 0x28]
cmp rax, 4
jge 0x140098b26
mov qword [rsp + 0x10], rax
lea rdx, [rcx + rax*8]
mov rax, rdx
call fcn.140074b20
mov rbx, qword [rsp + 0x48]
cmp rax, rbx
jne 0x140098ae8
call fcn.140074a40
mov eax, 1
add rsp, 0x30
pop rbp
ret
xor eax, eax
movabs rdx, 0xcbf29ce484222325
jmp 0x140098b43
lea rax, [rcx + 1]
mov rcx, rdx
mov rbx, qword [rsp + 0x48]
mov rdx, rsi
cmp rax, 4
jge 0x140098b77
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x18], rdx
lea rdx, [rcx + rax*8]
mov rax, rdx
call fcn.140070e00
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x28]
mov rbx, qword [rdx + rcx*8]
nop
mov rsi, qword [rsp + 0x18]
xor eax, eax
jmp 0x140098bad
and edx, 3
lea rax, [rcx + rdx*8]
nop
call fcn.140074c60
call fcn.140074a40
xor eax, eax
add rsp, 0x30
pop rbp
ret
movzx edi, bl
xor rsi, rdi
inc rax
shr rbx, 8
movabs rdi, 0x100000001b3
imul rsi, rdi
cmp rax, 8
jl 0x140098b92
jmp 0x140098b34
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.14006d7c0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.140098aa0
Function at 0x1400a02a0
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x1400a03d6
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rbx
mov rax, qword [rsp + 0x58]
call fcn.140074a00
mov rcx, qword [rsp + 0x60]
mov qword [rsp], rcx
mov rdx, qword [rsp + 0x68]
mov qword [rsp + 8], rdx
mov byte [rsp + 0x10], 0
nop
call fcn.140003c00
xorps xmm15, xmm15
mov r14, qword [0x140317678]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x18], 0xffffffffffffffff
nop dword [rax]
jne 0x1400a03b6
mov rcx, qword [rsp + 0x68]
lea rdx, [rcx + 1]
mov qword [rsp + 0x30], rdx
lea rax, [0x140150fe0]
xor ebx, ebx
mov rcx, rdx
call fcn.140069420
mov rbx, qword [rsp + 0x68]
mov rcx, rax
xor edi, edi
mov rsi, qword [rsp + 0x30]
mov rax, qword [rsp + 0x60]
call fcn.1400a0c80
mov qword [rsp + 0x28], rbx
lea rdx, [rbx + 1]
cmp rcx, rdx
jae 0x1400a036d
mov rbx, rdx
mov edi, 1
lea rsi, [0x140150fe0]
nop dword [rax + rax]
call fcn.140069500
mov rdx, rbx
mov rbx, qword [rsp + 0x28]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x40], rdx
mov qword [rsp + 0x38], rcx
lea rsi, [rax + rbx*2]
mov rax, rsi
call fcn.140070e40
mov rcx, qword [rsp + 0x28]
mov rdx, qword [rsp + 0x48]
mov word [rdx + rcx*2], 0
call fcn.140074a40
mov rax, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x38]
xor edi, edi
xor esi, esi
add rsp, 0x50
pop rbp
ret
call fcn.140074a40
xor eax, eax
xor ebx, ebx
mov rcx, rbx
lea rdi, [0x140236818]
lea rsi, [0x140235ee0]
add rsp, 0x50
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.14006d7c0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.1400a02a0
Function at 0x1400e7d10
Capabilities:
Query environment variable

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x30
mov rsi, rcx
mov r9d, dword [0x140db4040]
test r9d, r9d
jle 0x1400e7da4
mov r10b, byte [rsi]
lea r8, [0x140db4050]
xor ecx, ecx
mov rbx, r8
jmp 0x1400e7d50
add rcx, 1
add rbx, 0x807f
cmp rcx, r9
je 0x1400e7da4
imul rdx, rcx, 0x807f
cmp r10b, byte [rdx + r8]
jne 0x1400e7d40
mov edi, 1
mov edx, r10d
nop word cs:[rax + rax]
nop
test dl, dl
je 0x1400e7d86
movzx edx, byte [rsi + rdi]
lea rax, [rdi + 1]
cmp dl, byte [rbx + rdi]
mov rdi, rax
je 0x1400e7d70
jmp 0x1400e7d40
mov eax, ecx
imul rax, rax, 0x807f
lea rcx, [0x140db4050]
add rax, rcx
add rax, 0x80
jmp 0x1400e7f3d
movsxd r9, r9d
cmp r9d, 5
jae 0x1400e7f49
imul rax, r9, 0x807f
lea r14, [0x140db4050]
lea rdx, [rax + r14]
add rdx, 0x80
mov rcx, rsi
mov r8d, 0x7fff
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
add eax, 0xffffffff
cmp eax, 0x7ffd
ja 0x1400e7e64
mov r9, 0xffffffffffffffff
nop
cmp byte [rsi + r9 + 1], 0
lea r9, [r9 + 1]
jne 0x1400e7df0
cmp r9, 0x80
jae 0x1400e7f6a
movsxd rbx, dword [0x140db4040]
imul r15, rbx, 0x807f
lea rdx, [r14 + r15]
mov eax, 1
movzx ecx, byte [rsi + rax - 1]
test cl, cl
je 0x1400e7e6b
mov byte [rdx + rax - 1], cl
movzx ecx, byte [rsi + rax]
test cl, cl
je 0x1400e7e79
mov byte [rdx + rax], cl
add rax, 2
cmp rax, 0x81
jne 0x1400e7e20
lea rcx, [r15 + r14]
add rcx, 0x80
test cl, 0xf
jne 0x1400e7f2a
mov eax, pe_nt_image_headers64
xor esi, esi
jmp 0x1400e7eef
xor eax, eax
jmp 0x1400e7f3d
lea rcx, [rax + rdx]
add rcx, 0xffffffffffffffff
add rax, 0xffffffffffffffff
jmp 0x1400e7e7d
lea rcx, [rdx + rax]
mov esi, pe_nt_image_headers64
sub rsi, rax
mov edi, ecx
or edi, esi
test dil, 0xf
je 0x1400e7eef
cmp rax, 0x80
je 0x1400e7f2a
mov edx, esi
and edx, 7
add rax, 0xffffffffffffff87
cmp rax, 7
jb 0x1400e7ed9
and rsi, 0xfffffffffffffff8
nop
mov byte [rcx], 0
mov byte [rcx + 1], 0
mov byte [rcx + 2], 0
mov byte [rcx + 3], 0
mov byte [rcx + 4], 0
mov byte [rcx + 5], 0
mov byte [rcx + 6], 0
mov byte [rcx + 7], 0
add rcx, 8
add rsi, 0xfffffffffffffff8
jne 0x1400e7eb0
test rdx, rdx
je 0x1400e7f2a
xor eax, eax
mov byte [rcx + rax], 0
add rax, 1
cmp rdx, rax
jne 0x1400e7ee0
jmp 0x1400e7f2a
and rsi, 0xfffffffffffffff8
lea rdi, [rcx + rsi]
cmp rdi, rcx
jbe 0x1400e7f2a
add rsi, rax
add rsi, rdx
lea rdi, [rax + rdx]
add rdi, 0x10
cmp rsi, rdi
cmovbe rsi, rdi
not rax
sub rax, rdx
lea r8, [rax + rsi]
add r8, 0x10
and r8, 0xfffffffffffffff0
xor edx, edx
call sub.msvcrt.dll_memset
add ebx, 1
mov dword [0x140db4040], ebx
lea rax, [r15 + r14]
add rax, 0x80
add rsp, 0x30
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
mov qword [rsp + 0x20], 5
lea rcx, str.gotsan.cpp
lea r8, str.__num_env_vars_______kEnvVariables__
mov edx, 0x23be
call fcn.1400d2b30
mov qword [rsp + 0x20], pe_nt_image_headers64
lea rcx, str.gotsan.cpp
lea r8, str.__internal_strlen_name________kMaxEnvNameLength__
mov edx, 0x23c2
call fcn.1400d2b30
int3
Function at 0x1400ee320
Capabilities:
Get system information on windows

Disassembly:
push rsi
push rdi
sub rsp, 0x58
movabs rax, 0x10000000000
lea rsi, [rax + rcx*2]
and rsi, 0xfffffffffffffff0
add rdx, rcx
lea rdi, [rax + rdx*2]
and rdi, 0xfffffffffffffff0
mov rax, qword [0x140db1fa8]
mov rcx, rax
test rax, rax
jne 0x1400ee388
lea rcx, [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [rsp + 0x2c]
mov qword [0x140db1fa8], rax
mov rcx, rax
test rax, rax
jne 0x1400ee388
lea rcx, [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [rsp + 0x2c]
mov qword [0x140db1fa8], rcx
xor eax, eax
cmp rsi, rdi
jae 0x1400ee3b1
neg rax
and rax, rsi
neg rcx
and rdi, rcx
sub rdi, rax
je 0x1400ee3a9
mov rcx, rsi
mov rdx, rdi
call fcn.1400ebae0
nop
add rsp, 0x58
pop rdi
pop rsi
ret
mov qword [rsp + 0x20], 0
lea rcx, str.gotsan.cpp
lea r8, str.__beg___end______0_
mov edx, 0x235c
xor r9d, r9d
call fcn.1400d2b30
int3

Function at 0x1400eeb30
Capabilities:
Check if file exists
Create directory

Disassembly:
mov rdx, rcx
lea rcx, [0x1401409e0]
jmp fcn.1401128b0