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

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x291e9334a
sub rsp, 0x58
mov qword [rsp + 0x50], rbp
lea rbp, [rsp + 0x50]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rbx
mov rcx, qword [0x291eee590]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x1000
mov qword [rsp + 0x20], 4
call fcn.291eadb00
xorps xmm15, xmm15
mov r14, qword [0x291fbb700]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x60]
mov rcx, rax
cmp qword [rsp + 0x28], rax
je 0x291e93199
mov rbx, qword [rsp + 0x68]
mov rax, rbx
jmp 0x291e931ac
mov rbp, qword [rsp + 0x50]
add rsp, 0x58
ret
sub rdx, rbx
add rcx, rbx
mov rbx, rdx
test rbx, rbx
jbe 0x291e931d0
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rcx
mov rdx, rbx
nop
jmp 0x291e931e4
cmp rbx, 0x1000
jae 0x291e931a3
jmp 0x291e93265
mov rbp, qword [rsp + 0x50]
add rsp, 0x58
ret
shr rbx, 1
and rbx, 0xfffffffffffff000
mov qword [rsp + 0x38], rbx
cmp rbx, 0x1000
jae 0x291e931f6
xor esi, esi
jmp 0x291e93256
mov rax, qword [0x291eee590]
mov qword [rsp], rax
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x1000
mov qword [rsp + 0x20], 4
nop dword [rax]
call fcn.291eadb00
xorps xmm15, xmm15
mov r14, qword [0x291fbb700]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x28], 0
sete al
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x38]
mov esi, eax
mov rax, qword [rsp + 0x68]
test sil, sil
jne 0x291e931da
nop
jmp 0x291e931c2
call fcn.291eda980
xorps xmm15, xmm15
mov r14, qword [0x291fbb700]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov eax, dword [rsp]
mov dword [rsp + 0x34], eax
cmp eax, 8
jne 0x291e932e5
call fcn.291eb1e80
lea rax, [0x291f03bbe]
mov ebx, 0x19
call fcn.291eb2780
mov rax, qword [rsp + 0x68]
call fcn.291eb2480
lea rax, [0x291f03998]
mov ebx, 0x19
call fcn.291eb2780
mov eax, dword [rsp + 0x34]
nop dword [rax]
call fcn.291eb2480
call fcn.291eb20e0
call fcn.291eb1f00
lea rax, [0x291f01a0c]
mov ebx, 0xd
nop dword [rax + rax]
call fcn.291eb0540
cmp eax, 0x5af
je 0x291e93288
call fcn.291eb1e80
lea rax, [0x291f03bbe]
mov ebx, 0x19
nop dword [rax]
call fcn.291eb2780
mov rax, qword [rsp + 0x38]
call fcn.291eb2480
lea rax, [0x291f03998]
mov ebx, 0x19
nop dword [rax + rax]
call fcn.291eb2780
mov eax, dword [rsp + 0x34]
call fcn.291eb2480
call fcn.291eb20e0
call fcn.291eb1f00
lea rax, [0x291f04ca2]
mov ebx, 0x1f
call fcn.291eb0540
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.291ed6dc0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.291e93120
Function at 0x291e9a900
Capabilities:
Hash data using murmur3

