joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140026010
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
movsxd r8, dword [0x14000003c]
lea rsi, [0x140000000]
add r8, rsi
mov rbx, rdx
mov rdi, rcx
cmp dword [r8 + 0x84], 0xd
jbe 0x140026088
mov r10d, dword [r8 + 0xf0]
xor r9d, r9d
test r10d, r10d
je 0x140026088
movzx ecx, word [r8 + 0x14]
movzx r11d, word [r8 + 6]
add rcx, 0x18
mov r10d, dword [r10 + rsi + 0xc]
add rcx, r8
test r11d, r11d
je 0x140026088
mov eax, dword [rcx + 0xc]
cmp r10d, eax
jb 0x14002607c
mov edx, dword [rcx + 8]
add eax, edx
cmp r10d, eax
jb 0x14002609a
inc r9d
add rcx, 0x28
cmp r9d, r11d
jb 0x14002606a
xor eax, eax
mov rbx, qword [rsp + 8]
mov rsi, qword [rsp + 0x10]
mov rdi, qword [rsp + 0x18]
ret
mov dword [rdi], edx
mov eax, dword [rcx + 0x24]
mov dword [rbx], eax
mov eax, dword [rcx + 0xc]
add rax, rsi
jmp 0x14002608a

Function at 0x140027518
Capabilities:
Parse pe header

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

Function at 0x140030538
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x14003029c

