joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401dc0
Capabilities:
Allocate or change rwx memory

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rdi, dword [0x0044b614]
mov r12, rcx
mov rsi, rdx
mov rbx, r8
test edi, edi
jle 0x401f68
mov rax, qword [0x0044b618]
xor ecx, ecx
add rax, 0x18
nop
mov rdx, qword [rax]
cmp r12, rdx
jb 0x401e0c
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp r12, rdx
jb 0x401e97
add ecx, 1
add rax, 0x28
cmp ecx, edi
jne 0x401df0
mov rcx, r12
call fcn.00402b20
mov rbp, rax
test rax, rax
je 0x401fa2
mov rax, qword [0x0044b618]
lea rdi, [rdi + rdi*4]
shl rdi, 3
add rax, rdi
mov qword [rax + 0x20], rbp
mov dword [rax], 0
call fcn.00402c50
mov ecx, dword [rbp + 0xc]
lea rdx, [rsp + 0x20]
mov r8d, 0x30
add rcx, rax
mov rax, qword [0x0044b618]
mov qword [rax + rdi + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x401fb1
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x401e90
sub eax, 4
and eax, 0xfffffffb
jne 0x401f20
add dword [0x0044b614], 1
cmp ebx, 8
jae 0x401ec8
test bl, 4
jne 0x401f70
test ebx, ebx
je 0x401eb9
movzx eax, byte [rsi]
mov byte [r12], al
test bl, 2
jne 0x401f90
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov rax, qword [rsi]
lea rcx, [r12 + 8]
and rcx, 0xfffffffffffffff8
mov qword [r12], rax
mov eax, ebx
mov rdx, qword [rsi + rax - 8]
mov qword [r12 + rax - 8], rdx
sub r12, rcx
add ebx, r12d
sub rsi, r12
and ebx, 0xfffffff8
cmp ebx, 8
jb 0x401eb9
and ebx, 0xfffffff8
xor eax, eax
mov edx, eax
add eax, 8
mov r8, qword [rsi + rdx]
mov qword [rcx + rdx], r8
cmp eax, ebx
jb 0x401efa
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 0x40
add rdi, qword [0x0044b618]
mov qword [rdi + 8], rcx
mov r9, rdi
mov qword [rdi + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x401e90
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.00401d50
nop dword [rax]
xor edi, edi
jmp 0x401e17
mov eax, dword [rsi]
mov ebx, ebx
mov dword [r12], eax
mov eax, dword [rsi + rbx - 4]
mov dword [r12 + rbx - 4], eax
jmp 0x401eb9
mov ebx, ebx
movzx eax, word [rsi + rbx - 2]
mov word [r12 + rbx - 2], ax
jmp 0x401eb9
mov rdx, r12
lea rcx, str.Address__p_has_no_image_section
call fcn.00401d50
mov rax, qword [0x0044b618]
mov edx, dword [rbp + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rdi + 0x18]
call fcn.00401d50
nop
nop dword [rax]
Function at 0x402790
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x0044b900]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x0044b8e0]
test rbx, rbx
je 0x4027e4
mov rdi, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rsi, qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [rbx]
call rdi
mov r12, rax
call rsi
test eax, eax
jne 0x4027db
test r12, r12
je 0x4027db
mov rax, qword [rbx + 8]
mov rcx, r12
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x4027c0
lea rcx, [0x0044b900]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]