Disassembly:
sub rsp, 0x18
mov qword [rsp + 0x10], rbp
lea rbp, [rsp + 0x10]
cmp byte [0x291fbb52c], 0
jne 0x291e9a9ef
mov rdx, qword [rax + 0x50]
test byte [rdx], al
nop
nop
nop
sub rbx, qword [rax + 0x18]
mov esi, dword [rax + 0x5c]
imul rbx, rsi
mov rsi, rbx
shr rbx, 0x20
shr rsi, 0x23
and ebx, 7
mov rdi, rcx
mov rcx, rbx
mov r8d, 1
shl r8d, cl
add rdx, rsi
lock or byte [rdx], r8b
nop
nop
mov rcx, qword [rax + 0x18]
nop
movabs rdx, 0x800000000000
lea rax, [rdx + rcx]
mov rdx, rax
shr rax, 0x2a
cmp rax, 0x40
jae 0x291e9a9e5
lea rbx, [0x291f8d970]
mov rax, qword [rbx + rax*8]
shr rdx, 0x16
and edx, 0xfffff
mov rdx, qword [rax + rdx*8]
test byte [rdx], al
test byte [rax], al
mov rax, rcx
shr rcx, 0x10
and ecx, 0x3f
movzx ebx, byte [rdx + rcx + 0x11440]
lea rsi, [rcx + 0x11440]
add rdx, rsi
shr rax, 0xd
and eax, 7
mov rcx, rax
mov eax, 1
shl eax, cl
nop
test al, bl
jne 0x291e9a9c7
lock or byte [rdx], al
mov rax, qword [r14 + 0x30]
mov rax, qword [rax + 0xa0]
test byte [rax], al
add qword [rax + 0x1248], rdi
mov rbp, qword [rsp + 0x10]
add rsp, 0x18
ret
mov ecx, 0x40
call fcn.291ed9440
lea rax, [0x291f06409]
mov ebx, 0x2c
nop dword [rax + rax]
call fcn.291eb0540
nop
int3

Function at 0x291e9cde0
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x291e9cede
sub rsp, 0x48
mov qword [rsp + 0x40], rbp
lea rbp, [rsp + 0x40]
mov qword [rsp + 0x60], rcx
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rbx
mov qword [rsp + 8], 0
jmp 0x291e9ce20
mov rax, qword [rsp + 0x50]
mov rcx, rdx
mov rbx, qword [rsp + 0x58]
nop
cmp qword [rsp + 8], rbx
jae 0x291e9cecf
test byte [rax], al
lea rcx, [rax + 0x100b8]
mov rax, rcx
call fcn.291e9d980
nop dword [rax]
test rax, rax
je 0x291e9cecf
movups xmmword [rsp + 0x10], xmm15
movups xmmword [rsp + 0x20], xmm15
movups xmmword [rsp + 0x30], xmm15
lea rcx, [0x291e9cf20]
mov qword [rsp + 0x10], rcx
lea rdx, [rsp + 8]
mov qword [rsp + 0x18], rdx
mov rdx, qword [rsp + 0x50]
mov qword [rsp + 0x20], rdx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x30], rbx
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x38], rax
lea rbx, [rsp + 0x10]
mov qword [rsp], rbx
call fcn.291ed6c80
xorps xmm15, xmm15
mov r14, qword [0x291fbb700]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rdx, qword [rsp + 0x60]
test rdx, rdx
jne 0x291e9cebd
xor eax, eax
jmp 0x291e9cec7
mov rax, qword [rdx]
call rax
mov rdx, qword [rsp + 0x60]
test al, al
je 0x291e9ce12
mov rax, qword [rsp + 8]
mov rbp, qword [rsp + 0x40]
add rsp, 0x48
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
call fcn.291ed6dc0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
jmp fcn.291e9cde0
Function at 0x291eaa2c0
Capabilities:
Hash data using murmur3

