joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14001baf0
Capabilities:
Check if file exists
Delete file
Get file attributes

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
test rcx, rcx
je 0x14001bb3b
mov rax, 0xffffffffffffffff
inc rax
cmp word [rcx + rax*2], 0
jne 0x14001bb05
test rax, rax
je 0x14001bb3b
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14001bb3b
test eax, 0x18450
jne 0x14001bb3b
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x14001bb3b
mov al, 1
add rsp, 0x20
pop rbx
ret
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x14001d270
Capabilities:
Check if file exists
Delete file
Get file attributes
Initialize winsock library
Read .ini file

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x430
mov rax, qword [0x14012d228]
xor rax, rsp
mov qword [rsp + 0x420], rax
mov rsi, rdx
mov rdi, rcx
mov ecx, 0x102
lea rdx, [rsp + 0x70]
call qword [sym.imp.WS2_32.dll_WSAStartup]
test rdi, rdi
je 0x14001d4a6
mov rbx, 0xffffffffffffffff
mov rax, rbx
nop word [rax + rax]
inc rax
cmp word [rdi + rax*2], 0
jne 0x14001d2c0
test rax, rax
je 0x14001d4a6
cmp word [rdi], 0x2f
jne 0x14001d3ea
xor ebp, ebp
mov ecx, ebp
lea rdx, str._ieyt
nop dword [rax + rax]
movzx eax, word [rdi + rcx*2]
inc rcx
cmp ax, word [rdx + rcx*2 - 2]
jne 0x14001d4a6
cmp rcx, 6
jne 0x14001d2f0
call fcn.140056fe0
lea rdx, str.IDS_YAHOOTOOLBAR_MESSAGE
lea rcx, [rsp + 0x68]
call fcn.140055fb0
nop
lea rdx, str.IDS_SAFEPAY_FULL_PRODUCTNAME
lea rcx, [rsp + 0x60]
call fcn.140055fb0
nop
call fcn.140056600
mov rdi, rax
call fcn.140056610
mov qword [rsp + 0x50], rbp
mov byte [rsp + 0x48], 1
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], ebp
mov qword [rsp + 0x20], rbp
mov edi, 2
mov r9d, edi
mov r8d, edi
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x68]
call fcn.140002c30
cmp rax, 6
jne 0x14001d38a
call fcn.140012cb0
mov edi, 1
mov dword [rsi], edi
call fcn.14005a290
nop
mov rdx, qword [rsp + 0x60]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14001d3bb
lfence
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140029715.0]
nop
mov rdx, qword [rsp + 0x68]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], ebx
sub ebx, 1
jg 0x14001d4a6
lfence
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140029715.0]
jmp 0x14001d4a6
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14001d4a6
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x210]
call fcn.1400bb2f0
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], 0x104
lea r9, [rsp + 0x210]
xor r8d, r8d
lea rdx, str.command
lea rcx, str.input
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea rcx, [rsp + 0x210]
mov rax, rbx
nop dword [rax + rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x14001d450
test rax, rax
je 0x14001d4a6
lea rcx, [rsp + 0x210]
lea rdx, str.getprinterlist
nop
movzx eax, word [rcx + rbx*2 + 2]
cmp ax, word [rdx + rbx*2 + 2]
jne 0x14001d49d
add rbx, 2
cmp rbx, 0xf
je 0x14001d492
movzx eax, word [rcx + rbx*2]
cmp ax, word [rdx + rbx*2]
jne 0x14001d49d
jmp 0x14001d470
mov rdx, rsi
mov rcx, rdi
call fcn.14001d040
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
call qword [sym.imp.WS2_32.dll_WSACleanup]
mov rcx, qword [rsp + 0x420]
xor rcx, rsp
call fcn.14005aef0
mov rbx, qword [rsp + 0x460]
add rsp, 0x430
pop rdi
pop rsi
pop rbp
ret
Function at 0x140022a20
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
cmp qword [rdx + 0x18], 0x10
mov r10, rcx
mov r9, qword [rdx + 0x10]
jb 0x140022a31
mov rdx, qword [rdx]
xor r8d, r8d
movabs rax, 0xcbf29ce484222325
test r9, r9
je 0x140022a64
movabs r11, 0x100000001b3
nop dword [rax]
movzx ecx, byte [r8 + rdx]
inc r8
xor rax, rcx
imul rax, r11
cmp r8, r9
jb 0x140022a50
movabs rdx, 0xc6a4a7935bd1e995
imul rax, rdx
mov rcx, rax
shr rcx, 0x2f
xor rcx, rax
mov eax, 0xe6546b64
imul rcx, rdx
xor rcx, r10
imul rcx, rdx
add rax, rcx
ret
Function at 0x14002d2d0
Capabilities:
Hash data using djb2

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov r8, qword [rdx]
mov rdi, rcx
mov r9d, 0x1505
movzx eax, word [r8]
test ax, ax
je 0x14002d307
nop
imul r9, r9, 0x21
movzx eax, ax
lea r8, [r8 + 2]
add r9, rax
movzx eax, word [r8]
test ax, ax
jne 0x14002d2f0
mov r8, rdx
add rcx, 8
lea rdx, [rsp + 0x20]
call fcn.14001f760
mov rcx, qword [rax + 8]
test rcx, rcx
jne 0x14002d325
mov rcx, qword [rdi + 0x10]
mov rbx, qword [rsp + 0x40]
lea rax, [rcx + 0x18]
xor edx, edx
cmp qword [rdi + 0x10], rcx
cmove rax, rdx
add rsp, 0x30
pop rdi
ret

Function at 0x14002d340
Capabilities:
Hash data using djb2

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov r10, qword [rdx]
mov rsi, r8
mov rbx, rcx
mov r9d, 0x1505
movzx eax, word [r10]
test ax, ax
je 0x14002d387
nop word [rax + rax]
imul r9, r9, 0x21
movzx eax, ax
lea r10, [r10 + 2]
add r9, rax
movzx eax, word [r10]
test ax, ax
jne 0x14002d370
mov r8, rdx
add rcx, 8
lea rdx, [rsp + 0x20]
call fcn.14001f760
mov rcx, qword [rax + 8]
test rcx, rcx
jne 0x14002d3a5
mov rcx, qword [rbx + 0x10]
cmp qword [rbx + 0x10], rcx
jne 0x14002d3c0
mov eax, 0x490
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
mov rcx, qword [rcx + 0x18]
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov qword [rsi], rcx
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret

Function at 0x14002d3e0
Capabilities:
Hash data using djb2

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov r10, qword [rdx]
mov rsi, r8
mov rbx, rcx
mov r9d, 0x1505
movzx eax, word [r10]
test ax, ax
je 0x14002d427
nop word [rax + rax]
imul r9, r9, 0x21
movzx eax, ax
lea r10, [r10 + 2]
add r9, rax
movzx eax, word [r10]
test ax, ax
jne 0x14002d410
mov r8, rdx
add rcx, 8
lea rdx, [rsp + 0x20]
call fcn.14001f760
mov rdx, qword [rax + 8]
test rdx, rdx
jne 0x14002d445
mov rdx, qword [rbx + 0x10]
cmp qword [rbx + 0x10], rdx
jne 0x14002d460
mov eax, 0x490
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
add rdx, 0x18
mov rcx, rsi
call fcn.14002a630
mov rbx, qword [rsp + 0x40]
xor eax, eax
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
Function at 0x14002da90
Capabilities:
Hash data using djb2

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
lea rdi, [rcx + 8]
mov ebx, 0x1505
mov rcx, qword [rdx]
movzx eax, word [rcx]
test ax, ax
je 0x14002dad6
nop dword [rax]
nop word [rax + rax]
imul rbx, rbx, 0x21
movzx eax, ax
lea rcx, [rcx + 2]
add rbx, rax
movzx eax, word [rcx]
test ax, ax
jne 0x14002dac0
mov r8, rdx
mov r9, rbx
lea rdx, [rsp + 0x20]
mov rcx, rdi
call fcn.14001f760
xor esi, esi
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x14002db62
mov rcx, qword [rdi + 0x30]
mov r8, qword [rdi + 0x18]
and rcx, rbx
shl rcx, 4
add r8, rcx
mov rax, qword [r8]
cmp qword [r8 + 8], rdx
jne 0x14002db47
cmp rax, rdx
jne 0x14002db2f
mov rax, qword [rdi + 8]
mov qword [r8], rax
mov qword [r8 + 8], rax
lea rcx, [rdi + 8]
call fcn.14002ff60
mov ecx, 1
jmp 0x14002db65
mov rax, qword [rdx + 8]
mov qword [r8 + 8], rax
lea rcx, [rdi + 8]
call fcn.14002ff60
mov ecx, 1
jmp 0x14002db65
cmp rax, rdx
jne 0x14002db52
mov rax, qword [rdx]
mov qword [r8], rax
lea rcx, [rdi + 8]
call fcn.14002ff60
mov ecx, 1
jmp 0x14002db65
mov rcx, rsi
mov rbx, qword [rsp + 0x40]
test rcx, rcx
mov eax, 0x490
cmovne eax, esi
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret

Function at 0x14002db80
Capabilities:
Hash data using djb2

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rdx
mov r8d, 0x1505
mov rdx, qword [rdx + 0x10]
mov r9, qword [rdx + 0x10]
movzx eax, word [r9]
test ax, ax
je 0x14002dbb7
imul r8, r8, 0x21
movzx eax, ax
lea r9, [r9 + 2]
add r8, rax
movzx eax, word [r9]
test ax, ax
jne 0x14002dba0
and r8, qword [rcx + 0x38]
shl r8, 4
add r8, qword [rcx + 0x20]
mov rax, qword [r8]
cmp qword [r8 + 8], rdx
jne 0x14002dc0a
cmp rax, rdx
jne 0x14002dbef
mov rax, qword [rcx + 0x10]
add rcx, 0x10
mov qword [r8], rax
mov qword [r8 + 8], rax
call fcn.14002ff60
mov qword [rbx + 0x10], rax
add rsp, 0x20
pop rbx
ret
mov rax, qword [rdx + 8]
add rcx, 0x10
mov qword [r8 + 8], rax
call fcn.14002ff60
mov qword [rbx + 0x10], rax
add rsp, 0x20
pop rbx
ret
cmp rax, rdx
jne 0x14002dc15
mov rax, qword [rdx]
mov qword [r8], rax
add rcx, 0x10
call fcn.14002ff60
mov qword [rbx + 0x10], rax
add rsp, 0x20
pop rbx
ret
Function at 0x14002dc30
Capabilities:
Hash data using djb2

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
lea rsi, [rcx + 8]
mov ebx, 0x1505
mov rcx, qword [rdx]
movzx eax, word [rcx]
test ax, ax
je 0x14002dc76
nop dword [rax + rax]
imul rbx, rbx, 0x21
movzx eax, ax
add rbx, rax
lea rcx, [rcx + 2]
movzx eax, word [rcx]
test ax, ax
jne 0x14002dc60
mov r9, rbx
mov r8, rdx
lea rdx, [rsp + 0x20]
mov rcx, rsi
call fcn.14001f760
mov rdi, qword [rax + 8]
xor ebp, ebp
test rdi, rdi
je 0x14002dd0e
mov rcx, qword [rsi + 0x30]
and rcx, rbx
shl rcx, 4
mov rdx, qword [rsi + 0x18]
add rdx, rcx
mov rax, qword [rdx]
cmp qword [rdx + 8], rdi
jne 0x14002dccb
cmp rax, rdi
jne 0x14002dcc1
mov rax, qword [rsi + 8]
mov qword [rdx], rax
mov qword [rdx + 8], rax
jmp 0x14002dcd6
mov rax, qword [rdi + 8]
mov qword [rdx + 8], rax
jmp 0x14002dcd6
cmp rax, rdi
jne 0x14002dcd6
mov rax, qword [rdi]
mov qword [rdx], rax
lea rcx, [rsi + 8]
mov rdx, qword [rdi]
dec qword [rcx + 8]
mov rax, qword [rdi + 8]
mov qword [rax], rdx
mov rax, qword [rdi + 8]
mov qword [rdx + 8], rax
lea rdx, [rdi + 0x10]
call fcn.14001fe90
mov edx, 0x20
mov rcx, rdi
call fcn.14005a920
nop
mov ecx, 1
jmp 0x14002dd11
mov rcx, rbp
mov eax, 0x490
test rcx, rcx
cmovne eax, ebp
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret

Function at 0x14002dd40
Capabilities:
Hash data using djb2

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rsi, rdx
mov rbx, qword [rdx + 0x10]
mov r8d, 0x1505
mov r9, qword [rbx + 0x10]
movzx eax, word [r9]
test ax, ax
je 0x14002dd87
nop dword [rax]
imul r8, r8, 0x21
movzx eax, ax
add r8, rax
lea r9, [r9 + 2]
movzx eax, word [r9]
test ax, ax
jne 0x14002dd70
mov rdx, qword [rcx + 0x38]
and rdx, r8
shl rdx, 4
add rdx, qword [rcx + 0x20]
mov rax, qword [rdx]
cmp qword [rdx + 8], rbx
jne 0x14002ddbb
cmp rax, rbx
jne 0x14002ddb1
mov rax, qword [rcx + 0x10]
mov qword [rdx], rax
mov qword [rdx + 8], rax
jmp 0x14002ddc6
mov rax, qword [rbx + 8]
mov qword [rdx + 8], rax
jmp 0x14002ddc6
cmp rax, rbx
jne 0x14002ddc6
mov rax, qword [rbx]
mov qword [rdx], rax
add rcx, 0x10
mov rdi, qword [rbx]
dec qword [rcx + 8]
mov rax, qword [rbx + 8]
mov qword [rax], rdi
mov rax, qword [rbx + 8]
mov qword [rdi + 8], rax
lea rdx, [rbx + 0x10]
call fcn.14001fe90
mov edx, 0x20
mov rcx, rbx
call fcn.14005a920
nop
mov qword [rsi + 0x10], rdi
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x14002e4c0
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x14012d228]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x14002e5a3
cmp byte [rcx + 0x71], 0
je 0x14002e5a3
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
mov rax, qword [rax + 0x18]
call qword [case.0x140029715.0]
cmp eax, 0xffffffff
je 0x14002e59f
mov rcx, qword [rbx + 0x68]
lea r8, [rsp + 0x30]
mov qword [rsp + 0x20], r8
lea rdx, [rbx + 0x74]
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x38]
mov rax, qword [rcx]
mov rax, qword [rax + 0x40]
call qword [case.0x140029715.0]
test eax, eax
je 0x14002e562
sub eax, 1
je 0x14002e566
cmp eax, 2
jne 0x14002e59f
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14005aef0
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x14002e596
lfence
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x38]
mov r8, rdi
mov edx, 1
call fcn.1400c60c0
cmp rdi, rax
jne 0x14002e59f
cmp byte [rbx + 0x71], 0
sete al
jmp 0x14002e54a
xor al, al
jmp 0x14002e54a
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14005aef0
add rsp, 0x60
pop rbx
ret
Function at 0x14002e5c0
Capabilities:
Hash data using djb2

