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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
mov rbx, rdx
mov rdx, qword [rdx + 0x10]
mov r11, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x1400273ba
mov r11, qword [rbx]
xor r9d, r9d
movabs rax, 0xcbf29ce484222325
mov r8, rax
mov r10d, r9d
movabs rsi, 0x100000001b3
test rdx, rdx
je 0x1400273f4
nop dword [rax]
movzx ecx, byte [r10 + r11]
inc r10
xor r8, rcx
imul r8, rsi
cmp r10, rdx
jb 0x1400273e0
mov r11, qword [rbx + 0x30]
lea r10, [rbx + 0x20]
movabs rbp, 0xc6a4a7935bd1e995
movabs rcx, 0x35a98f4d286a90b9
imul r8, rbp
mov r14d, 0xe6546b64
mov rdi, r8
shr rdi, 0x2f
xor rdi, r8
imul rdi, rcx
add rdi, r14
cmp qword [r10 + 0x18], 0x10
jb 0x140027435
mov r10, qword [r10]
mov rdx, rax
mov r8, r9
test r11, r11
je 0x140027454
movzx ecx, byte [r8 + r10]
inc r8
xor rdx, rcx
imul rdx, rsi
cmp r8, r11
jb 0x140027440
mov r8, qword [rbx + 0x50]
imul rdx, rbp
mov r10, rdx
shr r10, 0x2f
xor r10, rdx
lea rdx, [rbx + 0x40]
imul r10, rbp
xor r10, rdi
imul r10, rbp
add r10, r14
cmp qword [rdx + 0x18], 0x10
jb 0x140027482
mov rdx, qword [rdx]
test r8, r8
je 0x1400274a4
nop word [rax + rax]
movzx ecx, byte [r9 + rdx]
inc r9
xor rax, rcx
imul rax, rsi
cmp r9, r8
jb 0x140027490
mov rbx, qword [rsp + 0x10]
mov rsi, qword [rsp + 0x20]
mov rdi, qword [rsp + 0x28]
imul rax, rbp
mov rcx, rax
shr rcx, 0x2f
xor rax, rcx
imul rax, rbp
xor rax, r10
imul rax, rbp
mov rbp, qword [rsp + 0x18]
add rax, r14
pop r14
ret
Function at 0x140031e60
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
mov r9d, dword [0x14008acd4]
mov rbx, rcx
mov rax, qword gs:[0x58]
xor sil, sil
mov ecx, 0x10
mov r14, rdx
movsxd rbp, r8d
mov rdi, qword [rax + r9*8]
add rdi, rcx
mov eax, dword [rdi]
cmp dword [0x14008b540], eax
jg 0x140031f49
mov rcx, qword [rbx + 0x28]
test rcx, rcx
jne 0x140031ec7
mov rcx, rbx
call fcn.140043ca0
test al, al
jne 0x140031ea2
jmp 0x140031f2e
mov edi, 1
test ebp, ebp
je 0x140031ee3
mov r9, rcx
mov r8, rbp
mov rcx, r14
mov edx, edi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
jmp 0x140031ef2
mov r8, r14
lea rdx, [0x14006e154]
call fcn.1400542b0
cmp qword [0x14008b538], 0
jl 0x140031f0f
cdqe
lock xadd qword [rbx + 0x38], rax
cmp rax, qword [0x14008b538]
setge sil
lock xadd dword [rbx + 0x40], edi
inc edi
cmp edi, 1
jne 0x140031f2a
xor ecx, ecx
xchg dword [rbx + 0x40], ecx
mov rcx, qword [rbx + 0x28]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fflush]
movzx eax, sil
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
lea rcx, [0x14008b540]
call fcn.140030440
cmp dword [0x14008b540], 0xffffffff
jne 0x140031eb0
mov rax, qword [rbx + 0x48]
mov rcx, qword [rax + 0x18]
mov qword [0x14008b538], rcx
lea rcx, [0x14008b540]
call fcn.1400303e0
jmp 0x140031eb0