Disassembly:
cmp rsp, qword [r14 + 0x18]
jbe 0x291eaa566
sub rsp, 0x40
mov qword [rsp + 0x38], rbp
lea rbp, [rsp + 0x38]
test byte [rax], al
lea rsi, [rax + 0x1270]
mov rcx, qword [rax + 0x1260]
sub rcx, rsi
shr rcx, 3
cmp rcx, 0x200
ja 0x291eaa55a
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x30], rcx
mov qword [rax + 0x1260], 0
cmp byte [0x291fbb52c], 0
jne 0x291eaa322
xor edx, edx
xor ebx, ebx
nop
jmp 0x291eaa36a
xor edx, edx
jmp 0x291eaa34d
mov qword [rsp + 0x28], rdx
mov rcx, qword [rax + rdx*8 + 0x1270]
mov rax, rcx
call fcn.291e9a120
mov rdx, qword [rsp + 0x28]
inc rdx
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
cmp rdx, rcx
jl 0x291eaa326
add rax, 0x1260
call fcn.291eaa180
mov rbp, qword [rsp + 0x38]
add rsp, 0x40
ret
inc rdx
cmp rdx, rcx
jge 0x291eaa4f4
mov rsi, qword [rax + rdx*8 + 0x1270]
nop dword [rax + rax]
cmp rsi, 0x1000
jb 0x291eaa367
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], rbx
mov rax, rsi
xor ebx, ebx
mov rcx, rbx
nop dword [rax + rax]
call fcn.291e8fec0
test rax, rax
jne 0x291eaa3c2
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x20]
nop
jmp 0x291eaa367
mov rsi, qword [rbx + 0x50]
test byte [rsi], al
nop
mov r8, rcx
shr rcx, 3
movzx r9d, byte [rsi + rcx]
and r8d, 7
mov rdx, rcx
mov rcx, r8
mov r10d, 1
shl r10d, cl
add rsi, rdx
test r10b, r9b
je 0x291eaa409
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x20]
jmp 0x291eaa367
nop
lock or byte [rsi], r10b
nop
nop
mov rcx, qword [rbx + 0x18]
nop
movabs rsi, 0x800000000000
lea r8, [rsi + rcx]
mov r9, r8
shr r8, 0x2a
cmp r8, 0x40
jae 0x291eaa54d
lea r10, [0x291f8d970]
mov r8, qword [r10 + r8*8]
shr r9, 0x16
and r9d, 0xfffff
mov r9, qword [r8 + r9*8]
test byte [r9], al
test byte [r8], al
mov r8, rcx
shr rcx, 0x10
and ecx, 0x3f
movzx r10d, byte [r9 + rcx + 0x11440]
lea r11, [rcx + 0x11440]
add r9, r11
shr r8, 0xd
and r8d, 7
mov rcx, r8
mov r8d, 1
shl r8d, cl
test r8b, r10b
jne 0x291eaa48e
lock or byte [r9], r8b
movzx r8d, byte [rbx + 0x62]
test r8b, 1
je 0x291eaa4c5
mov rax, qword [rsp + 0x48]
mov r8, qword [rax + 0x1248]
add r8, qword [rbx + 0x68]
mov qword [rax + 0x1248], r8
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x20]
nop
jmp 0x291eaa367
mov r8, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x30]
cmp r8, rcx
jae 0x291eaa545
mov rbx, qword [rsp + 0x48]
mov qword [rbx + r8*8 + 0x1270], rax
inc r8
mov rax, rbx
mov rdx, qword [rsp + 0x28]
mov rbx, r8
jmp 0x291eaa367
cmp rbx, 0x200
ja 0x291eaa538
lea rdx, [rax + 0x1270]
lea rsi, [rax + 0x1238]
mov rcx, rbx
mov edi, 0x200
mov rbx, rdx
mov rax, rsi
call fcn.291ea0260
mov rax, qword [rsp + 0x48]
add rax, 0x1260
call fcn.291eaa180
mov rbp, qword [rsp + 0x38]
add rsp, 0x40
ret
mov rcx, rbx
mov edx, 0x200
call fcn.291ed94a0
mov rax, r8
call fcn.291ed9420
mov rax, r8
mov ecx, 0x40
call fcn.291ed9440
mov edx, 0x200
nop
call fcn.291ed9480
nop
mov qword [rsp + 8], rax
call fcn.291edb820
mov rax, qword [rsp + 8]
jmp fcn.291eaa2c0
Function at 0x291ebe940
Capabilities:
Encode data using base64

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x291ebeaaa
sub rsp, 0x20
mov qword [rsp + 0x18], rbp
lea rbp, [rsp + 0x18]
mov ecx, dword [rax + 0x190]
mov edx, dword [rax + 0x194]
mov rsi, qword [rax + 0x998]
mov edi, dword [rax + 0x194]
cmp edi, edx
jne 0x291ebe958
cmp edx, ecx
jne 0x291ebea98
nop dword [rax]
test rsi, rsi
jne 0x291ebea98
mov qword [rsp + 0x28], rax
test rbx, rbx
jne 0x291ebe9b4
nop
call fcn.291edade0
xorps xmm15, xmm15
mov r14, qword [0x291fbb700]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rbx, qword [rsp]
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x10], rbx
call fcn.291ebe840
mov rcx, qword [0x291f68838]
mov rdx, qword [0x291f68830]
mov rbx, qword [rsp + 0x28]
mov esi, dword [rbx]
mov edi, esi
sar esi, 0x1f
shr esi, 0x1b
add esi, edi
mov r8d, esi
and esi, 0xffffffe0
sub edi, esi
test edi, edi
jl 0x291ebea93
cmp edi, 0x20
sbb esi, esi
sar r8d, 5
mov rax, rcx
mov ecx, edi
mov r9d, 1
shl r9d, cl
and r9d, esi
movsxd rsi, r8d
cmp rax, rsi
jbe 0x291ebea88
lea rcx, [rdx + rsi*4]
lock or dword [rcx], r9d
mov rcx, qword [0x291f69230]
mov qword [rbx + 8], rcx
nop
mov rcx, rbx
mov qword [0x291f69230], rbx
nop
mov edx, 1
lea rsi, [0x291f69238]
lock xadd dword [rsi], edx
mov rdx, qword [rcx + 0x1220]
shr rdx, 0x3d
test dl, dl
jne 0x291ebea77
nop
nop
mov rax, qword [rsp + 0x10]
movabs rdx, 0x1fffffffffffffff
and rdx, rax
bts rdx, 0x3f
xchg qword [rcx + 0x1220], rdx
mov rbp, qword [rsp + 0x18]
add rsp, 0x20
ret
lea rax, [0x291f05e79]
mov ebx, 0x28
call fcn.291eb0540
mov rcx, rax
mov rax, rsi
call fcn.291ed9420
call fcn.291eaec00
lea rax, [0x291f055dd]
mov ebx, 0x23
call fcn.291eb0540
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.291ed6dc0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.291ebe940
Function at 0x291ec8a20
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub rsp, 0x18
mov qword [rsp + 0x10], rbp
lea rbp, [rsp + 0x10]
mov qword [rsp + 0x20], rax
test rbx, rbx
jbe 0x291ec8b98
movzx edx, byte [rax]
nop
test edx, edx
jne 0x291ec8a5c
test r8b, r8b
jne 0x291ec8a5c
xor eax, eax
xor ebx, ebx
mov rcx, rbx
xor edi, edi
mov rbp, qword [rsp + 0x10]
add rsp, 0x18
ret
bt edx, 7
jae 0x291ec8a6f
xor edx, edx
xor r8d, r8d
xor r9d, r9d
jmp 0x291ec8b58
mov r8d, 1
mov r9d, edx
and edx, 1
neg edx
shr r9d, 1
xor edx, r9d
add dword [rsi], edx
cmp rbx, r8
jb 0x291ec8b46
sub rbx, r8
sub rcx, r8
mov rdx, rcx
neg rcx
sar rcx, 0x3f
and r8, rcx
lea rsi, [rax + r8]
test rbx, rbx
jbe 0x291ec8b3c
movzx r8d, byte [rax + r8]
bt r8d, 7
jae 0x291ec8ac3
xor eax, eax
xor ecx, ecx
xor r8d, r8d
jmp 0x291ec8b06
mov eax, 1
cmp rax, rbx
ja 0x291ec8af5
add qword [rdi], r8
sub rdx, rax
sub rbx, rax
mov rcx, rdx
neg rdx
sar rdx, 0x3f
and rax, rdx
add rax, rsi
mov edi, 1
mov rbp, qword [rsp + 0x10]
add rsp, 0x18
ret
mov rcx, rbx
call fcn.291ed94e0
lea r8d, [rcx + 7]
mov ecx, eax
mov eax, r10d
cmp rax, rbx
jae 0x291ec8b34
movzx r9d, byte [rax + rsi]
lea r10d, [rax + 1]
mov r11d, r9d
and r9d, 0x7f
mov eax, ecx
mov ecx, r8d
shl r9d, cl
or eax, r9d
test r11b, 0x80
jne 0x291ec8afd
mov r8d, eax
mov eax, r10d
jmp 0x291ec8ac8
mov rcx, rbx
call fcn.291ed9420
xor eax, eax
mov rcx, rax
call fcn.291ed9420
mov eax, r8d
mov rcx, rbx
call fcn.291ed94e0
lea r9d, [rcx + 7]
mov rcx, r12
cmp rbx, rdx
jbe 0x291ec8b8e
movzx r10d, byte [rdx + rax]
inc edx
mov r11d, r10d
and r10d, 0x7f
mov r12, rcx
mov ecx, r9d
shl r10d, cl
or r8d, r10d
test r11b, 0x80
jne 0x291ec8b51
mov rcx, r12
mov r9d, edx
mov edx, r8d
mov r8d, r9d
jmp 0x291ec8a75
mov eax, edx
mov rcx, rbx
call fcn.291ed9420
xor eax, eax
mov rcx, rax
nop dword [rax]
call fcn.291ed9420
nop
int3
Function at 0x291ed0220
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x291ed02d9
sub rsp, 0x60
mov qword [rsp + 0x58], rbp
lea rbp, [rsp + 0x58]
mov qword [rsp + 0x70], rbx
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 rdx, [0x291ed0320]
mov qword [rsp + 0x10], rdx
lea rdx, [rsp + 8]
mov qword [rsp + 0x18], rdx
mov rdx, qword [rsp + 0x60]
mov qword [rsp + 0x20], rdx
lea rdx, [rsp + 0x68]
mov qword [rsp + 0x28], rdx
mov rdx, r14
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x50], rdi
lea rax, [rsp + 0x10]
mov qword [rsp], rax
call fcn.291ed6c80
xorps xmm15, xmm15
mov r14, qword [0x291fbb700]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 8]
mov rbp, qword [rsp + 0x58]
add rsp, 0x60
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
call fcn.291ed6dc0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
jmp fcn.291ed0220
Function at 0x291ed8e80
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
mov eax, dword [rax]
movabs rcx, 0xe7037ed1a0b428db
xor rcx, rax
xor rax, rbx
xor rax, qword [0x291fbb7a0]
movabs rdx, 0xa0761d6478bd642f
xor rdx, rax
mov rax, rcx
mul rdx
xor rax, rdx
mov rcx, rax
movabs rax, 0x1d8e4e27c47d124b
mul rcx
nop
nop
xor rax, rdx
ret
cmp byte [0x291fbb52b], 0
je 0x291ed8eb5
movq xmm0, rbx
pinsrd xmm0, dword [rax], 2
aesenc xmm0, xmmword [0x291fbbae0]
aesenc xmm0, xmmword [0x291fbbaf0]
aesenc xmm0, xmmword [0x291fbbb00]
movq rax, xmm0
ret
jmp 0x291e88ae0

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

Disassembly:
mov rax, qword [rax]
movabs rcx, 0xe7037ed1a0b428db
xor rcx, rax
xor rax, rbx
xor rax, qword [0x291fbb7a0]
movabs rdx, 0xa0761d6478bd642f
xor rdx, rax
mov rax, rcx
mul rdx
xor rax, rdx
mov rcx, rax
movabs rax, 0x1d8e4e27c47d1247
mul rcx
nop
nop
xor rax, rdx
ret
cmp byte [0x291fbb52b], 0
je 0x291ed8ef6
movq xmm0, rbx
pinsrq xmm0, qword [rax], 1
aesenc xmm0, xmmword [0x291fbbae0]
aesenc xmm0, xmmword [0x291fbbaf0]
aesenc xmm0, xmmword [0x291fbbb00]
movq rax, xmm0
ret
jmp 0x291e88b40

Function at 0x291eeb420
Capabilities:
Write file on windows

Disassembly:
push r12
push rbx
sub rsp, 0x38
mov r12, rcx
lea rax, [rsp + 0x58]
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call fcn.291eec260
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rbx, qword [rsp + 0x28]
mov ecx, 2
call fcn.291eec260
mov rdx, r12
mov rcx, rax
mov r8, rbx
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop word [rax + rax]
Function at 0x291eeb490
Capabilities:
Allocate or change rwx memory

