joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000ce80
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0xe0
mov rax, qword [0x1401560c0]
xor rax, rsp
mov qword [rsp + 0xd0], rax
movzx ebx, r8b
mov rdi, rdx
mov r8d, 0x40
lea rdx, [rsp + 0x50]
call fcn.14000cab0
mov r8d, 0x11
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x50]
call sub.KERNEL32.dll_GetEnvironmentVariableW
mov r10d, eax
lea ecx, [rax - 1]
cmp ecx, 0xf
ja 0x14000cf45
xor ecx, ecx
mov r9d, ecx
test eax, eax
je 0x14000cf3e
nop
mov edx, r9d
movzx r8d, word [rsp + rdx*2 + 0x20]
lea eax, [r8 - 0x30]
test bl, bl
je 0x14000cf05
cmp ax, 9
ja 0x14000cf45
lea rcx, [rcx + rcx*4]
lea rcx, [rcx - 0x18]
lea rcx, [r8 + rcx*2]
jmp 0x14000cf36
shl rcx, 4
cmp ax, 9
ja 0x14000cf15
add rcx, 0xffffffffffffffd0
jmp 0x14000cf33
lea eax, [r8 - 0x61]
cmp ax, 5
ja 0x14000cf25
add rcx, 0xffffffffffffffa9
jmp 0x14000cf33
lea eax, [r8 - 0x41]
cmp ax, 5
ja 0x14000cf45
add rcx, 0xffffffffffffffc9
add rcx, r8
inc r9d
cmp r9d, r10d
jb 0x14000cee0
mov qword [rdi], rcx
mov al, 1
jmp 0x14000cf47
xor al, al
mov rcx, qword [rsp + 0xd0]
xor rcx, rsp
call fcn.1400603d0
mov rbx, qword [rsp + 0x100]
add rsp, 0xe0
pop rdi
ret
Function at 0x140010d50
Capabilities:
Get memory capacity

Disassembly:
mov qword [rsp + 8], rbx
push rsi
push rdi
push r14
sub rsp, 0xc0
mov rax, qword [0x1401560c0]
xor rax, rsp
mov qword [rsp + 0xb0], rax
mov rsi, r9
mov rbx, r8
mov r14, rdx
mov rdi, rcx
test rcx, rcx
je 0x140010e3f
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r8d, 0x48
lea rdx, [rsp + 0x60]
mov rcx, rax
call sub.KERNEL32.dll_K32GetProcessMemoryInfo
test eax, eax
je 0x140010e3f
mov rdx, qword [rsp + 0x70]
test r14, r14
je 0x140010e1a
xorps xmm0, xmm0
test rdx, rdx
js 0x140010dc1
cvtsi2ss xmm0, rdx
jmp 0x140010dd9
mov rax, rdx
mov rcx, rdx
shr rcx, 1
and eax, 1
or rcx, rax
cvtsi2ss xmm0, rcx
addss xmm0, xmm0
cvtps2pd xmm1, xmm0
xorps xmm0, xmm0
mulsd xmm1, qword [0x14013bbf0]
test rdi, rdi
js 0x140010df3
cvtsi2ss xmm0, rdi
jmp 0x140010e0b
mov rax, rdi
mov rcx, rdi
shr rcx, 1
and eax, 1
or rcx, rax
cvtsi2ss xmm0, rcx
addss xmm0, xmm0
cvtps2pd xmm0, xmm0
divsd xmm1, xmm0
cvttsd2si rax, xmm1
mov dword [r14], eax
xor eax, eax
test rbx, rbx
je 0x140010e31
cmp rdx, rdi
jbe 0x140010e2b
mov qword [rbx], rax
jmp 0x140010e31
sub rdi, rdx
mov qword [rbx], rdi
test rsi, rsi
je 0x140010f08
jmp 0x140010f05
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x40
call qword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov rdx, qword [rsp + 0x48]
cmp rdx, qword [rsp + 0x28]
jae 0x140010ee2
test r14, r14
je 0x140010ed1
mov rcx, rdx
xorps xmm0, xmm0
sub rcx, qword [rsp + 0x50]
js 0x140010e7b
cvtsi2ss xmm0, rcx
jmp 0x140010e90
mov rax, rcx
and ecx, 1
shr rax, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
cvtps2pd xmm1, xmm0
xorps xmm0, xmm0
mulsd xmm1, qword [0x14013bbf0]
test rdx, rdx
js 0x140010eaa
cvtsi2ss xmm0, rdx
jmp 0x140010ec2
mov rax, rdx
mov rcx, rdx
shr rcx, 1
and eax, 1
or rcx, rax
cvtsi2ss xmm0, rcx
addss xmm0, xmm0
cvtps2pd xmm0, xmm0
divsd xmm1, xmm0
cvttsd2si rax, xmm1
mov dword [r14], eax
test rbx, rbx
je 0x140010ed9
mov qword [rbx], rdx
test rsi, rsi
je 0x140010f08
xor eax, eax
jmp 0x140010f05
test r14, r14
je 0x140010eee
mov eax, dword [rsp + 0x24]
mov dword [r14], eax
test rbx, rbx
je 0x140010efb
mov rax, qword [rsp + 0x30]
mov qword [rbx], rax
test rsi, rsi
je 0x140010f08
mov rax, qword [rsp + 0x40]
mov qword [rsi], rax
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.1400603d0
mov rbx, qword [rsp + 0xe0]
add rsp, 0xc0
pop r14
pop rdi
pop rsi
ret