Function at 0x402b20
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r10, qword [0x004483b0]
xor r8d, r8d
cmp word [r10], 0x5a4d
mov r9, rcx
jne 0x402b99
mov rcx, r10
call fcn.004029f0
test eax, eax
je 0x402b99
movsxd rax, dword [r10 + 0x3c]
mov rcx, r9
sub rcx, r10
add r10, rax
movzx eax, word [r10 + 0x14]
lea r8, [r10 + rax + 0x18]
movzx eax, word [r10 + 6]
test eax, eax
je 0x402b96
sub eax, 1
lea rax, [rax + rax*4]
lea r9, [r8 + rax*8 + 0x28]
nop dword [rax]
mov edx, dword [r8 + 0xc]
mov rax, rdx
cmp rcx, rdx
jb 0x402b8d
add eax, dword [r8 + 8]
cmp rcx, rax
jb 0x402b99
add r8, 0x28
cmp r8, r9
jne 0x402b78
xor r8d, r8d
mov rax, r8
add rsp, 0x28
ret
Function at 0x1400092f0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov rdx, rcx
mov dword [rcx], 0x467a0000
mov dword [rcx + 4], 0x41200000
mov dword [rcx + 8], 0x41c80000
mov dword [rcx + 0xc], 0x37fba882
mov dword [rcx + 0x10], 0x3f7851ec
mov byte [rcx + 0x14], 1
xorps xmm0, xmm0
movups xmmword [rcx + 0x18], xmm0
mov qword [rcx + 0x28], 5
mov qword [rcx + 0x30], 0xf
mov eax, dword [str.povey]
mov dword [rcx + 0x18], eax
movzx eax, byte [0x14006913c]
mov byte [rcx + 0x1c], al
mov byte [rcx + 0x1d], 0
mov byte [rcx + 0x38], 1
mov dword [rcx + 0x3c], 0x3ed70a3d
mov byte [rcx + 0x40], 1
add rcx, 0x48
mov qword [rsp + 8], rcx
mov dword [rcx], 0x19
mov qword [rcx + 4], 0x41a00000
xor r8d, r8d
mov dword [rcx + 0xc], 0x42c80000
mov dword [rcx + 0x10], 0xc3fa0000
mov word [rcx + 0x14], r8w
mov byte [rcx + 0x16], r8b
movups xmmword [rcx + 0x18], xmm0
mov qword [rcx + 0x28], 6
mov qword [rcx + 0x30], 0xf
mov eax, dword [str.slaney]
mov dword [rcx + 0x18], eax
movzx eax, word [0x140069144]
mov word [rcx + 0x1c], ax
mov byte [rcx + 0x1e], r8b
mov byte [rdx + 0x80], r8b
mov dword [rdx + 0x84], r8d
mov dword [rdx + 0x88], 0x1010001
mov dword [rcx], 0x17
mov rax, rdx
ret

Function at 0x140009440
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov rdx, rcx
mov dword [rcx], 0x467a0000
mov dword [rcx + 4], 0x41200000
mov dword [rcx + 8], 0x41c80000
mov dword [rcx + 0xc], 0x37fba882
mov dword [rcx + 0x10], 0x3f7851ec
mov byte [rcx + 0x14], 1
xorps xmm0, xmm0
movups xmmword [rcx + 0x18], xmm0
mov qword [rcx + 0x28], 5
mov qword [rcx + 0x30], 0xf
mov eax, dword [str.povey]
mov dword [rcx + 0x18], eax
movzx eax, byte [0x14006913c]
mov byte [rcx + 0x1c], al
mov byte [rcx + 0x1d], 0
mov byte [rcx + 0x38], 1
mov dword [rcx + 0x3c], 0x3ed70a3d
mov byte [rcx + 0x40], 1
add rcx, 0x48
mov qword [rsp + 8], rcx
mov dword [rcx], 0x19
mov qword [rcx + 4], 0x41a00000
xor r8d, r8d
mov dword [rcx + 0xc], 0x42c80000
mov dword [rcx + 0x10], 0xc3fa0000
mov word [rcx + 0x14], r8w
mov byte [rcx + 0x16], r8b
movups xmmword [rcx + 0x18], xmm0
mov qword [rcx + 0x28], 6
mov qword [rcx + 0x30], 0xf
mov eax, dword [str.slaney]
mov dword [rcx + 0x18], eax
movzx eax, word [0x140069144]
mov word [rcx + 0x1c], ax
mov byte [rcx + 0x1e], r8b
mov dword [rdx + 0x80], 0xd
mov byte [rdx + 0x84], 1
mov dword [rdx + 0x88], r8d
mov byte [rdx + 0x8c], 1
mov dword [rdx + 0x90], 0x41b00000
mov byte [rdx + 0x94], r8b
mov dword [rcx], 0x17
mov rax, rdx
ret
Function at 0x14000c490
Capabilities:
Read file on windows

