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

Disassembly:
push rbx
push rsi
sub rsp, 0x28
movabs rax, 0xfffffffffffffff
mov rsi, rcx
bsr rcx, rax
mov ebx, 1
mov eax, ebx
shl rax, cl
cmp rdx, rax
jbe 0x14004eb55
lea rcx, str.invalid_hash_bucket_count
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
lea rax, [rdx - 1]
mov qword [rsp + 0x58], rdi
mov rdi, qword [rsi + 8]
or rax, rbx
bsr rcx, rax
mov r8, rdi
mov qword [rsp + 0x20], r14
inc ecx
shl rbx, cl
lea rcx, [rsi + 0x18]
lea rdx, [rbx + rbx]
call fcn.140021290
mov qword [rsi + 0x38], rbx
lea rax, [rbx - 1]
mov qword [rsi + 0x30], rax
mov rcx, qword [rsi + 8]
mov rcx, qword [rcx]
cmp rcx, rdi
je 0x14004ecc4
mov qword [rsp + 0x50], rbp
mov rax, rcx
movabs rbp, 0xcbf29ce484222325
movabs rbx, 0x100000001b3
nop dword [rax + rax]
movzx edx, byte [rax + 0x11]
movzx r9d, byte [rax + 0x10]
mov r11, qword [rsi + 0x30]
xor r9, rbp
mov rcx, qword [rcx]
imul r9, rbx
xor r9, rdx
movzx edx, byte [rax + 0x12]
imul r9, rbx
xor r9, rdx
movzx edx, byte [rax + 0x13]
imul r9, rbx
xor r9, rdx
movzx edx, byte [rax + 0x14]
imul r9, rbx
xor r9, rdx
movzx edx, byte [rax + 0x15]
imul r9, rbx
xor r9, rdx
movzx edx, byte [rax + 0x16]
imul r9, rbx
xor r9, rdx
movzx edx, byte [rax + 0x17]
imul r9, rbx
xor r9, rdx
imul r9, rbx
and r11, r9
shl r11, 4
add r11, qword [rsi + 0x18]
mov r9, qword [r11]
cmp r9, rdi
jne 0x14004ec3c
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x14004ecb3
mov rdx, qword [r11 + 8]
mov r8, qword [rax + 0x10]
cmp r8, qword [rdx + 0x10]
jne 0x14004ec79
mov r10, qword [rdx]
cmp r10, rax
je 0x14004ec73
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 0x14004ecb3
cmp r9, rdx
je 0x14004ec8f
nop
mov rdx, qword [rdx + 8]
cmp r8, qword [rdx + 0x10]
je 0x14004ecd5
cmp r9, rdx
jne 0x14004ec80
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, rdi
jne 0x14004ebc0
mov rbp, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
mov r14, qword [rsp + 0x20]
add rsp, 0x28
pop rsi
pop rbx
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 0x14004ecb3
Function at 0x14006c020
Capabilities:
Resolve function by parsing pe exports

