joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140040870
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x1400e4328]
xor rax, rsp
mov qword [rbp - 8], rax
mov rax, r8
mov r8, rdx
cmp qword [rcx + 0x20], 0
jne 0x1400408ce
cmp qword [rcx + 0x58], 0
jne 0x1400408ce
mov rdx, rax
mov rcx, r8
call fcn.140040bd0
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.140083250
mov rbx, qword [rsp + 0xb8]
add rsp, 0x80
pop rdi
pop rsi
pop rbp
ret
lea rbx, [rcx + 0x38]
cmp qword [rbx + 0x20], 0
je 0x1400409bf
mov rcx, qword [rbx + 0x28]
mov rax, qword [rcx + 0x18]
test rax, rax
je 0x140040904
lea rcx, [0x140041130]
mov qword [rbp - 0x30], rcx
mov qword [rbp - 0x28], r8
lea rdx, [rbp - 0x30]
mov rcx, rbx
call rax
jmp 0x1400408af
mov rdi, qword [rcx + 0x10]
mov rax, qword [rdx]
xor esi, esi
mov qword [rdx], rsi
mov qword [rbp - 0x50], rax
movups xmm0, xmmword [rdx + 8]
movups xmmword [rbp - 0x48], xmm0
mov rax, qword [rdx + 0x18]
mov qword [rbp - 0x38], rax
lea rax, [rbp - 0x50]
mov qword [rbp - 0x30], rax
lea rax, [rbp - 0x60]
mov qword [rbp - 0x20], rax
mov ecx, dword [0x1400ecd60]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14004094b
mov rdx, qword [rax + 8]
jmp 0x14004094e
mov rdx, rsi
mov r8d, 0x30
call fcn.140040fb0
mov qword [rbp - 0x10], rsi
mov rcx, qword [rbp - 0x50]
mov qword [rbp - 0x50], rsi
mov qword [rax + 8], rcx
movups xmm0, xmmword [rbp - 0x48]
movups xmmword [rax + 0x10], xmm0
mov rcx, qword [rbp - 0x38]
mov qword [rax + 0x20], rcx
lea rcx, [0x1400411d0]
mov qword [rax], rcx
mov qword [rbp - 0x58], rax
mov qword [rbp - 0x18], rsi
lea rcx, [rbp - 0x20]
call fcn.140041090
nop
lea rcx, [rbp - 0x50]
call fcn.14003f6a0
nop
lea rdx, [rbp - 0x58]
mov rcx, rbx
call rdi
nop
mov rcx, qword [rbp - 0x58]
test rcx, rcx
je 0x1400409ba
mov rax, qword [rcx]
xor edx, edx
call rax
nop
jmp 0x1400408af
lea rcx, [rbp - 0x20]
call fcn.140037900
nop
lea rcx, [rbp - 0x20]
call fcn.14003d050
int3

Function at 0x140040d70
Capabilities:
Get thread local storage value

Disassembly:
push rbx
sub rsp, 0x40
mov rax, qword [0x1400e4328]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rax, qword [rcx + 8]
mov rcx, qword [rax]
mov rbx, qword [rcx + 0x78]
test rbx, rbx
je 0x140040e0e
mov rcx, qword [rbx]
test rcx, rcx
je 0x140040e0e
mov rax, qword [rcx]
lea rdx, [rsp + 0x20]
mov qword [rsp + 0x50], rdi
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov ecx, dword [0x1400ecd60]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x140040dc4
mov rdx, qword [rax + 8]
jmp 0x140040dc6
xor edx, edx
mov r9, qword [rsp + 0x28]
mov rdi, rbx
mov r8, qword [rsp + 0x20]
cmp r9, 0x3fc
ja 0x140040dfa
test rdx, rdx
je 0x140040dfa
mov ecx, 6
mov eax, ecx
cmp qword [rdx + rax*8], 0
je 0x140040e21
inc ecx
inc rax
cmp rax, 8
jl 0x140040de8
mov rcx, r8
call case.0x14007d5cb.0
mov qword [rdi], 0
mov rdi, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140083250
add rsp, 0x40
pop rbx
ret
movzx eax, byte [r8 + r9]
mov byte [r8], al
movsxd rax, ecx
mov qword [rdx + rax*8], r8
jmp 0x140040e02
Function at 0x140040ee0
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rax, qword [rcx + 0x10]
mov rdi, rcx
test rax, rax
je 0x140040f10
mov rax, qword [rax + 8]
test rax, rax
je 0x140040f08
mov rax, qword [rax]
mov rcx, rax
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov qword [rdi + 0x10], 0
mov rbx, qword [rdi + 8]
test rbx, rbx
je 0x140040f62
mov ecx, dword [0x1400ecd60]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x140040f52
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x140040f52
mov ecx, 4
mov eax, ecx
nop word [rax + rax]
cmp qword [rdx + rax*8], 0
je 0x140040f6d
inc ecx
inc rax
cmp rax, 6
jl 0x140040f40
mov rcx, rbx
call case.0x14007d5cb.0
mov qword [rdi + 8], 0
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
movzx eax, byte [rbx + 0x18]
mov byte [rbx], al
movsxd rax, ecx
mov qword [rdx + rax*8], rbx
mov rbx, qword [rsp + 0x30]
mov qword [rdi + 8], 0
add rsp, 0x20
pop rdi
ret