Function at 0x140011110
Capabilities:
Get memory capacity

Disassembly:
sub rsp, 0x78
mov rax, qword [0x1401560c0]
xor rax, rsp
mov qword [rsp + 0x60], rax
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x40
call qword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1400603d0
add rsp, 0x78
ret
Function at 0x140011370
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x50
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [rsp + 0x40]
xor ebx, ebx
mov dword [0x14015c1b0], eax
mov eax, dword [rsp + 0x24]
mov dword [0x14015c1b4], eax
mov eax, dword [rsp + 0x48]
mov dword [0x14015c1b8], eax
mov dword [rsp + 0x60], ebx
mov byte [0x14015c1bd], bl
call fcn.140012560
test al, al
je 0x1400113de
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetNumaHighestNodeNumber]
test eax, eax
je 0x1400113de
mov eax, dword [rsp + 0x60]
test eax, eax
je 0x1400113de
inc eax
mov byte [0x14015c1bd], 1
mov dword [0x14015c240], eax
mov byte [0x14015c1be], bl
mov word [rsp + 0x60], bx
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcessGroupAffinity]
mov edi, 1
test eax, eax
jne 0x14001141b
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x14001141b
movzx eax, word [rsp + 0x60]
jmp 0x140011422
mov eax, edi
mov word [rsp + 0x60], ax
cmp ax, di
seta cl
call fcn.140012450
test al, al
je 0x14001144b
call fcn.140011150
test al, al
je 0x14001144b
cmp dword [0x14015c244], edi
seta al
mov byte [0x14015c1be], al
jmp 0x140011452
movzx eax, byte [0x14015c1be]
test al, al
je 0x1400114a0
mov r9d, dword [0x14015c248]
test r9, r9
je 0x140011523
lea r8, [0x14015c1c0]
nop dword [rax]
mov rcx, rbx
mov rax, rbx
shr rax, 6
and ecx, 0x3f
lea rdx, [r8 + rax*8]
inc rbx
mov rax, qword [rdx]
bts rax, rcx
mov qword [rdx], rax
cmp rbx, r9
jb 0x140011470
mov al, 1
mov rbx, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea r8, [rsp + 0x68]
lea rdx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetProcessAffinityMask]
test eax, eax
je 0x140011523
mov r9, qword [rsp + 0x60]
lea r8, [0x14015c1c0]
nop dword [rax]
test r9, rdi
je 0x1400114f1
mov rcx, rbx
mov rax, rbx
shr rax, 6
and ecx, 0x3f
lea rdx, [r8 + rax*8]
mov rax, qword [r8 + rax*8]
bts rax, rcx
mov qword [rdx], rax
rol rdi, 1
test r9, rdi
je 0x140011516
lea rdx, [rbx + 1]
mov rax, rdx
and edx, 0x3f
shr rax, 6
lea rcx, [r8 + rax*8]
mov rax, qword [r8 + rax*8]
bts rax, rdx
mov qword [rcx], rax
rol rdi, 1
add rbx, 2
cmp rbx, 0x40
jb 0x1400114d0
mov rbx, qword [rsp + 0x70]
mov al, 1
add rsp, 0x50
pop rdi
ret
Function at 0x14005c610
Capabilities:
Get number of processors

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 8], rcx
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
mov r15, r9
mov r12, r8
mov r13, rdx
call fcn.14005a2b0
mov r14, qword [rsp + 0x88]
mov rsi, qword [rsp + 0x80]
mov r9, r14
mov rdi, qword [rsp + 0x78]
mov r8, rsi
mov rbx, qword [rsp + 0x70]
mov rdx, rdi
mov rcx, rbx
call fcn.14005a9e0
vmovdqu32 zmm3, zmmword [rbx]
vpmaxsd zmm1, zmm3, zmmword [r15]
mov rax, qword [rsp + 0x50]
mov r9, r15
vmovdqu32 zmmword [rbx], zmm1
vpminsd zmm0, zmm3, zmmword [r15]
vmovdqu32 zmmword [r15], zmm0
vmovdqu32 zmm4, zmmword [rdi]
vpmaxsd zmm0, zmm4, zmmword [r12]
vmovdqu32 zmmword [rdi], zmm0
vpminsd zmm1, zmm4, zmmword [r12]
vmovdqu32 zmmword [r12], zmm1
vmovdqu32 zmm3, zmmword [rsi]
vpmaxsd zmm1, zmm3, zmmword [r13]
vmovdqu32 zmmword [rsi], zmm1
vpminsd zmm0, zmm3, zmmword [r13]
vmovdqu32 zmmword [r13], zmm0
vmovdqu32 zmm4, zmmword [r14]
vpmaxsd zmm0, zmm4, zmmword [rax]
vmovdqu32 zmmword [r14], zmm0
vpminsd zmm1, zmm4, zmmword [rax]
vmovdqu32 zmmword [rax], zmm1
mov r8, r12
mov rdx, r13
mov rcx, rax
vzeroupper
call fcn.14005b110
mov r9, r14
mov r8, rsi
mov rdx, rdi
mov rcx, rbx
mov rbx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
jmp fcn.14005b110

