joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140005a20
Capabilities:
Encode data using base64

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x40
mov rax, qword [0x14014d040]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, rdx
mov rsi, rcx
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x28], rdx
xor edi, edi
mov rbp, qword [rdx + 0x10]
lea rcx, [rbp + 2]
movabs rax, 0xaaaaaaaaaaaaaaab
mul rcx
shr rdx, 1
shl rdx, 2
xor r8d, r8d
mov rcx, rsi
call fcn.140011610
mov rdx, rsi
cmp qword [rsi + 0x18], 0xf
jbe 0x140005a81
mov rdx, qword [rsi]
lea r9, [rbp - 2]
lea r10, str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_00010203040506070809101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
test r9, r9
je 0x140005b4f
mov rax, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x140005aa2
mov rax, qword [rbx]
movzx eax, byte [rax + rdi]
shr rax, 2
movzx eax, byte [rax + r10]
mov byte [rdx], al
cmp qword [rbx + 0x18], 0xf
jbe 0x140005ac1
mov rax, qword [rbx]
lea r8, [rdi + rax]
jmp 0x140005ac8
lea r8, [rbx + rdi]
mov rax, rbx
movzx ecx, byte [rax + rdi + 1]
shr rcx, 4
movsx rax, byte [r8]
and eax, 3
shl rax, 4
or rcx, rax
movzx eax, byte [rcx + r10]
mov byte [rdx + 1], al
cmp qword [rbx + 0x18], 0xf
jbe 0x140005af7
mov rax, qword [rbx]
lea r8, [rax + 1]
jmp 0x140005afe
lea r8, [rbx + 1]
mov rax, rbx
add r8, rdi
movzx ecx, byte [rax + rdi + 2]
shr rcx, 6
movsx rax, byte [r8]
and eax, 0xf
shl rax, 2
or rcx, rax
movzx eax, byte [rcx + r10]
mov byte [rdx + 2], al
mov rax, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x140005b2d
mov rax, qword [rbx]
movsx rax, byte [rax + rdi + 2]
and eax, 0x3f
movzx eax, byte [rax + r10]
mov byte [rdx + 3], al
add rdx, 4
add rdi, 3
cmp rdi, r9
jb 0x140005a95
cmp rdi, rbp
jae 0x140005c00
mov rax, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x140005b65
mov rax, qword [rbx]
movzx eax, byte [rax + rdi]
shr rax, 2
movzx eax, byte [rax + r10]
mov byte [rdx], al
lea rax, [rbp - 1]
cmp rdi, rax
jne 0x140005ba5
mov rax, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x140005b8a
mov rax, qword [rbx]
movsx rax, byte [rax + rdi]
and eax, 3
add rax, rax
movzx eax, byte [r10 + rax*8]
mov byte [rdx + 1], al
mov al, 0x3d
add rdx, 2
jmp 0x140005bfa
cmp qword [rbx + 0x18], 0xf
jbe 0x140005bb5
mov rax, qword [rbx]
lea r8, [rdi + rax]
jmp 0x140005bbc
lea r8, [rdi + rbx]
mov rax, rbx
movzx ecx, byte [rax + rdi + 1]
shr rcx, 4
movsx rax, byte [r8]
and eax, 3
shl rax, 4
or rcx, rax
movzx eax, byte [rcx + r10]
mov byte [rdx + 1], al
add rdx, 2
mov rax, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x140005bec
mov rax, qword [rbx]
movsx rcx, byte [rax + rdi + 1]
and ecx, 0xf
movzx eax, byte [r10 + rcx*4]
mov byte [rdx], al
mov byte [rdx + 1], 0x3d
mov rcx, rbx
call fcn.140003250
mov rax, rsi
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140095db0
mov rbx, qword [rsp + 0x70]
add rsp, 0x40
pop rdi
pop rsi
pop rbp
ret
Function at 0x14001e9a0
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 r13, r8
mov r14, rdx
mov rbp, rcx
movzx esi, byte [r8]
movabs rax, 0xcbf29ce484222325
xor rsi, rax
movabs rcx, 0x100000001b3
imul rsi, rcx
movzx eax, byte [r8 + 1]
xor rsi, rax
imul rsi, rcx
movzx eax, byte [r8 + 2]
xor rsi, rax
imul rsi, rcx
movzx eax, byte [r8 + 3]
xor rsi, rax
imul rsi, rcx
mov rcx, rsi
and rcx, qword [rbp + 0x30]
add rcx, rcx
mov rax, qword [rbp + 0x18]
mov rbx, qword [rax + rcx*8 + 8]
lea rdx, [rbp + 8]
mov r12, qword [rdx]
cmp rbx, r12
jne 0x14001ea27
mov rbx, r12
mov r15, r12
jmp 0x14001ea6a
mov rcx, qword [rax + rcx*8]
mov eax, dword [r8]
cmp eax, dword [rbx + 0x10]
je 0x14001ea41
cmp rbx, rcx
je 0x14001ea64
mov rbx, qword [rbx + 8]
cmp eax, dword [rbx + 0x10]
jne 0x14001ea33
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 r12, rbx
mov r15, rbx
movabs rax, 0xaaaaaaaaaaaaaaa
cmp qword [rbp + 0x10], rax
jne 0x14001ea88
lea rcx, [0x14009ea00]
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, 0x18
call fcn.140095dd0
mov rdi, rax
mov qword [rsp + 0x28], rax
mov rax, qword [r13]
mov qword [rdi + 0x10], rax
mov rdx, qword [rbp + 0x10]
add rdx, 1
xorps xmm0, xmm0
js 0x14001eac4
cvtsi2ss xmm0, rdx
jmp 0x14001eadc
mov rcx, rdx
shr rcx, 1
mov rax, rdx
and eax, 1
or rcx, rax
cvtsi2ss xmm0, rcx
addss xmm0, xmm0
mov rcx, qword [rbp + 0x38]
xorps xmm1, xmm1
test rcx, rcx
js 0x14001eaef
cvtsi2ss xmm1, rcx
jmp 0x14001eb04
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm1, rax
addss xmm1, xmm1
divss xmm0, xmm1
comiss xmm0, dword [rbp]
jbe 0x14001eb75
mov rcx, rbp
call fcn.14001ed90
mov rdx, rax
mov rcx, rbp
call fcn.14001ebe0
mov rdx, rsi
and rdx, qword [rbp + 0x30]
add rdx, rdx
mov rcx, qword [rbp + 0x18]
mov rax, qword [rcx + rdx*8 + 8]
mov rbx, qword [rbp + 8]
cmp rax, rbx
jne 0x14001eb48
mov qword [rsp + 0x28], 0
jmp 0x14001eb68
mov rdx, qword [rcx + rdx*8]
mov ecx, dword [rdi + 0x10]
cmp ecx, dword [rax + 0x10]
je 0x14001eb65
mov rbx, rax
cmp rax, rdx
je 0x14001eba6
mov rax, qword [rax + 8]
cmp ecx, dword [rax + 0x10]
jne 0x14001eb54
mov rbx, qword [rax]
mov qword [rsp + 0x20], rbx
mov r15, rbx
mov r12, qword [rsp + 0x20]
mov rcx, qword [rbx + 8]
inc qword [rbp + 0x10]
mov qword [rdi], r12
mov qword [rdi + 8], rcx
mov qword [rcx], rdi
mov qword [rbx + 8], rdi
mov rax, qword [rbp + 0x18]
and rsi, qword [rbp + 0x30]
add rsi, rsi
mov rdx, qword [rax + rsi*8]
cmp rdx, qword [rbp + 8]
jne 0x14001ebb6
mov qword [rax + rsi*8], rdi
jmp 0x14001ebc8
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], 0
jmp 0x14001eb6d
cmp rdx, r15
jne 0x14001ebc1
mov qword [rax + rsi*8], rdi
jmp 0x14001ebcd
cmp qword [rax + rsi*8 + 8], rcx
jne 0x14001ebcd
mov qword [rax + rsi*8 + 8], rdi
mov qword [r14], rdi
mov byte [r14 + 8], 1
jmp 0x14001ea49
Function at 0x14001ebe0
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 0x14001ec15
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.140003440
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 0x14001ed54
mov qword [rsp + 0x58], rbp
movabs rdi, 0x100000001b3
movabs rbp, 0xcbf29ce484222325
nop dword [rax + rax]
movzx edx, byte [rax + 0x11]
movzx r11d, byte [rax + 0x10]
mov rcx, qword [rcx]
xor r11, rbp
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x12]
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x13]
imul r11, rdi
xor r11, rdx
imul r11, rdi
and r11, qword [rsi + 0x30]
shl r11, 4
add r11, qword [rsi + 0x18]
mov r9, qword [r11]
cmp r9, rbx
jne 0x14001eccd
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x14001ed43
mov rdx, qword [r11 + 8]
mov r8d, dword [rax + 0x10]
cmp r8d, dword [rdx + 0x10]
jne 0x14001ed0a
mov r10, qword [rdx]
cmp r10, rax
je 0x14001ed04
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 0x14001ed43
cmp r9, rdx
je 0x14001ed1f
nop
mov rdx, qword [rdx + 8]
cmp r8d, dword [rdx + 0x10]
je 0x14001ed65
cmp r9, rdx
jne 0x14001ed10
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 0x14001ec80
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 0x14001ed43
Function at 0x14001ee30
Capabilities:
Hash data using fnv

