joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400117b0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rdi, rcx
mov rbx, 0xffffffffffffffff
inc rbx
cmp byte [rcx + rbx], 0
jne 0x1400117c4
mov ecx, 0xfffffff4
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
lea r9, [rsp + 0x48]
mov qword [rsp + 0x20], 0
mov rcx, rax
mov r8d, ebx
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret

Function at 0x140011870
Capabilities:
Create thread

Disassembly:
sub rsp, 0x38
xor eax, eax
mov r9, rdx
mov r8, rcx
mov qword [rsp + 0x28], rax
xor edx, edx
mov dword [rsp + 0x20], eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
test rax, rax
jne 0x140011899
add rsp, 0x38
ret
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
add rsp, 0x38
ret

Function at 0x1400118b0
Capabilities:
Create thread
Resume thread

Disassembly:
push rbx
sub rsp, 0x30
mov r9, rdx
mov qword [rsp + 0x28], 0
mov r8, rcx
mov dword [rsp + 0x20], 4
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rbx, rax
test rax, rax
jne 0x1400118e5
add rsp, 0x30
pop rbx
ret
mov edx, 2
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
add rsp, 0x30
pop rbx
ret

Function at 0x140012bc0
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0xe0
mov rax, qword [0x1406d9180]
xor rax, rsp
mov qword [rsp + 0xd0], rax
movzx ebx, r8b
mov rdi, rdx
mov r8d, 0x40
lea rdx, [rsp + 0x50]
call fcn.1400127f0
mov r8d, select
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x50]
call sub.KERNEL32.dll_GetEnvironmentVariableW
mov r11d, eax
lea ecx, [rax - 1]
cmp ecx, 0xf
ja 0x140012c88
xor ecx, ecx
mov r9d, ecx
test eax, eax
je 0x140012c81
lea r10, [rsp + 0x20]
movzx r8d, word [r10]
lea eax, [r8 - 0x30]
test bl, bl
je 0x140012c44
cmp ax, 9
ja 0x140012c88
lea rcx, [rcx + rcx*4]
lea rcx, [rcx - 0x18]
lea rcx, [r8 + rcx*2]
jmp 0x140012c75
shl rcx, 4
cmp ax, 9
ja 0x140012c54
add rcx, 0xffffffffffffffd0
jmp 0x140012c72
lea eax, [r8 - 0x61]
cmp ax, 5
ja 0x140012c64
add rcx, 0xffffffffffffffa9
jmp 0x140012c72
lea eax, [r8 - 0x41]
cmp ax, 5
ja 0x140012c88
add rcx, 0xffffffffffffffc9
add rcx, r8
inc r9d
add r10, 2
cmp r9d, r11d
jb 0x140012c24
mov qword [rdi], rcx
mov al, 1
jmp 0x140012c8a
xor al, al
mov rcx, qword [rsp + 0xd0]
xor rcx, rsp
call fcn.1400a8830
mov rbx, qword [rsp + 0x100]
add rsp, 0xe0
pop rdi
ret
Function at 0x140017280
Capabilities:
Get memory capacity