Function at 0x14005c730
Capabilities:
Get number of processors

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 8], rcx
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
mov r15, r9
mov r12, r8
mov r13, rdx
call fcn.14005a9e0
mov r14, qword [rsp + 0x88]
mov rsi, qword [rsp + 0x80]
mov r9, r14
mov rdi, qword [rsp + 0x78]
mov r8, rsi
mov rbx, qword [rsp + 0x70]
mov rdx, rdi
mov rcx, rbx
call fcn.14005a2b0
vmovdqu32 zmm3, zmmword [rbx]
vpmaxsd zmm1, zmm3, zmmword [r15]
mov rax, qword [rsp + 0x50]
mov r9, r15
vmovdqu32 zmmword [rbx], zmm1
vpminsd zmm0, zmm3, zmmword [r15]
vmovdqu32 zmmword [r15], zmm0
vmovdqu32 zmm4, zmmword [rdi]
vpmaxsd zmm0, zmm4, zmmword [r12]
vmovdqu32 zmmword [rdi], zmm0
vpminsd zmm1, zmm4, zmmword [r12]
vmovdqu32 zmmword [r12], zmm1
vmovdqu32 zmm3, zmmword [rsi]
vpmaxsd zmm1, zmm3, zmmword [r13]
vmovdqu32 zmmword [rsi], zmm1
vpminsd zmm0, zmm3, zmmword [r13]
vmovdqu32 zmmword [r13], zmm0
vmovdqu32 zmm4, zmmword [r14]
vpmaxsd zmm0, zmm4, zmmword [rax]
vmovdqu32 zmmword [r14], zmm0
vpminsd zmm1, zmm4, zmmword [rax]
vmovdqu32 zmmword [rax], zmm1
mov r8, r12
mov rdx, r13
mov rcx, rax
vzeroupper
call fcn.14005b310
mov r9, r14
mov r8, rsi
mov rdx, rdi
mov rcx, rbx
mov rbx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
jmp fcn.14005b310
Function at 0x14005de10
Capabilities:
Get number of processors

Disassembly:
mov r11, rsp
mov qword [r11 + 0x20], r9
mov qword [r11 + 0x18], r8
mov qword [r11 + 0x10], rdx
mov qword [r11 + 8], rcx
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov rax, qword [rsp + 0xb8]
mov r13, qword [rsp + 0xb0]
mov r12, qword [rsp + 0xa8]
mov r14, qword [rsp + 0xa0]
mov qword [r11 - 0x40], rax
mov qword [r11 - 0x48], r13
mov qword [r11 - 0x50], r12
mov qword [r11 - 0x58], r14
call fcn.14005c610
mov r15, qword [rsp + 0xd8]
mov rsi, qword [rsp + 0xd0]
mov r9, r15
mov rdi, qword [rsp + 0xc8]
mov r8, rsi
mov rbx, qword [rsp + 0xc0]
mov rdx, rdi
mov rcx, rbx
call fcn.14005a9e0
vmovdqu32 zmm3, zmmword [rbx]
mov rax, qword [rsp + 0xb8]
mov r9, qword [rsp + 0x98]
mov r8, qword [rsp + 0x90]
mov rdx, qword [rsp + 0x88]
vpmaxsd zmm1, zmm3, zmmword [rax]
mov rcx, qword [rsp + 0x80]
vmovdqu32 zmmword [rbx], zmm1
vpminsd zmm0, zmm3, zmmword [rax]
vmovdqu32 zmmword [rax], zmm0
vmovdqu32 zmm4, zmmword [rdi]
vpmaxsd zmm0, zmm4, zmmword [r13]
vmovdqu32 zmmword [rdi], zmm0
vpminsd zmm1, zmm4, zmmword [r13]
vmovdqu32 zmmword [r13], zmm1
vmovdqu32 zmm3, zmmword [rsi]
vpmaxsd zmm1, zmm3, zmmword [r12]
vmovdqu32 zmmword [rsi], zmm1
vpminsd zmm0, zmm3, zmmword [r12]
vmovdqu32 zmmword [r12], zmm0
vmovdqu32 zmm4, zmmword [r15]
vpmaxsd zmm0, zmm4, zmmword [r14]
vmovdqu32 zmmword [r15], zmm0
vpminsd zmm1, zmm4, zmmword [r14]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x28], r12
vmovdqu32 zmmword [r14], zmm1
mov qword [rsp + 0x20], r14
vzeroupper
call fcn.14005c850
mov r9, r15
mov r8, rsi
mov rdx, rdi
mov rcx, rbx
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
jmp fcn.14005b110
Function at 0x14005fd10
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
mov r11, rsp
mov qword [r11 + 0x20], r9
mov qword [r11 + 0x18], r8
mov qword [r11 + 0x10], rdx
mov qword [r11 + 8], rcx
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov rax, qword [rsp + 0xb8]
mov qword [r11 - 0x40], rax
mov rax, qword [rsp + 0xb0]
mov qword [r11 - 0x48], rax
mov rax, qword [rsp + 0xa8]
mov qword [r11 - 0x50], rax
mov rax, qword [rsp + 0xa0]
mov qword [r11 - 0x58], rax
call fcn.14005c610
mov rax, qword [rsp + 0xf8]
mov r13, qword [rsp + 0xf0]
mov r12, qword [rsp + 0xe8]
mov r14, qword [rsp + 0xd8]
mov rsi, qword [rsp + 0xd0]
mov r9, r14
mov rdi, qword [rsp + 0xc8]
mov r8, rsi
mov rbx, qword [rsp + 0xc0]
mov rdx, rdi
mov r15, qword [rsp + 0xe0]
mov rcx, rbx
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r15
call fcn.14005c730
vmovdqu32 zmm3, zmmword [rbx]
mov r9, qword [rsp + 0xb8]
mov r8, qword [rsp + 0xb0]
mov rdx, qword [rsp + 0xa8]
mov rax, qword [rsp + 0xa0]
vpmaxsd zmm1, zmm3, zmmword [r9]
vmovdqu32 zmmword [rbx], zmm1
vpminsd zmm0, zmm3, zmmword [r9]
vmovdqu32 zmmword [r9], zmm0
vmovdqu32 zmm4, zmmword [rdi]
vpmaxsd zmm0, zmm4, zmmword [r8]
mov r10, qword [rsp + 0x98]
mov rcx, qword [rsp + 0x88]
mov rbx, qword [rsp + 0x80]
mov r11, qword [rsp + 0x90]
vmovdqu32 zmmword [rdi], zmm0
vpminsd zmm1, zmm4, zmmword [r8]
vmovdqu32 zmmword [r8], zmm1
vmovdqu32 zmm3, zmmword [rsi]
vpmaxsd zmm1, zmm3, zmmword [rdx]
vmovdqu32 zmmword [rsi], zmm1
vpminsd zmm0, zmm3, zmmword [rdx]
vmovdqu32 zmmword [rdx], zmm0
vmovdqu32 zmm4, zmmword [r14]
vpmaxsd zmm0, zmm4, zmmword [rax]
vmovdqu32 zmmword [r14], zmm0
vpminsd zmm1, zmm4, zmmword [rax]
vmovdqu32 zmmword [rax], zmm1
vmovdqu32 zmm3, zmmword [r15]
vpmaxsd zmm1, zmm3, zmmword [r10]
vmovdqu32 zmmword [r15], zmm1
vpminsd zmm0, zmm3, zmmword [r10]
vmovdqu32 zmmword [r10], zmm0
vmovdqu32 zmm4, zmmword [r12]
vpmaxsd zmm0, zmm4, zmmword [r11]
vmovdqu32 zmmword [r12], zmm0
vpminsd zmm1, zmm4, zmmword [r11]
vmovdqu32 zmmword [r11], zmm1
vmovdqu32 zmm3, zmmword [r13]
vpmaxsd zmm1, zmm3, zmmword [rcx]
vmovdqu32 zmmword [r13], zmm1
vpminsd zmm0, zmm3, zmmword [rcx]
vmovdqu32 zmmword [rcx], zmm0
mov rcx, qword [rsp + 0xf8]
mov qword [rsp + 0x38], r9
mov r9, r10
mov qword [rsp + 0x30], r8
mov qword [rsp + 0x28], rdx
vmovdqu32 zmm4, zmmword [rcx]
vpmaxsd zmm0, zmm4, zmmword [rbx]
vmovdqu32 zmmword [rcx], zmm0
vpminsd zmm1, zmm4, zmmword [rbx]
vmovdqu32 zmmword [rbx], zmm1
mov rcx, rbx
mov qword [rsp + 0x20], rax
mov rdx, qword [rsp + 0x88]
mov r8, r11
vzeroupper
call fcn.14005c850
mov rax, qword [rsp + 0xf8]
mov r9, r14
mov rcx, qword [rsp + 0xc0]
mov r8, rsi
mov qword [rsp + 0xb8], rax
mov rdx, rdi
mov qword [rsp + 0xb0], r13
mov qword [rsp + 0xa8], r12
mov qword [rsp + 0xa0], r15
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
jmp fcn.14005c850
Function at 0x140060b60
Capabilities:
Parse pe header

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

Function at 0x140064480
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1400644a8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x1400644a8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret

Function at 0x140066e20
Capabilities:
Write file on windows

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x78
lea rbp, [rsp + 0xb0]
xor eax, eax
mov qword [rbp - 0x40], rax
mov rbx, rcx
mov rsi, rdx
mov edi, r8d
mov qword [rbp - 0x40], r9
mov r14, r9
xor ecx, ecx
call sub.KERNEL32.dll_SetLastError
mov r15, qword [rbp + 0x30]
mov qword [rsp + 0x20], r15
mov rcx, rbx
mov qword [rbp - 0x4c], rcx
mov rdx, rsi
mov qword [rbp - 0x54], rdx
mov r8d, edi
mov dword [rbp - 0x44], r8d
mov r9, r14
mov qword [rbp - 0x5c], r9
lea rcx, [rbp - 0x88]
call fcn.140002250
mov rcx, qword [rbp - 0x4c]
mov rdx, qword [rbp - 0x54]
mov r8d, dword [rbp - 0x44]
mov r9, qword [rbp - 0x5c]
call sub.KERNEL32.dll_WriteFile
mov ebx, eax
lea rcx, [rbp - 0x88]
call fcn.1400022a0
call sub.KERNEL32.dll_GetLastError
mov esi, eax
xor eax, eax
mov qword [rbp - 0x40], rax
call fcn.140001836
mov dword [rax + 0x60], esi
mov eax, ebx
add rsp, 0x78
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret

Function at 0x14009c4c0
Capabilities:
Write file on windows

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x78
lea rbp, [rsp + 0xb0]
xor eax, eax
mov qword [rbp - 0x40], rax
mov rbx, rcx
mov rsi, rdx
mov edi, r8d
mov qword [rbp - 0x40], r9
mov r14, r9
xor ecx, ecx
call sub.KERNEL32.dll_SetLastError
mov r15, qword [rbp + 0x30]
mov qword [rsp + 0x20], r15
mov rcx, rbx
mov qword [rbp - 0x4c], rcx
mov rdx, rsi
mov qword [rbp - 0x54], rdx
mov r8d, edi
mov dword [rbp - 0x44], r8d
mov r9, r14
mov qword [rbp - 0x5c], r9
lea rcx, [rbp - 0x88]
call fcn.140002250
mov rcx, qword [rbp - 0x4c]
mov rdx, qword [rbp - 0x54]
mov r8d, dword [rbp - 0x44]
mov r9, qword [rbp - 0x5c]
call sub.KERNEL32.dll_WriteFile
mov ebx, eax
lea rcx, [rbp - 0x88]
call fcn.1400022a0
call sub.KERNEL32.dll_GetLastError
mov esi, eax
xor eax, eax
mov qword [rbp - 0x40], rax
call fcn.140001836
mov dword [rax + 0x60], esi
mov eax, ebx
add rsp, 0x78
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
Function at 0x140005380
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x40
movzx r15d, r8b
mov r14, rdx
mov rsi, rcx
lea rbx, [rcx + 0x110]
mov qword [rsp + 0x20], rbx
mov rcx, rbx
call qword [sym.imp.MSVCP140.dll__Mtx_lock]
test eax, eax
je 0x1400053bf
mov ecx, 5
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
mov eax, dword [rbx + 0x4c]
cmp eax, 0x7fffffff
jne 0x1400053da
dec eax
mov dword [rbx + 0x4c], eax
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov r8, qword [r14 + 0x10]
mov rdx, r14
cmp qword [r14 + 0x18], 0xf
jbe 0x1400053eb
mov rdx, qword [r14]
xor edi, edi
movabs r9, 0xcbf29ce484222325
mov ecx, edi
test r8, r8
je 0x140005423
movabs r10, 0x100000001b3
nop dword [rax + rax]
movzx eax, byte [rcx + rdx]
xor r9, rax
imul r9, r10
inc rcx
cmp rcx, r8
jb 0x140005410
mov r8, r14
lea rdx, [rsp + 0x28]
lea rcx, [rsi + 0xd0]
call fcn.14000a460
mov rcx, qword [rax + 8]
test rcx, rcx
jne 0x140005447
mov rcx, qword [rsi + 0xd8]
cmp rcx, qword [rsi + 0xd8]
je 0x140005482
mov rcx, qword [rcx + 0x30]
mov rcx, qword [rcx]
call fcn.140013170
test eax, eax
je 0x140005471
mov edx, eax
mov rcx, rsi
call fcn.140005760
mov edi, 8
jmp 0x140005487
test r15b, r15b
je 0x140005487
mov rcx, rsi
call fcn.140005f70
mov edi, eax
jmp 0x140005487
mov edi, 6
mov rcx, rbx
call qword [sym.imp.MSVCP140.dll__Mtx_unlock]
mov eax, edi
mov rbx, qword [rsp + 0x80]
add rsp, 0x40
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x140006ff0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x50
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov r10, r8
mov r11, rdx
mov rdi, rcx
test rdx, rdx
je 0x1400070b8
cmp qword [r9 + 0x18], 0xf
mov rdx, qword [r9 + 0x10]
jbe 0x140007029
mov r9, qword [r9]
mov ebx, 0xffffffff
test rdx, rdx
je 0x14000705d
lea r8, [0x140158d00]
nop word [rax + rax]
movzx ecx, byte [r9]
lea r9, [r9 + 1]
mov eax, ebx
shr ebx, 8
xor rcx, rax
movzx eax, cl
xor ebx, dword [r8 + rax*4]
sub rdx, 1
jne 0x140007040
cmp qword [r10 + 0x18], 0xf
not ebx
mov r8d, dword [r10 + 0x10]
mov dword [rsp + 0x38], 4
jbe 0x140007075
mov r10, qword [r10]
lea rax, [rsp + 0x30]
mov r9d, 2
mov qword [rsp + 0x28], rax
mov rdx, r10
lea rax, [rsp + 0x38]
mov rcx, r11
mov qword [rsp + 0x20], rax
call fcn.140013b30
cmp eax, 1
jbe 0x1400070b1
mov rcx, qword [rdi + 0x40]
mov edx, eax
call fcn.140005760
mov eax, 8
jmp 0x1400070ba
mov rax, qword [rsp + 0x30]
mov dword [rax], ebx
xor eax, eax
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.14012fde0
mov rbx, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
ret