Disassembly:
push rdi
push r15
sub rsp, 0x38
movabs rax, 0xfffffffffffffff
mov r15, rcx
bsr rcx, rax
mov edi, 1
mov eax, edi
shl rax, cl
cmp rdx, rax
ja 0x14002e7ef
lea rax, [rdx - 1]
mov qword [rsp + 0x50], rbx
mov rbx, qword [r15 + 8]
or rax, rdi
bsr rcx, rax
mov r8, rbx
mov qword [rsp + 0x30], r12
inc ecx
shl rdi, cl
lea rcx, [r15 + 0x18]
lea rdx, [rdi + rdi]
call fcn.14002e000
lea rax, [rdi - 1]
mov qword [r15 + 0x38], rdi
mov qword [r15 + 0x30], rax
mov rax, qword [r15 + 8]
mov rax, qword [rax]
mov rdx, rax
cmp rax, rbx
je 0x14002e7b7
mov qword [rsp + 0x58], rbp
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x28], r13
lea r13, [0x1400f6f4c]
mov qword [rsp + 0x20], r14
nop dword [rax]
nop dword [rax + rax]
mov rbp, qword [rax + 0x10]
mov r9d, 0x1505
mov rdx, qword [rdx]
mov r8, rbp
movzx ecx, word [rbp]
test cx, cx
je 0x14002e697
nop dword [rax]
imul r9, r9, 0x21
movzx ecx, cx
lea r8, [r8 + 2]
add r9, rcx
movzx ecx, word [r8]
test cx, cx
jne 0x14002e680
mov r14, qword [r15 + 0x30]
and r14, r9
shl r14, 4
add r14, qword [r15 + 0x18]
mov rsi, qword [r14]
cmp rsi, rbx
jne 0x14002e6ba
mov qword [r14], rax
mov qword [r14 + 8], rax
jmp 0x14002e797
mov rcx, qword [r14 + 8]
mov r11, r13
mov r8, qword [rcx + 0x10]
test r8, r8
cmovne r11, r8
mov r8, rbp
sub r11, rbp
movzx r10d, word [r8]
movzx r9d, word [r8 + r11]
sub r10d, r9d
jne 0x14002e6e9
add r8, 2
test r9d, r9d
jne 0x14002e6d2
test r10d, r10d
jne 0x14002e71d
mov r10, qword [rcx]
cmp r10, rax
je 0x14002e717
mov r9, qword [rax + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], r10
mov rcx, qword [r10 + 8]
mov qword [rcx], rax
mov qword [r10 + 8], r8
mov qword [rdx + 8], r9
mov qword [rax + 8], rcx
mov qword [r14 + 8], rax
jmp 0x14002e797
mov rdi, rcx
cmp rsi, rcx
je 0x14002e773
nop word [rax + rax]
mov rcx, qword [rcx + 8]
mov r11, r13
mov rdi, rcx
mov r8, qword [rcx + 0x10]
test r8, r8
cmovne r11, r8
test rbp, rbp
mov r8, r13
cmovne r8, rbp
sub r11, r8
movzx r10d, word [r8]
movzx r9d, word [r8 + r11]
sub r10d, r9d
jne 0x14002e769
add r8, 2
test r9d, r9d
jne 0x14002e752
test r10d, r10d
je 0x14002e7c9
cmp rsi, rcx
jne 0x14002e730
mov r9, qword [rax + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], rdi
mov rcx, qword [rdi + 8]
mov qword [rcx], rax
mov qword [rdi + 8], r8
mov qword [rdx + 8], r9
mov qword [rax + 8], rcx
mov qword [r14], rax
mov rax, rdx
cmp rdx, rbx
jne 0x14002e660
mov r14, qword [rsp + 0x20]
mov r13, qword [rsp + 0x28]
mov rsi, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x50]
mov r12, qword [rsp + 0x30]
add rsp, 0x38
pop r15
pop rdi
ret
mov r10, qword [rcx]
mov r9, qword [rax + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], r10
mov rcx, qword [r10 + 8]
mov qword [rcx], rax
mov qword [r10 + 8], r8
mov qword [rdx + 8], r9
mov qword [rax + 8], rcx
jmp 0x14002e797
lea rcx, str.invalid_hash_bucket_count
call fcn.14005be70
int3
Function at 0x14002e800
Capabilities:
Hash data using djb2

