joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140013420
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x14007a010]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x140080be0]
mov edi, edx
cmp byte [rbx + 0x1efd], 0
jne 0x140013480
cmp byte [rbx + 0x1efe], 0
jne 0x140013480
mov r9d, dword [rbx + 0x2f40]
lea r8, str.Tooltip__02d
mov edx, 0x10
lea rcx, [rsp + 0x20]
call fcn.140003ca0
test dil, 1
je 0x1400135b7
jmp 0x14001350f
movss xmm1, dword [rbx + 0x16f4]
lea r8, str.Tooltip__02d
mov r9d, dword [rbx + 0x2f40]
lea rcx, [rsp + 0x20]
movaps xmm0, xmm1
xor eax, eax
mulss xmm0, dword [0x14006d948]
mulss xmm1, dword [0x14006d920]
lea edx, [rax + 0x10]
addss xmm0, dword [rbx + 0x120]
addss xmm1, dword [rbx + 0x124]
mov qword [rbx + 0x1c64], rax
mov dword [rbx + 0x1c4c], 1
movss dword [rbx + 0x1c5c], xmm0
mov byte [rbx + 0x1c84], 1
movss dword [rbx + 0x1c60], xmm1
movss xmm0, dword [rbx + 0x1750]
mulss xmm0, dword [0x14006d888]
or dword [rbx + 0x1c48], 0x41
movss dword [rbx + 0x1ca8], xmm0
call fcn.140003ca0
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov edx, r10d
test r9b, r9b
je 0x140013560
lea r11, [0x1400672f0]
nop
cmp r9b, 0x23
jne 0x140013543
cmp byte [r8], r9b
jne 0x140013543
cmp byte [r8 + 1], r9b
cmove edx, r10d
movzx ecx, dl
movzx eax, r9b
movzx r9d, byte [r8]
xor rcx, rax
shr edx, 8
inc r8
xor edx, dword [r11 + rcx*4]
test r9b, r9b
jne 0x140013530
mov rcx, qword [0x140080be0]
not edx
add rcx, 0x1b80
call fcn.140004410
test rax, rax
je 0x1400135b7
cmp byte [rax + 0xbf], 0
je 0x1400135b7
mov byte [rax + 0xc6], 1
lea r8, str.Tooltip__02d
mov dword [rax + 0xdc], 1
lea rcx, [rsp + 0x20]
inc dword [rbx + 0x2f40]
mov edx, 0x10
mov r9d, dword [rbx + 0x2f40]
call fcn.140003ca0
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x22c0347
call fcn.14000e880
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140062360
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x140018180
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
mov qword [rax + 0x10], rdx
mov qword [rax + 0x18], r8
mov qword [rax + 0x20], r9
push rbx
sub rsp, 0x40
mov rbx, qword [0x140080be0]
cmp byte [rbx + 0x3008], 0
je 0x14001826c
cmp qword [rbx + 0x3010], 0
mov qword [rax - 0x18], rsi
lea rsi, [rax + 0x10]
mov qword [rax - 0x20], rdi
lea rdi, [rbx + 0x3018]
je 0x140018254
mov r9d, dword [rdi + 4]
mov qword [rax - 0x10], rbp
xor ebp, ebp
test r9d, r9d
jns 0x1400181fb
mov eax, r9d
mov rcx, rdi
cdq
sub eax, edx
mov edx, ebp
sar eax, 1
add eax, r9d
test eax, eax
cmovg edx, eax
call fcn.140023470
mov rcx, qword [rsp + 0x50]
mov rdx, rcx
mov dword [rdi], ebp
mov rcx, rdi
mov r8, rsi
call fcn.1400047f0
mov eax, dword [rdi]
mov edx, 1
mov r9, qword [rbx + 0x3010]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rbx + 0x3020]
cmove ecx, ebp
test rax, rax
movsxd r8, ecx
lea rcx, [0x140080bd8]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x28]
add rsp, 0x40
pop rbx
ret
mov rdx, rcx
mov r8, rsi
mov rcx, rdi
call fcn.1400047f0
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x28]
add rsp, 0x40
pop rbx
ret

Function at 0x140018610
Capabilities:
Hash data with crc32

Disassembly:
push rbx
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10d, 0xffffffff
mov rbx, rcx
mov eax, r10d
test r9b, r9b
je 0x140018662
lea r11, [0x1400672f0]
cmp r9b, 0x23
jne 0x140018645
cmp byte [r8], r9b
jne 0x140018645
cmp byte [r8 + 1], r9b
cmove eax, r10d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [r11 + rdx*4]
test r9b, r9b
jne 0x140018632
mov r11, qword [0x140080be0]
mov r10, qword [r11 + 0x2ff0]
test r10, r10
je 0x1400186a9
lea r9, [r10 + 4]
test r9, r9
je 0x1400186a9
not eax
cmp dword [r9], eax
je 0x1400186b2
movsxd r8, dword [r9 - 4]
lea rdx, [r10 + 4]
movsxd rcx, dword [r11 + 0x2fe8]
add r8, r9
xor r9d, r9d
add rdx, rcx
cmp r8, rdx
cmovne r9, r8
test r9, r9
jne 0x140018680
mov rcx, rbx
pop rbx
jmp fcn.140018520
mov rax, r9
pop rbx
ret
Function at 0x14001bb10
Capabilities:
Hash data with crc32

Disassembly:
test r8d, r8d
jle 0x14001bd09
mov r11, rsp
push rbp
push rsi
sub rsp, 0x58
mov rax, qword [0x14007a010]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov qword [r11 - 0x18], rdi
mov rbp, rcx
mov qword [r11 - 0x20], r14
lea rdi, [rdx + 0x18]
mov qword [r11 - 0x28], r15
mov r14d, 0xffffffff
lea r15, [0x1400672f0]
mov qword [r11 + 0x18], rbx
movsxd rsi, r8d
nop dword [rax + rax]
mov edx, dword [rdi - 0x18]
test edx, edx
je 0x14001bcd1
mov rcx, rbp
call fcn.14001b200
mov edx, dword [rdi - 0x14]
mov rbx, rax
test edx, edx
je 0x14001bb8e
lea rcx, [rbp + 0x2f88]
call fcn.140004410
mov rcx, rax
jmp 0x14001bb90
xor ecx, ecx
mov qword [rbx + 0x10], rcx
movsx eax, word [rdi]
movd xmm1, eax
movsx eax, word [rdi + 2]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
movss dword [rbx + 0x40], xmm1
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0x44], xmm0
movsx eax, word [rdi + 4]
movd xmm1, eax
movsx eax, word [rdi + 6]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
movss dword [rbx + 0x48], xmm1
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0x4c], xmm0
movsx eax, word [rdi + 8]
movd xmm1, eax
movsx eax, word [rdi + 0xa]
and dword [rbx + 0xb0], 0xfffffe49
or dword [rbx + 0xb0], 0x49
cvtdq2ps xmm1, xmm1
movd xmm0, eax
movss dword [rbx + 0x50], xmm1
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0x54], xmm0
test rcx, rcx
je 0x14001bc21
cmp qword [rcx + 0x18], 0
jne 0x14001bc16
mov qword [rcx + 0x18], rbx
jmp 0x14001bc21
cmp qword [rcx + 0x20], 0
jne 0x14001bc21
mov qword [rcx + 0x20], rbx
mov eax, dword [rdi - 0xc]
mov rcx, rbx
mov dword [rbx + 0xa8], eax
movsx eax, byte [rdi - 8]
mov dword [rbx + 0x58], eax
mov eax, dword [rdi - 4]
and eax, 0x61fc20
or dword [rbx + 8], eax
mov rax, qword [rbx + 0x10]
test rax, rax
je 0x14001bc5c
nop dword [rax + rax]
mov rcx, rax
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x14001bc50
mov r9d, dword [rcx]
lea r8, str.DockNode__02X
lea rcx, [rsp + 0x20]
mov edx, 0x14
call fcn.140003ca0
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov edx, r14d
test r9b, r9b
je 0x14001bcb8
cmp r9b, 0x23
jne 0x14001bc9b
cmp byte [r8], r9b
jne 0x14001bc9b
cmp byte [r8 + 1], r9b
cmove edx, r14d
movzx ecx, dl
movzx eax, r9b
movzx r9d, byte [r8]
xor rcx, rax
shr edx, 8
inc r8
xor edx, dword [r15 + rcx*4]
test r9b, r9b
jne 0x14001bc88
mov rcx, qword [0x140080be0]
not edx
add rcx, 0x1b80
call fcn.140004410
mov qword [rbx + 0x78], rax
add rdi, 0x24
sub rsi, 1
jne 0x14001bb60
mov r15, qword [rsp + 0x40]
mov r14, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140062360
add rsp, 0x58
pop rsi
pop rbp
ret
Function at 0x14001c7d0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
sub rsp, 0x20
mov rax, qword [rcx + 0x10]
mov rbx, rcx
mov rbp, qword [0x140080be0]
test rax, rax
je 0x14001c7f8
mov eax, dword [rax + 4]
mov dword [rcx + 4], eax
mov rcx, qword [rcx + 0x18]
test rcx, rcx
je 0x14001c806
call fcn.14001c7d0
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x14001c814
call fcn.14001c7d0
mov r9d, dword [rbx + 0x28]
xor esi, esi
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x38], r14
test r9d, r9d
jle 0x14001c8f6
mov r14d, esi
mov rax, qword [rbx + 0x30]
mov r8d, dword [rbx + 0x9c]
mov ecx, dword [rbp + 0x1b20]
inc r8d
mov rdi, qword [r14 + rax]
cmp r8d, ecx
jne 0x14001c85d
mov eax, dword [rdi + 0x2d8]
inc eax
cmp eax, ecx
jge 0x14001c85d
mov dl, 1
jmp 0x14001c864
xor dl, dl
cmp r8d, ecx
jne 0x14001c88c
test byte [rbx + 0xb4], 0x20
jne 0x14001c878
mov eax, dword [rdi + 8]
cmp dword [rbx + 0xac], eax
jne 0x14001c88c
cmp byte [rdi + 0xc8], 0
je 0x14001c88c
test dword [rdi + 0xc], 0x100000
jne 0x14001c88c
mov dl, 1
movzx ecx, byte [rdi + 0x472]
movzx eax, cl
shr al, 2
and al, 1
or al, dl
je 0x14001c8d6
and cl, 0xfb
mov byte [rdi + 0x472], cl
cmp dword [rbx + 0x28], 1
jne 0x14001c8bc
mov eax, dword [rbx + 8]
shr eax, 0xb
test al, 1
je 0x14001c95c
mov r8d, dword [rbx]
mov rdx, rdi
mov rcx, rbx
call fcn.14001c390
mov r9d, dword [rbx + 0x28]
dec esi
sub r14, 8
jmp 0x14001c8e7
mov eax, dword [rdi + 0x28]
not eax
and dword [rbx + 8], eax
mov eax, dword [rbx + 8]
or eax, dword [rdi + 0x24]
mov dword [rbx + 8], eax
inc esi
add r14, 8
cmp esi, r9d
jl 0x14001c830
movzx edx, byte [rbx + 0xb5]
movzx ecx, dl
test dl, 1
je 0x14001c925
cmp r9d, 1
jne 0x14001c925
mov r8d, dword [rbx + 8]
mov eax, r8d
or eax, dword [rbx + 4]
test al, 0x40
je 0x14001c925
shr r8d, 0xd
test r9b, r8b
jne 0x14001c925
or cl, 2
and cl, 0xfe
mov byte [rbx + 0xb5], cl
movzx eax, cl
test cl, 2
je 0x14001c94d
mov rdx, qword [rbx + 0x80]
test rdx, rdx
je 0x14001c94d
test dword [rdx + 0x24], 0x2000
je 0x14001c94d
and al, 0xfd
cmp r9d, 1
jle 0x14001c97b
and dword [rbx + 8], 0xffffdfff
jmp 0x14001c986
mov rcx, rbx
call fcn.14001c6f0
mov r8d, dword [rbx]
mov rdx, rdi
mov rcx, rbx
mov dword [rbx + 0xc], 1
call fcn.14001c390
jmp 0x14001c9ec
test al, 2
je 0x14001c986
xor dword [rbx + 8], 0x2000
mov ecx, dword [rbx + 8]
and al, 0xfd
mov byte [rbx + 0xb5], al
mov eax, ecx
shr eax, 0xb
shr ecx, 0xa
cmp qword [rbx + 0x10], 0
movzx eax, al
movzx edx, cl
cmovne edx, eax
test r9d, r9d
setg al
or dl, al
mov rax, qword [rbx + 0x18]
test rax, rax
je 0x14001c9c3
test byte [rax + 0xb4], 1
je 0x14001c9c3
mov dl, 1
mov rax, qword [rbx + 0x20]
test rax, rax
je 0x14001c9d9
test byte [rax + 0xb4], 1
je 0x14001c9d9
mov al, 1
jmp 0x14001c9db
xor al, al
and byte [rbx + 0xb4], 0xfe
or al, dl
and al, 1
or byte [rbx + 0xb4], al
mov r14, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
add rsp, 0x20
pop rsi
ret
Function at 0x1400429a0
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 0x28
mov r10, rdx
test r8, r8
je 0x140042a2b
movzx r9d, byte [rdx]
lea r8, [rdx + 1]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x140042a00
lea r10, [0x1400672f0]
nop dword [rax]
cmp r9b, 0x23
jne 0x1400429e3
cmp byte [r8], r9b
jne 0x1400429e3
cmp byte [r8 + 1], r9b
cmove eax, r11d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [r10 + rdx*4]
test r9b, r9b
jne 0x1400429d0
mov rcx, qword [0x140080be0]
not eax
cmp dword [rcx + 0x1bf0], eax
jne 0x140042a17
mov dword [rcx + 0x1bf4], eax
cmp dword [rcx + 0x1c30], eax
jne 0x140042a7d
mov byte [rcx + 0x1c34], 1
add rsp, 0x28
ret
mov qword [rsp + 0x20], rbx
xor edx, edx
mov rbx, qword [0x140080be0]
mov rax, qword [rbx + 0x1b98]
movsxd rcx, dword [rax + 0x108]
mov rax, qword [rax + 0x110]
mov r8d, dword [rax + rcx*4 - 4]
mov rcx, r10
call fcn.140003db0
cmp dword [rbx + 0x1bf0], eax
jne 0x140042a69
mov dword [rbx + 0x1bf4], eax
cmp dword [rbx + 0x1c30], eax
jne 0x140042a78
mov byte [rbx + 0x1c34], 1
mov rbx, qword [rsp + 0x20]
add rsp, 0x28
ret

Function at 0x140047c60
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x14007a010]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov edi, ecx
lea rcx, [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
movabs rax, 0x20c49ba5e353f7cf
lea rcx, [rsp + 0x20]
imul qword [rsp + 0x28]
sar rdx, 7
mov rax, rdx
shr rax, 0x3f
add rdx, rax
mov qword [rsp + 0x28], rdx
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rsp + 0x20]
cqo
mov qword [rsp + 0x20], 0
idiv qword [rsp + 0x28]
add rdi, rax
test rdi, rdi
jle 0x140047cf1
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rsp + 0x20]
cqo
idiv qword [rsp + 0x28]
mov qword [rsp + 0x20], rax
cmp rax, rdi
jl 0x140047cd0
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140062360
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x140050830
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x14007a010]
xor rax, rsp
mov qword [rsp + 0x50], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0x100
call qword [sym.imp.KERNEL32.dll_SetPriorityClass]
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
mov rcx, rax
xor edx, edx
call qword [sym.imp.USER32.dll_ShowWindow]
mov ecx, 1
call fcn.140062b2c
mov qword [rsp + 0x40], rax
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x28], rcx
xor ebx, ebx
mov dword [rsp + 0x20], ebx
mov r9, rax
lea r8, [0x14005ea00]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsp + 0x30], rax
test rax, rax
je 0x140050985
cmp dword [rsp + 0x38], ebx
jne 0x1400508bb
lea ecx, [rbx + 1]
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x40], xmm0
lea rcx, [rsp + 0x40]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
je 0x1400508de
mov ecx, eax
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_]
nop
mov ecx, 8
call fcn.140062b2c
lea rcx, [0x140048420]
mov qword [rax], rcx
mov qword [rsp + 0x40], rax
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], ebx
mov r9, rax
lea r8, [0x14005ea30]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsp + 0x30], rax
test rax, rax
je 0x140050975
cmp dword [rsp + 0x38], 0
jne 0x140050936
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x40], xmm0
lea rcx, [rsp + 0x40]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
je 0x140050959
mov ecx, eax
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_]
nop
nop dword [rax]
mov qword [rsp + 0x40], 1
lea rcx, [rsp + 0x40]
call fcn.140054a70
jmp 0x140050960
mov dword [rsp + 0x38], ebx
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov dword [rsp + 0x38], ebx
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
Function at 0x140050cc0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov rbx, r8
mov r14, rdx
mov rdi, rcx
je 0x140050cf7
mov rbx, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
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 + 0x30], rbp
mov qword [rsp + 0x38], rsi
mov rsi, rbx
mov r9, qword [rax]
test r9, r9
je 0x140050d18
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x140050d1a
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x140050d73
test ecx, ecx
jle 0x140050d53
cmp rbx, rbp
mov rcx, r9
cmovl rbp, rbx
mov r8, rbp
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rdi + 0x58]
sub rbx, rbp
add r14, rbp
sub dword [rax], ebp
mov rcx, qword [rdi + 0x40]
movsxd rax, ebp
add qword [rcx], rax
test rbx, rbx
jle 0x140050d73
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x140050d73
mov r8, rbx
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
sub rbx, rax
mov rbp, qword [rsp + 0x30]
sub rsi, rbx
mov rbx, qword [rsp + 0x40]
mov rax, rsi
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x140050da0
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 0x140050dc2
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
cmp qword [rcx + 0x68], 0
je 0x140050dd8
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 0x140050df4
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x140050df6
xor ecx, ecx
mov qword [rsp + 0x20], rdi
movsxd rax, ecx
test ecx, ecx
je 0x140050e30
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]
sub rbx, rdi
add r14, rdi
mov r8, rbx
sub dword [rax], edi
mov rcx, qword [rsi + 0x38]
movsxd rax, edi
add qword [rcx], rax
cmp qword [rsi + 0x80], 0
je 0x140050ed7
mov r9, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r9], rax
jne 0x140050e6b
mov rcx, qword [rsi + 0x88]
mov rdx, qword [rsi + 0x90]
mov qword [r9], rcx
sub edx, ecx
mov rax, qword [rsi + 0x38]
mov qword [rax], rcx
mov rax, qword [rsi + 0x50]
mov dword [rax], edx
mov rdi, r8
cmp r8, 0xfff
jbe 0x140050eb1
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]
sub rbx, rax
add r14, rax
mov rdi, rbx
cmp rax, 0xfff
jne 0x140050ef0
cmp rbx, rax
ja 0x140050e80
mov r8, rdi
test rdi, rdi
je 0x140050ed7
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]
mov r8, rdi
sub r8, rax
sub rbp, r8
mov rdi, qword [rsp + 0x20]
mov rax, rbp
mov rbx, qword [rsp + 0x28]
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
sub rbp, rbx
jmp 0x140050eda
Function at 0x140051300
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x14007a010]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x14005132d
xor eax, eax
jmp 0x140051482
mov rdx, qword [rcx + 0x40]
mov rax, qword [rdx]
test rax, rax
je 0x140051358
mov rdx, qword [rcx + 0x58]
movsxd r8, dword [rdx]
add r8, rax
cmp rax, r8
jae 0x140051358
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Pninc_void____ptr64]
mov byte [rax], dil
mov eax, edi
jmp 0x140051482
cmp qword [rcx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x140051475
mov r8, qword [rcx + 0x18]
lea rax, [rcx + 0x70]
cmp qword [r8], rax
jne 0x14005139b
mov rdx, qword [rcx + 0x90]
mov rcx, qword [rcx + 0x88]
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 0x1400513c6
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 0x14005147a
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 0x140051435
sub eax, 1
je 0x140051435
cmp eax, 2
jne 0x140051475
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 0x14005147a
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x140051463
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 0x140051475
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov eax, edi
jne 0x14005147a
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140062360
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x140052ea0
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x14007a010]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x140052f73
cmp byte [rcx + 0x71], 0
je 0x140052f73
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x140052f6f
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 0x140052f34
sub eax, 1
je 0x140052f38
cmp eax, 2
jne 0x140052f6f
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140062360
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x140052f66
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 0x140052f6f
cmp byte [rbx + 0x71], 0
sete al
jmp 0x140052f1c
xor al, al
jmp 0x140052f1c
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140062360
add rsp, 0x60
pop rbx
ret
Function at 0x4235c0
Capabilities:
Hash data using murmur3

Disassembly:
sub rsp, 0x18
mov qword [rsp + 0x10], rbp
lea rbp, [rsp + 0x10]
cmp byte [0x0113f28f], 0
jne 0x423725
mov rdx, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x20]
sub rdx, qword [rbx + 0x18]
nop
test rdx, rdx
jne 0x4236ce
xor eax, eax
nop
nop
nop
mov rcx, rax
shr rax, 3
and rcx, 7
mov edx, 1
shl edx, cl
nop
add rax, qword [rbx + 0x50]
lock or byte [rax], dl
nop
nop
mov rcx, qword [rbx + 0x18]
nop
movabs rdx, 0x800000000000
lea rax, [rdx + rcx]
mov rdx, rax
shr rax, 0x2a
cmp rax, 0x40
jae 0x42371a
lea rbx, [0x01121118]
mov rax, qword [rbx + rax*8]
shr rdx, 0x16
and rdx, 0xfffff
mov rdx, qword [rax + rdx*8]
test byte [rdx], al
test byte [rax], al
mov rax, rcx
shr rcx, 0x10
and rcx, 0x3f
movzx ebx, byte [rdx + rcx + 0x21040]
lea rdx, [rdx + rcx]
lea rdx, [rdx + 0x21040]
shr rax, 0xd
and rax, 7
mov rcx, rax
mov esi, 1
shl esi, cl
test sil, bl
jne 0x42368f
lock or byte [rdx], sil
mov rax, qword gs:[0x28]
mov rax, qword [rax]
mov rax, qword [rax + 0x30]
mov rax, qword [rax + 0xa0]
test byte [rax], al
mov rcx, qword [rsp + 0x30]
add qword [rax + 0x16a8], rcx
mov rcx, qword [rsp + 0x38]
add qword [rax + 0x16b0], rcx
mov rbp, qword [rsp + 0x10]
add rsp, 0x18
ret
cmp word [rbx + 0x5e], 0
je 0x4236ea
movzx ecx, byte [rbx + 0x65]
cmp cl, 0x40
sbb rax, rax
shr rdx, cl
and rax, rdx
jmp 0x4235f5
movzx ecx, byte [rbx + 0x65]
cmp cl, 0x40
sbb rax, rax
movzx esi, byte [rbx + 0x66]
cmp sil, 0x40
sbb rdi, rdi
shr rdx, cl
and rax, rdx
movzx edx, word [rbx + 0x5c]
imul rax, rdx
mov ecx, esi
shr rax, cl
and rax, rdi
jmp 0x4235f5
mov ecx, 0x40
nop
call fcn.0046eba0
lea rax, [0x00c314ab]
mov qword [rsp], rax
mov qword [rsp + 8], 0x2c
call fcn.0043a3a0
nop
int3