Function at 0x140031f90
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
mov r9d, dword [0x14008acd4]
mov rbx, rcx
mov rax, qword gs:[0x58]
xor sil, sil
mov ecx, 0x10
mov r14, rdx
movsxd rbp, r8d
mov rdi, qword [rax + r9*8]
add rdi, rcx
mov eax, dword [rdi]
cmp dword [0x14008b550], eax
jg 0x14003207c
mov rcx, qword [rbx + 0x28]
test rcx, rcx
jne 0x140031ff7
mov rcx, rbx
call fcn.140043ca0
test al, al
jne 0x140031fd2
jmp 0x140032061
test ebp, ebp
je 0x140032011
mov r9, rcx
mov r8, rbp
mov rcx, r14
mov edx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
jmp 0x140032020
mov r8, r14
lea rdx, [0x140071130]
call fcn.140054300
cmp qword [0x14008b548], 0
jl 0x14003203d
cdqe
lock xadd qword [rbx + 0x38], rax
cmp rax, qword [0x14008b548]
setge sil
mov ecx, 1
lock xadd dword [rbx + 0x40], ecx
inc ecx
cmp ecx, 1
jne 0x14003205d
xor ecx, ecx
xchg dword [rbx + 0x40], ecx
mov rcx, qword [rbx + 0x28]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fflush]
movzx eax, sil
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
lea rcx, [0x14008b550]
call fcn.140030440
cmp dword [0x14008b550], 0xffffffff
jne 0x140031fe0
mov rax, qword [rbx + 0x48]
mov rcx, qword [rax + 0x18]
mov qword [0x14008b548], rcx
lea rcx, [0x14008b550]
call fcn.1400303e0
jmp 0x140031fe0
Function at 0x140034bc0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x40
mov r14, r8
mov rsi, rdx
mov rbp, rcx
mov r8, qword [r8 + 0x10]
mov rdx, r14
cmp qword [r14 + 0x18], 8
jb 0x140034be9
mov rdx, qword [r14]
movabs rbx, 0xcbf29ce484222325
xor ecx, ecx
add r8, r8
je 0x140034c23
movabs r9, 0x100000001b3
nop dword [rax]
nop dword [rax + rax]
movzx eax, byte [rcx + rdx]
xor rbx, rax
imul rbx, r9
inc rcx
cmp rcx, r8
jb 0x140034c10
mov r9, rbx
mov r8, r14
lea rdx, [rsp + 0x20]
mov rcx, rbp
call fcn.140033380
mov rax, qword [rsp + 0x28]
test rax, rax
je 0x140034c4c
mov qword [rsi], rax
mov byte [rsi + 8], 0
jmp 0x140034d77
movabs rax, 0x555555555555555
cmp qword [rbp + 0x10], rax
je 0x140034d89
lea r12, [rbp + 8]
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x38], 0
mov ecx, 0x30
call fcn.140030550
mov rdi, rax
mov qword [rsp + 0x38], rax
mov rdx, r14
lea rcx, [rax + 0x10]
call fcn.140018b50
nop
mov r9, qword [rbp + 0x10]
lea rcx, [r9 + 1]
xorps xmm0, xmm0
test rcx, rcx
js 0x140034ca8
cvtsi2ss xmm0, rcx
jmp 0x140034cbd
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
mov rcx, qword [rbp + 0x38]
xorps xmm1, xmm1
test rcx, rcx
js 0x140034cd0
cvtsi2ss xmm1, rcx
jmp 0x140034ce5
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]
seta al
test al, al
je 0x140034d1c
mov rcx, rbp
call fcn.140048510
mov r9, rbx
lea r8, [rdi + 0x10]
lea rdx, [rsp + 0x30]
mov rcx, rbp
call fcn.140033380
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x20], xmm0
mov r9, qword [rbp + 0x10]
mov rdx, qword [rsp + 0x20]
mov r8, qword [rdx + 8]
lea rax, [r9 + 1]
mov qword [rbp + 0x10], rax
mov qword [rdi], rdx
mov qword [rdi + 8], r8
mov qword [r8], rdi
mov qword [rdx + 8], rdi
mov rcx, qword [rbp + 0x18]
mov rax, qword [rbp + 0x30]
and rax, rbx
add rax, rax
mov r9, qword [rcx + rax*8]
cmp r9, qword [r12]
jne 0x140034d59
mov qword [rcx + rax*8], rdi
jmp 0x140034d6b
cmp r9, rdx
jne 0x140034d64
mov qword [rcx + rax*8], rdi
jmp 0x140034d70
cmp qword [rcx + rax*8 + 8], r8
jne 0x140034d70
mov qword [rcx + rax*8 + 8], rdi
mov qword [rsi], rdi
mov byte [rsi + 8], 1
mov rax, rsi
add rsp, 0x40
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
lea rcx, str.unordered_map_set_too_long
call sub.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_
int3
Function at 0x140034da0
Capabilities:
Encode data using xor
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, 0x40
mov r14, r8
mov rsi, rdx
mov rbp, rcx
mov r8, qword [r8 + 0x10]
mov rdx, r14
cmp qword [r14 + 0x18], 8
jb 0x140034dce
mov rdx, qword [r14]
movabs rbx, 0xcbf29ce484222325
xor r13d, r13d
mov ecx, r13d
add r8, r8
je 0x140034e03
movabs r9, 0x100000001b3
nop dword [rax]
movzx eax, byte [rcx + rdx]
xor rbx, rax
imul rbx, r9
inc rcx
cmp rcx, r8
jb 0x140034df0
mov r9, rbx
mov r8, r14
lea rdx, [rsp + 0x20]
mov rcx, rbp
call fcn.140033380
mov rax, qword [rsp + 0x28]
test rax, rax
je 0x140034e2c
mov qword [rsi], rax
mov byte [rsi + 8], r13b
jmp 0x140034f73
movabs rax, 0x555555555555555
cmp qword [rbp + 0x10], rax
je 0x140034f8e
lea r12, [rbp + 8]
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x38], r13
mov ecx, 0x30
call fcn.140030550
mov rdi, rax
mov qword [rsp + 0x38], rax
mov qword [rax + 0x10], r13
mov qword [rax + 0x20], r13
mov qword [rax + 0x28], r13
movups xmm0, xmmword [r14]
movups xmmword [rax + 0x10], xmm0
movups xmm1, xmmword [r14 + 0x10]
movups xmmword [rax + 0x20], xmm1
mov qword [r14 + 0x10], r13
mov qword [r14 + 0x18], 7
mov word [r14], r13w
mov r9, qword [rbp + 0x10]
lea rcx, [r9 + 1]
xorps xmm0, xmm0
test rcx, rcx
js 0x140034ea4
cvtsi2ss xmm0, rcx
jmp 0x140034eb9
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
mov rcx, qword [rbp + 0x38]
xorps xmm1, xmm1
test rcx, rcx
js 0x140034ecc
cvtsi2ss xmm1, rcx
jmp 0x140034ee1
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]
seta al
test al, al
je 0x140034f18
mov rcx, rbp
call fcn.140048510
mov r9, rbx
lea r8, [rdi + 0x10]
lea rdx, [rsp + 0x30]
mov rcx, rbp
call fcn.140033380
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x20], xmm0
mov r9, qword [rbp + 0x10]
mov rdx, qword [rsp + 0x20]
mov r8, qword [rdx + 8]
lea rax, [r9 + 1]
mov qword [rbp + 0x10], rax
mov qword [rdi], rdx
mov qword [rdi + 8], r8
mov qword [r8], rdi
mov qword [rdx + 8], rdi
mov rcx, qword [rbp + 0x18]
mov rax, qword [rbp + 0x30]
and rax, rbx
add rax, rax
mov r9, qword [rcx + rax*8]
cmp r9, qword [r12]
jne 0x140034f55
mov qword [rcx + rax*8], rdi
jmp 0x140034f67
cmp r9, rdx
jne 0x140034f60
mov qword [rcx + rax*8], rdi
jmp 0x140034f6c
cmp qword [rcx + rax*8 + 8], r8
jne 0x140034f6c
mov qword [rcx + rax*8 + 8], rdi
mov qword [rsi], rdi
mov byte [rsi + 8], 1
mov rax, rsi
mov rbx, qword [rsp + 0x98]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea rcx, str.unordered_map_set_too_long
call sub.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_
int3
Function at 0x14003a4c0
Capabilities:
Encrypt data using blowfish

Disassembly:
mov r11, rsp
push rsi
push rdi
sub rsp, 0x88
mov rax, qword [0x140087010]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov eax, dword [r9]
mov rdi, r8
mov dword [rcx], eax
mov rsi, rcx
mov eax, dword [r9 + 4]
mov dword [rcx + 4], eax
mov eax, dword [r9]
mov dword [rcx + 8], eax
mov eax, dword [r9 + 4]
mov dword [rcx + 0xc], eax
cmp r8, 1
jb 0x14003a684
mov eax, 0x38
mov qword [r11 - 0x18], rbx
cmp r8, rax
mov qword [r11 - 0x20], rbp
lea rcx, [r11 - 0x70]
mov qword [r11 - 0x28], r14
cmova rdi, rax
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
movaps xmm0, xmmword [0x140087050]
lea rbx, [rsi + 0x10]
movups xmmword [rbx], xmm0
lea rbp, [rsi + 0x58]
mov r8d, 0x1000
movaps xmm1, xmmword [0x140087060]
lea rdx, [0x1400870a0]
movups xmmword [rbx + 0x10], xmm1
mov rcx, rbp
movaps xmm0, xmmword [0x140087070]
movups xmmword [rbx + 0x20], xmm0
movaps xmm1, xmmword [0x140087080]
movups xmmword [rbx + 0x30], xmm1
movsd xmm0, qword [0x140087090]
movsd qword [rbx + 0x40], xmm0
call sub.VCRUNTIME140.dll_memcpy
xor r8d, r8d
lea r9, [rsp + 0x28]
mov r14d, 4
lea r11d, [r8 + 0x12]
nop
xor edx, edx
mov r10d, r14d
nop word [rax + rax]
movzx eax, byte [r9]
lea ecx, [r8 + 1]
inc r9
shl edx, 8
or edx, eax
lea rax, [rsp + 0x28]
cmp ecx, edi
cmovne rax, r9
xor r8d, r8d
cmp ecx, edi
mov r9, rax
cmovne r8d, ecx
sub r10d, 1
jne 0x14003a5a0
xor dword [rbx], edx
add rbx, r14
sub r11, 1
jne 0x14003a590
mov qword [rsp + 0x20], r11
xor ebx, ebx
nop
lea rdx, [rsp + 0x20]
mov rcx, rsi
call fcn.14003f160
mov eax, dword [rsp + 0x20]
mov dword [rsi + rbx*4 + 0x10], eax
inc ebx
mov eax, dword [rsp + 0x24]
mov dword [rsi + rbx*4 + 0x10], eax
inc ebx
cmp ebx, 0x12
jb 0x14003a5e0
nop word [rax + rax]
xor edi, edi
mov rbx, rbp
nop word [rax + rax]
lea rdx, [rsp + 0x20]
mov rcx, rsi
call fcn.14003f160
mov eax, dword [rsp + 0x20]
add rdi, 2
mov ecx, dword [rsp + 0x24]
mov dword [rbx], eax
mov dword [rbx + 4], ecx
lea rbx, [rbx + 8]
cmp rdi, 0x100
jl 0x14003a620
add rbp, 0x400
sub r14, 1
jne 0x14003a610
mov r14, qword [rsp + 0x70]
mov rax, rsi
mov rbp, qword [rsp + 0x78]
mov rbx, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140030280
add rsp, 0x88
pop rdi
pop rsi
ret
lea rax, str.Incorrect_key_length
lea rdx, [0x1400829c0]
mov qword [rsp + 0x20], rax
lea rcx, [rsp + 0x20]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
Function at 0x1400430d0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
sub rsp, 0x20
mov rax, qword gs:[0x58]
mov rbx, rcx
mov r9d, dword [0x14008acd4]
mov esi, r8d
mov ecx, 0x10
mov rbp, rdx
mov r9, qword [rax + r9*8]
mov eax, dword [rcx + r9]
cmp dword [0x14008b520], eax
jg 0x1400431d0
cmp qword [0x14008b518], 0
mov r8d, esi
mov rdx, rbp
jge 0x140043139
lea rcx, [rbx + 0x38]
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
add rsp, 0x20
pop rsi
jmp fcn.140031e60
mov qword [rsp + 0x30], rdi
mov rdi, qword [rbx + 0xd8]
xchg qword [rbx + 0xd8], rdi
mov rcx, rdi
call fcn.140031e60
test al, al
je 0x1400431bb
mov ecx, 1
xor eax, eax
lock cmpxchg dword [rbx + 0x34], ecx
cmp eax, ecx
je 0x1400431bb
mov rax, qword [rbx + 0xd8]
xchg qword [rbx + 0xd8], rax
cmp rax, rdi
jne 0x1400431b6
lea rax, [rbx + 0x38]
mov edx, 0x88
cmp rdi, rax
mov ecx, 0x38
cmove ecx, edx
lea rdi, [rcx + rbx]
mov rcx, rdi
call fcn.14003cb40
mov rcx, rdi
call fcn.140043ca0
test al, al
je 0x1400431ae
xchg qword [rbx + 0xd8], rdi
mov rcx, rbx
call fcn.140046f30
xor eax, eax
xchg dword [rbx + 0x34], eax
mov rdi, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
add rsp, 0x20
pop rsi
ret
lea rcx, [0x14008b520]
call fcn.140030440
cmp dword [0x14008b520], 0xffffffff
jne 0x140043111
mov rax, qword [rbx + 0x18]
lea rcx, [0x14008b520]
mov qword [0x14008b518], rax
call fcn.1400303e0
jmp 0x140043111
Function at 0x140046f30
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x90
mov rax, qword [0x140087010]
xor rax, rsp
mov qword [rsp + 0x88], rax
mov rbx, rcx
mov edx, dword [0x14008acd4]
mov rax, qword gs:[0x58]
mov ecx, 0x10
mov rax, qword [rax + rdx*8]
mov edx, dword [rcx + rax]
cmp dword [0x14008b498], edx
jg 0x1400470f6
mov rcx, qword [0x14008b490]
cmp rcx, 2
jl 0x1400470d5
movsxd rax, dword [rbx + 0x30]
sub rax, rcx
sub rax, 1
js 0x1400470d5
mov r8d, eax
lea rdx, [rsp + 0x48]
lea rcx, [rbx + 0x38]
call fcn.140041860
mov rdi, rax
lea rdx, [rsp + 0x28]
lea rcx, [rbx + 0x38]
call fcn.140041d70
nop
mov r9, rdi
mov r8, rax
movzx edx, byte [rsp + 0x20]
lea rcx, [rsp + 0x68]
call fcn.14003a100
nop
mov rdx, qword [rsp + 0x40]
cmp rdx, 8
jb 0x140047019
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140047014
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140047014
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400302a0
xor eax, eax
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], 7
mov word [rsp + 0x28], ax
mov rdx, qword [rsp + 0x60]
cmp rdx, 8
jb 0x140047073
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004706e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004706e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400302a0
lea rcx, [rsp + 0x68]
cmp qword [rsp + 0x80], 8
cmovae rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov rdx, qword [rsp + 0x80]
cmp rdx, 8
jb 0x1400470d5
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400470d0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400470d0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400302a0
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.140030280
mov rbx, qword [rsp + 0xa8]
add rsp, 0x90
pop rdi
ret
lea rcx, [0x14008b498]
call fcn.140030440
cmp dword [0x14008b498], 0xffffffff
jne 0x140046f79
mov rax, qword [rbx + 0x20]
mov qword [0x14008b490], rax
lea rcx, [0x14008b498]
call fcn.1400303e0
jmp 0x140046f79
Function at 0x140049170
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
push rbx
push rbp
push rsi
push rdi
push r14
mov eax, 0x2080
call fcn.140065c20
sub rsp, rax
mov rax, qword [0x140087010]
xor rax, rsp
mov qword [rsp + 0x2070], rax
mov rsi, rdx
lea rbx, [rsp + 0x70]
mov ebp, ecx
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov edi, eax
call qword [sym.imp.KERNEL32.dll_GetTickCount64]
mov r9d, edi
lea rdx, [0x14006e140]
mov r8d, eax
lea rcx, [rsp + 0x40]
call fcn.140039890
movzx eax, byte [rsp + 0x40]
test al, al
je 0x1400491fd
lea rcx, [rsp + 0x40]
lea rdx, [rsp + 0x70]
sub rcx, rdx
nop dword [rax]
nop dword [rax + rax]
mov byte [rbx], al
inc rbx
movzx eax, byte [rcx + rbx]
test al, al
jne 0x1400491f0
test rsi, rsi
je 0x14004921d
movzx eax, byte [rsi]
test al, al
je 0x14004921d
sub rsi, rbx
nop dword [rax]
mov byte [rbx], al
inc rbx
movzx eax, byte [rsi + rbx]
test al, al
jne 0x140049210
mov rax, qword [rsp + 0x20c0]
lea rdi, [0x14006e154]
test rax, rax
lea rsi, [rsp + 0x206e]
lea r14, [rsp + 0x20c8]
cmovne rdi, rax
sub rsi, rbx
mov qword [rsp + 0x20c0], rdi
call fcn.140001990
mov qword [rsp + 0x30], r14
mov r8, rsi
mov qword [rsp + 0x28], 0
mov rdx, rbx
mov qword [rsp + 0x20], rdi
mov rdi, 0xffffffffffffffff
mov rcx, qword [rax]
mov r9, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___stdio_common_vsnprintf_s]
test eax, eax
cmovs eax, edi
mov rdi, qword [0x14008b068]
cdqe
cmp rax, rsi
cmovbe rsi, rax
mov word [rbx + rsi], 0xa
mov rax, qword [rdi]
mov ebx, dword [rax]
cmp ebp, 8
jne 0x1400492ad
cmp dword [rdi + 0x10], 2
je 0x1400492ad
or ebx, 2
mov rdx, rdi
lea rcx, [rsp + 0x70]
call fcn.140049610
mov esi, eax
test bl, 1
je 0x1400492cc
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
test bl, 2
je 0x1400492e1
mov r8d, esi
lea rdx, [rsp + 0x70]
mov rcx, rdi
call fcn.1400430d0
mov rcx, qword [rsp + 0x2070]
xor rcx, rsp
call fcn.140030280
add rsp, 0x2080
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140049300
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 0x20], r9
push rbx
push rbp
push rsi
push rdi
push r14
push r15
mov eax, 0x2088
call fcn.140065c20
sub rsp, rax
mov rax, qword [0x140087010]
xor rax, rsp
mov qword [rsp + 0x2070], rax
mov rsi, r8
lea rbx, [rsp + 0x70]
mov ebp, edx
mov r14, rcx
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov edi, eax
call qword [sym.imp.KERNEL32.dll_GetTickCount64]
mov r9d, edi
lea rdx, [0x14006e140]
mov r8d, eax
lea rcx, [rsp + 0x40]
call fcn.140039890
movzx eax, byte [rsp + 0x40]
test al, al
je 0x14004938d
lea rcx, [rsp + 0x40]
lea rdx, [rsp + 0x70]
sub rcx, rdx
nop dword [rax]
nop dword [rax + rax]
mov byte [rbx], al
inc rbx
movzx eax, byte [rcx + rbx]
test al, al
jne 0x140049380
test rsi, rsi
je 0x1400493ad
movzx eax, byte [rsi]
test al, al
je 0x1400493ad
sub rsi, rbx
nop dword [rax]
mov byte [rbx], al
inc rbx
movzx eax, byte [rsi + rbx]
test al, al
jne 0x1400493a0
mov rax, qword [rsp + 0x20d8]
lea rdi, [0x14006e154]
test rax, rax
lea rsi, [rsp + 0x206e]
lea r15, [rsp + 0x20e0]
cmovne rdi, rax
sub rsi, rbx
mov qword [rsp + 0x20d8], rdi
call fcn.140001990
mov qword [rsp + 0x30], r15
mov r8, rsi
mov qword [rsp + 0x28], 0
mov rdx, rbx
mov qword [rsp + 0x20], rdi
mov rdi, 0xffffffffffffffff
mov rcx, qword [rax]
mov r9, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___stdio_common_vsnprintf_s]
test eax, eax
cmovs eax, edi
cdqe
cmp rax, rsi
cmovbe rsi, rax
mov word [rbx + rsi], 0xa
mov rax, qword [r14]
mov ebx, dword [rax]
cmp ebp, 8
jne 0x140049437
cmp dword [r14 + 0x10], 2
je 0x140049437
or ebx, 2
mov rdx, r14
lea rcx, [rsp + 0x70]
call fcn.140049610
mov edi, eax
test bl, 1
je 0x140049456
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
test bl, 2
je 0x14004946b
mov r8d, edi
lea rdx, [rsp + 0x70]
mov rcx, r14
call fcn.1400430d0
mov rcx, qword [rsp + 0x2070]
xor rcx, rsp
call fcn.140030280
add rsp, 0x2088
pop r15
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret

Function at 0x140049610
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, qword [rdx + 8]
mov rdi, rcx
test rbx, rbx
je 0x14004967f
cmp dword [rbx], 0
je 0x14004967f
mov rax, qword gs:[0x58]
mov edx, dword [0x14008acd4]
mov ecx, 0x10
mov rdx, qword [rax + rdx*8]
mov eax, dword [rcx + rdx]
cmp dword [0x14008b480], eax
jg 0x14004968c
movzx ecx, byte [rdi]
mov rax, rdi
test cl, cl
je 0x140049672
nop dword [rax + rax]
xor cl, byte [0x14008b47c]
mov byte [rax], cl
inc rax
movzx ecx, byte [rax]
test cl, cl
jne 0x140049660
sub eax, edi
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov rbx, qword [rsp + 0x30]
xor eax, eax
add rsp, 0x20
pop rdi
ret
lea rcx, [0x14008b480]
call fcn.140030440
cmp dword [0x14008b480], 0xffffffff
jne 0x14004964e
movzx eax, byte [rbx + 1]
lea rcx, [0x14008b480]
sub al, byte [rbx + 3]
sub al, byte [rbx + 2]
add al, byte [rbx]
mov byte [0x14008b47c], al
call fcn.1400303e0
jmp 0x14004964e
Function at 0x14004b2b0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
cmp qword [rdx + 0x18], 8
mov rsi, rcx
mov r9, qword [rdx + 0x10]
mov r8, rdx
jb 0x14004b2d3
mov r8, qword [rdx]
xor ecx, ecx
movabs rdi, 0xcbf29ce484222325
add r9, r9
je 0x14004b304
movabs r10, 0x100000001b3
nop
movzx eax, byte [rcx + r8]
inc rcx
xor rdi, rax
imul rdi, r10
cmp rcx, r9
jb 0x14004b2f0
mov r8, rdx
mov r9, rdi
lea rdx, [rsp + 0x20]
mov rcx, rsi
call fcn.140033380
mov rbx, qword [rax + 8]
test rbx, rbx
je 0x14004b3a7
mov rcx, qword [rsi + 0x30]
mov rdx, qword [rsi + 0x18]
and rcx, rdi
shl rcx, 4
add rdx, rcx
mov rax, qword [rdx]
cmp qword [rdx + 8], rbx
jne 0x14004b35b
cmp rax, rbx
jne 0x14004b351
mov rax, qword [rsi + 8]
mov qword [rdx], rax
mov qword [rdx + 8], rax
jmp 0x14004b366
mov rax, qword [rbx + 8]
mov qword [rdx + 8], rax
jmp 0x14004b366
cmp rax, rbx
jne 0x14004b366
mov rax, qword [rbx]
mov qword [rdx], rax
mov rdx, qword [rbx]
lea rcx, [rbx + 0x10]
dec qword [rsi + 0x10]
mov rax, qword [rbx + 8]
mov qword [rax], rdx
mov rax, qword [rbx + 8]
mov qword [rdx + 8], rax
call fcn.140002b60
mov edx, 0x30
mov rcx, rbx
call fcn.1400302a0
mov eax, 1
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
mov rbx, qword [rsp + 0x50]
xor eax, eax
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
Function at 0x14004cf50
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x40
mov rax, qword [0x140087010]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, rcx
mov qword [rsp + 0x28], rcx
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x14004d018
lea edi, [rax + 1]
mov ecx, edi
mov eax, 2
mul rcx
mov rsi, 0xffffffffffffffff
cmovo rax, rsi
mov rcx, rax
call fcn.140065a30
mov rbp, rax
mov qword [rsp + 0x28], rax
mov edx, edi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x14004d006
inc rsi
cmp word [rbp + rsi*2], 0
jne 0x14004cfc4
xor ecx, ecx
mov qword [rbx], rcx
mov qword [rbx + 0x10], rcx
mov qword [rbx + 0x18], 7
mov word [rbx], cx
mov r8, rsi
mov rdx, rbp
mov rcx, rbx
call fcn.14001a610
nop
test rbp, rbp
je 0x14004d036
mov edx, 2
mov rcx, rbp
call fcn.1400302a0
jmp 0x14004d036
test rbp, rbp
je 0x14004d018
mov edx, 2
mov rcx, rbp
call fcn.1400302a0
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
movups xmmword [rbx + 0x10], xmm0
xor ecx, ecx
mov qword [rbx], rcx
mov qword [rbx + 0x10], rcx
mov qword [rbx + 0x18], 7
mov word [rbx], cx
mov rax, rbx
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140030280
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret