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

Disassembly:
push rdi
sub rsp, 0x30
mov rdi, rcx
mov rcx, qword [rcx + 0x10]
test rcx, rcx
je 0x14001b18c
mov rax, qword [rdi + 0x38]
shr rax, 3
cmp rax, rcx
jbe 0x14001b11a
mov rdx, qword [rdi + 8]
mov rcx, rdi
mov r8, rdx
mov rdx, qword [rdx]
add rsp, 0x30
pop rdi
jmp 0x14001b1a0
mov rcx, qword [rdi + 8]
mov rax, qword [rcx + 8]
mov qword [rax], 0
mov rcx, qword [rcx]
test rcx, rcx
je 0x14001b15a
mov qword [rsp + 0x48], rbx
nop word [rax + rax]
mov rbx, qword [rcx]
mov edx, Ordinal_27
call fcn.140161b04
mov rcx, rbx
test rbx, rbx
jne 0x14001b140
mov rbx, qword [rsp + 0x48]
mov rax, qword [rdi + 8]
lea r8, [rsp + 0x20]
mov qword [rax], rax
mov rax, qword [rdi + 8]
mov qword [rax + 8], rax
mov qword [rdi + 0x10], 0
mov rax, qword [rdi + 8]
mov rdx, qword [rdi + 0x20]
mov rcx, qword [rdi + 0x18]
mov qword [rsp + 0x20], rax
call fcn.140004630
add rsp, 0x30
pop rdi
ret
mov rax, rsp
push rbp
push rsi
push r14
sub rsp, 0x50
mov rbp, r8
mov r14, rdx
mov rsi, rcx
cmp rdx, r8
je 0x14001b2a4
mov rdx, qword [rcx + 0x18]
movabs r8, 0x100000001b3
mov qword [rax + 0x10], rbx
mov rbx, r14
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r12
mov r12, qword [rcx + 8]
movzx ecx, byte [r14 + 0x10]
mov qword [rax - 0x20], r13
mov r13, qword [r14 + 8]
mov qword [rax - 0x28], r15
movabs rax, 0xcbf29ce484222325
mov r15, qword [rsi + 0x30]
xor rcx, rax
movzx eax, byte [r14 + 0x11]
imul rcx, r8
mov qword [rsp + 0x30], rdx
xor rcx, rax
movzx eax, byte [r14 + 0x12]
imul rcx, r8
xor rcx, rax
movzx eax, byte [r14 + 0x13]
imul rcx, r8
xor rcx, rax
imul rcx, r8
and r15, rcx
shl r15, 4
add r15, rdx
mov rax, qword [r15]
mov qword [rsp + 0x20], rax
mov rax, qword [r15 + 8]
mov qword [rsp + 0x28], rax
nop dword [rax + rax]
mov rcx, rbx
mov rdi, rbx
mov rbx, qword [rbx]
mov edx, Ordinal_27
call fcn.140161b04
dec qword [rsi + 0x10]
cmp rdi, qword [rsp + 0x28]
je 0x14001b2b0
cmp rbx, rbp
jne 0x14001b250
cmp qword [rsp + 0x20], r14
jne 0x14001b27d
mov qword [r15], rbx
mov r12, qword [rsp + 0x88]
mov rdi, qword [rsp + 0x80]
mov r15, qword [rsp + 0x40]
mov qword [r13], rbx
mov qword [rbx + 8], r13
mov r13, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x78]
mov rax, rbp
add rsp, 0x50
pop r14
pop rsi
pop rbp
ret
cmp qword [rsp + 0x20], r14
jne 0x14001b2bf
mov qword [r15], r12
mov rax, r12
jmp 0x14001b2c2
mov rax, r13
mov qword [r15 + 8], rax
cmp rbx, rbp
je 0x14001b27d
nop dword [rax + rax]
movzx ecx, byte [rbx + 0x10]
movabs rdx, 0x100000001b3
mov r15, qword [rsi + 0x30]
movabs rax, 0xcbf29ce484222325
xor rcx, rax
movzx eax, byte [rbx + 0x11]
imul rcx, rdx
xor rcx, rax
movzx eax, byte [rbx + 0x12]
imul rcx, rdx
xor rcx, rax
movzx eax, byte [rbx + 0x13]
imul rcx, rdx
xor rcx, rax
imul rcx, rdx
and r15, rcx
shl r15, 4
add r15, qword [rsp + 0x30]
mov r14, qword [r15 + 8]
nop dword [rax]
nop dword [rax + rax]
mov rcx, rbx
mov rdi, rbx
mov rbx, qword [rbx]
mov edx, Ordinal_27
call fcn.140161b04
dec qword [rsi + 0x10]
cmp rdi, r14
je 0x14001b356
cmp rbx, rbp
jne 0x14001b330
jmp 0x14001b27a
mov qword [r15], r12
mov qword [r15 + 8], r12
cmp rbx, rbp
jne 0x14001b2d0
jmp 0x14001b27d
Function at 0x14001b1a0
Capabilities:
Hash data using fnv

Disassembly:
push rdi
sub rsp, 0x30
mov rdi, rcx
mov rcx, qword [rcx + 0x10]
test rcx, rcx
je 0x14001b18c
mov rax, qword [rdi + 0x38]
shr rax, 3
cmp rax, rcx
jbe 0x14001b11a
mov rdx, qword [rdi + 8]
mov rcx, rdi
mov r8, rdx
mov rdx, qword [rdx]
add rsp, 0x30
pop rdi
jmp 0x14001b1a0
mov rcx, qword [rdi + 8]
mov rax, qword [rcx + 8]
mov qword [rax], 0
mov rcx, qword [rcx]
test rcx, rcx
je 0x14001b15a
mov qword [rsp + 0x48], rbx
nop word [rax + rax]
mov rbx, qword [rcx]
mov edx, Ordinal_27
call fcn.140161b04
mov rcx, rbx
test rbx, rbx
jne 0x14001b140
mov rbx, qword [rsp + 0x48]
mov rax, qword [rdi + 8]
lea r8, [rsp + 0x20]
mov qword [rax], rax
mov rax, qword [rdi + 8]
mov qword [rax + 8], rax
mov qword [rdi + 0x10], 0
mov rax, qword [rdi + 8]
mov rdx, qword [rdi + 0x20]
mov rcx, qword [rdi + 0x18]
mov qword [rsp + 0x20], rax
call fcn.140004630
add rsp, 0x30
pop rdi
ret
mov rax, rsp
push rbp
push rsi
push r14
sub rsp, 0x50
mov rbp, r8
mov r14, rdx
mov rsi, rcx
cmp rdx, r8
je 0x14001b2a4
mov rdx, qword [rcx + 0x18]
movabs r8, 0x100000001b3
mov qword [rax + 0x10], rbx
mov rbx, r14
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r12
mov r12, qword [rcx + 8]
movzx ecx, byte [r14 + 0x10]
mov qword [rax - 0x20], r13
mov r13, qword [r14 + 8]
mov qword [rax - 0x28], r15
movabs rax, 0xcbf29ce484222325
mov r15, qword [rsi + 0x30]
xor rcx, rax
movzx eax, byte [r14 + 0x11]
imul rcx, r8
mov qword [rsp + 0x30], rdx
xor rcx, rax
movzx eax, byte [r14 + 0x12]
imul rcx, r8
xor rcx, rax
movzx eax, byte [r14 + 0x13]
imul rcx, r8
xor rcx, rax
imul rcx, r8
and r15, rcx
shl r15, 4
add r15, rdx
mov rax, qword [r15]
mov qword [rsp + 0x20], rax
mov rax, qword [r15 + 8]
mov qword [rsp + 0x28], rax
nop dword [rax + rax]
mov rcx, rbx
mov rdi, rbx
mov rbx, qword [rbx]
mov edx, Ordinal_27
call fcn.140161b04
dec qword [rsi + 0x10]
cmp rdi, qword [rsp + 0x28]
je 0x14001b2b0
cmp rbx, rbp
jne 0x14001b250
cmp qword [rsp + 0x20], r14
jne 0x14001b27d
mov qword [r15], rbx
mov r12, qword [rsp + 0x88]
mov rdi, qword [rsp + 0x80]
mov r15, qword [rsp + 0x40]
mov qword [r13], rbx
mov qword [rbx + 8], r13
mov r13, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x78]
mov rax, rbp
add rsp, 0x50
pop r14
pop rsi
pop rbp
ret
cmp qword [rsp + 0x20], r14
jne 0x14001b2bf
mov qword [r15], r12
mov rax, r12
jmp 0x14001b2c2
mov rax, r13
mov qword [r15 + 8], rax
cmp rbx, rbp
je 0x14001b27d
nop dword [rax + rax]
movzx ecx, byte [rbx + 0x10]
movabs rdx, 0x100000001b3
mov r15, qword [rsi + 0x30]
movabs rax, 0xcbf29ce484222325
xor rcx, rax
movzx eax, byte [rbx + 0x11]
imul rcx, rdx
xor rcx, rax
movzx eax, byte [rbx + 0x12]
imul rcx, rdx
xor rcx, rax
movzx eax, byte [rbx + 0x13]
imul rcx, rdx
xor rcx, rax
imul rcx, rdx
and r15, rcx
shl r15, 4
add r15, qword [rsp + 0x30]
mov r14, qword [r15 + 8]
nop dword [rax]
nop dword [rax + rax]
mov rcx, rbx
mov rdi, rbx
mov rbx, qword [rbx]
mov edx, Ordinal_27
call fcn.140161b04
dec qword [rsi + 0x10]
cmp rdi, r14
je 0x14001b356
cmp rbx, rbp
jne 0x14001b330
jmp 0x14001b27a
mov qword [r15], r12
mov qword [r15 + 8], r12
cmp rbx, rbp
jne 0x14001b2d0
jmp 0x14001b27d
Function at 0x14001b8c0
Capabilities:
Log keystrokes via polling

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push rbp
lea rbp, [rax - 0xe8]
sub rsp, 0x1e0
movaps xmmword [rax - 0x18], xmm6
mov rax, qword [0x1403d3080]
xor rax, rsp
mov qword [rbp + 0xc0], rax
cmp byte [0x1403ec8e0], 0
jne 0x14001baf3
movabs rsi, 0x7fffffffffffffff
mov r14d, 0xff
mov edi, dword [rsp + 0x48]
movsd xmm6, qword [rsp + 0x40]
nop
mov eax, dword [reloc.WS2_32.dll_accept]
inc eax
movsxd rbx, eax
lea rcx, [rsp + 0x50]
call fcn.140001c50
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x30], rax
test rbx, rbx
je 0x14001b975
js 0x14001b975
imul r8, rbx, 0xf4240
mov rdx, rsi
sub rdx, r8
cmp rax, rdx
je 0x14001b970
mov ecx, 1
cmovl ecx, r14d
test cl, cl
jns 0x14001b970
lea rcx, [r8 + rax]
mov qword [rsp + 0x30], rcx
jmp 0x14001b975
mov qword [rsp + 0x30], rsi
lea rcx, [rsp + 0x30]
call fcn.140004c30
cmp byte [0x1403ec7c4], 0
je 0x14001bae6
cmp qword [0x140424718], 0
je 0x14001bae6
lea rcx, [rbp + 0x20]
call fcn.14001aa40
mov qword [rbp + 0xb4], 0
movd xmm1, dword [0x1403ec7c8]
cvtdq2ps xmm1, xmm1
lea rax, [rbp + 0x20]
mov qword [rsp + 0x20], rax
movzx r9d, byte [0x1403ec7d0]
mov r8d, dword [0x1403ec7d4]
call fcn.14002a060
test al, al
je 0x14001babf
mov ecx, dword [0x1403ec7cc]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x14001babf
cmp byte [rbp + 0x60], 0
jne 0x14001bad4
mov ecx, dword [0x1403ec7d8]
test ecx, ecx
je 0x14001ba49
sub ecx, 1
je 0x14001ba2f
cmp ecx, 1
jne 0x14001baa2
lea rdx, [rbp + 0x20]
lea rcx, [rsp + 0x58]
call fcn.14001ab30
mov r9d, 0x60f2
lea rdx, [rbp - 8]
jmp 0x14001ba61
lea rdx, [rbp + 0x20]
lea rcx, [rsp + 0x58]
call fcn.14001ab30
mov r9d, 0x9995
lea rdx, [rbp + 4]
jmp 0x14001ba61
lea rdx, [rbp + 0x20]
lea rcx, [rsp + 0x58]
call fcn.14001ab30
mov r9d, 0x796e
lea rdx, [rbp + 0x10]
movsd xmm0, qword [rbp + 0xa8]
movsd qword [rbp - 0x20], xmm0
mov eax, dword [rbp + 0xb0]
movss xmm0, dword [rbp + 0xb4]
movss xmm1, dword [rbp + 0xb8]
mov dword [rbp - 0x18], eax
movss dword [rbp - 0x14], xmm0
movss dword [rbp - 0x10], xmm1
lea r8, [rsp + 0x58]
call fcn.1400296f0
movsd xmm6, qword [rax]
mov edi, dword [rax + 8]
movsd qword [rsp + 0x40], xmm6
mov dword [rsp + 0x48], edi
lea rcx, [rsp + 0x40]
call fcn.14001b560
mov byte [0x140423de8], 1
jmp 0x14001bad4
cmp byte [0x140423de8], 0
je 0x14001bad4
call fcn.14001b370
mov byte [0x140423de8], 0
lea rcx, [rbp + 0x68]
call fcn.140005190
lea rcx, [rbp + 0x38]
call fcn.140003530
cmp byte [0x1403ec8e0], 0
je 0x14001b920
mov rcx, qword [rbp + 0xc0]
xor rcx, rsp
call fcn.140161860
lea r11, [rsp + 0x1e0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop rbp
ret
Function at 0x1400296f0
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x10]
sub rsp, 0x110
mov rax, qword [0x1403d3080]
xor rax, rsp
mov qword [rbp], rax
mov edi, r9d
mov rbx, r8
mov rsi, rdx
mov qword [rbp - 0x30], rbx
mov dword [rbp - 0x28], r9d
mov rdx, qword [0x140423e20]
add rdx, qword [r8]
xor r15d, r15d
mov rcx, qword [0x140423f30]
test rcx, rcx
je 0x140029766
cmp dword [0x140423e9c], r15d
je 0x140029766
mov qword [rsp + 0x20], r15
lea r9d, [r15 + 8]
lea r8, [rbp - 0x20]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rcx, qword [0x140423f30]
mov edi, dword [rbp - 0x28]
mov rdx, qword [rbp - 0x20]
test rdx, rdx
je 0x1400298ed
test rcx, rcx
je 0x1400297d5
cmp dword [0x140423e9c], r15d
je 0x1400297a4
add rdx, 0x68
mov qword [rsp + 0x20], r15
mov r9d, 8
lea r8, [rbp - 0x18]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rcx, qword [0x140423f30]
mov edi, dword [rbp - 0x28]
test rcx, rcx
je 0x1400297d5
cmp dword [0x140423e9c], r15d
je 0x1400297d5
mov rdx, qword [rbp - 0x18]
add rdx, 0x178
mov qword [rsp + 0x20], r15
mov r9d, 8
lea r8, [rbp - 0x10]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov edi, dword [rbp - 0x28]
mov r9, qword [rbp - 0x10]
mov qword [rbx + 0x38], r9
movzx ecx, dil
movabs rax, 0xcbf29ce484222325
xor rcx, rax
movabs rdx, 0x100000001b3
imul rcx, rdx
movzx eax, byte [rbp - 0x27]
xor rcx, rax
imul rcx, rdx
movzx eax, byte [rbp - 0x26]
xor rcx, rax
imul rcx, rdx
movzx eax, byte [rbp - 0x25]
xor rcx, rax
imul rcx, rdx
mov rax, qword [rbx + 0x78]
and rax, rcx
add rax, rax
mov rcx, qword [rbx + 0x60]
mov r8, qword [rcx + rax*8 + 8]
mov rdx, qword [rbx + 0x50]
cmp r8, rdx
je 0x140029854
mov rax, qword [rcx + rax*8]
cmp edi, dword [r8 + 0x10]
je 0x140029857
cmp r8, rax
je 0x140029854
mov r8, qword [r8 + 8]
cmp edi, dword [r8 + 0x10]
jne 0x140029843
jmp 0x140029857
mov r8, r15
test r8, r8
je 0x140029875
cmp r8, rdx
je 0x140029875
mov r8d, dword [r8 + 0x14]
mov rdx, r9
mov rcx, rsi
call fcn.1400294c0
jmp 0x1400298f4
mov dword [rbp - 0x20], r15d
mov rdx, rbx
lea rcx, [rsp + 0x30]
call fcn.14001ab30
movsd xmm0, qword [rbx + 0x88]
movsd qword [rbp - 0x48], xmm0
mov eax, dword [rbx + 0x90]
mov dword [rbp - 0x40], eax
movsd xmm0, qword [rbx + 0x94]
movsd qword [rbp - 0x3c], xmm0
lea r9, [rbp - 0x20]
mov r8d, edi
lea rdx, [rsp + 0x30]
call fcn.140029930
test al, al
je 0x1400298ed
mov edi, dword [rbp - 0x20]
test edi, edi
je 0x1400298ed
lea r8, [rbp - 0x28]
lea rdx, [rbp - 0x10]
lea rcx, [rbx + 0x48]
call fcn.14002da60
mov rcx, qword [rax]
mov dword [rcx + 0x14], edi
mov r8d, edi
mov rdx, qword [rbx + 0x38]
mov rcx, rsi
call fcn.1400294c0
jmp 0x1400298f4
mov qword [rsi], r15
mov dword [rsi + 8], r15d
lea rcx, [rbx + 0x48]
call fcn.140005190
lea rcx, [rbx + 0x18]
call fcn.140003530
mov rax, rsi
mov rcx, qword [rbp]
xor rcx, rsp
call fcn.140161860
mov rbx, qword [rsp + 0x140]
add rsp, 0x110
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x14002ba30
Capabilities:
Write file on windows

Disassembly:
push rbx
push rdi
push r15
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov rbx, r8
mov r15, rdx
mov rdi, rcx
je 0x14002ba58
add rsp, 0x20
pop r15
pop rdi
pop rbx
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x40]
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], rsi
mov rsi, rbx
mov qword [rsp + 0x58], r14
mov r9, qword [rax]
test r9, r9
je 0x14002ba7e
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x14002ba80
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x14002bad9
test ecx, ecx
jle 0x14002bab9
cmp rbx, rbp
mov rcx, r9
cmovl rbp, rbx
mov r8, rbp
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rdi + 0x58]
add r15, rbp
sub rbx, rbp
sub dword [rax], ebp
mov rcx, qword [rdi + 0x40]
movsxd rax, ebp
add qword [rcx], rax
test rbx, rbx
jle 0x14002bad9
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x14002bad9
mov r8, rbx
mov edx, 1
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
sub rbx, rax
mov r14, qword [rsp + 0x58]
sub rsi, rbx
mov rbp, qword [rsp + 0x40]
mov rax, rsi
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r15
pop rdi
pop rbx
ret

Function at 0x14002bb00
Capabilities:
Read file on windows

Disassembly:
push rbp
push rsi
push r14
sub rsp, 0x30
mov rbp, r8
mov r14, rdx
mov rsi, rcx
test r8, r8
jg 0x14002bb22
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
cmp qword [rcx + 0x68], 0
je 0x14002bb38
add rsp, 0x30
pop r14
pop rsi
pop rbp
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsgetn_char____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x38]
mov qword [rsp + 0x28], rbx
mov rbx, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x14002bb54
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x14002bb56
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x14002bb92
mov qword [rsp + 0x20], rdi
cmp rax, rbp
mov rdi, rbp
mov rcx, r14
cmovb rdi, rax
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rsi + 0x50]
add r14, rdi
sub rbx, rdi
sub dword [rax], edi
mov rcx, qword [rsi + 0x38]
movsxd rax, edi
mov rdi, qword [rsp + 0x20]
add qword [rcx], rax
cmp qword [rsi + 0x80], 0
je 0x14002bc2e
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x14002bbcd
mov rcx, qword [rsi + 0x88]
mov rdx, qword [rsi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rsi + 0x38]
mov qword [rax], rcx
mov rax, qword [rsi + 0x50]
mov dword [rax], edx
cmp rbx, 0xfff
jbe 0x14002bc0e
nop word [rax + rax]
mov r9, qword [rsi + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add r14, rax
sub rbx, rax
cmp rax, 0xfff
jne 0x14002bc2e
cmp rbx, rax
ja 0x14002bbe0
test rbx, rbx
je 0x14002bc2e
mov r9, qword [rsi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
sub rbx, rax
sub rbp, rbx
mov rbx, qword [rsp + 0x28]
mov rax, rbp
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
Function at 0x14002c060
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x1403d3080]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x14002c08d
xor eax, eax
jmp 0x14002c1f9
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x14002c0c7
mov rax, qword [rcx + 0x58]
movsxd r8, dword [rax]
lea rcx, [rdx + r8]
cmp rdx, rcx
jae 0x14002c0c7
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 0x14002c1f9
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x14002c1ec
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x14002c10a
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 0x14002c135
mov rdx, qword [rbx + 0x80]
movsx ecx, dil
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x14002c1f1
lea rax, [rsp + 0x40]
mov byte [rsp + 0x50], dil
mov qword [rsp + 0x38], rax
lea rdx, [rbx + 0x74]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x51]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x50]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::out_struct__Mbstatet____ptr64__char_const____ptr64__char_const____ptr64__char_const____ptr64____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x14002c1a4
sub eax, 1
je 0x14002c1a4
cmp eax, 2
jne 0x14002c1ec
movsx ecx, byte [rsp + 0x50]
mov rdx, qword [rbx + 0x80]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x14002c1f1
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x14002c1d2
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x58]
mov r8, rsi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rsi, rax
jne 0x14002c1ec
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov ecx, 0xffffffff
cmovne ecx, edi
mov eax, ecx
jmp 0x14002c1f1
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140161860
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x14002c830
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x1403d3080]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x14002c903
cmp byte [rcx + 0x71], 0
je 0x14002c903
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + Ordinal_26]
cmp eax, 0xffffffff
je 0x14002c8ff
mov rcx, qword [rbx + 0x68]
lea rax, [rsp + 0x30]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x38]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x14002c8c4
sub eax, 1
je 0x14002c8c8
cmp eax, 2
jne 0x14002c8ff
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140161860
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x14002c8f6
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x38]
mov r8, rdi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rdi, rax
jne 0x14002c8ff
cmp byte [rbx + 0x71], 0
sete al
jmp 0x14002c8ac
xor al, al
jmp 0x14002c8ac
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140161860
add rsp, 0x60
pop rbx
ret
Function at 0x14002da60
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov r12, r8
mov r14, rdx
mov rsi, rcx
movzx r13d, byte [r8]
movabs rax, 0xcbf29ce484222325
xor r13, rax
movabs rcx, 0x100000001b3
imul r13, rcx
movzx eax, byte [r8 + 1]
xor r13, rax
imul r13, rcx
movzx eax, byte [r8 + 2]
xor r13, rax
imul r13, rcx
movzx eax, byte [r8 + 3]
xor r13, rax
imul r13, rcx
mov rcx, qword [rsi + 0x30]
and rcx, r13
add rcx, rcx
mov rax, qword [rsi + 0x18]
mov rbx, qword [rax + rcx*8 + 8]
lea rdx, [rsi + 8]
mov r15, qword [rdx]
cmp rbx, r15
jne 0x14002dae7
mov rbx, r15
mov rbp, r15
jmp 0x14002db2a
mov rcx, qword [rax + rcx*8]
mov eax, dword [r8]
cmp eax, dword [rbx + 0x10]
je 0x14002db01
cmp rbx, rcx
je 0x14002db24
mov rbx, qword [rbx + 8]
cmp eax, dword [rbx + 0x10]
jne 0x14002daf3
mov qword [r14], rbx
mov byte [r14 + 8], 0
mov rax, r14
mov rbx, qword [rsp + 0x88]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov r15, rbx
mov rbp, rbx
movabs rax, 0xaaaaaaaaaaaaaaa
cmp qword [rsi + 0x10], rax
jne 0x14002db48
lea rcx, [0x1401bb370]
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
mov qword [rsp + 0x20], rdx
mov qword [rsp + 0x28], 0
mov ecx, Ordinal_27
call fcn.140161880
mov rdi, rax
mov qword [rsp + 0x28], rax
mov eax, dword [r12]
mov dword [rdi + 0x10], eax
xor r12d, r12d
mov dword [rdi + 0x14], r12d
mov rdx, qword [rsi + 0x10]
add rdx, 1
xorps xmm0, xmm0
js 0x14002db8a
cvtsi2ss xmm0, rdx
jmp 0x14002dba2
mov rcx, rdx
shr rcx, 1
mov rax, rdx
and eax, 1
or rcx, rax
cvtsi2ss xmm0, rcx
addss xmm0, xmm0
mov rcx, qword [rsi + 0x38]
xorps xmm1, xmm1
test rcx, rcx
js 0x14002dbb5
cvtsi2ss xmm1, rcx
jmp 0x14002dbca
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm1, rax
addss xmm1, xmm1
divss xmm0, xmm1
comiss xmm0, dword [rsi]
seta al
test al, al
je 0x14002dc34
mov rcx, rsi
call fcn.14001b030
mov rdx, rax
mov rcx, rsi
call fcn.14001ae80
mov rdx, qword [rsi + 0x30]
and rdx, r13
add rdx, rdx
mov rcx, qword [rsi + 0x18]
mov rax, qword [rcx + rdx*8 + 8]
mov rbx, qword [rsi + 8]
cmp rax, rbx
je 0x14002dc27
mov rdx, qword [rcx + rdx*8]
mov ecx, dword [rdi + 0x10]
cmp ecx, dword [rax + 0x10]
je 0x14002dc24
mov rbx, rax
cmp rax, rdx
je 0x14002dc68
mov rax, qword [rax + 8]
cmp ecx, dword [rax + 0x10]
jne 0x14002dc13
mov rbx, qword [rax]
mov qword [rsp + 0x20], rbx
mov rbp, rbx
mov r15, qword [rsp + 0x20]
mov rdx, qword [rbx + 8]
inc qword [rsi + 0x10]
mov qword [rdi], r15
mov qword [rdi + 8], rdx
mov qword [rdx], rdi
mov qword [rbx + 8], rdi
mov rcx, qword [rsi + 0x18]
mov rax, qword [rsi + 0x30]
and rax, r13
add rax, rax
mov r8, qword [rcx + rax*8]
cmp r8, qword [rsi + 8]
jne 0x14002dc6f
mov qword [rcx + rax*8], rdi
jmp 0x14002dc81
mov qword [rsp + 0x20], rax
jmp 0x14002dc2c
cmp r8, rbp
jne 0x14002dc7a
mov qword [rcx + rax*8], rdi
jmp 0x14002dc86
cmp qword [rcx + rax*8 + 8], rdx
jne 0x14002dc86
mov qword [rcx + rax*8 + 8], rdi
mov qword [r14], rdi
mov byte [r14 + 8], 1
jmp 0x14002db09