Function at 0x140041090
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
mov rcx, qword [rcx + 0x10]
test rcx, rcx
je 0x1400410b7
add rcx, 8
call fcn.14003f6a0
mov qword [rdi + 0x10], 0
mov rbx, qword [rdi + 8]
test rbx, rbx
je 0x140041103
mov ecx, dword [0x1400ecd60]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x1400410f3
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x1400410f3
mov ecx, 4
mov eax, ecx
cmp qword [rdx + rax*8], 0
je 0x14004110e
inc ecx
inc rax
cmp rax, 6
jl 0x1400410e1
mov rcx, rbx
call case.0x14007d5cb.0
mov qword [rdi + 8], 0
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
movzx eax, byte [rbx + 0x30]
mov byte [rbx], al
movsxd rax, ecx
mov qword [rdx + rax*8], rbx
mov rbx, qword [rsp + 0x30]
mov qword [rdi + 8], 0
add rsp, 0x20
pop rdi
ret
Function at 0x140041ef0
Capabilities:
Get disk information

Disassembly:
push rbx
sub rsp, 0x70
mov rax, qword [0x1400e4328]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rdx, rcx
lea rcx, [rsp + 0x40]
call fcn.140041ce0
nop
lea rcx, [rsp + 0x40]
cmp qword [rsp + 0x58], 8
cmovae rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
mov ecx, eax
cmp eax, 1
jne 0x140042041
mov ecx, 0x20027
call fcn.140083390
test rax, rax
je 0x140042051
lea rbx, [rax + 0x27]
and rbx, 0xffffffffffffffe0
mov qword [rbx - 8], rax
mov qword [rsp + 0x28], rbx
lea rax, [rbx + 0x20000]
mov qword [rsp + 0x38], rax
mov eax, 0x1000
xor ecx, ecx
nop dword [rax]
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rcx
mov qword [rbx + 0x18], 7
mov word [rbx], cx
add rbx, 0x20
sub rax, 1
jne 0x140041f70
mov rdx, rbx
mov rcx, rbx
call fcn.1400443a0
mov qword [rsp + 0x30], rbx
mov rdx, qword [rsp + 0x28]
sub rbx, rdx
sar rbx, 5
add ebx, ebx
mov dword [rsp + 0x20], ebx
lea rcx, [rsp + 0x40]
cmp qword [rsp + 0x58], 8
cmovae rcx, qword [rsp + 0x40]
lea r8, [rsp + 0x20]
call qword [sym.imp.MPR.dll_WNetGetConnectionW]
lea rcx, [rsp + 0x28]
test eax, eax
je 0x140041fe6
cmp eax, 0x4b1
je 0x140041fe6
call fcn.140043c40
xor bl, bl
jmp 0x140041fed
call fcn.140043c40
mov bl, 1
mov rdx, qword [rsp + 0x58]
cmp rdx, 8
jb 0x14004202b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140042026
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140042057
call fcn.14008361c
movzx eax, bl
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140083250
add rsp, 0x70
pop rbx
ret
dec eax
cmp eax, 3
jbe 0x140041feb
cmp ecx, 7
jae 0x140041feb
xor bl, bl
jmp 0x140041fed
call fcn.14008acfc
nop
call fcn.14008acfc
int3
Function at 0x140042e90
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov r14, r8
mov rbp, rdx
mov rdi, rcx
mov rbx, r8
je 0x140042f28
test r8, r8
jle 0x140042f20
nop word [rax + rax]
mov rcx, rdi
call fcn.14003b880
test rax, rax
jle 0x140042efe
cmp rbx, rax
mov rsi, rbx
mov rdx, rbp
cmovge rsi, rax
mov rax, qword [rdi + 0x40]
mov r8, rsi
mov rcx, qword [rax]
call fcn.140085980
mov rax, qword [rdi + 0x58]
sub rbx, rsi
sub dword [rax], esi
mov rcx, qword [rdi + 0x40]
movsxd rax, esi
add qword [rcx], rax
jmp 0x140042f18
mov rax, qword [rdi]
mov rcx, rdi
movzx edx, byte [rbp]
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x140042f20
dec rbx
mov esi, 1
add rbp, rsi
test rbx, rbx
jg 0x140042ec0
sub r14, rbx
mov rax, r14
jmp 0x140042fa6
mov rax, qword [rcx + 0x40]
mov qword [rsp + 0x40], r15
mov r9, qword [rax]
test r9, r9
je 0x140042f41
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x140042f43
xor ecx, ecx
movsxd rsi, ecx
test r14, r14
jle 0x140042f9b
test ecx, ecx
jle 0x140042f7c
cmp r14, rsi
mov rcx, r9
cmovl rsi, r14
mov r8, rsi
call fcn.140085980
mov rax, qword [rdi + 0x58]
add rbp, rsi
sub r14, rsi
sub dword [rax], esi
mov rcx, qword [rdi + 0x40]
movsxd rax, esi
add qword [rcx], rax
test r14, r14
jle 0x140042f9b
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x140042f9b
mov r8, r14
mov edx, 1
mov rcx, rbp
call fcn.14008e2f0
sub r14, rax
mov r15, qword [rsp + 0x40]
sub rbx, r14
mov rax, rbx
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x58]
add rsp, 0x20
pop r14
pop rdi
pop rsi
ret
Function at 0x140042fc0
Capabilities:
Read file on windows

Disassembly:
push rbx
push rsi
push r14
sub rsp, 0x30
mov r14, r8
mov rsi, rdx
mov rbx, rcx
test r8, r8
jg 0x140042fe2
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbx
ret
cmp qword [rcx + 0x68], 0
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], rdi
je 0x14004305c
mov rdi, r14
mov rcx, rbx
call fcn.14003b8a0
test rax, rax
jle 0x140043034
cmp rdi, rax
mov rbp, rdi
mov rcx, rsi
cmovge rbp, rax
mov rax, qword [rbx + 0x38]
mov r8, rbp
mov rdx, qword [rax]
call fcn.140085980
mov rax, qword [rbx + 0x50]
sub rdi, rbp
sub dword [rax], ebp
mov rcx, qword [rbx + 0x38]
movsxd rax, ebp
add qword [rcx], rax
jmp 0x14004304c
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x38]
cmp eax, 0xffffffff
je 0x140043054
mov byte [rsi], al
dec rdi
mov ebp, 1
add rsi, rbp
test rdi, rdi
jg 0x140042ff6
sub r14, rdi
jmp 0x14004313f
mov rax, qword [rcx + 0x38]
mov rbp, r14
mov rdx, qword [rax]
test rdx, rdx
je 0x140043073
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x140043075
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x1400430a7
cmp rax, r14
mov rdi, r14
mov rcx, rsi
cmovb rdi, rax
mov r8, rdi
call fcn.140085980
mov rax, qword [rbx + 0x50]
add rsi, rdi
sub rbp, rdi
sub dword [rax], edi
mov rcx, qword [rbx + 0x38]
movsxd rax, edi
add qword [rcx], rax
cmp qword [rbx + 0x80], 0
je 0x14004313c
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x1400430e2
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 rbp, 0xfff
jbe 0x14004311d
nop dword [rax + rax]
mov r9, qword [rbx + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, rsi
call fcn.14008e998
add rsi, rax
sub rbp, rax
cmp rax, 0xfff
jne 0x14004313c
cmp rbp, rax
ja 0x1400430f0
test rbp, rbp
je 0x14004313c
mov r9, qword [rbx + 0x80]
mov r8, rbp
mov edx, 1
mov rcx, rsi
call fcn.14008e998
sub rbp, rax
sub r14, rbp
mov rbp, qword [rsp + 0x28]
mov rax, r14
mov rdi, qword [rsp + 0x20]
add rsp, 0x30
pop r14
pop rsi
pop rbx
ret
Function at 0x1400435a0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x1400e4328]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x1400435cd
xor eax, eax
jmp 0x14004371b
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x140043607
mov rax, qword [rcx + 0x58]
movsxd r8, dword [rax]
lea rcx, [rdx + r8]
cmp rdx, rcx
jae 0x140043607
lea ecx, [r8 - 1]
mov dword [rax], ecx
mov eax, edi
mov rdx, qword [rbx + 0x40]
mov r8, qword [rdx]
lea rcx, [r8 + 1]
mov qword [rdx], rcx
mov byte [r8], dil
jmp 0x14004371b
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x14004370e
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x14004364a
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
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x140043659
movsx ecx, dil
jmp 0x1400436ad
lea r8, [rsp + 0x40]
mov byte [rsp + 0x50], dil
mov rax, qword [rcx]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x38], r8
lea r9, [rsp + 0x51]
lea r8, [rsp + 0x78]
mov qword [rsp + 0x30], r8
lea r8, [rsp + 0x58]
mov qword [rsp + 0x28], r8
lea r8, [rsp + 0x48]
mov qword [rsp + 0x20], r8
lea r8, [rsp + 0x50]
call qword [rax + 0x38]
test eax, eax
je 0x1400436c7
sub eax, 1
je 0x1400436c7
cmp eax, 2
jne 0x14004370e
movsx ecx, byte [rsp + 0x50]
mov rdx, qword [rbx + 0x80]
call fcn.14008d7ac
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x140043713
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x1400436f4
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x58]
mov r8, rsi
mov edx, 1
call fcn.14008e2f0
cmp rsi, rax
jne 0x14004370e
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov ecx, 0xffffffff
cmovne ecx, edi
mov eax, ecx
jmp 0x140043713
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140083250
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x140048990
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push r13
push r14
sub rsp, 0x178
mov rax, qword [0x1400e4328]
xor rax, rsp
mov qword [rsp + 0x150], rax
xor r13d, r13d
mov r14, rcx
cmp qword [rcx + 0x18], 0x10
jb 0x1400489bd
mov rcx, qword [rcx]
mov qword [rsp + 0x198], rbx
mov qword [rsp + 0x1a0], rbp
mov qword [rsp + 0x1a8], rsi
mov qword [rsp + 0x170], rdi
mov qword [rsp + 0x168], r12
mov qword [rsp + 0x160], r15
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x140048b79
mov rdi, qword [r14 + 0x10]
test rdi, rdi
je 0x140048c08
mov rbp, r13
lea r12, [0x1400ca7d4]
nop dword [rax]
nop word [rax + rax]
mov rbx, 0xffffffffffffffff
inc rbx
cmp byte [r12 + rbx], r13b
jne 0x140048a27
mov r15, qword [r14 + 0x18]
mov rsi, r14
cmp r15, 0x10
jb 0x140048a40
mov rsi, qword [r14]
test rbx, rbx
je 0x140048aa6
cmp rbp, rdi
jae 0x140048aa6
xor edx, edx
lea rcx, [rsp + 0x50]
mov r8d, 0x100
call fcn.140086020
lea rdx, [rbx + r12]
mov rcx, r12
cmp r12, rdx
je 0x140048a80
nop dword [rax + rax]
movzx eax, byte [rcx]
inc rcx
mov byte [rsp + rax + 0x50], 1
cmp rcx, rdx
jne 0x140048a70
lea rdx, [rdi + rsi]
lea rax, [rsi + rbp]
cmp rax, rdx
jae 0x140048aa6
nop dword [rax]
movzx ecx, byte [rax]
cmp byte [rsp + rcx + 0x50], r13b
jne 0x140048bc7
inc rax
cmp rax, rdx
jb 0x140048a90
mov rax, 0xffffffffffffffff
cmp rax, 0xffffffffffffffff
mov qword [rsp + 0x38], r13
mov rbx, rdi
mov qword [rsp + 0x40], r13
cmovne rbx, rax
xorps xmm0, xmm0
cmp rdi, rbx
mov r8, rbx
movups xmmword [rsp + 0x28], xmm0
cmovb r8, rdi
mov rdx, r14
cmp r15, 0x10
jb 0x140048ae0
mov rdx, qword [r14]
lea rcx, [rsp + 0x28]
call fcn.140036db0
cmp qword [rsp + 0x38], r13
je 0x140048b2b
cmp qword [rsp + 0x40], 0x10
lea rcx, [rsp + 0x28]
cmovae rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x140048b2b
cmp qword [rsp + 0x40], 0x10
lea rcx, [rsp + 0x28]
cmovae rcx, qword [rsp + 0x28]
call fcn.140093234
test eax, eax
jne 0x140048bcf
mov rdx, qword [rsp + 0x40]
lea rbp, [rbx + 1]
cmp rdx, 0x10
jb 0x140048b6c
mov rcx, qword [rsp + 0x28]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140048b67
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140048c0f
call fcn.14008361c
mov rdi, qword [r14 + 0x10]
cmp rbp, rdi
jb 0x140048a20
mov al, 1
mov r15, qword [rsp + 0x160]
mov r12, qword [rsp + 0x168]
mov rdi, qword [rsp + 0x170]
mov rsi, qword [rsp + 0x1a8]
mov rbp, qword [rsp + 0x1a0]
mov rbx, qword [rsp + 0x198]
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.140083250
add rsp, 0x178
pop r14
pop r13
ret
sub rax, rsi
jmp 0x140048aad
mov rdx, qword [rsp + 0x40]
cmp rdx, 0x10
jb 0x140048c08
mov rcx, qword [rsp + 0x28]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140048c03
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140048c0f
call fcn.14008361c
xor al, al
jmp 0x140048b7b
call fcn.14008acfc
int3
Function at 0x14004b680
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov r11, rsp
mov qword [r11 + 0x18], rbx
mov qword [r11 + 0x20], rsi
push rdi
sub rsp, 0xb0
mov rax, qword [0x1400e4328]
xor rax, rsp
mov qword [rsp + 0xa8], rax
mov rdi, rdx
mov rsi, rcx
mov qword [r11 - 0x38], rdx
mov rdx, qword [rdx]
add rdx, 8
lea rcx, [r11 - 0x30]
call fcn.140036bd0
nop
lea rdx, [rsp + 0x88]
cmp qword [rsp + 0xa0], 0x10
cmovae rdx, qword [rsp + 0x88]
xor ecx, ecx
movabs r9, 0xcbf29ce484222325
mov r8, qword [rsp + 0x98]
test r8, r8
je 0x14004b713
movabs r10, 0x100000001b3
nop dword [rax]
movzx eax, byte [rcx + rdx]
xor r9, rax
imul r9, r10
inc rcx
cmp rcx, r8
jb 0x14004b700
lea r8, [rsp + 0x88]
lea rdx, [rsp + 0x20]
lea rcx, [rsi + 0xf0]
call fcn.14005bc60
mov rcx, qword [rax + 8]
test rcx, rcx
jne 0x14004b73c
mov rcx, qword [rsi + 0xf8]
lea r8, [rsp + 0x88]
cmp rcx, qword [rsi + 0xf8]
jne 0x14004b831
lea rdx, [rsp + 0x30]
lea rcx, [rsi + 0xf0]
call fcn.140053e80
mov rcx, qword [rax]
add rcx, 0x30
mov rdx, rdi
call fcn.14004f0b0
nop
mov rdx, qword [rsp + 0xa0]
cmp rdx, 0x10
jb 0x14004b7b1
inc rdx
mov rcx, qword [rsp + 0x88]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004b7ac
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004b82b
call fcn.14008361c
mov qword [rsp + 0x98], 0
mov qword [rsp + 0xa0], 0xf
mov byte [rsp + 0x88], 0
mov rbx, qword [rdi + 8]
test rbx, rbx
je 0x14004b806
mov edi, 0xffffffff
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x14004b806
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x14004b806
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rcx, qword [rsp + 0xa8]
xor rcx, rsp
call fcn.140083250
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
call fcn.14008acfc
nop
lea rdx, str.logger_with_name_
lea rcx, [rsp + 0x60]
call fcn.14003d160
nop
lea r8, str._already_exists
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.14003d080
mov rcx, rax
call fcn.1400488a0
int3
Function at 0x1400596d0
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
ja 0x14005984c
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.14004ff90
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 0x140059815
mov qword [rsp + 0x58], rbp
movabs rdi, 0xcbf29ce484222325
movabs rbp, 0x100000001b3
movzx r9d, byte [rax + 0x10]
mov r11, qword [rsi + 0x30]
mov edx, r9d
mov rcx, qword [rcx]
xor rdx, rdi
imul rdx, rbp
and r11, rdx
shl r11, 4
add r11, qword [rsi + 0x18]
mov r8, qword [r11]
cmp r8, rbx
jne 0x140059793
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x140059804
mov rdx, qword [r11 + 8]
cmp r9b, byte [rdx + 0x10]
jne 0x1400597cc
mov r10, qword [rdx]
cmp r10, rax
je 0x1400597c6
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 0x140059804
cmp r8, rdx
je 0x1400597e0
mov rdx, qword [rdx + 8]
cmp r9b, byte [rdx + 0x10]
je 0x140059826
cmp r8, rdx
jne 0x1400597d1
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 0x140059761
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 0x140059804
lea rcx, str.invalid_hash_bucket_count
call fcn.14007704c
int3
Function at 0x14005b830
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x180
mov rax, qword [0x1400e4328]
xor rax, rsp
mov qword [rsp + 0x170], rax
mov rsi, rdx
mov rdi, rcx
mov rax, qword [rcx + 0x10]
dec rax
cmp rax, 0xfffffffffffffffd
ja 0x14005ba26
mov rbx, qword [rcx + 0x18]
mov qword [rsp + 0x30], rbx
mov rcx, rbx
call fcn.140078a1c
test eax, eax
jne 0x14005ba53
mov eax, dword [rbx + 0x4c]
cmp eax, 0x7fffffff
je 0x14005ba5e
xor r14d, r14d
mov qword [rsi + 0x28], r14
mov qword [rsi + 0x30], r14
xor edx, edx
mov r8d, pe_nt_image_headers64
lea rcx, [rsp + 0x50]
call fcn.140086020
mov qword [rsp + 0x60], r14
lea r15, vtable.fmt::v9::basic_memory_buffer_char__250__class_std::allocator_char__.0
mov qword [rsp + 0x50], r15
lea rax, [rsp + 0x70]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x68], 0xfa
mov rcx, qword [rdi + 0x28]
mov rax, qword [rcx]
lea r8, [rsp + 0x50]
mov rdx, rsi
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
cmp byte [rdi + 0x20], r14b
je 0x14005b9ba
mov r8, qword [rsi + 0x28]
cmp qword [rsi + 0x30], r8
jbe 0x14005b9ba
test r8, r8
je 0x14005b91a
mov qword [rsp + 0x20], r14
xor r9d, r9d
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rdi + 0x10]
call qword [sym.imp.KERNEL32.dll_WriteConsoleA]
movsxd rax, dword [rsi + 0x10]
movzx ebp, word [rdi + rax*2 + 0x30]
lea rdx, [rsp + 0x38]
mov rcx, qword [rdi + 0x10]
call qword [sym.imp.KERNEL32.dll_GetConsoleScreenBufferInfo]
test eax, eax
jne 0x14005b93b
lea ebp, [rax + 7]
jmp 0x14005b956
mov edx, dword [rsp + 0x40]
and edx, 0xfff0
or edx, ebp
mov rcx, qword [rdi + 0x10]
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
movzx ebp, word [rsp + 0x40]
mov r8, qword [rsi + 0x30]
mov rcx, qword [rsi + 0x28]
cmp r8, rcx
jbe 0x14005b980
sub r8d, ecx
mov rdx, qword [rsp + 0x58]
add rdx, rcx
mov qword [rsp + 0x20], r14
xor r9d, r9d
mov rcx, qword [rdi + 0x10]
call qword [sym.imp.KERNEL32.dll_WriteConsoleA]
movzx edx, bp
mov rcx, qword [rdi + 0x10]
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
mov rcx, qword [rsi + 0x30]
mov r8, qword [rsp + 0x60]
cmp r8, rcx
jbe 0x14005b9de
sub r8d, ecx
mov rdx, qword [rsp + 0x58]
add rdx, rcx
mov qword [rsp + 0x20], r14
xor r9d, r9d
mov rcx, qword [rdi + 0x10]
call qword [sym.imp.KERNEL32.dll_WriteConsoleA]
jmp 0x14005b9de
mov dword [rsp + 0x30], r14d
mov qword [rsp + 0x20], r14
lea r9, [rsp + 0x30]
mov r8d, dword [rsp + 0x60]
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rdi + 0x10]
call qword [sym.imp.KERNEL32.dll_WriteFile]
nop
mov qword [rsp + 0x50], r15
lea rax, [rsp + 0x70]
mov rcx, qword [rsp + 0x58]
cmp rcx, rax
je 0x14005ba1e
mov rdx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005ba18
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005ba4d
call fcn.14008361c
nop
mov rcx, rbx
call fcn.140078a40
mov rcx, qword [rsp + 0x170]
xor rcx, rsp
call fcn.140083250
mov rbx, qword [rsp + 0x1c0]
add rsp, 0x180
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
call fcn.14008acfc
nop
mov ecx, 5
call fcn.140077fe0
int3
dec eax
mov dword [rbx + 0x4c], eax
mov ecx, 6
call fcn.140077fe0
int3