Disassembly:
push rdi
sub rsp, 0x30
mov rdi, qword [rcx]
test rdi, rdi
je 0x14001eedc
mov rcx, qword [rdi + 0x10]
test rcx, rcx
je 0x14001eedc
mov rax, qword [rdi + 0x38]
shr rax, 3
cmp rax, rcx
jbe 0x14001ee73
mov rdx, qword [rdi + 8]
mov rcx, rdi
mov r8, rdx
mov rdx, qword [rdx]
add rsp, 0x30
pop rdi
jmp 0x14001eef0
mov rcx, qword [rdi + 8]
mov rax, qword [rcx + 8]
mov qword [rax], 0
mov rcx, qword [rcx]
test rcx, rcx
je 0x14001eeaa
mov qword [rsp + 0x48], rbx
nop
mov rbx, qword [rcx]
mov edx, 0x18
call fcn.140096054
mov rcx, rbx
test rbx, rbx
jne 0x14001ee90
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.140004340
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 0x14001eff4
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, 0x18
call fcn.140096054
dec qword [rsi + 0x10]
cmp rdi, qword [rsp + 0x28]
je 0x14001f000
cmp rbx, rbp
jne 0x14001efa0
cmp qword [rsp + 0x20], r14
jne 0x14001efcd
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 0x14001f00f
mov qword [r15], r12
mov rax, r12
jmp 0x14001f012
mov rax, r13
mov qword [r15 + 8], rax
cmp rbx, rbp
je 0x14001efcd
nop dword [rax + rax]
movzx r15d, byte [rbx + 0x10]
movabs rdx, 0x100000001b3
movabs rax, 0xcbf29ce484222325
xor r15, rax
movzx eax, byte [rbx + 0x11]
imul r15, rdx
xor r15, rax
movzx eax, byte [rbx + 0x12]
imul r15, rdx
xor r15, rax
movzx eax, byte [rbx + 0x13]
imul r15, rdx
xor r15, rax
imul r15, rdx
and r15, qword [rsi + 0x30]
shl r15, 4
add r15, qword [rsp + 0x30]
mov r14, qword [r15 + 8]
mov rcx, rbx
mov rdi, rbx
mov rbx, qword [rbx]
mov edx, 0x18
call fcn.140096054
dec qword [rsi + 0x10]
cmp rdi, r14
je 0x14001f098
cmp rbx, rbp
jne 0x14001f072
jmp 0x14001efca
mov qword [r15], r12
mov qword [r15 + 8], r12
cmp rbx, rbp
jne 0x14001f020
jmp 0x14001efcd
Function at 0x14001eef0
Capabilities:
Hash data using fnv