Disassembly:
push rbx
push r14
push r15
sub rsp, 0x20
mov r15, r8
mov r14, rdx
mov rbx, rcx
test r8, r8
jg 0x14000c4b4
xor eax, eax
add rsp, 0x20
pop r15
pop r14
pop rbx
ret
cmp qword [rcx + 0x68], 0
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x50], rdi
je 0x14000c542
mov rdi, r15
mov qword [rsp + 0x40], rbp
lea rsi, [rcx + 0x50]
mov rax, qword [rbx + 0x38]
mov rdx, qword [rax]
test rdx, rdx
je 0x14000c510
mov rax, qword [rsi]
movsxd rcx, dword [rax]
test ecx, ecx
jle 0x14000c510
cmp rdi, rcx
mov rbp, rdi
cmovge rbp, rcx
mov rcx, r14
mov r8, rbp
call fcn.140059490
mov rax, qword [rsi]
sub rdi, rbp
sub dword [rax], ebp
mov rcx, qword [rbx + 0x38]
movsxd rax, ebp
add qword [rcx], rax
jmp 0x14000c52d
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x38]
cmp eax, 0xffffffff
je 0x14000c535
mov byte [r14], al
lea rsi, [rbx + 0x50]
dec rdi
mov ebp, 1
add r14, rbp
test rdi, rdi
jg 0x14000c4d1
mov rbp, qword [rsp + 0x40]
sub r15, rdi
jmp 0x14000c620
mov rax, qword [rcx + 0x38]
mov rsi, r15
mov rdx, qword [rax]
test rdx, rdx
je 0x14000c559
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x14000c55b
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x14000c58d
cmp rax, r15
mov rdi, r15
mov rcx, r14
cmovb rdi, rax
mov r8, rdi
call fcn.140059490
mov rax, qword [rbx + 0x50]
add r14, rdi
sub rsi, rdi
sub dword [rax], edi
mov rcx, qword [rbx + 0x38]
movsxd rax, edi
add qword [rcx], rax
cmp qword [rbx + 0x80], 0
je 0x14000c61d
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x14000c5c8
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
cmp rsi, 0xfff
jbe 0x14000c5fe
mov r9, qword [rbx + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, r14
call fcn.140039710
add r14, rax
sub rsi, rax
cmp rax, 0xfff
jne 0x14000c61d
cmp rsi, rax
ja 0x14000c5d1
test rsi, rsi
je 0x14000c61d
mov r9, qword [rbx + 0x80]
mov r8, rsi
mov edx, 1
mov rcx, r14
call fcn.140039710
sub rsi, rax
sub r15, rsi
mov rsi, qword [rsp + 0x48]
mov rax, r15
mov rdi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop rbx
ret
Function at 0x140011e30
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x70
mov rax, qword [0x140078080]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov r14, r9
mov rbp, r8
mov rbx, rdx
mov rdi, rcx
lea rcx, [rsp + 0x40]
call fcn.140005a20
nop
lea rdx, [rsp + 0x40]
call fcn.140010460
lea rdx, [rsp + 0x40]
cmp qword [rsp + 0x58], 0xf
cmova rdx, qword [rsp + 0x40]
xor ecx, ecx
movabs r9, 0xcbf29ce484222325
mov r8, qword [rsp + 0x50]
test r8, r8
je 0x140011eb3
movabs r10, 0x100000001b3
nop dword [rax]
movzx eax, byte [rdx + rcx]
xor r9, rax
imul r9, r10
inc rcx
cmp rcx, r8
jb 0x140011ea0
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x30]
lea rcx, [rdi + 0x1c0]
call fcn.140012960
mov rcx, qword [rax + 8]
test rcx, rcx
jne 0x140011ed9
mov rcx, qword [rdi + 0x1c8]
cmp rcx, qword [rdi + 0x1c8]
je 0x140011f52
mov ecx, 2
call fcn.140034bf8
mov rcx, rax
mov dword [rsp + 0x20], 0x65
lea r9, str.RegisterCommon
lea r8, str.D:_a_sherpa_onnx_sherpa_onnx_sherpa_onnxcsrcparse_options.cc
lea rdx, str._s:_s:_d
call fcn.1400010a0
cmp qword [rbx + 0x18], 0xf
jbe 0x140011f1b
mov rbx, qword [rbx]
mov ecx, 2
call fcn.140034bf8
mov r8, rbx
lea rdx, str.Registering_option_twice__ignoring_second_time:__s
mov rcx, rax
call fcn.1400010a0
mov ecx, 2
call fcn.140034bf8
mov rcx, rax
lea rdx, [0x140068da4]
call fcn.1400010a0
jmp 0x140011f77
movzx eax, byte [rsp + 0xc0]
mov byte [rsp + 0x28], al
mov qword [rsp + 0x20], r14
mov r9, rbp
lea r8, [rsp + 0x40]
mov rdx, rbx
mov rcx, rdi
call fcn.14000df90
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 0xf
jbe 0x140011fb0
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140011fab
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140011fc8
call fcn.14002ec8c
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.14002ec30
add rsp, 0x70
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
call fcn.140037d14
int3
Function at 0x140011fd0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x70
mov rax, qword [0x140078080]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov r14, r9
mov rbp, r8
mov rbx, rdx
mov rdi, rcx
lea rcx, [rsp + 0x40]
call fcn.140005a20
nop
lea rdx, [rsp + 0x40]
call fcn.140010460
lea rdx, [rsp + 0x40]
cmp qword [rsp + 0x58], 0xf
cmova rdx, qword [rsp + 0x40]
xor ecx, ecx
movabs r9, 0xcbf29ce484222325
mov r8, qword [rsp + 0x50]
test r8, r8
je 0x140012053
movabs r10, 0x100000001b3
nop dword [rax]
movzx eax, byte [rdx + rcx]
xor r9, rax
imul r9, r10
inc rcx
cmp rcx, r8
jb 0x140012040
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x30]
lea rcx, [rdi + 0x1c0]
call fcn.140012960
mov rcx, qword [rax + 8]
test rcx, rcx
jne 0x140012079
mov rcx, qword [rdi + 0x1c8]
cmp rcx, qword [rdi + 0x1c8]
je 0x1400120f2
mov ecx, 2
call fcn.140034bf8
mov rcx, rax
mov dword [rsp + 0x20], 0x65
lea r9, str.RegisterCommon
lea r8, str.D:_a_sherpa_onnx_sherpa_onnx_sherpa_onnxcsrcparse_options.cc
lea rdx, str._s:_s:_d
call fcn.1400010a0
cmp qword [rbx + 0x18], 0xf
jbe 0x1400120bb
mov rbx, qword [rbx]
mov ecx, 2
call fcn.140034bf8
mov r8, rbx
lea rdx, str.Registering_option_twice__ignoring_second_time:__s
mov rcx, rax
call fcn.1400010a0
mov ecx, 2
call fcn.140034bf8
mov rcx, rax
lea rdx, [0x140068da4]
call fcn.1400010a0
jmp 0x14001210b
mov qword [rsp + 0x20], r14
mov r9, rbp
lea r8, [rsp + 0x40]
mov rdx, rbx
mov rcx, rdi
call fcn.14000e2c0
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 0xf
jbe 0x140012144
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001213f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001215c
call fcn.14002ec8c
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.14002ec30
add rsp, 0x70
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
call fcn.140037d14
int3
Function at 0x140012170
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x70
mov rax, qword [0x140078080]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov r14, r9
mov rbp, r8
mov rbx, rdx
mov rdi, rcx
lea rcx, [rsp + 0x40]
call fcn.140005a20
nop
lea rdx, [rsp + 0x40]
call fcn.140010460
lea rdx, [rsp + 0x40]
cmp qword [rsp + 0x58], 0xf
cmova rdx, qword [rsp + 0x40]
xor ecx, ecx
movabs r9, 0xcbf29ce484222325
mov r8, qword [rsp + 0x50]
test r8, r8
je 0x1400121f3
movabs r10, 0x100000001b3
nop dword [rax]
movzx eax, byte [rdx + rcx]
xor r9, rax
imul r9, r10
inc rcx
cmp rcx, r8
jb 0x1400121e0
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x30]
lea rcx, [rdi + 0x1c0]
call fcn.140012960
mov rcx, qword [rax + 8]
test rcx, rcx
jne 0x140012219
mov rcx, qword [rdi + 0x1c8]
cmp rcx, qword [rdi + 0x1c8]
je 0x140012292
mov ecx, 2
call fcn.140034bf8
mov rcx, rax
mov dword [rsp + 0x20], 0x65
lea r9, str.RegisterCommon
lea r8, str.D:_a_sherpa_onnx_sherpa_onnx_sherpa_onnxcsrcparse_options.cc
lea rdx, str._s:_s:_d
call fcn.1400010a0
cmp qword [rbx + 0x18], 0xf
jbe 0x14001225b
mov rbx, qword [rbx]
mov ecx, 2
call fcn.140034bf8
mov r8, rbx
lea rdx, str.Registering_option_twice__ignoring_second_time:__s
mov rcx, rax
call fcn.1400010a0
mov ecx, 2
call fcn.140034bf8
mov rcx, rax
lea rdx, [0x140068da4]
call fcn.1400010a0
jmp 0x1400122b7
movzx eax, byte [rsp + 0xc0]
mov byte [rsp + 0x28], al
mov qword [rsp + 0x20], r14
mov r9, rbp
lea r8, [rsp + 0x40]
mov rdx, rbx
mov rcx, rdi
call fcn.14000e520
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 0xf
jbe 0x1400122f0
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400122eb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140012308
call fcn.14002ec8c
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.14002ec30
add rsp, 0x70
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
call fcn.140037d14
int3
Function at 0x140019a10
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdx, qword [rcx + 0x10]
mov rdi, rcx
add rdx, 1
mov rbx, qword [rcx + 0x38]
xorps xmm0, xmm0
js 0x140019a35
cvtsi2ss xmm0, rdx
jmp 0x140019a4a
mov rax, rdx
and edx, 1
shr rax, 1
or rax, rdx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
divss xmm0, dword [rcx]
call fcn.140054d24
movss xmm1, dword [0x14006a510]
xor ecx, ecx
comiss xmm0, xmm1
jb 0x140019a78
subss xmm0, xmm1
comiss xmm0, xmm1
jae 0x140019a78
movabs rax, 0x8000000000000000
mov rcx, rax
cvttss2si rax, xmm0
add rax, rcx
mov ecx, 8
cmp rax, rcx
cmova rcx, rax
cmp rbx, rcx
jae 0x140019aaa
cmp rbx, 0x200
jae 0x140019aa7
lea rbx, [rbx*8]
cmp rbx, rcx
jae 0x140019aaa
mov rbx, rcx
mov rdx, rbx
mov rcx, rdi
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.140012ef0
Function at 0x1400222c0
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
movabs rax, 0xfffffffffffffff
mov rsi, rcx
bsr rcx, rax
mov edi, 1
mov eax, edi
shl rax, cl
cmp rdx, rax
ja 0x14002246f
lea rax, [rdx - 1]
mov qword [rsp + 0x30], rbx
mov rbx, qword [rsi + 8]
or rax, rdi
bsr rcx, rax
mov r8, rbx
mov qword [rsp + 0x40], r14
inc ecx
shl rdi, cl
lea rcx, [rsi + 0x18]
lea rdx, [rdi + rdi]
call fcn.140002ec0
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 0x140022434
mov qword [rsp + 0x38], rbp
movabs rdi, 0x100000001b3
movabs rbp, 0xcbf29ce484222325
nop dword [rax]
nop dword [rax + rax]
movzx edx, byte [rax + 0x11]
movzx r11d, byte [rax + 0x10]
mov rcx, qword [rcx]
xor r11, rbp
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x12]
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x13]
imul r11, rdi
xor r11, rdx
imul r11, rdi
and r11, qword [rsi + 0x30]
shl r11, 4
add r11, qword [rsi + 0x18]
mov r9, qword [r11]
cmp r9, rbx
jne 0x1400223ad
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x140022423
mov rdx, qword [r11 + 8]
mov r8d, dword [rax + 0x10]
cmp r8d, dword [rdx + 0x10]
jne 0x1400223ea
mov r10, qword [rdx]
cmp r10, rax
je 0x1400223e4
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 0x140022423
cmp r9, rdx
je 0x1400223ff
nop
mov rdx, qword [rdx + 8]
cmp r8d, dword [rdx + 0x10]
je 0x140022449
cmp r9, rdx
jne 0x1400223f0
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 0x140022360
mov rbp, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
mov r14, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
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 0x140022423
lea rcx, str.invalid_hash_bucket_count
call fcn.14002d554
int3
Function at 0x14002fb74
Capabilities:
Parse pe header

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