Function at 0x140001b68
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140001bb2
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140001bb2
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140001bb2
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140001bb2
cmp dword [rcx + 0x84], 0xe
jbe 0x140001bb2
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140001bb4
xor al, al
add rsp, 0x28
ret
Function at 0x140012e70
Capabilities:
Check if file exists
Get file attributes
Terminate process

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x90
movaps xmmword [rsp + 0x80], xmm8
movaps xmmword [rsp + 0x70], xmm7
movaps xmmword [rsp + 0x60], xmm6
mov rax, qword [0x140039008]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov rcx, qword [0x14003dab8]
test rcx, rcx
je 0x140012eda
mov edx, 0x1388
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x140012ecd
mov rcx, qword [0x14003dab8]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, qword [0x14003dab8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [0x140040300], 1
jne 0x140012f87
mov rbx, qword [0x14002e060]
mov qword [rsp + 0x50], rbx
movups xmm6, xmmword [0x14002e050]
movaps xmmword [rsp + 0x40], xmm6
movups xmm7, xmmword [0x14002e040]
movaps xmmword [rsp + 0x30], xmm7
movups xmm8, xmmword [0x14002e030]
movaps xmmword [rsp + 0x20], xmm8
lea rsi, [rsp + 0x20]
mov rcx, rsi
call qword [sym.imp.SHELL32.dll_SHFileOperationW]
mov ebp, 0x14
lea rdi, [0x14003dad0]
mov r14, qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov r15, qword [sym.imp.KERNEL32.dll_Sleep]
mov r12, qword [sym.imp.SHELL32.dll_SHFileOperationW]
nop dword [rax + rax]
mov rcx, rdi
call r14
cmp eax, 0xffffffff
je 0x140012f87
and eax, 0x10
je 0x140012f87
mov ecx, 0x64
call r15
mov qword [rsp + 0x50], rbx
movaps xmmword [rsp + 0x40], xmm6
movaps xmmword [rsp + 0x30], xmm7
movaps xmmword [rsp + 0x20], xmm8
mov rcx, rsi
call r12
dec ebp
jne 0x140012f50
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140014380
movaps xmm6, xmmword [rsp + 0x60]
movaps xmm7, xmmword [rsp + 0x70]
movaps xmm8, xmmword [rsp + 0x80]
add rsp, 0x90
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
Function at 0x1400141c0
Capabilities:
Create directory

Disassembly:
push rsi
push rdi
push rbx
mov eax, 0x2030
call fcn.140014320
sub rsp, rax
mov rsi, rcx
mov rax, qword [0x140039008]
xor rax, rsp
mov qword [rsp + 0x2028], rax
mov eax, dword [0x14003dac0]
test eax, eax
je 0x1400141f5
test eax, eax
jg 0x14001423d
jmp 0x140014272
lea rdx, str._HOME_
lea rcx, [rsp + 0x20]
mov r8d, 0x1000
call fcn.1400124d0
test al, al
je 0x1400142fa
lea rcx, [rsp + 0x20]
call fcn.14001af64
movsxd rcx, dword [0x14003dac0]
lea rdx, [0x140042b40]
mov qword [rdx + rcx*8], rax
lea eax, [rcx + 1]
mov dword [0x14003dac0], eax
test eax, eax
jle 0x140014272
lea rdi, [0x140042b40]
xor ebx, ebx
nop word cs:[rax + rax]
mov rdx, qword [rdi]
mov rcx, rsi
call fcn.14001bbc0
test eax, eax
je 0x1400142db
inc rbx
movsxd rax, dword [0x14003dac0]
add rdi, 8
cmp rbx, rax
jl 0x140014250
mov rcx, rsi
call fcn.14001bbf8
cmp rax, 2
jne 0x140014289
mov bl, 1
cmp word [rsi + 2], 0x3a
je 0x1400142dd
mov rcx, rsi
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov bl, 1
test eax, eax
jne 0x1400142a8
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
sete bl
test bl, bl
je 0x1400142dd
cmp dword [0x14003dac0], 0x3ff
jg 0x1400142dd
mov rcx, rsi
call fcn.14001af64
movsxd rcx, dword [0x14003dac0]
lea rdx, [0x140042b40]
mov qword [rdx + rcx*8], rax
lea eax, [rcx + 1]
mov dword [0x14003dac0], eax
mov bl, 1
mov rcx, qword [rsp + 0x2028]
xor rcx, rsp
call fcn.140014380
mov eax, ebx
add rsp, 0x2030
pop rbx
pop rdi
pop rsi
ret
lea rcx, str._HOME_
call fcn.140013710
int3

Function at 0x140014b00
Capabilities:
Parse pe header

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

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140019e78
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x140019ee7
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140019ee7
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140019ee7
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140019ee7
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140019ee7
cmp dword [rcx + 0x84], 0xe
jbe 0x140019ee7
cmp dword [rcx + 0xf8], 0
je 0x140019ee7
mov ecx, ebx
call fcn.140019db0
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.14001a00c
nop
cmp dword [rbp + 0x20], 0
je 0x140019f35
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.140019e44
int3

Function at 0x14001c080
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14001c0a8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x14001c0a8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x1400219f4
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor ebp, ebp
mov rbx, rax
test rax, rax
je 0x140021a7b
mov rsi, rbx
cmp word [rax], bp
je 0x140021a3a
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x140021a24
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x140021a20
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.14001ee34
mov rdi, rax
test rax, rax
je 0x140021a68
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.140015350
mov rbp, rdi
xor ecx, ecx
call fcn.14001dee4
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140025b30
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x140025b46
mov al, 1
jmp 0x140025ba6
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x140025b57
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x140025ba4
mov ecx, dword [rcx + 0x18]
nop
call fcn.140021eec
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140025ba4
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x140025ba4
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x140025ba4
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x140025ba6
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x1400013d0
Capabilities:
Get system information on windows

Disassembly:
push rsi
push rdi
sub rsp, 0x68
movaps xmmword [rsp + 0x50], xmm6
mov rsi, rcx
mov rdi, qword [rcx + 0x10]
xorps xmm6, xmm6
movaps xmmword [rsp + 0x40], xmm6
movaps xmmword [rsp + 0x30], xmm6
movaps xmmword [rsp + 0x20], xmm6
lea rcx, [rsp + 0x20]
call sub.KERNEL32.dll_GetSystemInfo
mov eax, dword [rsp + 0x48]
cmp eax, 1
adc eax, 0
cmp rdi, rax
je 0x140001462
movaps xmmword [rsp + 0x40], xmm6
movaps xmmword [rsp + 0x30], xmm6
movaps xmmword [rsp + 0x20], xmm6
lea rcx, [rsp + 0x20]
call sub.KERNEL32.dll_GetSystemInfo
mov ecx, dword [rsp + 0x48]
test rcx, rcx
je 0x14000146e
mov rax, rdi
shr rax, 0x20
je 0x140001442
mov rax, rdi
xor edx, edx
div rcx
jmp 0x140001448
mov eax, edi
xor edx, edx
div ecx
sub rdi, rdx
mov rcx, rdi
call sub.KERNEL32.dll_UnmapViewOfFile
cmp qword [rsi], 0
je 0x140001462
mov rcx, qword [rsi + 8]
call sub.KERNEL32.dll_CloseHandle
movaps xmm6, xmmword [rsp + 0x50]
add rsp, 0x68
pop rdi
pop rsi
ret
lea rcx, [0x14001a530]
lea r8, str.C:Users_fhnir.cargo_registry_srcindex.crates.io_6f17d22bba15001fmemmap2_0.6.2_srcwindows.rsattempt_to_calculate_the_remainder_with_a_divisor_of_zero
mov edx, 0x39
call fcn.140019990
int3

Function at 0x140001490
Capabilities:
Get system information on windows

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x60
movaps xmmword [rsp + 0x50], xmm6
mov esi, r8d
mov rdi, rdx
mov rbx, rcx
xorps xmm6, xmm6
movaps xmmword [rsp + 0x40], xmm6
movaps xmmword [rsp + 0x30], xmm6
movaps xmmword [rsp + 0x20], xmm6
lea rcx, [rsp + 0x20]
call sub.KERNEL32.dll_GetSystemInfo
mov eax, dword [rsp + 0x48]
cmp eax, 1
adc eax, 0
cmp rax, rbx
je 0x140001530
movaps xmmword [rsp + 0x40], xmm6
movaps xmmword [rsp + 0x30], xmm6
movaps xmmword [rsp + 0x20], xmm6
lea rcx, [rsp + 0x20]
call sub.KERNEL32.dll_GetSystemInfo
mov ecx, dword [rsp + 0x48]
test rcx, rcx
je 0x14000154e
mov rax, rbx
shr rax, 0x20
je 0x140001505
mov rax, rbx
xor edx, edx
div rcx
jmp 0x14000150b
mov eax, ebx
xor edx, edx
div ecx
sub rbx, rdx
add rdi, rdx
mov dword [rsp + 0x20], 0
lea r9, [rsp + 0x20]
mov rcx, rbx
mov rdx, rdi
mov r8d, esi
call sub.KERNEL32.dll_VirtualProtect
test eax, eax
je 0x140001534
xor eax, eax
jmp 0x140001541
call sub.KERNEL32.dll_GetLastError
shl rax, 0x20
or rax, 2
movaps xmm6, xmmword [rsp + 0x50]
add rsp, 0x60
pop rbx
pop rdi
pop rsi
ret
lea rcx, [0x14001a530]
lea r8, str.C:Users_fhnir.cargo_registry_srcindex.crates.io_6f17d22bba15001fmemmap2_0.6.2_srcwindows.rsattempt_to_calculate_the_remainder_with_a_divisor_of_zero
mov edx, 0x39
call fcn.140019990
int3
Function at 0x140001650
Capabilities:
Get system information on windows

Disassembly:
push rbp
push rsi
push rdi
push rbx
sub rsp, 0x78
lea rbp, [rsp + 0x70]
movaps xmmword [rbp - 0x10], xmm6
mov qword [rbp - 0x18], 0xfffffffffffffffe
mov rsi, rcx
cmp byte [rdx + 0x20], 0
mov rdi, qword [rdx + 0x10]
mov qword [rbp - 0x20], rdx
mov rdx, qword [rdx + 0x18]
mov eax, 0x20
mov r8d, 0x80
cmove r8d, eax
mov rcx, rdi
call fcn.140001490
test rax, rax
je 0x1400016fd
mov qword [rsi + 8], rax
mov qword [rsi], 2
xorps xmm6, xmm6
movaps xmmword [rbp - 0x30], xmm6
movaps xmmword [rbp - 0x40], xmm6
movaps xmmword [rbp - 0x50], xmm6
lea rcx, [rbp - 0x50]
call sub.KERNEL32.dll_GetSystemInfo
mov eax, dword [rbp - 0x28]
cmp eax, 1
adc eax, 0
cmp rdi, rax
mov rbx, qword [rbp - 0x20]
je 0x140001739
movaps xmmword [rbp - 0x30], xmm6
movaps xmmword [rbp - 0x40], xmm6
movaps xmmword [rbp - 0x50], xmm6
lea rcx, [rbp - 0x50]
call sub.KERNEL32.dll_GetSystemInfo
mov ecx, dword [rbp - 0x28]
test rcx, rcx
je 0x140001749
mov rax, rdi
shr rax, 0x20
je 0x140001719
mov rax, rdi
xor edx, edx
div rcx
jmp 0x14000171f
mov rcx, qword [rbp - 0x20]
mov rax, qword [rcx + 0x20]
mov qword [rsi + 0x20], rax
movups xmm0, xmmword [rcx]
movups xmm1, xmmword [rcx + 0x10]
movups xmmword [rsi + 0x10], xmm1
movups xmmword [rsi], xmm0
jmp 0x140001739
mov eax, edi
xor edx, edx
div ecx
sub rdi, rdx
mov rcx, rdi
call sub.KERNEL32.dll_UnmapViewOfFile
cmp qword [rbx], 0
je 0x140001739
mov rcx, qword [rbx + 8]
call sub.KERNEL32.dll_CloseHandle
mov rax, rsi
movaps xmm6, xmmword [rbp - 0x10]
add rsp, 0x78
pop rbx
pop rdi
pop rsi
pop rbp
ret
lea rcx, [0x14001a530]
lea r8, str.C:Users_fhnir.cargo_registry_srcindex.crates.io_6f17d22bba15001fmemmap2_0.6.2_srcwindows.rsattempt_to_calculate_the_remainder_with_a_divisor_of_zero
mov edx, 0x39
call fcn.140019990
int3
Function at 0x140003b30
Capabilities:
Get common file path

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x478
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x3f0], 0xfffffffffffffffe
mov qword [rbp + 0x3e0], rcx
mov qword [rbp + 0x3c8], 0
mov qword [rbp + 0x3d0], 2
mov qword [rbp + 0x3d8], 0
mov r8d, 0x200
mov eax, 2
mov qword [rbp + 0x3e8], rax
xor ebx, ebx
xor edi, edi
xor r12d, r12d
cmp r8, 0x201
jae 0x140003bd0
jmp 0x140003bbf
jae 0x140003c90
cmp r8, 0x201
jae 0x140003bd0
mov esi, 0x200
lea r13, [rbp - 0x58]
mov r15, r8
jmp 0x140003c28
sub r8, r12
sub rdi, r12
cmp rdi, r8
jae 0x140003bff
lea rcx, [rbp + 0x3c8]
mov rdx, r12
call fcn.140019130
mov rbx, qword [rbp + 0x3c8]
mov rax, qword [rbp + 0x3d0]
mov qword [rbp + 0x3e8], rax
mov eax, 0xffffffff
cmp rbx, rax
mov r12d, 0xffffffff
cmovb r12, rbx
mov qword [rbp + 0x3d8], r12
mov rdi, rbx
mov rsi, r12
mov r13, qword [rbp + 0x3e8]
mov r15, r12
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, r15d
mov rdx, r13
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov r14d, eax
test eax, eax
jne 0x140003c51
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x140003cf8
mov r8d, r14d
cmp r15, r8
jne 0x140003bb0
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x140003d25
add r15, r15
mov eax, 0xffffffff
cmp r15, rax
cmovae r15, rax
mov r8, r15
cmp r8, 0x201
jb 0x140003bbf
jmp 0x140003bd0
cmp rsi, r8
jb 0x140003d3f
lea rcx, [rbp + 0x3a8]
mov rdx, r13
call fcn.140005180
movups xmm0, xmmword [rbp + 0x3a8]
movups xmm1, xmmword [rbp + 0x3b8]
mov rsi, qword [rbp + 0x3e0]
movups xmmword [rsi + 0x10], xmm1
movups xmmword [rsi], xmm0
test rbx, rbx
je 0x140003ce1
add rbx, rbx
mov r8d, 2
mov rcx, qword [rbp + 0x3e8]
mov rdx, rbx
call fcn.1400013a0
mov rax, rsi
add rsp, 0x478
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
shl rax, 0x20
or rax, 2
mov rsi, qword [rbp + 0x3e0]
mov qword [rsi + 8], rax
movabs rax, 0x8000000000000000
mov qword [rsi], rax
test rbx, rbx
jne 0x140003cc9
jmp 0x140003ce1
lea rcx, str.internal_error:_entered_unreachable_code_rustc_7ffc697ce10f19447c0ce338428ae4b9bc0c041clibrary_alloc_src_vecmod.rs
lea r8, str.library_std_src_syspalwindowsmod.rs
mov edx, 0x28
call fcn.140019990
jmp 0x140003d54
lea rax, str.library_std_src_syspalwindowsmod.rs
mov rcx, r8
mov rdx, rsi
mov r8, rax
call fcn.140019de0
ud2
Function at 0x1400096b0
Capabilities:
Write file on windows

Disassembly:
push rsi
push rdi
sub rsp, 0xa8
mov rdi, rdx
mov rsi, rcx
mov rcx, qword [rsp + 0xe0]
movups xmm0, xmmword [0x14001bea8]
movaps xmmword [rsp + 0x60], xmm0
mov eax, 0xffffffff
cmp r9, rax
cmovb rax, r9
test rcx, rcx
je 0x1400096f4
mov rdx, qword [rsp + 0xe8]
mov qword [rsp + 0x80], rdx
test rcx, rcx
mov qword [rsp + 0x78], rcx
lea rdx, [rsp + 0x80]
cmove rdx, rcx
mov qword [rsp + 0x38], rdx
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], r8
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x40], 0
mov rcx, rdi
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ntdll.dll_NtWriteFile]
cmp eax, 0x103
jne 0x14000975a
mov rcx, rdi
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [rsp + 0x60]
cmp eax, 0x103
je 0x140009791
test eax, eax
js 0x14000976b
mov rax, qword [rsp + 0x68]
mov qword [rsi + 8], rax
xor eax, eax
jmp 0x140009784
mov ecx, eax
call qword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov eax, 1
mov qword [rsi], rax
add rsp, 0xa8
pop rdi
pop rsi
ret
mov dword [rsp + 0x58], 0
mov byte [rsp + 0x5c], 0
lea rax, str.fatal_runtime_error:_I_O_error:_operation_failed_to_complete_synchronously_n
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x80], 1
lea rax, [rsp + 0x50]
mov qword [rsp + 0x88], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x90], xmm0
lea rcx, [rsp + 0x58]
lea rdx, [rsp + 0x78]
call fcn.140004f50
mov qword [rsp + 0x70], rax
lea rcx, [rsp + 0x70]
call fcn.140001f60
mov ecx, 7
int 0x29
ud2
Function at 0x140017430
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
test r8, r8
je 0x1400174aa
mov rax, rdx
mov rdx, qword [rsp + 0x70]
mov esi, ecx
shr esi, 8
lea r8, [rax + r8*2]
xor r11d, r11d
mov rbx, rax
movzx edi, byte [rax + 1]
add rax, 2
lea r10, [r11 + rdi]
cmp byte [rbx], sil
jne 0x1400174a0
cmp r11, r10
ja 0x140017535
cmp r10, rdx
ja 0x140017547
add r11, r9
xor ebx, ebx
nop dword [rax]
cmp rdi, rbx
je 0x1400174a2
lea r14, [rbx + 1]
cmp byte [r11 + rbx], cl
mov rbx, r14
jne 0x140017480
jmp 0x140017517
ja 0x1400174aa
mov r11, r10
cmp rax, r8
jne 0x140017452
mov rdx, qword [rsp + 0x80]
test rdx, rdx
je 0x14001751b
mov r8, qword [rsp + 0x78]
add rdx, r8
movzx ecx, cx
mov al, 1
nop word cs:[rax + rax]
lea r10, [r8 + 1]
movzx r9d, byte [r8]
test r9b, r9b
js 0x1400174f0
mov r8, r10
sub ecx, r9d
jns 0x14001750e
jmp 0x14001751d
cmp r10, rdx
je 0x140017529
movzx r10d, byte [r8 + 1]
add r8, 2
and r9d, 0x7f
shl r9d, 8
or r9d, r10d
sub ecx, r9d
js 0x14001751d
xor al, 1
cmp r8, rdx
jne 0x1400174d0
jmp 0x14001751d
xor eax, eax
jmp 0x14001751d
mov al, 1
and al, 1
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
lea rcx, str.librarycore_srcunicodeprintable.rs
call fcn.140019830
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r11
mov rdx, r10
call fcn.140019e60
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r10
call fcn.140019de0
int3

