joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400269e8
Capabilities:
Set environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
xor r15d, r15d
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 0x17], r15
xor edx, edx
mov qword [rbp + 0x1f], r15
lea rcx, [rbp - 0x39]
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r15
mov edi, r15d
mov qword [rbp + 0x37], r15
mov byte [rbp + 0x3f], r15b
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
mov byte [rbp + 0xf], r15b
call fcn.1400131e0
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x140026a72
cmp byte [rbp - 0x21], r15b
je 0x140026a6d
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x140026aa8
call fcn.14001ad80
test eax, eax
jne 0x140026a94
cmp byte [rbp - 0x21], r15b
je 0x140026a8c
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x140026aa8
cmp byte [rbp - 0x21], r15b
je 0x140026aa5
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, r15d
lea r8, [rbp + 0x77]
mov rcx, rsi
lea rdx, [rbp + 0x17]
call fcn.1400137d4
test eax, eax
jne 0x140026b48
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.1400131e0
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x140026ae7
cmp byte [rbp - 0x21], r15b
je 0x140026b1c
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x140026b1c
call fcn.14001ad80
test eax, eax
jne 0x140026b08
cmp byte [rbp - 0x21], r15b
je 0x140026b01
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x140026b1c
cmp byte [rbp - 0x21], r15b
je 0x140026b19
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, r15d
mov r9d, ebx
lea r8, [rbp + 0x77]
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.1400137d4
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x140026b48
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x140026b4b
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x140026b59
mov rcx, rdi
call fcn.140017484
cmp byte [rbp + 0x3f], r15b
je 0x140026b68
mov rcx, qword [rbp + 0x27]
call fcn.140017484
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret

Function at 0x140028800
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140028828
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x140028828
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x180624058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x1806241df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x180624089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x18062406f
add dl, dl
jne 0x180624096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1806240f6
xor eax, eax
add dl, dl
jne 0x1806240a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1806241ad
add dl, dl
jne 0x1806240b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1806240c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1806240d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1806240dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1806240ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x18062407e
mov eax, 1
add dl, dl
jne 0x180624106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x180624113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1806240fb
sub eax, ebx
mov ebx, 1
jne 0x18062414c
mov ecx, 1
add dl, dl
jne 0x18062412e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x18062413b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x180624123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x18062407e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x180624168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x180624175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x18062415d
cmp eax, 0x7d00
jae 0x18062419b
cmp eax, 0x500
jb 0x180624196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x18062407e
cmp eax, 0x7f
ja 0x18062419e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x18062407e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1806241d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x18062407e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20

Function at 0x1400018e4
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000192e
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000192e
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000192e
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000192e
cmp dword [rcx + 0x84], 0xe
jbe 0x14000192e
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140001930
xor al, al
add rsp, 0x28
ret
Function at 0x140009bb0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x10]
mov rbx, rcx
mov r11d, edx
and r11d, 7
je 0x140009c3f
cmp edx, r11d
jge 0x140009c2e
mov r8d, dword [rcx + 0x18]
mov eax, 1
mov ecx, edx
mov r9d, edx
shl eax, cl
cmp r8d, eax
jae 0x140009c24
mov r10, qword [rbx + 8]
mov rax, qword [rbx]
cmp rax, r10
jb 0x140009bef
xor cl, cl
jmp 0x140009bf8
movzx ecx, byte [rax]
inc rax
mov qword [rbx], rax
movzx eax, cl
lea edx, [r9 + 8]
mov ecx, r9d
mov dword [rbx + 0x10], edx
shl eax, cl
or r8d, eax
mov dword [rbx + 0x18], r8d
cmp edx, 0x18
jg 0x140009c2e
mov ecx, edx
mov eax, 1
shl eax, cl
mov r9d, edx
cmp r8d, eax
jb 0x140009be3
mov rax, qword [rbx + 8]
mov edx, r9d
mov qword [rbx], rax
mov eax, dword [rbx + 0x18]
mov ecx, r11d
shr eax, cl
sub edx, r11d
mov dword [rbx + 0x18], eax
mov dword [rbx + 0x10], edx
xor r8d, r8d
mov r9d, edx
test edx, edx
jle 0x140009c82
mov eax, dword [rbx + 0x18]
lea rcx, [rsp + 0x30]
movzx r10d, al
nop word [rax + rax]
shr eax, 8
lea edx, [r9 - 8]
mov byte [rcx], r10b
lea rcx, [rcx + 1]
inc r8d
mov dword [rbx + 0x18], eax
mov r9d, edx
movzx r10d, al
test edx, edx
jg 0x140009c60
mov dword [rbx + 0x10], edx
jns 0x140009ca8
mov rax, qword gs:[0x58]
mov edx, 0x28
mov rcx, qword [rax]
lea rax, str.zlib_corrupt
mov qword [rdx + rcx], rax
xor eax, eax
add rsp, 0x20
pop rbx
ret
movsxd rcx, r8d
cmp rcx, 4
jge 0x140009cd7
mov r8, qword [rbx + 8]
mov rax, qword [rbx]
cmp rax, r8
jb 0x140009cc1
xor dl, dl
jmp 0x140009cca
movzx edx, byte [rax]
inc rax
mov qword [rbx], rax
mov byte [rsp + rcx + 0x30], dl
inc rcx
cmp rcx, 4
jl 0x140009cb8
movzx eax, byte [rsp + 0x30]
movzx r8d, byte [rsp + 0x31]
movzx ecx, byte [rsp + 0x33]
shl r8d, 8
add r8d, eax
shl ecx, 8
movzx eax, byte [rsp + 0x32]
add ecx, eax
mov eax, r8d
xor eax, 0xffff
cmp ecx, eax
jne 0x140009c84
mov rcx, qword [rbx]
mov qword [rsp + 0x38], rdi
mov edi, r8d
add rcx, rdi
cmp rcx, qword [rbx + 8]
jbe 0x140009d41
mov rax, qword gs:[0x58]
mov edx, 0x28
mov rcx, qword [rax]
lea rax, str.read_past_buffer
mov qword [rdx + rcx], rax
mov rdi, qword [rsp + 0x38]
xor eax, eax
add rsp, 0x20
pop rbx
ret
mov rdx, qword [rbx + 0x20]
lea rax, [r8 + rdx]
cmp rax, qword [rbx + 0x30]
jbe 0x140009d5b
mov rcx, rbx
call fcn.140008fc0
test eax, eax
je 0x140009d34
mov rdx, qword [rbx]
mov r8, rdi
mov rcx, qword [rbx + 0x20]
call sub.VCRUNTIME140.dll_memcpy
add qword [rbx], rdi
mov eax, 1
add qword [rbx + 0x20], rdi
mov rdi, qword [rsp + 0x38]
add rsp, 0x20
pop rbx
ret
Function at 0x1400138d0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x50
mov rax, qword [0x140078040]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x38], rcx
lea rdx, str.Zofia
mov r10, qword [0x1401065f0]
xor r15d, r15d
cmp qword [0x1401065f8], 0xf
mov rsi, rcx
mov ebx, dword [0x140106ee8]
movabs r9, 0xcbf29ce484222325
cmova rdx, qword [str.Zofia]
mov ecx, r15d
mov ebp, dword [0x140106edc]
mov r14d, dword [0x140106ed4]
test r10, r10
je 0x140013963
movabs r11, 0x100000001b3
nop
movzx eax, byte [rdx + rcx]
inc rcx
xor r9, rax
imul r9, r11
cmp rcx, r10
jb 0x140013950
lea r8, str.Zofia
lea rdx, [rsp + 0x28]
call fcn.14001a860
mov rdi, qword [0x140106f88]
mov rcx, qword [rax + 8]
test rcx, rcx
cmovne rdi, rcx
cmp rdi, qword [0x140106f88]
je 0x140013a8c
lea rdx, [rsp + 0x38]
mov dword [rsp + 0x38], ebx
mov dword [rsp + 0x3c], ebp
mov dword [rsp + 0x40], r14d
call fcn.14001a390
mov rcx, qword [rdi + 0x60]
mov r9, qword [rdi + 0x38]
and rcx, rax
mov rax, qword [rdi + 0x48]
add rcx, rcx
mov rbx, qword [rax + rcx*8 + 8]
cmp rbx, r9
je 0x1400139f2
mov rax, qword [rax + rcx*8]
mov ecx, dword [rsp + 0x40]
mov edx, dword [rsp + 0x3c]
mov r8d, dword [rsp + 0x38]
cmp ecx, dword [rbx + 0x18]
jne 0x1400139e7
cmp edx, dword [rbx + 0x14]
jne 0x1400139e7
cmp r8d, dword [rbx + 0x10]
je 0x1400139f5
cmp rbx, rax
je 0x1400139f2
mov rbx, qword [rbx + 8]
jmp 0x1400139d7
mov rbx, r15
test rbx, rbx
je 0x140013a8c
cmp rbx, r9
je 0x140013a8c
mov qword [rsi], r15
movabs rbp, 0x6666666666666667
mov qword [rsi + 8], r15
mov rax, rbp
mov qword [rsi + 0x10], r15
mov rcx, qword [rbx + 0x28]
sub rcx, qword [rbx + 0x20]
imul rcx
sar rdx, 3
mov rax, rdx
shr rax, 0x3f
add rdx, rax
je 0x140013a97
movabs rax, 0xccccccccccccccc
cmp rdx, rax
ja 0x140013ac1
mov rcx, rsi
call fcn.140019ed0
mov rdx, qword [rbx + 0x20]
mov rbx, qword [rbx + 0x28]
mov rdi, qword [rsi]
sub rbx, rdx
mov r8, rbx
mov rcx, rdi
call sub.VCRUNTIME140.dll_memmove
mov rax, rbp
imul rbx
sar rdx, 3
mov rcx, rdx
shr rcx, 0x3f
add rdx, rcx
lea rcx, [rdx + rdx*4]
lea rdx, [rdi + rcx*4]
mov qword [rsi + 8], rdx
jmp 0x140013a97
mov qword [rsi], r15
mov qword [rsi + 8], r15
mov qword [rsi + 0x10], r15
mov rax, rsi
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140063160
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
call fcn.140019eb0
int3
Function at 0x1400156d0
Capabilities:
Log keystrokes via polling

Disassembly:
sub rsp, 0xd8
mov rax, qword [0x140078040]
xor rax, rsp
mov qword [rsp + 0x60], rax
xorps xmm0, xmm0
lea rcx, [rsp + 0x48]
xor eax, eax
movups xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x58], rax
call fcn.1400138d0
mov rax, qword [rsp + 0x50]
cmp qword [rsp + 0x48], rax
je 0x140015983
mov qword [rsp + 0xc8], r14
lea rcx, [rsp + 0x30]
movaps xmmword [rsp + 0xb0], xmm6
xor r14d, r14d
movaps xmmword [rsp + 0xa0], xmm7
xorps xmm6, xmm6
xorps xmm7, xmm7
call fcn.1400016d0
cmp byte [0x140106ef4], r14b
je 0x14001596b
mov qword [rsp + 0xe0], rbx
mov qword [rsp + 0xe8], rbp
mov qword [rsp + 0xf0], rsi
mov qword [rsp + 0xf8], rdi
mov qword [rsp + 0xd0], r12
movabs r12, 0x6666666666666667
mov qword [rsp + 0xc0], r15
movabs r15, 0x431bde82d7b634db
movaps xmmword [rsp + 0x90], xmm8
movaps xmmword [rsp + 0x80], xmm9
movaps xmmword [rsp + 0x70], xmm10
movsd xmm10, qword [0x14006d740]
nop dword [rax]
mov ecx, 2
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x140015923
mov ecx, 1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x140015923
mov rbp, qword [rsp + 0x48]
lea rcx, [rsp + 0x38]
lea rsi, [r14 + r14*4]
call fcn.1400016d0
movss xmm0, dword [0x1400780c0]
mulss xmm0, dword [rbp + rsi*4]
mov rbx, qword [rsp + 0x38]
cvtps2pd xmm8, xmm0
movss xmm0, dword [0x1400780c4]
mulss xmm0, dword [rbp + rsi*4 + 4]
mulsd xmm8, xmm10
cvtps2pd xmm9, xmm0
mulsd xmm9, xmm10
nop
mov ecx, 2
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x140015923
mov ecx, 1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x140015923
cmp byte [0x140106ef4], 0
je 0x140015923
lea rcx, [rsp + 0x40]
call fcn.1400016d0
mov rcx, qword [rsp + 0x40]
mov rax, r15
sub rcx, rbx
imul rcx
sar rdx, 0x12
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp edx, dword [rbp + rsi*4 + 8]
jge 0x1400158e9
addsd xmm6, xmm8
addsd xmm7, xmm9
movaps xmm0, xmm6
call qword [sym.imp.api_ms_win_crt_math_l1_1_0.dll_round]
cvttsd2si edi, xmm0
movaps xmm0, xmm7
call qword [sym.imp.api_ms_win_crt_math_l1_1_0.dll_round]
movd xmm1, edi
cvttsd2si r8d, xmm0
cvtdq2pd xmm1, xmm1
movd xmm0, r8d
subsd xmm6, xmm1
cvtdq2pd xmm0, xmm0
subsd xmm7, xmm0
test edi, edi
jne 0x1400158c8
test r8d, r8d
je 0x1400158d1
movzx edx, dil
call fcn.140001350
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x30], 0xa
call fcn.140019250
jmp 0x140015820
mov rcx, qword [rsp + 0x50]
mov rax, r12
sub rcx, qword [rsp + 0x48]
imul rcx
mov rcx, rdx
xor edx, edx
sar rcx, 3
mov rax, rcx
shr rax, 0x3f
add rcx, rax
lea rax, [r14 + 1]
div rcx
cmp byte [0x140106ef4], 0
mov r14, rdx
jne 0x1400157b0
movaps xmm9, xmmword [rsp + 0x80]
movaps xmm8, xmmword [rsp + 0x90]
mov rbx, qword [rsp + 0xe0]
mov rbp, qword [rsp + 0xe8]
mov r15, qword [rsp + 0xc0]
mov rsi, qword [rsp + 0xf0]
mov r12, qword [rsp + 0xd0]
mov rdi, qword [rsp + 0xf8]
movaps xmm10, xmmword [rsp + 0x70]
mov r14, qword [rsp + 0xc8]
movaps xmm6, xmmword [rsp + 0xb0]
movaps xmm7, xmmword [rsp + 0xa0]
lea rcx, [rsp + 0x48]
call fcn.140018cb0
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140063160
add rsp, 0xd8
ret
Function at 0x140017ce0
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.0x140017d01
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 0x140017d2e
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x140017d30
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x140017d89
test ecx, ecx
jle 0x140017d69
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 0x140017d89
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x140017d89
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
xor al, 0x36
and ah, byte [rsi]
xor al, 0x36
xor dl, byte [rsi]
adc al, 6
and ah, byte [rsi]
xor al, 0x36
xor dl, byte [rsi]
adc al, 0x36
and ah, byte [rsi]
xor al, 0x36
xor dl, byte [rsi]
adc al, 0x16
and ah, byte [rsi]
xor al, 0x36
xor dl, byte [rsi]
adc al, 0x16
and ah, byte [rsi]
xor al, 0x36
xor dl, byte [rsi]
adc al, 6
and ah, byte [rsi]
xor al, 0x36
xor dl, byte [rsi]
adc al, 6
and ah, byte [rsi]
xor al, 0x36
xor dl, byte [rsi]
adc al, 0x16
and ah, byte [rsi]
xor al, 0x36
xor dl, byte [rsi]
adc al, 0x16
xor dl, byte [rsi]
adc al, 6
and ah, byte [rsi]
xor al, 0x26
xor dl, byte [rsi]
adc al, 6
and ah, byte [rsi]
xor al, 0x26
xor dl, byte [rsi]
adc al, 6
and ah, byte [rsi]
xor al, 0x36
and ah, byte [rsi]
xor al, 0x36
xor dl, byte [rsi]
adc al, 6
and ah, byte [rsi]
xor al, 0x36
xor dl, byte [rsi]
adc al, 0x16
xor dl, byte [rsi]
adc al, 6
and ah, byte [rsi]
xor al, 0x36
and ah, byte [rsi]
xor al, 0x36
xor dl, byte [rsi]
adc al, 0x26
and ah, byte [rsi]
xor al, 0x36
xor dl, byte [rsi]
adc al, 0x16
and ah, byte [rsi]
xor al, 0x36
xor dl, byte [rsi]
adc al, 1
rcl byte [rsp + rbx]
sbb al, 0x14
invalid
Function at 0x140017db0
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 0x140017dd2
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
cmp qword [rcx + 0x68], 0
je case.default.0x140017de1
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 0x140017e04
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x140017e06
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x140017e42
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 0x140017ede
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x140017e7d
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 0x140017ebe
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 0x140017ede
cmp rbx, rax
ja 0x140017e90
test rbx, rbx
je 0x140017ede
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
xor al, 0x36
Function at 0x140018340
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x140078040]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x14001836d
xor eax, eax
jmp 0x1400184d9
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x1400183a7
mov rax, qword [rcx + 0x58]
movsxd r8, dword [rax]
lea rcx, [rdx + r8]
cmp rdx, rcx
jae 0x1400183a7
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 0x1400184d9
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x1400184cc
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x1400183ea
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 0x140018415
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 0x1400184d1
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 0x140018484
sub eax, 1
je 0x140018484
cmp eax, 2
jne 0x1400184cc
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 0x1400184d1
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x1400184b2
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 0x1400184cc
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov ecx, 0xffffffff
cmovne ecx, edi
mov eax, ecx
jmp 0x1400184d1
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140063160
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x140018900
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x140078040]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x1400189d3
cmp byte [rcx + 0x71], 0
je 0x1400189d3
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x1400189cf
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 0x140018994
sub eax, 1
je 0x140018998
cmp eax, 2
jne 0x1400189cf
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140063160
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x1400189c6
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 0x1400189cf
cmp byte [rbx + 0x71], 0
sete al
jmp 0x14001897c
xor al, al
jmp 0x14001897c
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140063160
add rsp, 0x60
pop rbx
ret
Function at 0x14001a390
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
movzx eax, byte [rdx + 9]
movabs rbx, 0x100000001b3
movzx r9d, byte [rdx + 8]
mov r8, rdx
movzx ecx, byte [rdx + 4]
movabs r10, 0xcbf29ce484222325
xor rcx, r10
xor r9, r10
imul rcx, rbx
imul r9, rbx
mov r11d, 0x9e3779b9
xor r9, rax
movzx eax, byte [rdx + 0xa]
imul r9, rbx
xor r9, rax
movzx eax, byte [rdx + 0xb]
imul r9, rbx
xor r9, rax
movzx eax, byte [rdx + 5]
xor rcx, rax
movzx eax, byte [rdx + 6]
imul rcx, rbx
imul r9, rbx
xor rcx, rax
movzx eax, byte [rdx + 7]
imul rcx, rbx
add r9, r11
xor rcx, rax
mov rdx, r9
imul rcx, rbx
shr rdx, 2
mov rax, r9
shl rax, 6
add rcx, rax
lea rax, [rdx + r11]
movzx edx, byte [r8]
add rcx, rax
xor rdx, r10
movzx eax, byte [r8 + 1]
xor r9, rcx
movzx ecx, byte [r8 + 3]
imul rdx, rbx
xor rdx, rax
movzx eax, byte [r8 + 2]
imul rdx, rbx
mov r8, r9
xor rax, rdx
shr r8, 2
imul rax, rbx
xor rax, rcx
mov rcx, r9
imul rax, rbx
mov rbx, qword [rsp + 8]
shl rcx, 6
add rax, rcx
lea rcx, [r8 + r11]
add rax, rcx
xor rax, r9
ret

Function at 0x14001c030
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov r11d, r8d
mov r10, rdx
not r11d
mov r9, rcx
mov eax, r11d
test rdx, rdx
je 0x14001c08d
lea rbx, [0x140066b40]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x14001c074
cmp r10, 2
jb 0x14001c074
cmp byte [r9], r8b
jne 0x14001c074
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
xor rdx, r8
shr eax, 8
xor eax, dword [rbx + rdx*4]
test r10, r10
jne 0x14001c050
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x14001c0cf
lea rbx, [0x140066b40]
cmp r8b, 0x23
jne 0x14001c0b3
cmp byte [r9], r8b
jne 0x14001c0b3
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
movzx ecx, r8b
movzx r8d, byte [r9]
xor rdx, rcx
shr eax, 8
inc r9
xor eax, dword [rbx + rdx*4]
test r8b, r8b
jne 0x14001c0a0
mov rbx, qword [rsp + 8]
not eax
ret