Disassembly:
mov qword [rsp + 8], rbx
push rsi
push rdi
push r14
sub rsp, 0xc0
mov rax, qword [0x1406d9180]
xor rax, rsp
mov qword [rsp + 0xb0], rax
mov rsi, r9
mov rbx, r8
mov r14, rdx
mov rdi, rcx
test rcx, rcx
je 0x14001736f
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 0x14001736f
mov rdx, qword [rsp + 0x70]
test r14, r14
je 0x14001734a
xorps xmm0, xmm0
test rdx, rdx
js 0x1400172f1
cvtsi2ss xmm0, rdx
jmp 0x140017309
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 [0x140631338]
test rdi, rdi
js 0x140017323
cvtsi2ss xmm0, rdi
jmp 0x14001733b
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 0x140017361
cmp rdx, rdi
jbe 0x14001735b
mov qword [rbx], rax
jmp 0x140017361
sub rdi, rdx
mov qword [rbx], rdi
test rsi, rsi
je 0x140017438
jmp 0x140017435
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 0x140017412
test r14, r14
je 0x140017401
mov rcx, rdx
xorps xmm0, xmm0
sub rcx, qword [rsp + 0x50]
js 0x1400173ab
cvtsi2ss xmm0, rcx
jmp 0x1400173c0
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 [0x140631338]
test rdx, rdx
js 0x1400173da
cvtsi2ss xmm0, rdx
jmp 0x1400173f2
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 0x140017409
mov qword [rbx], rdx
test rsi, rsi
je 0x140017438
xor eax, eax
jmp 0x140017435
test r14, r14
je 0x14001741e
mov eax, dword [rsp + 0x24]
mov dword [r14], eax
test rbx, rbx
je 0x14001742b
mov rax, qword [rsp + 0x30]
mov qword [rbx], rax
test rsi, rsi
je 0x140017438
mov rax, qword [rsp + 0x40]
mov qword [rsi], rax
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.1400a8830
mov rbx, qword [rsp + 0xe0]
add rsp, 0xc0
pop r14
pop rdi
pop rsi
ret
Function at 0x140017460
Capabilities:
Get memory capacity

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x1a0
mov rax, qword [0x1406d9180]
xor rax, rsp
mov qword [rsp + 0x190], rax
mov rdi, rcx
test rcx, rcx
je 0x140017494
mov byte [rcx], 0
xor esi, esi
xor ebp, ebp
mov dword [rsp + 0x30], esi
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea r8, [rsp + 0x30]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_IsProcessInJob]
test eax, eax
je 0x14001756f
cmp dword [rsp + 0x30], esi
je 0x14001756f
mov r9d, 0x90
mov qword [rsp + 0x20], rsi
lea r8, [rsp + 0x100]
xor ecx, ecx
lea edx, [rbp + 9]
call qword [sym.imp.KERNEL32.dll_QueryInformationJobObject]
test eax, eax
je 0x14001756f
mov eax, dword [rsp + 0x110]
mov rcx, 0xffffffffffffffff
bt eax, 9
mov rbx, rcx
mov rdx, rcx
cmovb rbx, qword [rsp + 0x178]
bt eax, 8
cmovb rdx, qword [rsp + 0x170]
test al, 1
cmovne rcx, qword [rsp + 0x120]
cmp rbx, 0xffffffffffffffff
jne 0x140017533
cmp rdx, rbx
jne 0x140017533
cmp rcx, rbx
je 0x14001756f
cmp rdx, rbx
mov dword [rsp + 0x40], 0x40
cmovb rbx, rdx
cmp rcx, rbx
cmovb rbx, rcx
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
cmp qword [rsp + 0x48], rbx
mov rbp, qword [rsp + 0x68]
cmovb rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
cmp rbx, 0xffffffffffffffff
jne 0x140017571
xor ebx, ebx
test rbp, rbp
jne 0x14001759f
lea rcx, [rsp + 0x80]
mov dword [rsp + 0x80], 0x40
call qword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov rbp, qword [rsp + 0xa8]
mov rsi, qword [rsp + 0x88]
test rbx, rbx
cmovne rsi, rbx
cmp rbp, rsi
jb 0x1400175bd
test rbx, rbx
je 0x1400175bd
test rdi, rdi
je 0x1400175b8
mov byte [rdi], 1
mov rax, rbx
jmp 0x1400175ef
lea rcx, [rsp + 0xc0]
mov dword [rsp + 0xc0], 0x40
call qword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov rax, qword [rsp + 0xc8]
cmp qword [rsp + 0xe8], rax
cmovb rax, qword [rsp + 0xe8]
mov rcx, qword [rsp + 0x190]
xor rcx, rsp
call fcn.1400a8830
lea r11, [rsp + 0x1a0]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret

Function at 0x140017790
Capabilities:
Get memory capacity

Disassembly:
sub rsp, 0x78
mov rax, qword [0x1406d9180]
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.1400a8830
add rsp, 0x78
ret
Function at 0x1400179f0
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 [0x1406ea690], eax
mov eax, dword [rsp + 0x24]
mov dword [0x1406ea694], eax
mov eax, dword [rsp + 0x48]
mov dword [0x1406ea698], eax
mov dword [rsp + 0x60], ebx
mov byte [0x1406ea69d], bl
call fcn.140019270
test al, al
je 0x140017a5e
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetNumaHighestNodeNumber]
test eax, eax
je 0x140017a5e
mov eax, dword [rsp + 0x60]
test eax, eax
je 0x140017a5e
inc eax
mov byte [0x1406ea69d], 1
mov dword [0x1406ea720], eax
mov byte [0x1406ea69e], 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 0x140017a9b
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x140017a9b
movzx eax, word [rsp + 0x60]
jmp 0x140017aa2
mov eax, edi
mov word [rsp + 0x60], ax
cmp ax, di
seta cl
call fcn.1400190f0
test al, al
je 0x140017acb
call fcn.1400177d0
test al, al
je 0x140017acb
cmp dword [0x1406ea724], edi
seta al
mov byte [0x1406ea69e], al
jmp 0x140017ad2
movzx eax, byte [0x1406ea69e]
test al, al
je 0x140017b20
mov r9d, dword [0x1406ea728]
test r9, r9
je 0x140017ba3
lea r8, [0x1406ea6a0]
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 0x140017af0
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 0x140017ba3
mov r9, qword [rsp + 0x60]
lea r8, [0x1406ea6a0]
nop dword [rax]
test r9, rdi
je 0x140017b71
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 0x140017b96
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 0x140017b50
mov rbx, qword [rsp + 0x70]
mov al, 1
add rsp, 0x50
pop rdi
ret
Function at 0x14007c2c0
Capabilities:
Execute anti-debugging instructions

Disassembly:
sub rsp, 0x28
call fcn.1400102c0
test al, al
je 0x14007c2f5
call fcn.140017240
mov ecx, eax
lea rax, [0x1406f0e00]
movzx edx, word [rax + rcx*2]
mov ecx, dword [0x1406f09b8]
cmp edx, ecx
jl 0x14007c2ee
mov eax, edx
cdq
idiv ecx
mov eax, edx
add rsp, 0x28
ret
mov qword [rsp + 0x30], rbx
mov eax, 1
mov qword [rsp + 0x38], rbp
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x20], rdi
lock xadd dword [0x1406f0d88], eax
mov edi, dword [0x1406f0d84]
inc eax
mov ebx, dword [0x1406f09b8]
xor edx, edx
mov rbp, qword [0x1406f0df0]
xor r10d, r10d
div edi
mov r11d, 0x3b9aca00
mov r9d, r10d
mov esi, edx
mov ecx, r11d
test ebx, ebx
jle 0x14007c3b9
nop dword [rax]
nop dword [rax + rax]
rdtsc
shl rdx, 0x20
or rax, rdx
mov r8, rax
rdtsc
shl rdx, 0x20
or rax, rdx
sub rax, r8
mov r8d, r9d
imul r8d, edi
inc r8d
add r8d, esi
shl r8d, 7
movzx r8d, byte [r8 + rbp]
add r8d, eax
cmp r8d, r11d
jge 0x14007c391
mov ecx, r11d
mov r10d, r9d
mov r11d, r8d
jmp 0x14007c398
cmp r8d, ecx
cmovl ecx, r8d
inc r9d
cmp r9d, ebx
jl 0x14007c350
lea eax, [r11 + r11]
cmp eax, ecx
jge 0x14007c3b9
mov ecx, r10d
imul ecx, edi
inc ecx
add ecx, esi
shl ecx, 7
and byte [rcx + rbp], 1
mov rdi, qword [rsp + 0x20]
mov eax, r10d
mov rsi, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
add rsp, 0x28
ret
Function at 0x1400815c0
Capabilities:
Execute anti-debugging instructions

Disassembly:
push rbx
sub rsp, 0x30
mov qword [rsp + 0x28], r14
mov r14d, ecx
mov qword [rsp + 0x20], r15
call fcn.140011ed0
mov edx, dword [0x1406f08bc]
xor ebx, ebx
movzx r15d, al
test edx, edx
je 0x140081731
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x58], r12
lea r12, [0x1406f0e00]
call fcn.1400102c0
test al, al
je 0x140081639
call fcn.140017240
mov ecx, eax
movzx r10d, word [r12 + rcx*2]
mov ecx, dword [0x1406f09b8]
cmp r10d, ecx
jl 0x1400816e9
mov eax, r10d
cdq
idiv ecx
mov r10d, edx
jmp 0x1400816e9
mov eax, 1
lock xadd dword [0x1406f0d88], eax
mov edi, dword [0x1406f0d84]
inc eax
mov ebx, dword [0x1406f09b8]
xor edx, edx
mov rbp, qword [0x1406f0df0]
xor r10d, r10d
div edi
xor r9d, r9d
mov ecx, 0x3b9aca00
mov esi, edx
mov r11d, ecx
test ebx, ebx
jle 0x1400816e9
nop dword [rax]
nop word [rax + rax]
rdtsc
shl rdx, 0x20
or rax, rdx
mov r8, rax
rdtsc
shl rdx, 0x20
or rax, rdx
sub rax, r8
mov r8d, r9d
imul r8d, edi
inc r8d
add r8d, esi
shl r8d, 7
movzx r8d, byte [r8 + rbp]
add r8d, eax
cmp r8d, r11d
jge 0x1400816c1
mov ecx, r11d
mov r10d, r9d
mov r11d, r8d
jmp 0x1400816c8
cmp r8d, ecx
cmovl ecx, r8d
inc r9d
cmp r9d, ebx
jl 0x140081680
lea eax, [r11 + r11]
cmp eax, ecx
jge 0x1400816e9
mov ecx, r10d
imul ecx, edi
inc ecx
add ecx, esi
shl ecx, 7
and byte [rcx + rbp], 1
mov rax, qword [0x1406efff0]
xor r8d, r8d
movsxd rcx, r10d
mov edx, r14d
mov rcx, qword [rax + rcx*8]
mov rax, qword [rcx + 0x1588]
mov rcx, qword [rax + 8]
call fcn.140018530
mov ecx, dword [0x1406f08bc]
mov ebx, eax
test ecx, ecx
jne 0x140081607
mov r12, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x40]
mov r14, qword [rsp + 0x28]
test r15b, r15b
mov r15, qword [rsp + 0x20]
je 0x140081745
call fcn.140011e40
mov eax, ebx
add rsp, 0x30
pop rbx
ret
Function at 0x14009b270
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.140098f10
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.140099640
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.140099d70
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.140099d70

Function at 0x14009b390
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.140099640
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.140098f10
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.140099f70
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.140099f70
Function at 0x14009ca70
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.14009b270
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.140099640
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.14009b4b0
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.140099d70
Function at 0x14009e970
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.14009b270
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.14009b390
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.14009b4b0
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.14009b4b0
Function at 0x1400a6e40
Capabilities:
Compute adler32 checksum

Disassembly:
mov r8d, r8d
jmp 0x1400a6e50
mov r9d, ecx
mov r10, rdx
shr r9d, 0x10
movzx ecx, cx
cmp r8, 1
jne 0x1400a6e94
movzx edx, byte [rdx]
add edx, ecx
cmp edx, 0xfff1
lea r8d, [rdx - 0xfff1]
cmovb r8d, edx
lea eax, [r8 + r9]
cmp eax, 0xfff1
lea ecx, [rax - 0xfff1]
cmovb ecx, eax
shl ecx, 0x10
or ecx, r8d
mov eax, ecx
ret
test rdx, rdx
jne 0x1400a6e9d
lea eax, [rdx + 1]
ret
cmp r8, 0x10
jae 0x1400a6eec
test r8, r8
je 0x1400a6ec3
nop dword [rax + rax]
movzx eax, byte [r10]
lea r10, [r10 + 1]
add ecx, eax
add r9d, ecx
sub r8, 1
jne 0x1400a6eb0
cmp ecx, 0xfff1
lea r8d, [rcx - 0xfff1]
mov eax, 0x80078071
cmovb r8d, ecx
mul r9d
shr edx, 0xf
imul eax, edx, 0xf
add eax, r9d
shl eax, 0x10
or eax, r8d
ret
cmp r8, 0x15b0
jb 0x1400a6fc7
mov r11, r8
movabs rax, 0x79baa6bb6398b6f7
mul r8
sub r11, rdx
shr r11, 1
add r11, rdx
shr r11, 0xc
imul rax, r11, 0xffffffffffffea50
add r8, rax
mov edx, 0x2b6
nop word [rax + rax]
movzx eax, byte [r10]
add ecx, eax
movzx eax, byte [r10 + 1]
add r9d, ecx
add ecx, eax
movzx eax, byte [r10 + 2]
add r9d, ecx
add ecx, eax
movzx eax, byte [r10 + 3]
add r9d, ecx
add ecx, eax
movzx eax, byte [r10 + 4]
add r9d, ecx
add ecx, eax
movzx eax, byte [r10 + 5]
add r9d, ecx
add ecx, eax
movzx eax, byte [r10 + 6]
add r9d, ecx
add ecx, eax
movzx eax, byte [r10 + 7]
add r9d, ecx
add r10, 8
add ecx, eax
add r9d, ecx
add edx, 0xffffffff
jne 0x1400a6f30
mov eax, 0x80078071
mul ecx
shr edx, 0xf
imul eax, edx, 0xffff000f
add ecx, eax
mov eax, 0x80078071
mul r9d
shr edx, 0xf
imul eax, edx, 0xffff000f
add r9d, eax
sub r11, 1
jne 0x1400a6f20
test r8, r8
je 0x1400a7079
cmp r8, 8
jb 0x1400a7040
mov rdx, r8
shr rdx, 3
imul rax, rdx, 0xfffffffffffffff8
add r8, rax
nop word [rax + rax]
movzx eax, byte [r10]
add ecx, eax
movzx eax, byte [r10 + 1]
add r9d, ecx
add ecx, eax
movzx eax, byte [r10 + 2]
add r9d, ecx
add ecx, eax
movzx eax, byte [r10 + 3]
add r9d, ecx
add ecx, eax
movzx eax, byte [r10 + 4]
add r9d, ecx
add ecx, eax
movzx eax, byte [r10 + 5]
add r9d, ecx
add ecx, eax
movzx eax, byte [r10 + 6]
add r9d, ecx
add ecx, eax
movzx eax, byte [r10 + 7]
add r9d, ecx
add r10, 8
add ecx, eax
add r9d, ecx
sub rdx, 1
jne 0x1400a6fe0
test r8, r8
je 0x1400a7053
nop
movzx eax, byte [r10]
lea r10, [r10 + 1]
add ecx, eax
add r9d, ecx
sub r8, 1
jne 0x1400a7040
mov eax, 0x80078071
mul ecx
mov eax, 0x80078071
shr edx, 0xf
imul edx, edx, 0xffff000f
add ecx, edx
mul r9d
shr edx, 0xf
imul edx, edx, 0xffff000f
add r9d, edx
shl r9d, 0x10
or r9d, ecx
mov eax, r9d
ret

Function at 0x1400a9014
Capabilities:
Parse pe header

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