Disassembly:
push r12
push rsi
push rbx
sub rsp, 0x50
movsxd rbx, dword [0x291fc0004]
mov r12, rcx
test ebx, ebx
jle 0x291eeb5c0
mov rax, qword [0x291fc0008]
xor r9d, r9d
add rax, 0x18
nop dword [rax + rax]
mov r8, qword [rax]
cmp r8, r12
ja 0x291eeb4db
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp r12, r8
jb 0x291eeb565
add r9d, 1
add rax, 0x28
cmp r9d, ebx
jne 0x291eeb4c0
mov rcx, r12
call fcn.291eebcf0
mov rsi, rax
test rax, rax
je 0x291eeb5e2
mov rax, qword [0x291fc0008]
lea rbx, [rbx + rbx*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rsi
mov dword [rax], 0
call fcn.291eebe20
mov edx, dword [rsi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x291fc0008]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x291eeb5c7
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x291eeb55e
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x291eeb570
add dword [0x291fc0004], 1
add rsp, 0x50
pop rbx
pop rsi
pop r12
ret
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 4
mov eax, 0x40
cmovne r8d, eax
add rbx, qword [0x291fc0008]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x291eeb55e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.291eeb420
nop dword [rax]
xor ebx, ebx
jmp 0x291eeb4e8
mov rax, qword [0x291fc0008]
mov edx, dword [rsi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call fcn.291eeb420
mov rdx, r12
lea rcx, str.Address__p_has_no_image_section
call fcn.291eeb420
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x291eeb940
Capabilities:
Get thread local storage value

Disassembly:
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r13, [0x291fc0040]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x291fc0020]
test rbx, rbx
je 0x291eeb99c
mov rdi, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rsi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax]
mov ecx, dword [rbx]
call rdi
mov r12, rax
call rsi
test eax, eax
jne 0x291eeb993
test r12, r12
je 0x291eeb993
mov rax, qword [rbx + 8]
mov rcx, r12
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x291eeb978
mov rcx, r13
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop r12
pop r13
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x291eebcf0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x291f640f0]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x291eebd10
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x291eebd18
ret
cmp word [r8 + 0x18], 0x20b
jne 0x291eebd10
movzx eax, word [r8 + 0x14]
sub rcx, rdx
movzx edx, word [r8 + 6]
lea rax, [r8 + rax + 0x18]
test edx, edx
je 0x291eebd65
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop dword [rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x291eebd5c
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x291eebd10
add rax, 0x28
cmp rax, r9
jne 0x291eebd48
xor eax, eax
ret

Function at 0x291eebd70
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x291f640f0]
xor r8d, r8d
cmp word [rax], 0x5a4d
jne 0x291eebd90
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x291eebd98
mov eax, r8d
ret
cmp word [rax + 0x18], 0x20b
jne 0x291eebd90
movzx r8d, word [rax + 6]
mov eax, r8d
ret