Disassembly:
push rdi
push r14
sub rsp, 0x28
movabs rax, 0xfffffffffffffff
mov r14, rcx
bsr rcx, rax
mov edi, 1
mov eax, edi
shl rax, cl
cmp rdx, rax
ja 0x14002ea24
lea rax, [rdx - 1]
mov qword [rsp + 0x40], rbx
mov rbx, qword [r14 + 8]
or rax, rdi
bsr rcx, rax
mov r8, rbx
mov qword [rsp + 0x20], r15
inc ecx
shl rdi, cl
lea rcx, [r14 + 0x18]
lea rdx, [rdi + rdi]
call fcn.14002e000
lea rax, [rdi - 1]
mov qword [r14 + 0x38], rdi
mov qword [r14 + 0x30], rax
mov rax, qword [r14 + 8]
mov rax, qword [rax]
mov rdx, rax
cmp rax, rbx
je 0x14002e9ec
mov qword [rsp + 0x48], rbp
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], r12
lea r12, [0x1400f6f4c]
nop
mov rbp, qword [rax + 0x10]
mov r9d, 0x1505
mov rdx, qword [rdx]
mov r8, rbp
movzx ecx, word [rbp]
test cx, cx
je 0x14002e8c7
nop dword [rax]
imul r9, r9, 0x21
movzx ecx, cx
lea r8, [r8 + 2]
add r9, rcx
movzx ecx, word [r8]
test cx, cx
jne 0x14002e8b0
mov rsi, qword [r14 + 0x30]
and rsi, r9
shl rsi, 4
add rsi, qword [r14 + 0x18]
mov rdi, qword [rsi]
cmp rdi, rbx
jne 0x14002e8ea
mov qword [rsi], rax
mov qword [rsi + 8], rax
jmp 0x14002e9d1
mov rcx, qword [rsi + 8]
mov r10, r12
mov r8, qword [rcx + 0x10]
test r8, r8
cmovne r10, r8
mov r8, rbp
sub r10, rbp
movzx r9d, word [r8]
cmp r9w, word [r8 + r10]
jne 0x14002e91c
add r8, 2
test r9w, r9w
jne 0x14002e902
xor r8d, r8d
jmp 0x14002e923
sbb r8d, r8d
or r8d, 1
test r8d, r8d
jne 0x14002e957
mov r10, qword [rcx]
cmp r10, rax
je 0x14002e951
mov r9, qword [rax + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], r10
mov rcx, qword [r10 + 8]
mov qword [rcx], rax
mov qword [r10 + 8], r8
mov qword [rdx + 8], r9
mov qword [rax + 8], rcx
mov qword [rsi + 8], rax
jmp 0x14002e9d1
mov r11, rcx
cmp rdi, rcx
je 0x14002e9ad
nop
mov rcx, qword [rcx + 8]
mov r10, r12
mov r11, rcx
mov r8, qword [rcx + 0x10]
test r8, r8
cmovne r10, r8
test rbp, rbp
mov r8, r12
cmovne r8, rbp
sub r10, r8
movzx r9d, word [r8]
cmp r9w, word [r8 + r10]
jne 0x14002e99c
add r8, 2
test r9w, r9w
jne 0x14002e982
xor r8d, r8d
jmp 0x14002e9a3
sbb r8d, r8d
or r8d, 1
test r8d, r8d
je 0x14002e9fe
cmp rdi, rcx
jne 0x14002e960
mov r9, qword [rax + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], r11
mov rcx, qword [r11 + 8]
mov qword [rcx], rax
mov qword [r11 + 8], r8
mov qword [rdx + 8], r9
mov qword [rax + 8], rcx
mov qword [rsi], rax
mov rax, rdx
cmp rdx, rbx
jne 0x14002e890
mov r12, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x40]
mov r15, qword [rsp + 0x20]
add rsp, 0x28
pop r14
pop rdi
ret
mov r10, qword [rcx]
mov r9, qword [rax + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], r10
mov rcx, qword [r10 + 8]
mov qword [rcx], rax
mov qword [r10 + 8], r8
mov qword [rdx + 8], r9
mov qword [rax + 8], rcx
jmp 0x14002e9d1
lea rcx, str.invalid_hash_bucket_count
call fcn.14005be70
int3
Function at 0x140037440
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x90
mov rax, qword [0x14012d228]
xor rax, rsp
mov qword [rsp + 0x88], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x140037470
xor eax, eax
jmp 0x1400375c3
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x1400374aa
mov rax, qword [rcx + 0x58]
movsxd r8, dword [rax]
lea rcx, [rdx + r8]
cmp rdx, rcx
jae 0x1400374aa
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 0x1400375c3
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0xb0], rsi
je 0x1400375b6
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x1400374ed
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 0x1400374fc
movsx ecx, dil
jmp 0x14003755a
lea r8, [rsp + 0x58]
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 + 0x88]
mov qword [rsp + 0x30], r8
lea r8, [rsp + 0x68]
mov rax, qword [rax + 0x38]
mov qword [rsp + 0x28], r8
lea r8, [rsp + 0x60]
mov qword [rsp + 0x20], r8
lea r8, [rsp + 0x50]
call qword [case.0x140029715.0]
test eax, eax
je 0x140037574
sub eax, 1
je 0x140037574
cmp eax, 2
jne 0x1400375b6
movsx ecx, byte [rsp + 0x50]
mov rdx, qword [rbx + 0x80]
call fcn.1400c57d0
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x1400375bb
mov rsi, qword [rsp + 0x58]
lea rax, [rsp + 0x68]
sub rsi, rax
je 0x1400375a4
lfence
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x68]
mov r8, rsi
mov edx, 1
call fcn.1400c60c0
cmp rsi, rax
jne 0x1400375b6
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x60], rax
mov eax, edi
jne 0x1400375bb
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.14005aef0
mov rbx, qword [rsp + 0xb8]
add rsp, 0x90
pop rdi
ret
Function at 0x14003bfc0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
mov rbp, r8
mov r14, rdx
mov rdi, rcx
test r8, r8
jg 0x14003bff1
xor eax, eax
mov rbp, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
cmp qword [rcx + 0x68], 0
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x38], rsi
je 0x14003c076
lfence
mov rbx, rbp
mov rcx, rdi
call fcn.14002f5a0
test rax, rax
jle 0x14003c046
mov rdx, qword [rdi + 0x38]
cmp rbx, rax
mov rsi, rbx
mov rcx, r14
cmovge rsi, rax
mov r8, rsi
mov rdx, qword [rdx]
call fcn.1400bac40
mov rax, qword [rdi + 0x50]
sub rbx, rsi
sub dword [rax], esi
mov rcx, qword [rdi + 0x38]
movsxd rax, esi
add qword [rcx], rax
jmp 0x14003c066
mov rax, qword [rdi]
mov rcx, rdi
mov rax, qword [rax + 0x38]
call qword [case.0x140029715.0]
cmp eax, 0xffffffff
je 0x14003c06e
mov byte [r14], al
dec rbx
mov esi, 1
add r14, rsi
test rbx, rbx
jg 0x14003c008
sub rbp, rbx
jmp 0x14003c168
mov rax, qword [rcx + 0x38]
mov rsi, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x14003c08d
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x14003c08f
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x14003c0c1
cmp rax, rbp
mov rbx, rbp
mov rcx, r14
cmovb rbx, rax
mov r8, rbx
call fcn.1400bac40
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 0x14003c162
mov r8, qword [rdi + 0x18]
lea rax, [rdi + 0x70]
cmp qword [r8], rax
jne 0x14003c0fc
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 rbx, rsi
cmp rsi, 0xfff
jbe 0x14003c140
nop dword [rax + rax]
mov r9, qword [rdi + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, r14
call fcn.1400c5b54
sub rsi, rax
add r14, rax
mov rbx, rsi
cmp rax, 0xfff
jne 0x14003c162
cmp rsi, rax
ja 0x14003c110
test rbx, rbx
je 0x14003c162
mov r9, qword [rdi + 0x80]
mov r8, rsi
mov edx, 1
mov rcx, r14
call fcn.1400c5b54
mov rsi, rbx
sub rsi, rax
sub rbp, rsi
lfence
mov rbx, qword [rsp + 0x30]
mov rax, rbp
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x14003c250
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov r14, r8
mov rbp, rdx
mov rdi, rcx
mov rbx, r8
je 0x14003c2f1
test r8, r8
jle 0x14003c2e9
mov rcx, rdi
call fcn.14002fa40
test rax, rax
jle 0x14003c2c0
mov rcx, qword [rdi + 0x40]
cmp rbx, rax
mov rsi, rbx
mov rdx, rbp
cmovge rsi, rax
mov r8, rsi
mov rcx, qword [rcx]
call fcn.1400bac40
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 0x14003c2e1
mov rax, qword [rdi]
mov rcx, rdi
movzx edx, byte [rbp]
mov rax, qword [rax + 0x18]
call qword [case.0x140029715.0]
cmp eax, 0xffffffff
je 0x14003c2e9
dec rbx
mov esi, 1
add rbp, rsi
test rbx, rbx
jg 0x14003c282
sub r14, rbx
mov rax, r14
jmp 0x14003c36d
mov rax, qword [rcx + 0x40]
mov r9, qword [rax]
test r9, r9
je 0x14003c305
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x14003c307
xor ecx, ecx
movsxd rsi, ecx
test r14, r14
jle 0x14003c367
test ecx, ecx
jle 0x14003c340
cmp r14, rsi
mov rcx, r9
cmovl rsi, r14
mov r8, rsi
call fcn.1400bac40
mov rax, qword [rdi + 0x58]
sub r14, rsi
add rbp, rsi
sub dword [rax], esi
mov rcx, qword [rdi + 0x40]
movsxd rax, esi
add qword [rcx], rax
test r14, r14
jle 0x14003c367
cmp qword [rdi + 0x80], 0
je 0x14003c367
lfence
mov r9, qword [rdi + 0x80]
mov r8, r14
mov edx, 1
mov rcx, rbp
call fcn.1400c60c0
sub r14, rax
sub rbx, r14
mov rax, rbx
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