Function at 0x140018b00
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140018b4a
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140018b4a
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140018b4a
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140018b4a
cmp dword [rcx + 0x84], 0xe
jbe 0x140018b4a
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140018b4c
xor al, al
add rsp, 0x28
ret
Function at 0x1412d30b0
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.1412d3237
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x1412d30e1
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1412d30c7
add dl, dl
jne 0x1412d30ee
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1412d314e
xor eax, eax
add dl, dl
jne 0x1412d30fd
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1412d3205
add dl, dl
jne 0x1412d310e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1412d311b
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1412d3128
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1412d3135
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1412d3142
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x1412d30d6
mov eax, 1
add dl, dl
jne 0x1412d315e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1412d316b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1412d3153
sub eax, ebx
mov ebx, 1
jne 0x1412d31a4
mov ecx, 1
add dl, dl
jne 0x1412d3186
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1412d3193
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1412d317b
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1412d30d6
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1412d31c0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1412d31cd
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1412d31b5
cmp eax, 0x7d00
jae 0x1412d31f3
cmp eax, 0x500
jb 0x1412d31ee
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1412d30d6
cmp eax, 0x7f
ja 0x1412d31f6
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1412d30d6
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1412d322a
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x1412d30d6
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140013f00
Capabilities:
Hash data using fnv

Disassembly:
push rsi
push rdi
sub rsp, 0x28
movabs rax, 0xfffffffffffffff
mov rsi, rcx
bsr rcx, rax
mov edi, 1
mov eax, edi
shl rax, cl
cmp rdx, rax
jbe 0x140013f35
lea rcx, str.invalid_hash_bucket_count
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
lea rax, [rdx - 1]
mov qword [rsp + 0x50], rbx
mov rbx, qword [rsi + 8]
or rax, rdi
bsr rcx, rax
mov r8, rbx
mov qword [rsp + 0x20], r14
inc ecx
shl rdi, cl
lea rcx, [rsi + 0x18]
lea rdx, [rdi + rdi]
call fcn.1400139a0
lea rax, [rdi - 1]
mov qword [rsi + 0x38], rdi
mov qword [rsi + 0x30], rax
mov rax, qword [rsi + 8]
mov rax, qword [rax]
mov rcx, rax
cmp rax, rbx
je 0x140014076
mov qword [rsp + 0x58], rbp
movabs rdi, 0x100000001b3
movabs rbp, 0xcbf29ce484222325
nop dword [rax + rax]
movzx edx, byte [rax + 0x11]
movzx r9d, byte [rax + 0x10]
mov r11, qword [rsi + 0x30]
xor r9, rbp
mov rcx, qword [rcx]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x12]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x13]
imul r9, rdi
xor r9, rdx
imul r9, rdi
and r11, r9
shl r11, 4
add r11, qword [rsi + 0x18]
mov r9, qword [r11]
cmp r9, rbx
jne 0x140013ff0
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x140014065
mov rdx, qword [r11 + 8]
mov r8d, dword [rax + 0x10]
cmp r8d, dword [rdx + 0x10]
jne 0x14001402d
mov r10, qword [rdx]
cmp r10, rax
je 0x140014027
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
mov qword [r11 + 8], rax
jmp 0x140014065
cmp r9, rdx
je 0x140014041
mov rdx, qword [rdx + 8]
cmp r8d, dword [rdx + 0x10]
je 0x140014087
cmp r9, rdx
jne 0x140014032
mov r10, qword [rax + 8]
mov qword [r10], rcx
mov r9, qword [rcx + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], rax
mov qword [rdx + 8], r9
mov qword [rcx + 8], r10
mov qword [rax + 8], r8
mov qword [r11], rax
mov rax, rcx
cmp rcx, rbx
jne 0x140013fa0
mov rbp, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x50]
mov r14, qword [rsp + 0x20]
add rsp, 0x28
pop rdi
pop rsi
ret
mov r10, qword [rdx]
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
jmp 0x140014065