joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18006c910
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r15
sub rsp, 0x30
xor edi, edi
movsxd rsi, r8d
mov rbp, rdx
mov r15, rcx
test rdx, rdx
je 0x18006c958
cmp esi, 1
jl 0x18006c958
movzx eax, word [rdx + 2]
cmp esi, eax
jg 0x18006c958
mov rax, qword [rdx + 0x28]
lea rcx, [rsi + rsi*8]
lea rax, [rax + rcx*8]
add rax, 0xffffffffffffffb8
mov rbp, qword [rsp + 0x68]
add rsp, 0x30
pop r15
pop rdi
pop rsi
ret
mov rdx, qword [r15 + 0x90]
imul rax, rbp, 0x100011b
imul rcx, rsi, 0x1000193
mov qword [rsp + 0x50], rbx
xor rcx, rax
mov rax, qword [r15 + 0x78]
and rdx, rcx
add rdx, rdx
mov rbx, qword [rax + rdx*8 + 8]
cmp rbx, qword [r15 + 0x68]
jne 0x18006c98f
mov rbx, rdi
jmp 0x18006c9cb
mov qword [rsp + 0x60], r14
mov r14, qword [rax + rdx*8]
nop dword [rax + rax]
lea rcx, [rbx + 0x10]
lea rdx, [rsp + 0x20]
call fcn.1800802a0
cmp rbp, qword [rax]
jne 0x18006c9b8
cmp esi, dword [rax + 8]
je 0x18006c9c6
cmp rbx, r14
je 0x18006c9c3
mov rbx, qword [rbx + 8]
jmp 0x18006c9a0
mov rbx, rdi
mov r14, qword [rsp + 0x60]
test rbx, rbx
je 0x18006c9e1
cmp rbx, qword [r15 + 0x68]
je 0x18006c9e1
mov rax, qword [rbx + 0x10]
cmp byte [rax], 2
cmove rdi, rax
mov rbx, qword [rsp + 0x50]
mov rax, rdi
mov rbp, qword [rsp + 0x68]
add rsp, 0x30
pop r15
pop rdi
pop rsi
ret

Function at 0x18006ccc0
Capabilities:
Hash data using fnv

Disassembly:
mov r11, rsp
push rsi
push r14
push r15
sub rsp, 0xa0
movups xmm0, xmmword [r9]
mov r14, rdx
mov qword [r11 + 0x10], rbx
mov r15, rcx
lea rax, [rsp + 0x30]
movups xmmword [rsp + 0x38], xmm0
mov qword [r11 - 0x70], r8
lea rdx, [r11 - 0x60]
lea rcx, [r11 + 8]
mov byte [rsp + 0x30], 0xb
mov qword [r11 + 8], rax
call fcn.18007ffc0
xor esi, esi
mov r10, rax
mov edx, esi
mov r8, qword [rax + 8]
mov r9, qword [rax + 0x10]
add r9, r8
cmp r8, r9
jae 0x18006cd33
nop dword [rax + rax]
movsx rax, byte [r8]
lea rdx, [rdx + rdx*4]
add rdx, rax
inc r8
cmp r8, r9
jb 0x18006cd20
imul rcx, qword [r10], 0x1000193
mov rax, qword [r15 + 0x18]
xor rcx, rdx
and rcx, qword [r15 + 0x30]
add rcx, rcx
mov rbx, qword [rax + rcx*8 + 8]
cmp rbx, qword [r15 + 8]
je 0x18006cdeb
mov qword [rsp + 0xd0], rbp
mov rbp, qword [rax + rcx*8]
mov qword [rsp + 0xd8], rdi
nop dword [rax + rax]
lea rcx, [rbx + 0x10]
lea rdx, [rsp + 0x70]
call fcn.18007ffc0
lea rdx, [rsp + 0x88]
mov rdi, rax
lea rcx, [rsp + 0xc0]
call fcn.18007ffc0
mov rcx, qword [rdi]
cmp qword [rax], rcx
jne 0x18006cdcd
movups xmm0, xmmword [rdi + 8]
mov r8, qword [rax + 0x10]
mov rcx, qword [rax + 8]
movaps xmmword [rsp + 0x20], xmm0
cmp r8, qword [rdi + 0x10]
jne 0x18006cdcd
mov rdx, qword [rsp + 0x20]
cmp rcx, rdx
je 0x18006cdd8
test r8, r8
je 0x18006cdd8
call fcn.1800db910
test eax, eax
je 0x18006cdd8
cmp rbx, rbp
je 0x18006cddb
mov rbx, qword [rbx + 8]
jmp 0x18006cd70
mov rsi, rbx
mov rbp, qword [rsp + 0xd0]
mov rdi, qword [rsp + 0xd8]
mov rbx, qword [rsp + 0xc8]
test rsi, rsi
je 0x18006ce15
cmp rsi, qword [r15 + 8]
je 0x18006ce15
mov rax, qword [rsi + 0x10]
mov qword [r14], rax
mov rax, r14
add rsp, 0xa0
pop r15
pop r14
pop rsi
ret
lea rax, [0x1800e63f8]
mov qword [r14], rax
mov rax, r14
add rsp, 0xa0
pop r15
pop r14
pop rsi
ret
Function at 0x18006d440
Capabilities:
Hash data using fnv

Disassembly:
mov rax, rcx
mov r8d, edx
mov rcx, qword [rcx + 0x10]
mov rdx, rax
mov rcx, qword [rcx + 0x80]
jmp fcn.18006ba90

Function at 0x18006e4a0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xb0
mov rax, qword [0x180112b80]
xor rax, rsp
mov qword [rbp + 0x2f], rax
mov rsi, rdx
mov r13, rcx
xor r15d, r15d
mov dword [rbp - 0x49], r15d
mov qword [rbp - 0x41], rcx
mov qword [rbp - 0x39], r8
lea rbx, [rcx + 0x120]
xor r9d, r9d
lea r8, [rbp - 0x49]
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_InitOnceBeginInitialize]
test eax, eax
je 0x18006e6e7
cmp dword [rbp - 0x49], r15d
je 0x18006e539
mov qword [rbp - 0x31], rbx
mov dword [rbp - 0x29], 4
lea rcx, [rbp - 0x41]
call fcn.18005e440
nop
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_InitOnceComplete]
test eax, eax
je 0x18006e6ed
xorps xmm0, xmm0
movups xmmword [rbp - 0x21], xmm0
mov rcx, r15
mov qword [rbp - 0x11], rcx
mov edi, 0xf
mov qword [rbp - 9], rdi
mov byte [rbp - 0x21], cl
mov dword [rbp - 0x49], 1
mov r12, qword [rsi + 8]
mov rsi, qword [rsi]
mov rbx, rsi
cmp rsi, r12
je 0x18006e60a
lea rax, [rbp - 1]
mov r14, 0xfffffffffffffff0
sub r14, rax
nop dword [rax + rax]
cmp rbx, rsi
je 0x18006e5ce
mov rax, rdi
sub rax, rcx
cmp rax, 1
jb 0x18006e5ae
lea rax, [rcx + 1]
mov qword [rbp - 0x11], rax
lea rax, [rbp - 0x21]
cmp rdi, 0x10
cmovae rax, qword [rbp - 0x21]
mov word [rax + rcx], 0x2c
jmp 0x18006e5ce
mov qword [rsp + 0x20], 1
lea r9, [0x1800e675c]
xor r8d, r8d
lea edx, [r8 + 1]
lea rcx, [rbp - 0x21]
call fcn.18001afa0
lea rax, [rbp + 0xf]
mov qword [rbp - 1], rax
lea rdx, [rbp + 0xf]
mov ecx, dword [rbx]
call fcn.180022bf0
add rax, r14
mov qword [rbp + 7], rax
lea rdx, [rbp - 1]
lea rcx, [rbp - 0x21]
call fcn.1800236c0
add rbx, 4
mov rdi, qword [rbp - 9]
mov rcx, qword [rbp - 0x11]
cmp rbx, r12
jne 0x18006e580
lea r8, [rbp - 0x21]
mov rbx, qword [rbp - 0x21]
cmp rdi, 0x10
cmovae r8, rbx
movabs r9, 0xcbf29ce484222325
mov rdx, r15
test rcx, rcx
je 0x18006e654
movabs r10, 0x100000001b3
nop word [rax + rax]
movzx eax, byte [rdx + r8]
xor r9, rax
imul r9, r10
inc rdx
cmp rdx, rcx
jb 0x18006e640
lea r8, [rbp - 0x21]
lea rdx, [rbp - 0x31]
lea rcx, [r13 + 0x128]
call fcn.18004d330
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x18006e67e
cmp rcx, qword [r13 + 0x130]
je 0x18006e67e
mov r15, qword [rcx + 0x30]
cmp rdi, 0x10
jb 0x18006e6b1
lea rdx, [rdi + 1]
mov rax, rbx
cmp rdx, 0x1000
jb 0x18006e6a9
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18006e6e1
mov rcx, rbx
call fcn.1800b681c
mov rax, r15
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.1800b6330
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.1800bd52c
int3
call fcn.1800c0e10
int3
call fcn.1800b5de0
int3
Function at 0x180079720
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r13
push r14
push r15
sub rsp, 0x150
mov rax, qword [0x180112b80]
xor rax, rsp
mov qword [rsp + 0x140], rax
mov r8, rdx
mov r13, rcx
xor ebp, ebp
cmp qword [rcx + 8], rbp
jne 0x180079760
xor al, al
jmp 0x180079934
mov rdx, qword [rdx]
xorps xmm0, xmm0
mov qword [rsp + 0x130], rbp
movups xmmword [rsp + 0x120], xmm0
test rdx, rdx
jne 0x180079795
mov rdi, rbp
mov esi, 0xf
mov qword [rsp + 0x138], rsi
mov byte [rsp + 0x120], dil
jmp 0x1800797be
mov qword [rsp + 0x138], rbp
mov r8, qword [r8 + 8]
lea rcx, [rsp + 0x120]
call fcn.180004eb0
mov rsi, qword [rsp + 0x138]
mov rdi, qword [rsp + 0x130]
mov r9, qword [r13 + 0x20]
lea r8, [rsp + 0x120]
mov r14, qword [rsp + 0x120]
cmp rsi, 0x10
cmovae r8, r14
movabs rdx, 0xcbf29ce484222325
mov rcx, rbp
test rdi, rdi
je 0x180079814
movabs r10, 0x100000001b3
nop word [rax + rax]
movzx eax, byte [rcx + r8]
xor rdx, rax
imul rdx, r10
inc rcx
cmp rcx, rdi
jb 0x180079800
mov rcx, qword [r9 + 0x48]
and rcx, rdx
add rcx, rcx
mov rax, qword [r9 + 0x30]
mov rbx, qword [rax + rcx*8 + 8]
cmp rbx, qword [r9 + 0x20]
je 0x180079870
mov r15, qword [rax + rcx*8]
lea rdx, [rbx + 0x10]
cmp qword [rbx + 0x28], 0x10
jb 0x180079840
mov rdx, qword [rbx + 0x10]
lea rcx, [rsp + 0x120]
cmp rsi, 0x10
cmovae rcx, r14
cmp rdi, qword [rbx + 0x20]
jne 0x180079862
mov r8, rdi
call fcn.1800db910
test eax, eax
je 0x18007986d
cmp rbx, r15
je 0x180079870
mov rbx, qword [rbx + 8]
jmp 0x180079831
mov rbp, rbx
test rbp, rbp
je 0x18007987c
xor bl, bl
jmp 0x1800798fe
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x40]
call fcn.18009e3f0
lea rax, vtable.google::protobuf::FileDescriptorProto.0
mov qword [rsp + 0x40], rax
mov rcx, qword [r13 + 8]
mov rax, qword [rcx]
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x120]
call qword [rax + 8]
test al, al
je 0x1800798c8
lea rdx, [rsp + 0x40]
mov rcx, r13
call fcn.18005cba0
test rax, rax
je 0x1800798c8
mov bl, 1
jmp 0x1800798e4
mov rcx, qword [r13 + 0x20]
add rcx, 0x18
lea r8, [rsp + 0x120]
lea rdx, [rsp + 0x28]
call fcn.180050770
xor bl, bl
lea rcx, [rsp + 0x40]
call fcn.18009ee60
mov rsi, qword [rsp + 0x138]
mov r14, qword [rsp + 0x120]
cmp rsi, 0x10
jb 0x180079931
lea rdx, [rsi + 1]
mov rax, r14
cmp rdx, 0x1000
jb 0x180079929
add rdx, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180079960
mov rcx, r14
call fcn.1800b681c
movzx eax, bl
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.1800b6330
lea r11, [rsp + 0x150]
mov rbx, qword [r11 + 0x40]
mov rbp, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop rdi
pop rsi
ret
call fcn.1800bd52c
int3
Function at 0x18007df60
Capabilities:
Hash data using fnv

Disassembly:
push rbx
push r13
sub rsp, 0x48
movabs rax, 0xfffffffffffffff
mov r13, rcx
bsr rcx, rax
mov ebx, 1
mov eax, ebx
shl rax, cl
cmp rdx, rax
ja 0x18007e17e
mov qword [rsp + 0x60], rbp
lea rax, [rdx - 1]
mov rbp, qword [r13 + 8]
or rax, rbx
bsr rcx, rax
mov qword [rsp + 0x68], rsi
mov r8, rbp
inc ecx
mov qword [rsp + 0x70], rdi
shl rbx, cl
mov qword [rsp + 0x38], r14
lea r14, [r13 + 0x18]
mov rcx, r14
lea rdx, [rbx + rbx]
call fcn.180046d80
mov rdi, qword [r13 + 8]
lea rax, [rbx - 1]
mov qword [r13 + 0x30], rax
mov qword [r13 + 0x38], rbx
mov rdi, qword [rdi]
mov rsi, rdi
cmp rdi, rbp
je 0x18007e13c
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x30], r15
mov rdx, qword [rdi + 0x18]
xor eax, eax
mov r8, qword [rdi + 0x20]
mov rsi, qword [rsi]
add r8, rdx
cmp rdx, r8
jae 0x18007e023
nop word [rax + rax]
movsx rcx, byte [rdx]
lea rax, [rax + rax*4]
add rax, rcx
inc rdx
cmp rdx, r8
jb 0x18007e010
mov r12, qword [rdi + 0x10]
imul r15, r12, 0x1000193
xor r15, rax
and r15, qword [r13 + 0x30]
shl r15, 4
add r15, qword [r14]
mov r14, qword [r15]
cmp r14, rbp
jne 0x18007e050
mov qword [r15], rdi
mov qword [r15 + 8], rdi
jmp 0x18007e122
mov rbx, qword [r15 + 8]
cmp r12, qword [rbx + 0x10]
jne 0x18007e0b8
movups xmm0, xmmword [rbx + 0x18]
mov r8, qword [rdi + 0x20]
mov rcx, qword [rdi + 0x18]
movaps xmmword [rsp + 0x20], xmm0
cmp r8, qword [rbx + 0x20]
jne 0x18007e0b8
mov rdx, qword [rsp + 0x20]
cmp rcx, rdx
je 0x18007e089
test r8, r8
je 0x18007e089
call fcn.1800db910
test eax, eax
jne 0x18007e0b8
mov r8, qword [rbx]
cmp r8, rdi
je 0x18007e0b2
mov rdx, qword [rdi + 8]
mov qword [rdx], rsi
mov rcx, qword [rsi + 8]
mov qword [rcx], r8
mov rax, qword [r8 + 8]
mov qword [rax], rdi
mov qword [r8 + 8], rcx
mov qword [rsi + 8], rdx
mov qword [rdi + 8], rax
mov qword [r15 + 8], rdi
jmp 0x18007e122
cmp r14, rbx
je 0x18007e0fe
nop dword [rax]
mov rbx, qword [rbx + 8]
cmp r12, qword [rbx + 0x10]
jne 0x18007e0f9
movups xmm0, xmmword [rbx + 0x18]
mov r8, qword [rdi + 0x20]
mov rcx, qword [rdi + 0x18]
movaps xmmword [rsp + 0x20], xmm0
cmp r8, qword [rbx + 0x20]
jne 0x18007e0f9
mov rdx, qword [rsp + 0x20]
cmp rcx, rdx
je 0x18007e158
test r8, r8
je 0x18007e158
call fcn.1800db910
test eax, eax
je 0x18007e158
cmp r14, rbx
jne 0x18007e0c0
mov rdx, qword [rdi + 8]
mov qword [rdx], rsi
mov rcx, qword [rsi + 8]
mov qword [rcx], rbx
mov rax, qword [rbx + 8]
mov qword [rax], rdi
mov qword [rbx + 8], rcx
mov qword [rsi + 8], rdx
mov qword [rdi + 8], rax
mov qword [r15], rdi
lea r14, [r13 + 0x18]
mov rdi, rsi
cmp rsi, rbp
jne 0x18007dff0
mov r15, qword [rsp + 0x30]
mov r12, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x60]
mov r14, qword [rsp + 0x38]
add rsp, 0x48
pop r13
pop rbx
ret
mov r8, qword [rbx]
mov rdx, qword [rdi + 8]
mov qword [rdx], rsi
mov rcx, qword [rsi + 8]
mov qword [rcx], r8
mov rax, qword [r8 + 8]
mov qword [rax], rdi
mov qword [r8 + 8], rcx
mov qword [rsi + 8], rdx
mov qword [rdi + 8], rax
jmp 0x18007e122
lea rcx, str.invalid_hash_bucket_count
call fcn.1800b4014
int3
Function at 0x18007e690
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rcx
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x78
mov rdi, rcx
movabs rax, 0xfffffffffffffff
bsr rcx, rax
mov ebx, 1
mov eax, ebx
shl rax, cl
cmp rdx, rax
ja 0x18007e8b9
lea rax, [rdx - 1]
or rax, rbx
bsr rcx, rax
inc ecx
shl rbx, cl
mov r12, qword [rdi + 8]
mov qword [rsp + 0xd0], r12
lea r15, [rdi + 0x18]
mov qword [rsp + 0xc8], r15
lea rdx, [rbx + rbx]
mov r8, r12
mov rcx, r15
call fcn.180046d80
lea rax, [rbx - 1]
mov qword [rdi + 0x30], rax
mov qword [rdi + 0x38], rbx
mov qword [rsp + 0xd8], rdi
mov rsi, qword [rdi + 8]
mov rsi, qword [rsi]
cmp rsi, r12
je 0x18007e87a
mov rbx, rsi
nop word [rax + rax]
mov rsi, qword [rsi]
lea rdx, [rsp + 0x20]
lea rcx, [rbx + 0x10]
call fcn.1800802a0
movsxd rcx, dword [rax + 8]
imul r14, rcx, 0x1000193
imul rax, qword [rax], 0x100011b
xor r14, rax
and r14, qword [rdi + 0x30]
add r14, r14
mov rbp, qword [r15]
cmp qword [rbp + r14*8], r12
jne 0x18007e776
mov qword [rbp + r14*8], rbx
mov qword [rbp + r14*8 + 8], rbx
jmp 0x18007e86e
mov rdi, qword [rbp + r14*8 + 8]
lea rcx, [rdi + 0x10]
lea rdx, [rsp + 0x30]
call fcn.1800802a0
mov r15, rax
lea rdx, [rsp + 0x40]
lea rcx, [rbx + 0x10]
call fcn.1800802a0
mov rcx, qword [r15]
cmp qword [rax], rcx
jne 0x18007e7de
mov ecx, dword [r15 + 8]
cmp dword [rax + 8], ecx
jne 0x18007e7de
mov r8, qword [rdi]
cmp r8, rbx
je 0x18007e7d4
mov rdx, qword [rbx + 8]
mov qword [rdx], rsi
mov rcx, qword [rsi + 8]
mov qword [rcx], r8
mov rax, qword [r8 + 8]
mov qword [rax], rbx
mov qword [r8 + 8], rcx
mov qword [rsi + 8], rdx
mov qword [rbx + 8], rax
mov qword [rbp + r14*8 + 8], rbx
jmp 0x18007e85e
mov r15, rdi
cmp qword [rbp + r14*8], rdi
je 0x18007e838
nop dword [rax + rax]
mov rdi, qword [rdi + 8]
mov r15, rdi
lea rcx, [rdi + 0x10]
lea rdx, [rsp + 0x50]
call fcn.1800802a0
mov r12, rax
lea rdx, [rsp + 0x60]
lea rcx, [rbx + 0x10]
call fcn.1800802a0
mov rcx, qword [r12]
cmp qword [rax], rcx
jne 0x18007e829
mov ecx, dword [r12 + 8]
cmp dword [rax + 8], ecx
je 0x18007e88b
cmp qword [rbp + r14*8], rdi
jne 0x18007e7f0
mov r12, qword [rsp + 0xd0]
mov rdx, qword [rbx + 8]
mov qword [rdx], rsi
mov rcx, qword [rsi + 8]
mov qword [rcx], r15
mov rax, qword [r15 + 8]
mov qword [rax], rbx
mov qword [r15 + 8], rcx
mov qword [rsi + 8], rdx
mov qword [rbx + 8], rax
mov qword [rbp + r14*8], rbx
mov rdi, qword [rsp + 0xc0]
mov r15, qword [rsp + 0xc8]
mov rbx, rsi
cmp rsi, r12
jne 0x18007e730
add rsp, 0x78
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov r8, qword [rdi]
mov rdx, qword [rbx + 8]
mov qword [rdx], rsi
mov rcx, qword [rsi + 8]
mov qword [rcx], r8
mov rax, qword [r8 + 8]
mov qword [rax], rbx
mov qword [r8 + 8], rcx
mov qword [rsi + 8], rdx
mov qword [rbx + 8], rax
mov r12, qword [rsp + 0xd0]
jmp 0x18007e85e
lea rcx, str.invalid_hash_bucket_count
call fcn.1800b4014
int3
Function at 0x1800b4ea8
Capabilities:
Read file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x20
mov rbp, r8
mov r14, rdx
mov rdi, rcx
test r8, r8
jg 0x1800b4ed6
xor eax, eax
jmp 0x1800b4fbc
cmp qword [rcx + 0x68], 0
je 0x1800b4ee7
call fcn.180006f30
jmp 0x1800b4fbc
mov rax, qword [rcx + 0x38]
mov rsi, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x1800b4efe
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x1800b4f00
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x1800b4f32
cmp rax, rbp
mov rbx, rbp
mov rcx, r14
cmovb rbx, rax
mov r8, rbx
call fcn.1800dae30
mov rax, qword [rdi + 0x50]
add r14, rbx
sub rsi, rbx
sub dword [rax], ebx
mov rcx, qword [rdi + 0x38]
movsxd rax, ebx
add qword [rcx], rax
cmp qword [rdi + 0x80], 0
je 0x1800b4fb6
mov r8, qword [rdi + 0x18]
lea rax, [rdi + 0x70]
cmp qword [r8], rax
jne 0x1800b4f69
mov rcx, qword [rdi + 0x88]
mov rdx, qword [rdi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rdi + 0x38]
mov qword [rax], rcx
mov rax, qword [rdi + 0x50]
mov dword [rax], edx
mov ebx, 0xfff
jmp 0x1800b4f92
mov r9, qword [rdi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call fcn.1800c86b8
add r14, rax
sub rsi, rax
cmp rax, rbx
jne 0x1800b4fb6
cmp rsi, rbx
ja 0x1800b4f70
test rsi, rsi
je 0x1800b4fb6
mov r9, qword [rdi + 0x80]
mov r8, rsi
mov edx, 1
mov rcx, r14
call fcn.1800c86b8
sub rsi, rax
sub rbp, rsi
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x1800c67d4
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
movsxd r15, ecx
lea r9, [0x180117370]
mov rax, r15
mov rbp, r15
and eax, 0x3f
sar rbp, 6
mov ecx, 4
xor esi, esi
mov r14, rdx
lea rdi, [rax + rax*8]
mov rax, qword [r9 + rbp*8]
lea r13d, [rcx + 6]
mov r10, qword [rax + rdi*8 + 0x28]
test r8, r8
je 0x1800c682b
cmp word [rdx], r13w
jne 0x1800c682b
or byte [rax + rdi*8 + 0x38], cl
jmp 0x1800c6830
and byte [rax + rdi*8 + 0x38], 0xfb
lea r8, [rdx + r8*2]
mov rbx, r14
cmp r14, r8
jae 0x1800c6955
mov r11d, 0xd
lea r12d, [r11 - 0xb]
movzx ecx, word [rdx]
cmp cx, 0x1a
je 0x1800c6976
lea r9, [rdx + 2]
cmp cx, r11w
je 0x1800c6869
mov rdx, r9
mov word [rbx], cx
jmp 0x1800c6890
cmp r9, r8
jae 0x1800c68a0
cmp word [r9], r13w
mov rax, r12
mov ecx, 4
cmove rax, rcx
add rdx, rax
mov eax, r13d
cmp word [r9], r13w
cmovne ax, r11w
mov word [rbx], ax
mov rax, r12
add rbx, rax
cmp rdx, r8
jb 0x1800c684a
jmp 0x1800c6955
lea r9, [rsp + 0x80]
mov qword [rsp + 0x20], rsi
mov r8d, r12d
lea rdx, [rsp + 0x70]
mov rcx, r10
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1800c694a
cmp dword [rsp + 0x80], esi
je 0x1800c694a
lea r8, [0x180117370]
mov rax, qword [r8 + rbp*8]
test byte [rax + rdi*8 + 0x38], 0x48
je 0x1800c6922
movzx eax, word [rsp + 0x70]
cmp ax, r13w
jne 0x1800c68f2
mov word [rbx], r13w
jmp 0x1800c6952
mov ecx, 0xd
mov word [rsp + 0x78], ax
mov word [rbx], cx
mov rax, qword [r8 + rbp*8]
lea rcx, [rax + rdi*8]
mov al, byte [rsp + rsi + 0x78]
mov byte [rcx + rsi + 0x3a], al
inc rsi
cmp rsi, r12
jl 0x1800c68ff
mov rax, qword [r8 + rbp*8]
mov byte [rax + rdi*8 + 0x3c], r13b
jmp 0x1800c6952
cmp word [rsp + 0x70], r13w
jne 0x1800c692f
cmp rbx, r14
je 0x1800c68ec
mov rdx, 0xfffffffffffffffe
mov ecx, r15d
lea r8d, [rdx + 3]
call fcn.1800d1570
cmp word [rsp + 0x70], r13w
je 0x1800c6955
mov ecx, 0xd
mov word [rbx], cx
add rbx, r12
sub rbx, r14
sar rbx, 1
lea eax, [rbx + rbx]
mov rbx, qword [rsp + 0x88]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea r8, [0x180117370]
mov rdx, qword [r8 + rbp*8]
mov al, byte [rdx + rdi*8 + 0x38]
test al, 0x40
jne 0x1800c694f
or al, r12b
mov byte [rdx + rdi*8 + 0x38], al
jmp 0x1800c6955
Function at 0x1800d1f24
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x1050
call fcn.1800b6d40
sub rsp, rax
mov rax, qword [0x180112b80]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.1800ce7c8
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x1800d1f73
mov rax, rbp
jmp 0x1800d207b
mov rax, qword [rbx]
mov rcx, r14
sub rax, qword [rbx + 8]
and ecx, 0x3f
cqo
mov rbx, r14
sub rax, rdx
sar rbx, 6
sar rax, 1
mov r9, r15
lea r12, [rcx + rcx*8]
mov rsi, rax
lea rax, [0x180000000]
xor r8d, r8d
mov rdx, qword [rax + rbx*8 + 0x117370]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.1800d1568
mov r13, rax
lea rax, [0x180000000]
mov rcx, qword [rax + rbx*8 + 0x117370]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x1800d2077
mov rcx, qword [rcx + r12*8 + 0x28]
lea r9, [rsp + 0x30]
mov r8d, 0x1000
mov qword [rsp + 0x20], rdi
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1800d2077
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.1800d1568
test rax, rax
js 0x1800d2077
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x1800d2077
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x1800d2069
lea r8, [0x180000000]
cmp rcx, rdx
jae 0x1800d2069
cmp byte [rcx], 0xd
jne 0x1800d204f
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x1800d205e
cmp byte [rcx + 1], 0xa
jne 0x1800d205e
inc rcx
jmp 0x1800d205e
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0x112dc0]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x1800d2031
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x1800d207b
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.1800b6330
mov rbx, qword [rsp + 0x1090]
add rsp, 0x1050
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret

Function at 0x1800d229c
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x1800d22b2
mov al, 1
jmp 0x1800d2312
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x1800d22c3
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x1800d2310
mov ecx, dword [rcx + 0x18]
nop
call fcn.1800d1288
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1800d2310
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x1800d2310
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x1800d2310
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x1800d2312
xor al, al
add rsp, 0x20
pop rbx
ret