Function at 0x291eebe20
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x291f640f0]
xor r8d, r8d
cmp word [rax], 0x5a4d
jne 0x291eebe40
movsxd rdx, dword [rax + 0x3c]
add rdx, rax
cmp dword [rdx], 0x4550
je 0x291eebe48
mov rax, r8
ret
cmp word [rdx + 0x18], 0x20b
cmove r8, rax
mov rax, r8
ret
Function at 0x140001f70
Capabilities:
Create process on windows

Disassembly:
sub rsp, 0x68
mov rax, qword [0x140006040]
xor rax, rsp
mov qword [rsp + 0x50], rax
call fcn.1400016a0
mov ecx, 0x9c4
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rdx, [0x140006770]
lea rcx, [rsp + 0x30]
call fcn.140002150
mov r9, qword [rsp + 0x30]
lea rdx, [rsp + 0x30]
mov r10, qword [rsp + 0x48]
lea rax, [rsp + 0x30]
mov r8, qword [rsp + 0x40]
cmp r10, 0xf
cmova rdx, r9
cmova rax, r9
add r8, rdx
xor r11d, r11d
mov rcx, r8
mov edx, r11d
sub rcx, rax
cmp rax, r8
cmova rcx, r11
test rcx, rcx
je 0x14000204d
cmp rcx, 0x40
jb 0x14000204d
movdqa xmm1, xmmword [0x1400044d0]
and rcx, 0xffffffffffffffc0
nop word [rax + rax]
movdqu xmm0, xmmword [rax]
add rdx, 0x40
psubb xmm0, xmm1
movdqu xmmword [rax], xmm0
movdqu xmm0, xmmword [rax + 0x10]
psubb xmm0, xmm1
movdqu xmmword [rax + 0x10], xmm0
movdqu xmm0, xmmword [rax + 0x20]
psubb xmm0, xmm1
movdqu xmmword [rax + 0x20], xmm0
movdqu xmm0, xmmword [rax + 0x30]
psubb xmm0, xmm1
movdqu xmmword [rax + 0x30], xmm0
add rax, 0x40
cmp rdx, rcx
jne 0x140002000
mov r10, qword [rsp + 0x48]
mov r9, qword [rsp + 0x30]
cmp rax, r8
je 0x140002067
add byte [rax], 0xfb
inc rax
cmp rax, r8
jne 0x140002052
mov r10, qword [rsp + 0x48]
mov r9, qword [rsp + 0x30]
cmp r10, 0xf
mov dword [rsp + 0x28], r11d
lea r8, [rsp + 0x30]
mov qword [rsp + 0x20], r11
cmova r8, r9
lea rdx, str.runas
xor r9d, r9d
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteA]
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x1400020d0
mov rcx, qword [rsp + 0x30]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400020cb
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400020cb
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140002734
xor eax, eax
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140002490
add rsp, 0x68
ret

Function at 0x140003008
Capabilities:
Parse pe header

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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x280
mov rax, qword [0x1400c4040]
xor rax, rsp
mov qword [rsp + 0x270], rax
mov rbx, rcx
mov qword [rsp + 0x38], rcx
xor ebp, ebp
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x1a
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
xorps xmm0, xmm0
test eax, eax
js 0x1400040f6
movups xmmword [rsp + 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x50], xmm1
lea rax, [rsp + 0x60]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], bp
jne 0x140003f73
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x40]
call fcn.14000c2a0
nop
lea rcx, [rsp + 0x40]
mov r8, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x58]
cmp rdx, 7
cmova rcx, r8
mov rax, qword [rsp + 0x50]
lea r14, [rcx + rax*2]
lea rsi, [rsp + 0x40]
cmova rsi, r8
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rbp
mov edi, 0xf
mov qword [rbx + 0x18], rdi
cmp rsi, r14
jne 0x140003fd6
mov byte [rbx], 0
jmp 0x1400040b6
sub r14, rsi
sar r14, 1
movabs rax, 0x7fffffffffffffff
cmp r14, rax
ja 0x140004134
cmp r14, rdi
jbe 0x14000406f
mov rdi, r14
or rdi, 0xf
cmp rdi, rax
jbe 0x14000402c
mov rdi, rax
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.140092900
test rax, rax
je 0x140004059
lea rbp, [rax + 0x27]
and rbp, 0xffffffffffffffe0
mov qword [rbp - 8], rax
jmp 0x140004068
mov eax, 0x16
cmp rdi, rax
cmovb rdi, rax
lea rcx, [rdi + 1]
test rcx, rcx
je 0x140004068
cmp rcx, 0x1000
jb 0x140004060
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x14000413a
jmp 0x140004011
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140092900
mov rbp, rax
mov qword [rbx], rbp
mov qword [rbx + 0x18], rdi
mov r8, rbx
cmp rdi, 0xf
jbe 0x14000407b
mov r8, qword [rbx]
mov rcx, r8
mov rdx, r14
test r14, r14
je 0x1400040a3
nop word [rax + rax]
movzx eax, byte [rsi]
mov byte [rcx], al
lea rcx, [rcx + 1]
lea rsi, [rsi + 2]
sub rdx, 1
jne 0x140004090
mov qword [rbx + 0x10], r14
mov byte [r8 + r14], 0
mov rdx, qword [rsp + 0x58]
mov r8, qword [rsp + 0x40]
cmp rdx, 7
jbe 0x140004109
lea rdx, [rdx*2 + 2]
mov rax, r8
cmp rdx, 0x1000
jb 0x1400040ec
add rdx, 0x27
mov r8, qword [r8 - 8]
sub rax, r8
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400040ec
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r8
call fcn.140092e50
jmp 0x140004109
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rbp
mov edi, 0xf
mov qword [rbx + 0x18], rdi
mov byte [rbx], bpl
mov rax, rbx
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.1400928e0
lea r11, [rsp + 0x280]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
call fcn.140003ee0
nop
call fcn.140003e40
int3