Function at 0x1400085d0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x50
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x40], rax
xor edi, edi
mov rbx, r9
mov rax, r8
mov r10, rdx
mov rsi, rcx
test rdx, rdx
je 0x1400086a7
cmp qword [rax + 0x18], 0xf
mov r8d, dword [r8 + 0x10]
jbe 0x14000860c
mov rax, qword [rax]
lea rcx, [rsp + 0x30]
mov rdx, rax
mov qword [rsp + 0x20], rcx
lea r9, [rsp + 0x38]
mov rcx, r10
call fcn.14000f160
cmp eax, 2
je 0x1400086a7
test eax, eax
je 0x140008644
mov rcx, qword [rsi + 0xc0]
mov edx, eax
call fcn.140005760
mov eax, 8
jmp 0x1400086a9
cmp dword [rsp + 0x38], 4
je 0x140008652
mov edi, 0xe
jmp 0x1400086a7
cmp qword [rbx + 0x18], 0xf
mov rdx, qword [rbx + 0x10]
jbe 0x140008660
mov rbx, qword [rbx]
mov r8d, 0xffffffff
test rdx, rdx
je 0x140008690
lea r9, [0x140158d00]
movzx ecx, byte [rbx]
lea rbx, [rbx + 1]
mov eax, r8d
shr r8d, 8
xor rcx, rax
movzx eax, cl
xor r8d, dword [r9 + rax*4]
sub rdx, 1
jne 0x140008672
mov rcx, qword [rsp + 0x30]
mov edx, edi
mov edi, 0xe
not r8d
cmp r8d, dword [rcx]
cmovne edx, edi
mov edi, edx
mov eax, edi
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.14012fde0
add rsp, 0x50
pop rdi
pop rsi
pop rbx
ret
Function at 0x140026dc0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r13
push r15
sub rsp, 0x70
mov esi, dword [rsp + 0xc0]
mov rbp, r9
mov r13, r8
mov rdi, rdx
mov r15, rcx
cmp esi, 0x1ff
jbe 0x140026e00
mov r10d, dword [rdx - 0x14]
shr r10d, 3
mov eax, r10d
sub esi, r10d
add rbp, rax
or dword [rdx + 0xc], 4
mov eax, dword [rdx]
lea esi, [rsi*8]
add rax, rdi
mov ebx, dword [rax]
test ebx, ebx
jns 0x140026e74
nop dword [rax]
nop word [rax + rax]
mov r8d, ebx
and r8d, 0x3fffffff
cmp r8d, esi
jae 0x140026e68
bt ebx, 0x1e
jae 0x140026e3a
mov eax, dword [rax + 0xc]
jmp 0x140026e6b
movzx edx, r8b
mov ecx, 7
and dl, 7
sub cl, dl
mov edx, r8d
shr rdx, 3
movzx r8d, byte [rdx + rbp]
shr r8d, cl
and r8d, 1
add r8d, r8d
or r8d, 1
mov eax, dword [rax + r8*4]
jmp 0x140026e6b
mov eax, dword [rax + 4]
add rax, rdi
mov ebx, dword [rax]
test ebx, ebx
js 0x140026e20
shr esi, 3
lea r10, [rax + 4]
mov qword [rsp + 0xa8], r10
cmp ebx, 0x1ff
jbe 0x140026ecb
mov rcx, qword [r15 + 0xf8]
lea r9, [rsp + 0xa8]
mov r8, r10
mov edx, ebx
call qword [r15 + 0xf0]
test eax, eax
jne 0x140027049
mov r10, qword [rsp + 0xa8]
mov ecx, dword [rdi - 0x14]
shr ecx, 3
mov eax, ecx
add r10, rax
mov qword [rsp + 0xa8], r10
sub ebx, ecx
cmp esi, ebx
mov qword [rsp + 0xa0], r14
mov edx, ebx
movzx eax, r10b
cmovb edx, esi
mov rcx, rbp
or al, bpl
mov r9, r10
test al, 3
jne 0x140026f12
mov r8d, edx
shr r8d, 2
test r8d, r8d
je 0x140026f12
mov eax, dword [rcx]
cmp dword [r9], eax
jne 0x140026f0c
add r9, 4
add rcx, 4
add r8d, 0xffffffff
jne 0x140026ef7
sub r10d, r9d
add edx, r10d
test edx, edx
je 0x140026f38
sub rcx, r9
nop dword [rax]
movzx r10d, byte [rcx + r9]
movzx eax, byte [r9]
xor r10d, eax
jne 0x140026f40
inc r9
add edx, 0xffffffff
jne 0x140026f20
jmp 0x140026f40
mov r10d, dword [rsp + 0xc0]
xor r11d, r11d
test edx, edx
je 0x140026fb0
movzx r14d, byte [r9]
mov ecx, ebx
sub ecx, edx
mov r8d, r10d
mov eax, esi
sub eax, edx
cmp esi, ebx
cmovae eax, ecx
shl r8d, 4
test r10d, 0xf0
cmovne r8d, r10d
mov r10d, 0x80000000
lea edx, [rax*8]
lea eax, [rdx + 4]
cmovne eax, edx
test r8d, 0xc0
lea edx, [rax + 2]
cmovne edx, eax
lea eax, [r8*4]
cmovne eax, r8d
test al, 0x80
lea ebx, [rdx + 1]
cmovne ebx, edx
mov ecx, ebx
and ecx, 7
shl r14d, cl
sar r14d, 7
and r14d, 1
jmp 0x140026fd3
mov r10d, 0xc0000000
cmp esi, ebx
jae 0x140026fc9
lea ebx, [rsi*8]
mov r14d, 1
jmp 0x140026fd3
lea ebx, [rbx*8]
mov r14d, r11d
mov r9d, dword [rdi + 4]
test r9d, r9d
jns 0x140026ff1
mov ecx, dword [r15 + 4]
mov edx, r9d
sub edx, 0x10
neg r9d
add ecx, edx
cmovne r11d, edx
jmp 0x140026ff5
mov r11d, dword [r9 + rdi]
mov rax, qword [rsp + 0xd0]
lea r8, [r13 - 4]
mov qword [rsp + 0x68], rax
mov ecx, r13d
sub ecx, edi
mov dword [rdi + 4], r11d
inc dword [rdi + 8]
sub ecx, 4
or r10d, ebx
mov rdx, rdi
mov dword [rsp + 0x58], r10d
mov dword [rsp + 0x48], ecx
mov rcx, r15
mov dword [rsp + 0x40], r9d
mov r9, rbp
mov dword [rsp + 0x38], ebx
mov dword [rsp + 0x30], r14d
mov dword [rsp + 0x20], esi
call fcn.140033a90
mov r14, qword [rsp + 0xa0]
mov rbx, qword [rsp + 0xb0]
add rsp, 0x70
pop r15
pop r13
pop rdi
pop rsi
pop rbp
ret
Function at 0x140045140
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x20
mov rax, rdx
mov ebx, r8d
mov r9, rcx
mov r8d, r8d
mov rcx, rax
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
xor eax, ebx
add rsp, 0x20
pop rbx
ret