Function at 0x1400348bc
Capabilities:
Parse pe header

Disassembly:
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 0x14003492b
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14003492b
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14003492b
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14003492b
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14003492b
cmp dword [rcx + 0x84], 0xe
jbe 0x14003492b
cmp dword [rcx + 0xf8], 0
je 0x14003492b
mov ecx, ebx
call fcn.1400349e8
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.1400347b8
nop
cmp dword [rbp + 0x20], 0
je 0x140034979
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.140034984
int3
xor r8d, r8d
xor edx, edx
jmp 0x1400348bc

Function at 0x140034acc
Capabilities:
Parse pe header

Disassembly:
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 0x14003492b
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14003492b
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14003492b
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14003492b
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14003492b
cmp dword [rcx + 0x84], 0xe
jbe 0x14003492b
cmp dword [rcx + 0xf8], 0
je 0x14003492b
mov ecx, ebx
call fcn.1400349e8
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.1400347b8
nop
cmp dword [rbp + 0x20], 0
je 0x140034979
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.140034984
int3
xor r8d, r8d
xor edx, edx
jmp 0x1400348bc
Function at 0x140047708
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r14
sub rsp, 0x20
mov rsi, rcx
test rcx, rcx
jne 0x14004773a
call fcn.14003b5f4
mov dword [rax], 0x16
call fcn.140037cf4
jmp 0x140047859
mov eax, dword [rcx + 0x14]
shr eax, 0xd
test al, 1
je 0x140047859
mov eax, dword [rcx + 0x14]
shr eax, 0xc
test al, 1
jne 0x140047859
mov eax, dword [rcx + 0x14]
shr eax, 1
test al, 1
je 0x140047769
lock or dword [rcx + 0x14], 0x10
jmp 0x140047859
lock or dword [rcx + 0x14], 1
mov eax, dword [rcx + 0x14]
test eax, 0x4c0
jne 0x14004777d
call fcn.140047e04
mov rdi, qword [rsi + 8]
mov rcx, rsi
mov ebx, dword [rsi + 0x20]
mov qword [rsi], rdi
call fcn.140044f54
mov r8d, ebx
mov rdx, rdi
mov ecx, eax
call fcn.14004831c
mov dword [rsi + 0x10], eax
lea ecx, [rax + 1]
cmp ecx, 1
jbe 0x140047847
mov eax, dword [rsi + 0x14]
or edi, 0xffffffff
test al, 6
jne 0x140047812
mov rcx, rsi
call fcn.140044f54
cmp eax, edi
je 0x1400477fd
mov rcx, rsi
call fcn.140044f54
cmp eax, 0xfffffffe
je 0x1400477fd
mov rcx, rsi
call fcn.140044f54
movsxd rbx, eax
lea r14, [0x14007a6c0]
mov rcx, rsi
sar rbx, 6
call fcn.140044f54
and eax, 0x3f
lea rcx, [rax + rax*8]
mov rax, qword [r14 + rbx*8]
lea rdx, [rax + rcx*8]
jmp 0x140047804
lea rdx, [0x140078310]
mov al, byte [rdx + 0x38]
and al, 0x82
cmp al, 0x82
jne 0x140047812
lock or dword [rsi + 0x14], 0x20
cmp dword [rsi + 0x20], 0x200
jne 0x140047836
mov eax, dword [rsi + 0x14]
shr eax, 6
test al, 1
je 0x140047836
mov eax, dword [rsi + 0x14]
shr eax, 8
test al, 1
jne 0x140047836
mov dword [rsi + 0x20], 0x1000
mov rax, qword [rsi]
add dword [rsi + 0x10], edi
movzx edi, byte [rax]
inc rax
mov qword [rsi], rax
jmp 0x14004785c
neg eax
sbb eax, eax
and eax, 8
add eax, 8
lock or dword [rsi + 0x14], eax
and dword [rsi + 0x10], 0
or edi, 0xffffffff
mov rbx, qword [rsp + 0x30]
mov eax, edi
mov rdi, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop r14
ret