Disassembly:
push rdi
sub rsp, 0x30
mov rdi, qword [rcx]
test rdi, rdi
je 0x14001eedc
mov rcx, qword [rdi + 0x10]
test rcx, rcx
je 0x14001eedc
mov rax, qword [rdi + 0x38]
shr rax, 3
cmp rax, rcx
jbe 0x14001ee73
mov rdx, qword [rdi + 8]
mov rcx, rdi
mov r8, rdx
mov rdx, qword [rdx]
add rsp, 0x30
pop rdi
jmp 0x14001eef0
mov rcx, qword [rdi + 8]
mov rax, qword [rcx + 8]
mov qword [rax], 0
mov rcx, qword [rcx]
test rcx, rcx
je 0x14001eeaa
mov qword [rsp + 0x48], rbx
nop
mov rbx, qword [rcx]
mov edx, 0x18
call fcn.140096054
mov rcx, rbx
test rbx, rbx
jne 0x14001ee90
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.140004340
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 0x14001eff4
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, 0x18
call fcn.140096054
dec qword [rsi + 0x10]
cmp rdi, qword [rsp + 0x28]
je 0x14001f000
cmp rbx, rbp
jne 0x14001efa0
cmp qword [rsp + 0x20], r14
jne 0x14001efcd
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 0x14001f00f
mov qword [r15], r12
mov rax, r12
jmp 0x14001f012
mov rax, r13
mov qword [r15 + 8], rax
cmp rbx, rbp
je 0x14001efcd
nop dword [rax + rax]
movzx r15d, byte [rbx + 0x10]
movabs rdx, 0x100000001b3
movabs rax, 0xcbf29ce484222325
xor r15, rax
movzx eax, byte [rbx + 0x11]
imul r15, rdx
xor r15, rax
movzx eax, byte [rbx + 0x12]
imul r15, rdx
xor r15, rax
movzx eax, byte [rbx + 0x13]
imul r15, rdx
xor r15, rax
imul r15, rdx
and r15, qword [rsi + 0x30]
shl r15, 4
add r15, qword [rsp + 0x30]
mov r14, qword [r15 + 8]
mov rcx, rbx
mov rdi, rbx
mov rbx, qword [rbx]
mov edx, 0x18
call fcn.140096054
dec qword [rsi + 0x10]
cmp rdi, r14
je 0x14001f098
cmp rbx, rbp
jne 0x14001f072
jmp 0x14001efca
mov qword [r15], r12
mov qword [r15 + 8], r12
cmp rbx, rbp
jne 0x14001f020
jmp 0x14001efcd
Function at 0x140030380
Capabilities:
Hash data using fnv