Disassembly:
test rdx, rdx
je 0x14006c1d5
test r8, r8
je 0x14006c1d5
mov rax, qword [rdx]
xor r10d, r10d
mov qword [rdx], r10
mov r9, qword [rdx + 0x10]
mov qword [rdx + 0x10], r10
mov rcx, qword [rdx + 8]
mov qword [rdx + 8], r10
mov qword [r8], rax
mov qword [r8 + 8], rcx
mov qword [r8 + 0x10], r9
mov eax, dword [rdx + 0x18]
mov dword [r8 + 0x18], eax
mov eax, dword [rdx + 0x1c]
mov dword [r8 + 0x1c], eax
mov eax, dword [rdx + 0x20]
mov dword [r8 + 0x20], eax
mov eax, dword [rdx + 0x24]
mov dword [r8 + 0x24], eax
mov eax, dword [rdx + 0x28]
mov dword [r8 + 0x28], eax
mov eax, dword [rdx + 0x2c]
mov dword [r8 + 0x2c], eax
mov eax, dword [rdx + 0x30]
mov dword [r8 + 0x30], eax
mov eax, dword [rdx + 0x34]
mov dword [r8 + 0x34], eax
mov eax, dword [rdx + 0x38]
mov dword [r8 + 0x38], eax
mov eax, dword [rdx + 0x3c]
mov dword [r8 + 0x3c], eax
mov eax, dword [rdx + 0x40]
mov dword [r8 + 0x40], eax
mov eax, dword [rdx + 0x44]
mov dword [r8 + 0x44], eax
mov eax, dword [rdx + 0x48]
mov dword [r8 + 0x48], eax
mov eax, dword [rdx + 0x4c]
mov dword [r8 + 0x4c], eax
mov eax, dword [rdx + 0x50]
mov dword [r8 + 0x50], eax
mov eax, dword [rdx + 0x54]
mov dword [r8 + 0x54], eax
movzx eax, byte [rdx + 0x58]
mov byte [r8 + 0x58], al
mov eax, dword [rdx + 0x5c]
mov dword [r8 + 0x5c], eax
mov eax, dword [rdx + 0x60]
mov dword [r8 + 0x60], eax
mov eax, dword [rdx + 0x64]
mov dword [r8 + 0x64], eax
mov eax, dword [rdx + 0x68]
mov dword [r8 + 0x68], eax
mov eax, dword [rdx + 0x6c]
mov dword [r8 + 0x6c], eax
mov eax, dword [rdx + 0x70]
mov dword [r8 + 0x70], eax
mov eax, dword [rdx + 0x74]
mov dword [r8 + 0x74], eax
mov eax, dword [rdx + 0x78]
mov dword [r8 + 0x78], eax
mov eax, dword [rdx + 0x7c]
mov dword [r8 + 0x7c], eax
mov eax, dword [rdx + 0x80]
mov dword [r8 + 0x80], eax
mov eax, dword [rdx + 0x84]
mov dword [r8 + 0x84], eax
mov eax, dword [rdx + 0x88]
mov dword [r8 + 0x88], eax
mov eax, dword [rdx + 0x8c]
mov dword [r8 + 0x8c], eax
mov eax, dword [rdx + 0x90]
mov dword [r8 + 0x90], eax
movzx eax, byte [rdx + 0x94]
mov byte [r8 + 0x94], al
movzx eax, byte [rdx + 0x95]
mov byte [r8 + 0x95], al
movzx eax, byte [rdx + 0x96]
mov byte [r8 + 0x96], al
movzx eax, byte [rdx + 0x97]
mov byte [r8 + 0x97], al
movzx eax, byte [rdx + 0x98]
mov byte [r8 + 0x98], al
mov eax, dword [rdx + 0x9c]
mov dword [r8 + 0x9c], eax
mov eax, dword [rdx + 0xa0]
mov dword [r8 + 0xa0], eax
mov eax, dword [rdx + 0xa4]
mov dword [r8 + 0xa4], eax
mov eax, dword [rdx + 0xa8]
mov dword [r8 + 0xa8], eax
mov eax, dword [rdx + 0xac]
mov dword [r8 + 0xac], eax
ret
Function at 0x14006d170
Capabilities:
Resolve function by parsing pe exports

Disassembly:
test rdx, rdx
je 0x14006d2bd
test r8, r8
je 0x14006d2bd
mov eax, dword [rdx]
mov dword [r8], eax
mov eax, dword [rdx + 4]
mov dword [r8 + 4], eax
mov eax, dword [rdx + 8]
mov dword [r8 + 8], eax
mov eax, dword [rdx + 0xc]
mov dword [r8 + 0xc], eax
mov eax, dword [rdx + 0x10]
mov dword [r8 + 0x10], eax
mov eax, dword [rdx + 0x14]
mov dword [r8 + 0x14], eax
mov eax, dword [rdx + 0x18]
mov dword [r8 + 0x18], eax
mov eax, dword [rdx + 0x1c]
mov dword [r8 + 0x1c], eax
mov eax, dword [rdx + 0x20]
mov dword [r8 + 0x20], eax
mov eax, dword [rdx + 0x24]
mov dword [r8 + 0x24], eax
mov eax, dword [rdx + 0x28]
mov dword [r8 + 0x28], eax
mov eax, dword [rdx + 0x2c]
mov dword [r8 + 0x2c], eax
mov eax, dword [rdx + 0x30]
mov dword [r8 + 0x30], eax
mov eax, dword [rdx + 0x34]
mov dword [r8 + 0x34], eax
mov eax, dword [rdx + 0x38]
mov dword [r8 + 0x38], eax
mov eax, dword [rdx + 0x3c]
mov dword [r8 + 0x3c], eax
mov eax, dword [rdx + 0x40]
mov dword [r8 + 0x40], eax
mov eax, dword [rdx + 0x44]
mov dword [r8 + 0x44], eax
mov eax, dword [rdx + 0x48]
mov dword [r8 + 0x48], eax
mov eax, dword [rdx + 0x4c]
mov dword [r8 + 0x4c], eax
mov eax, dword [rdx + 0x50]
mov dword [r8 + 0x50], eax
mov eax, dword [rdx + 0x54]
mov dword [r8 + 0x54], eax
movzx eax, byte [rdx + 0x58]
mov byte [r8 + 0x58], al
mov eax, dword [rdx + 0x5c]
mov dword [r8 + 0x5c], eax
mov eax, dword [rdx + 0x60]
mov dword [r8 + 0x60], eax
mov eax, dword [rdx + 0x64]
mov dword [r8 + 0x64], eax
mov eax, dword [rdx + 0x68]
mov dword [r8 + 0x68], eax
mov eax, dword [rdx + 0x6c]
mov dword [r8 + 0x6c], eax
mov eax, dword [rdx + 0x70]
mov dword [r8 + 0x70], eax
mov eax, dword [rdx + 0x74]
mov dword [r8 + 0x74], eax
mov eax, dword [rdx + 0x78]
mov dword [r8 + 0x78], eax
mov eax, dword [rdx + 0x7c]
mov dword [r8 + 0x7c], eax
mov eax, dword [rdx + 0x80]
mov dword [r8 + 0x80], eax
mov eax, dword [rdx + 0x84]
mov dword [r8 + 0x84], eax
mov eax, dword [rdx + 0x88]
mov dword [r8 + 0x88], eax
mov eax, dword [rdx + 0x8c]
mov dword [r8 + 0x8c], eax
mov eax, dword [rdx + 0x90]
mov dword [r8 + 0x90], eax
movzx eax, byte [rdx + 0x94]
mov byte [r8 + 0x94], al
mov eax, dword [rdx + 0x98]
mov dword [r8 + 0x98], eax
ret
Function at 0x14009ed30
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 rsi, rdx
mov r14, rcx
movzx eax, byte [r8]
mov r13d, eax
movabs rcx, 0xcbf29ce484222325
xor r13, rcx
movabs rcx, 0x100000001b3
imul r13, rcx
mov rcx, qword [r14 + 0x30]
and rcx, r13
add rcx, rcx
mov rdx, qword [r14 + 0x18]
mov rbx, qword [rdx + rcx*8 + 8]
lea r8, [r14 + 8]
mov r15, qword [r8]
cmp rbx, r15
jne 0x14009ed96
mov rbx, r15
mov rbp, r15
jmp 0x14009edd6
mov rcx, qword [rdx + rcx*8]
cmp al, byte [rbx + 0x10]
je 0x14009edae
nop
cmp rbx, rcx
je 0x14009edd0
mov rbx, qword [rbx + 8]
cmp al, byte [rbx + 0x10]
jne 0x14009eda0
mov qword [rsi], rbx
mov byte [rsi + 8], 0
mov rax, rsi
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, 0x555555555555555
cmp qword [r14 + 0x10], rax
jne 0x14009edf4
lea rcx, str.unordered_map_set_too_long
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
mov qword [rsp + 0x20], r8
mov qword [rsp + 0x28], 0
mov ecx, 0x30
call fcn.14028654c
mov rdi, rax
mov qword [rsp + 0x28], rax
movzx eax, byte [r12]
mov byte [rdi + 0x10], al
xor r12d, r12d
mov qword [rdi + 0x18], r12
mov qword [rdi + 0x20], r12
mov qword [rdi + 0x28], r12
mov rcx, qword [r14 + 0x10]
add rcx, 1
xorps xmm0, xmm0
js 0x14009ee3f
cvtsi2ss xmm0, rcx
jmp 0x14009ee54
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
mov rcx, qword [r14 + 0x38]
xorps xmm1, xmm1
test rcx, rcx
js 0x14009ee67
cvtsi2ss xmm1, rcx
jmp 0x14009ee7c
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm1, rax
addss xmm1, xmm1
divss xmm0, xmm1
comiss xmm0, dword [r14]
seta al
test al, al
je 0x14009eee1
mov rcx, r14
call fcn.14009f110
mov rdx, qword [r14 + 0x30]
and rdx, r13
add rdx, rdx
mov rcx, qword [r14 + 0x18]
mov rax, qword [rcx + rdx*8 + 8]
mov rbx, qword [r14 + 8]
cmp rax, rbx
je 0x14009eed4
mov rdx, qword [rcx + rdx*8]
movzx ecx, byte [rdi + 0x10]
cmp cl, byte [rax + 0x10]
je 0x14009eed1
nop dword [rax]
mov rbx, rax
cmp rax, rdx
je 0x14009ef15
mov rax, qword [rax + 8]
cmp cl, byte [rax + 0x10]
jne 0x14009eec0
mov rbx, qword [rax]
mov qword [rsp + 0x20], rbx
mov rbp, rbx
mov r15, qword [rsp + 0x20]
mov rdx, qword [rbx + 8]
inc qword [r14 + 0x10]
mov qword [rdi], r15
mov qword [rdi + 8], rdx
mov qword [rdx], rdi
mov qword [rbx + 8], rdi
mov rcx, qword [r14 + 0x18]
mov rax, qword [r14 + 0x30]
and rax, r13
add rax, rax
mov r8, qword [rcx + rax*8]
cmp r8, qword [r14 + 8]
jne 0x14009ef1c
mov qword [rcx + rax*8], rdi
jmp 0x14009ef2e
mov qword [rsp + 0x20], rax
jmp 0x14009eed9
cmp r8, rbp
jne 0x14009ef27
mov qword [rcx + rax*8], rdi
jmp 0x14009ef33
cmp qword [rcx + rax*8 + 8], rdx
jne 0x14009ef33
mov qword [rcx + rax*8 + 8], rdi
mov qword [rsi], rdi
mov byte [rsi + 8], 1
jmp 0x14009edb5
Function at 0x14009ef80
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
jbe 0x14009efb5
lea rcx, str.invalid_hash_bucket_count
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
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.140021290
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 0x14009f0d4
mov qword [rsp + 0x58], rbp
movabs rdi, 0xcbf29ce484222325
movabs rbp, 0x100000001b3
nop dword [rax + rax]
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 0x14009f052
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x14009f0c3
mov rdx, qword [r11 + 8]
cmp r9b, byte [rdx + 0x10]
jne 0x14009f08b
mov r10, qword [rdx]
cmp r10, rax
je 0x14009f085
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 0x14009f0c3
cmp r8, rdx
je 0x14009f09f
mov rdx, qword [rdx + 8]
cmp r9b, byte [rdx + 0x10]
je 0x14009f0e5
cmp r8, rdx
jne 0x14009f090
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 0x14009f020
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 0x14009f0c3
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 0x14009f135
cvtsi2ss xmm0, rdx
jmp 0x14009f14a
mov rax, rdx
and edx, 1
shr rax, 1
or rax, rdx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
divss xmm0, dword [rcx]
call sub.api_ms_win_crt_math_l1_1_0.dll_ceilf
movss xmm1, dword [0x140311088]
xor ecx, ecx
comiss xmm0, xmm1
jb 0x14009f178
subss xmm0, xmm1
comiss xmm0, xmm1
jae 0x14009f178
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 0x14009f1aa
cmp rbx, 0x200
jae 0x14009f1a7
lea rbx, [rbx*8]
cmp rbx, rcx
jae 0x14009f1aa
mov rbx, rcx
mov rdx, rbx
mov rcx, rdi
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp 0x14009ef80
Function at 0x1400a0090
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 0x1400a00b8
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 0x1400a00de
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x1400a00e0
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x1400a0139
test ecx, ecx
jle 0x1400a0119
cmp rbx, rbp
mov rcx, r9
cmovl rbp, rbx
mov r8, rbp
call fcn.1402872aa
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 0x1400a0139
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x1400a0139
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 0x1400a0160
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 0x1400a0182
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
cmp qword [rcx + 0x68], 0
je 0x1400a0198
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 0x1400a01b4
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x1400a01b6
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x1400a01f2
mov qword [rsp + 0x20], rdi
cmp rax, rbp
mov rdi, rbp
mov rcx, r14
cmovb rdi, rax
mov r8, rdi
call fcn.1402872aa
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 0x1400a028e
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x1400a022d
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 0x1400a026e
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 0x1400a028e
cmp rbx, rax
ja 0x1400a0240
test rbx, rbx
je 0x1400a028e
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 0x1400a06c0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x140353240]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x1400a06ed
xor eax, eax
jmp 0x1400a0859
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x1400a0727
mov rax, qword [rcx + 0x58]
movsxd r8, dword [rax]
lea rcx, [rdx + r8]
cmp rdx, rcx
jae 0x1400a0727
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 0x1400a0859
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x1400a084c
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x1400a076a
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 0x1400a0795
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 0x1400a0851
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 0x1400a0804
sub eax, 1
je 0x1400a0804
cmp eax, 2
jne 0x1400a084c
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 0x1400a0851
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x1400a0832
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 0x1400a084c
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov ecx, 0xffffffff
cmovne ecx, edi
mov eax, ecx
jmp 0x1400a0851
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.1402863b0
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x1400a09b0
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x140353240]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x1400a0a83
cmp byte [rcx + 0x71], 0
je 0x1400a0a83
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x1400a0a7f
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 0x1400a0a44
sub eax, 1
je 0x1400a0a48
cmp eax, 2
jne 0x1400a0a7f
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1402863b0
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x1400a0a76
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 0x1400a0a7f
cmp byte [rbx + 0x71], 0
sete al
jmp 0x1400a0a2c
xor al, al
jmp 0x1400a0a2c
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1402863b0
add rsp, 0x60
pop rbx
ret
Function at 0x1400ab750
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push r14
sub rsp, 0x20
mov rax, qword [rcx + 0x20]
mov r14, rcx
add rax, 0xfffffffffffffff0
mov qword [rcx + 0x20], rax
cmp qword [rax], 0
je 0x1400ab860
test byte [rcx + 0x48], 1
jne 0x1400ab860
mov rbx, qword [rcx]
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x40], rdi
mov r8, qword [rbx + 0x18]
mov rax, r8
cmp r8, qword [rbx + 0x10]
jb 0x1400ab7bf
mov rcx, qword [rbx + 8]
cmp r8, rcx
je 0x1400ab7bf
mov r9, qword [rbx]
sub r8, rcx
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rax, qword [rbx + 8]
mov qword [rbx + 0x18], rax
mov byte [rax], 0xa
inc qword [rbx + 0x18]
mov rdi, qword [r14]
mov rsi, qword [r14 + 0x20]
sub rsi, qword [r14 + 0x18]
mov eax, dword [r14 + 0x44]
mov rcx, qword [rdi + 0x18]
mov rbx, qword [rdi + 0x10]
movsx ebp, byte [r14 + 0x40]
sub rbx, rcx
shr rsi, 4
imul rsi, rax
cmp rsi, rbx
jbe 0x1400ab83e
mov r8, rbx
mov edx, ebp
call sub.VCRUNTIME140.dll_memset
mov rcx, qword [rdi + 0x18]
mov rax, qword [rdi + 8]
add rcx, rbx
mov qword [rdi + 0x18], rcx
cmp rcx, rax
je 0x1400ab82f
mov r9, qword [rdi]
sub rcx, rax
mov r8, rcx
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, qword [rdi + 8]
mov qword [rdi + 0x18], rcx
sub rsi, rbx
mov rbx, qword [rdi + 0x10]
sub rbx, rcx
cmp rsi, rbx
ja 0x1400ab7f2
test rsi, rsi
je 0x1400ab851
mov r8, rsi
mov edx, ebp
call sub.VCRUNTIME140.dll_memset
add qword [rdi + 0x18], rsi
mov rsi, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x40]
mov rbx, qword [r14]
mov r8, qword [rbx + 0x18]
mov rax, r8
cmp r8, qword [rbx + 0x10]
jb 0x1400ab892
mov rcx, qword [rbx + 8]
cmp r8, rcx
je 0x1400ab892
mov r9, qword [rbx]
sub r8, rcx
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rax, qword [rbx + 8]
mov qword [rbx + 0x18], rax
mov byte [rax], 0x5d
inc qword [rbx + 0x18]
mov rax, qword [r14 + 0x18]
cmp qword [r14 + 0x20], rax
jne 0x1400ab8cc
mov rbx, qword [r14]
mov r8, qword [rbx + 0x18]
mov rcx, qword [rbx + 8]
cmp r8, rcx
je 0x1400ab8cc
mov r9, qword [rbx]
sub r8, rcx
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rax, qword [rbx + 8]
mov qword [rbx + 0x18], rax
mov rbx, qword [rsp + 0x48]
mov al, 1
add rsp, 0x20
pop r14
ret