Disassembly:
mov r11, rsp
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x110
mov rax, qword [0x14014d040]
xor rax, rsp
mov qword [rsp + 0x100], rax
mov edi, r9d
mov rbx, r8
mov rsi, rdx
mov qword [r11 - 0x68], rbx
mov dword [r11 - 0x60], r9d
mov rdx, qword [0x1401f06f8]
add rdx, qword [r8]
xor r14d, r14d
mov rcx, qword [0x1401f0828]
test rcx, rcx
je 0x1400303f8
cmp dword [0x1401f0820], r14d
je 0x1400303f8
mov qword [rsp + 0x20], r14
mov r9d, 8
lea r8, [r11 - 0x58]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rcx, qword [0x1401f0828]
mov edi, dword [rsp + 0xd8]
mov rdx, qword [rsp + 0xe0]
test rdx, rdx
je 0x140030597
test rcx, rcx
je 0x14003047f
cmp dword [0x1401f0820], r14d
je 0x140030442
add rdx, 0x68
mov qword [rsp + 0x20], r14
mov r9d, 8
lea r8, [rsp + 0xe8]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rcx, qword [0x1401f0828]
mov edi, dword [rsp + 0xd8]
test rcx, rcx
je 0x14003047f
cmp dword [0x1401f0820], r14d
je 0x14003047f
mov rdx, qword [rsp + 0xe8]
add rdx, 0x178
mov qword [rsp + 0x20], r14
mov r9d, 8
lea r8, [rsp + 0xf0]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov edi, dword [rsp + 0xd8]
mov r9, qword [rsp + 0xf0]
mov qword [rbx + 0x38], r9
movzx edx, dil
movabs rax, 0xcbf29ce484222325
xor rdx, rax
movabs rcx, 0x100000001b3
imul rdx, rcx
movzx eax, byte [rsp + 0xd9]
xor rdx, rax
imul rdx, rcx
movzx eax, byte [rsp + 0xda]
xor rdx, rax
imul rdx, rcx
movzx eax, byte [rsp + 0xdb]
xor rdx, rax
imul rdx, rcx
mov rcx, qword [rbx + 0x78]
and rcx, rdx
shl rcx, 4
add rcx, qword [rbx + 0x60]
mov rax, qword [rcx + 8]
mov rdx, qword [rbx + 0x50]
cmp rax, rdx
je 0x140030510
mov rcx, qword [rcx]
cmp edi, dword [rax + 0x10]
je 0x140030513
nop dword [rax + rax]
cmp rax, rcx
je 0x140030510
mov rax, qword [rax + 8]
cmp edi, dword [rax + 0x10]
jne 0x140030500
jmp 0x140030513
mov rax, r14
test rax, rax
cmove rax, rdx
cmp rax, rdx
jne 0x140030586
mov dword [rsp + 0xe0], r14d
mov rdx, rbx
lea rcx, [rsp + 0x30]
call fcn.14001e860
lea r9, [rsp + 0xe0]
mov r8d, edi
mov rdx, rax
call fcn.1400305e0
test al, al
je 0x140030597
mov edi, dword [rsp + 0xe0]
test edi, edi
je 0x140030597
lea r8, [rsp + 0xd8]
lea rdx, [rsp + 0xf0]
lea rcx, [rbx + 0x48]
call fcn.140033f20
mov rcx, qword [rax]
mov dword [rcx + 0x14], edi
mov r8d, edi
mov rdx, qword [rbx + 0x38]
mov rcx, rsi
call fcn.140030150
jmp 0x1400305ac
mov r8d, dword [rax + 0x14]
mov rdx, r9
mov rcx, rsi
call fcn.140030150
jmp 0x1400305ac
movsd xmm0, qword [rbx + 0x88]
movsd qword [rsi], xmm0
mov eax, dword [rbx + 0x90]
mov dword [rsi + 8], eax
lea rcx, [rbx + 0x48]
call fcn.140005070
lea rcx, [rbx + 0x18]
call fcn.140003250
mov rax, rsi
mov rcx, qword [rsp + 0x100]
xor rcx, rsp
call fcn.140095db0
add rsp, 0x110
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140032740
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 case.default.0x140032761
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 0x14003278e
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x140032790
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x1400327e9
test ecx, ecx
jle 0x1400327c9
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 0x1400327e9
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x1400327e9
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
add dword [esi + edi*8 + 0x1c4feef], edx
cwde
push 0x10fe5804
in al, dx
mov al, 0xec
dec byte [rax + 2]
and al, 0xec
mov al, 0xec
add eax, esi
call 0x100206633
std
invalid
Function at 0x140032810
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 0x140032832
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
cmp qword [rcx + 0x68], 0
je case.default.0x140032841
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 0x140032864
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x140032866
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x1400328a2
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 0x14003293e
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x1400328dd
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 0x14003291e
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 0x14003293e
cmp rbx, rax
ja 0x1400328f0
test rbx, rbx
je 0x14003293e
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
or al, 9
xlatb
add eax, 0x4f5b2707
invalid
invalid
pop rbx
fucomp st(5)
in eax, dx
sti
xchg edx, eax
jno 0x1401e796e
or al, byte [rbx]
sti
or al, 0x13
pop rcx
invalid
Function at 0x140032d60
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x14014d040]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x140032d8d
xor eax, eax
jmp 0x140032ef9
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x140032dc7
mov rax, qword [rcx + 0x58]
movsxd r8, dword [rax]
lea rcx, [rdx + r8]
cmp rdx, rcx
jae 0x140032dc7
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 0x140032ef9
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x140032eec
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x140032e0a
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 0x140032e35
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 0x140032ef1
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 0x140032ea4
sub eax, 1
je 0x140032ea4
cmp eax, 2
jne 0x140032eec
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 0x140032ef1
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x140032ed2
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 0x140032eec
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov ecx, 0xffffffff
cmovne ecx, edi
mov eax, ecx
jmp 0x140032ef1
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140095db0
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret