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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x20
mov rsi, rcx
movabs rax, 0xfffffffffffffff
bsr rcx, rax
mov edi, 1
mov eax, edi
shl rax, cl
cmp rdx, rax
ja 0x180234921
lea rax, [rdx - 1]
or rax, rdi
bsr rcx, rax
inc ecx
shl rdi, cl
mov rbx, qword [rsi + 8]
lea rdx, [rdi + rdi]
mov r8, rbx
lea rcx, [rsi + 0x18]
call fcn.18002b900
lea rax, [rdi - 1]
mov qword [rsi + 0x30], rax
mov qword [rsi + 0x38], rdi
mov qword [rsp + 0x48], rsi
mov rcx, qword [rsi + 8]
mov rcx, qword [rcx]
mov rdx, rcx
cmp rcx, rbx
je 0x1802348df
movabs rbp, 0xcbf29ce484222325
movabs rdi, 0x100000001b3
nop dword [rax]
nop word [rax + rax]
mov rdx, qword [rdx]
movzx r9d, byte [rcx + 0x10]
xor r9, rbp
imul r9, rdi
movzx eax, byte [rcx + 0x11]
xor r9, rax
imul r9, rdi
movzx eax, byte [rcx + 0x12]
xor r9, rax
imul r9, rdi
movzx eax, byte [rcx + 0x13]
xor r9, rax
imul r9, rdi
movzx eax, byte [rcx + 0x14]
xor r9, rax
imul r9, rdi
movzx eax, byte [rcx + 0x15]
xor r9, rax
imul r9, rdi
movzx eax, byte [rcx + 0x16]
xor r9, rax
imul r9, rdi
movzx eax, byte [rcx + 0x17]
xor r9, rax
imul r9, rdi
mov r11, qword [rsi + 0x30]
and r11, r9
shl r11, 4
add r11, qword [rsi + 0x18]
mov r9, qword [r11]
cmp r9, rbx
jne 0x18023485c
mov qword [r11], rcx
mov qword [r11 + 8], rcx
jmp 0x1802348d3
mov rax, qword [r11 + 8]
mov r8, qword [rcx + 0x10]
cmp r8, qword [rax + 0x10]
jne 0x180234899
mov r8, qword [rax]
cmp r8, rcx
je 0x180234893
mov r10, qword [rcx + 8]
mov qword [r10], rdx
mov r9, qword [rdx + 8]
mov qword [r9], r8
mov rax, qword [r8 + 8]
mov qword [rax], rcx
mov qword [r8 + 8], r9
mov qword [rdx + 8], r10
mov qword [rcx + 8], rax
mov qword [r11 + 8], rcx
jmp 0x1802348d3
cmp r9, rax
je 0x1802348af
nop
mov rax, qword [rax + 8]
cmp r8, qword [rax + 0x10]
je 0x1802348fb
cmp r9, rax
jne 0x1802348a0
mov r10, qword [rcx + 8]
mov qword [r10], rdx
mov r9, qword [rdx + 8]
mov qword [r9], rax
mov r8, qword [rax + 8]
mov qword [r8], rcx
mov qword [rax + 8], r9
mov qword [rdx + 8], r10
mov qword [rcx + 8], r8
mov qword [r11], rcx
mov rcx, rdx
cmp rdx, rbx
jne 0x1802347e0
mov qword [rsp + 0x48], 0
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rsi
ret
mov rax, qword [rax]
mov r10, qword [rcx + 8]
mov qword [r10], rdx
mov r9, qword [rdx + 8]
mov qword [r9], rax
mov r8, qword [rax + 8]
mov qword [r8], rcx
mov qword [rax + 8], r9
mov qword [rdx + 8], r10
mov qword [rcx + 8], r8
jmp 0x1802348d3
lea rcx, str.invalid_hash_bucket_count
call fcn.1802819e8
int3
Function at 0x18023ede0
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x20
mov rsi, rcx
movabs rax, 0xfffffffffffffff
bsr rcx, rax
mov edi, 1
mov eax, edi
shl rax, cl
cmp rdx, rax
ja 0x18023efc1
lea rax, [rdx - 1]
or rax, rdi
bsr rcx, rax
inc ecx
shl rdi, cl
mov rbx, qword [rsi + 8]
lea rdx, [rdi + rdi]
mov r8, rbx
lea rcx, [rsi + 0x18]
call fcn.18002b900
lea rax, [rdi - 1]
mov qword [rsi + 0x30], rax
mov qword [rsi + 0x38], rdi
mov qword [rsp + 0x48], rsi
mov rcx, qword [rsi + 8]
mov rcx, qword [rcx]
mov rdx, rcx
cmp rcx, rbx
je 0x18023ef7f
movabs rbp, 0xcbf29ce484222325
movabs rdi, 0x100000001b3
nop dword [rax]
nop word [rax + rax]
mov rdx, qword [rdx]
movzx r9d, byte [rcx + 0x10]
xor r9, rbp
imul r9, rdi
movzx eax, byte [rcx + 0x11]
xor r9, rax
imul r9, rdi
movzx eax, byte [rcx + 0x12]
xor r9, rax
imul r9, rdi
movzx eax, byte [rcx + 0x13]
xor r9, rax
imul r9, rdi
movzx eax, byte [rcx + 0x14]
xor r9, rax
imul r9, rdi
movzx eax, byte [rcx + 0x15]
xor r9, rax
imul r9, rdi
movzx eax, byte [rcx + 0x16]
xor r9, rax
imul r9, rdi
movzx eax, byte [rcx + 0x17]
xor r9, rax
imul r9, rdi
mov r11, qword [rsi + 0x30]
and r11, r9
shl r11, 4
add r11, qword [rsi + 0x18]
mov r9, qword [r11]
cmp r9, rbx
jne 0x18023eefc
mov qword [r11], rcx
mov qword [r11 + 8], rcx
jmp 0x18023ef73
mov rax, qword [r11 + 8]
mov r8, qword [rcx + 0x10]
cmp r8, qword [rax + 0x10]
jne 0x18023ef39
mov r8, qword [rax]
cmp r8, rcx
je 0x18023ef33
mov r10, qword [rcx + 8]
mov qword [r10], rdx
mov r9, qword [rdx + 8]
mov qword [r9], r8
mov rax, qword [r8 + 8]
mov qword [rax], rcx
mov qword [r8 + 8], r9
mov qword [rdx + 8], r10
mov qword [rcx + 8], rax
mov qword [r11 + 8], rcx
jmp 0x18023ef73
cmp r9, rax
je 0x18023ef4f
nop
mov rax, qword [rax + 8]
cmp r8, qword [rax + 0x10]
je 0x18023ef9b
cmp r9, rax
jne 0x18023ef40
mov r10, qword [rcx + 8]
mov qword [r10], rdx
mov r9, qword [rdx + 8]
mov qword [r9], rax
mov r8, qword [rax + 8]
mov qword [r8], rcx
mov qword [rax + 8], r9
mov qword [rdx + 8], r10
mov qword [rcx + 8], r8
mov qword [r11], rcx
mov rcx, rdx
cmp rdx, rbx
jne 0x18023ee80
mov qword [rsp + 0x48], 0
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rsi
ret
mov rax, qword [rax]
mov r10, qword [rcx + 8]
mov qword [r10], rdx
mov r9, qword [rdx + 8]
mov qword [r9], rax
mov r8, qword [rax + 8]
mov qword [r8], rcx
mov qword [rax + 8], r9
mov qword [rdx + 8], r10
mov qword [rcx + 8], r8
jmp 0x18023ef73
lea rcx, str.invalid_hash_bucket_count
call fcn.1802819e8
int3
Function at 0x180248f30
Capabilities:
Access peb ldr_data

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x70
mov rax, qword [0x1804c8100]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rbx, rcx
mov ecx, dword [0x1804e1ddc]
mov rax, qword gs:[0x58]
mov edx, 0x44
mov rax, qword [rax + rcx*8]
xor esi, esi
mov eax, dword [rdx + rax]
cmp dword [0x1804dcda8], eax
jg 0x180249021
mov rdx, qword [0x1804dcda0]
test rdx, rdx
je 0x180248faa
mov qword [rsp + 0x20], rsi
lea r8, [rsp + 0x20]
mov rcx, rbx
call fcn.180229e80
mov rcx, qword [rsp + 0x20]
test rcx, rcx
je 0x180248faa
mov rdx, rbx
call fcn.180247350
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.180286db0
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
movdqa xmm0, xmmword [0x1802f5610]
movdqu xmmword [rsp + 0x50], xmm0
mov word [rsp + 0x40], si
lea rax, str.GetOwner
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], 8
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm0
lea rdx, [rsp + 0x30]
mov rcx, rdi
call fcn.18023f2a0
mov qword [0x1804dcda0], rax
lea rcx, [0x1804dcda8]
call fcn.180286650
jmp 0x180248f7a
lea rcx, [0x1804dcda8]
call fcn.1802866bc
cmp dword [0x1804dcda8], 0xffffffff
jne 0x180248f7a
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x50], xmm1
mov r8d, 0x23
lea rdx, str.Class__Script_Engine.ActorComponent
lea rcx, [rsp + 0x40]
call fcn.180017c20
nop
mov dl, 1
lea rcx, [rsp + 0x40]
call fcn.18023d630
mov rdi, rax
mov rdx, qword [rsp + 0x58]
cmp rdx, 7
jbe 0x180248fc9
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1802490b5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1802490b5
call fcn.18028ddc0
int3
call fcn.180286270
jmp 0x180248fc9
Function at 0x1802490c0
Capabilities:
Access peb ldr_data

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x70
mov rax, qword [0x1804c8100]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rbx, rcx
mov ecx, dword [0x1804e1ddc]
mov rax, qword gs:[0x58]
mov edx, 0x44
mov rax, qword [rax + rcx*8]
xor esi, esi
mov eax, dword [rdx + rax]
cmp dword [0x1804dcda8], eax
jg 0x1802491a8
mov rdx, qword [0x1804dcda0]
test rdx, rdx
jne 0x18024911a
xor eax, eax
jmp 0x180249131
mov qword [rsp + 0x20], rsi
lea r8, [rsp + 0x20]
mov rcx, rbx
call fcn.180229e80
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.180286db0
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
movdqa xmm0, xmmword [0x1802f5610]
movdqu xmmword [rsp + 0x50], xmm0
mov word [rsp + 0x40], si
lea rax, str.GetOwner
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], 8
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm0
lea rdx, [rsp + 0x30]
mov rcx, rdi
call fcn.18023f2a0
mov qword [0x1804dcda0], rax
lea rcx, [0x1804dcda8]
call fcn.180286650
jmp 0x18024910a
lea rcx, [0x1804dcda8]
call fcn.1802866bc
cmp dword [0x1804dcda8], 0xffffffff
jne 0x18024910a
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x50], xmm1
mov r8d, 0x23
lea rdx, str.Class__Script_Engine.ActorComponent
lea rcx, [rsp + 0x40]
call fcn.180017c20
nop
mov dl, 1
lea rcx, [rsp + 0x40]
call fcn.18023d630
mov rdi, rax
mov rdx, qword [rsp + 0x58]
cmp rdx, 7
jbe 0x180249150
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18024923c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18024923c
call fcn.18028ddc0
int3
call fcn.180286270
jmp 0x180249150
Function at 0x180255a30
Capabilities:
Validate payment card number using luhn algorithm

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov dword [rcx + 0x74], 0
mov rbx, rcx
mov edi, 0x7fffffff
mov ebp, 0xfffd
nop word [rax + rax]
movzx ecx, word [rbx + 0x78]
lea eax, [rcx - 0x30]
cmp ax, 9
ja 0x180255b13
lea r8d, [rcx - 0x30]
cmp r8d, 0xffffffff
je 0x180255b13
mov r9d, dword [rbx + 0x74]
mov ecx, 0x7fffffff
sub ecx, r8d
mov eax, 0x66666667
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp r9d, edx
jg 0x180255b31
lea eax, [r9 + r9*4]
dec edi
lea ecx, [r8 + rax*2]
mov rax, qword [rbx]
mov dword [rbx + 0x74], ecx
mov rcx, qword [rbx + 0x10]
cmp rax, rcx
je 0x180255b03
cmp word [rax], 0x5c
jne 0x180255afc
lea rdx, [rax + 2]
cmp rdx, rcx
je 0x180255afc
mov r8d, dword [rbx + 0x80]
test r8b, 8
jne 0x180255ae7
movzx ecx, word [rdx]
sub cx, 0x28
cmp cx, 1
jbe 0x180255af9
test r8b, 0x10
jne 0x180255afc
movzx ecx, word [rdx]
sub cx, 0x7b
test bp, cx
jne 0x180255afc
mov rax, rdx
add rax, 2
mov qword [rbx], rax
mov rcx, rbx
call fcn.1802580e0
test edi, edi
jne 0x180255a60
mov rbx, qword [rsp + 0x30]
cmp edi, 0x7fffffff
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
setne al
add rsp, 0x20
pop rdi
ret
mov edx, esi
mov rcx, rbx
call fcn.180257050
int3

Function at 0x180258510
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
sub r8, rdx
movabs rax, 0xcbf29ce484222325
sar r8, 1
mov r9d, 0
add r8, r8
je 0x180258554
movabs r10, 0x100000001b3
nop word [rax + rax]
movzx ecx, byte [r9 + rdx]
inc r9
xor rax, rcx
imul rax, r10
cmp r9, r8
jb 0x180258540
ret
Function at 0x18026a2d0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rbp
push r13
push r14
sub rsp, 0x30
mov qword [rsp + 0x50], rbx
mov r14, rdx
mov qword [rsp + 0x58], rsi
mov r13, rcx
mov qword [rsp + 0x60], rdi
mov r9, r8
mov qword [rsp + 0x28], r12
mov rdi, r8
mov r12, qword [r8 + 0x18]
cmp r12, 0xf
jbe 0x18026a307
mov r9, qword [r8]
mov rsi, qword [rdi + 0x10]
xor ebp, ebp
movabs r8, 0xcbf29ce484222325
mov edx, ebp
test rsi, rsi
je 0x18026a344
movabs rcx, 0x100000001b3
nop dword [rax + rax]
movzx eax, byte [rdx + r9]
inc rdx
xor r8, rax
imul r8, rcx
cmp rdx, rsi
jb 0x18026a330
mov rcx, qword [r13 + 0x30]
mov rax, qword [r13 + 0x18]
and rcx, r8
add rcx, rcx
mov rbx, qword [rax + rcx*8 + 8]
cmp rbx, qword [r13 + 8]
je 0x18026a3b0
mov qword [rsp + 0x20], r15
mov r15, qword [rax + rcx*8]
nop word [rax + rax]
cmp qword [rbx + 0x28], 0xf
lea rdx, [rbx + 0x10]
jbe 0x18026a37f
mov rdx, qword [rbx + 0x10]
mov rcx, rdi
cmp r12, 0xf
jbe 0x18026a38b
mov rcx, qword [rdi]
cmp rsi, qword [rbx + 0x20]
jne 0x18026a39d
mov r8, rsi
call fcn.1802bc870
test eax, eax
je 0x18026a3a8
cmp rbx, r15
je 0x18026a3ab
mov rbx, qword [rbx + 8]
jmp 0x18026a370
mov rbp, rbx
mov r15, qword [rsp + 0x20]
mov r12, qword [rsp + 0x28]
mov rdi, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x50]
test rbp, rbp
je 0x18026a3d9
mov qword [r14], rbp
mov rax, r14
add rsp, 0x30
pop r14
pop r13
pop rbp
ret
mov rax, qword [r13 + 8]
mov qword [r14], rax
mov rax, r14
add rsp, 0x30
pop r14
pop r13
pop rbp
ret
Function at 0x18026f840
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
movabs rax, 0xfffffffffffffff
mov rsi, rcx
bsr rcx, rax
mov edi, 1
mov eax, edi
shl rax, cl
cmp rdx, rax
ja 0x18026f9cf
lea rax, [rdx - 1]
mov qword [rsp + 0x30], rbx
mov rbx, qword [rsi + 8]
or rax, rdi
bsr rcx, rax
mov r8, rbx
mov qword [rsp + 0x40], r14
inc ecx
shl rdi, cl
lea rcx, [rsi + 0x18]
lea rdx, [rdi + rdi]
call fcn.18002b900
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 0x18026f994
mov qword [rsp + 0x38], rbp
movabs rdi, 0xcbf29ce484222325
movabs rbp, 0x100000001b3
nop dword [rax]
nop dword [rax + rax]
movzx r9d, byte [rax + 0x10]
mov r11, qword [rsi + 0x30]
mov edx, r9d
mov rcx, qword [rcx]
xor rdx, rdi
imul rdx, rbp
and r11, rdx
shl r11, 4
add r11, qword [rsi + 0x18]
mov r8, qword [r11]
cmp r8, rbx
jne 0x18026f912
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x18026f983
mov rdx, qword [r11 + 8]
cmp r9b, byte [rdx + 0x10]
jne 0x18026f94b
mov r10, qword [rdx]
cmp r10, rax
je 0x18026f945
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 0x18026f983
cmp r8, rdx
je 0x18026f95f
mov rdx, qword [rdx + 8]
cmp r9b, byte [rdx + 0x10]
je 0x18026f9a9
cmp r8, rdx
jne 0x18026f950
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 0x18026f8e0
mov rbp, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
mov r14, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
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 0x18026f983
lea rcx, str.invalid_hash_bucket_count
call fcn.1802819e8
int3
Function at 0x1802703b0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rdi
push r12
sub rsp, 0x178
mov rax, qword [0x1804c8100]
xor rax, rsp
mov qword [rsp + 0x150], rax
xor r12d, r12d
mov rdi, rcx
cmp qword [rcx + 0x18], 0xf
jbe 0x1802703dd
mov rcx, qword [rcx]
mov qword [rsp + 0x198], rbx
mov qword [rsp + 0x1a0], rbp
mov qword [rsp + 0x170], rsi
mov qword [rsp + 0x168], r14
mov qword [rsp + 0x160], r15
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x180270585
mov rsi, qword [rdi + 0x10]
test rsi, rsi
je 0x180270603
mov rbp, r12
lea r15, [0x1803b3a88]
nop dword [rax + rax]
mov rbx, 0xffffffffffffffff
inc rbx
cmp byte [r15 + rbx], r12b
jne 0x180270437
cmp qword [rdi + 0x18], 0xf
mov r14, rdi
jbe 0x18027044d
mov r14, qword [rdi]
test rbx, rbx
je 0x1802704bd
cmp rbp, rsi
jae 0x1802704bd
xor edx, edx
lea rcx, [rsp + 0x50]
mov r8d, 0x100
call fcn.1802bd010
lea rdx, [rbx + r15]
mov rcx, r15
cmp r15, rdx
je 0x180270490
nop word [rax + rax]
movzx eax, byte [rcx]
inc rcx
mov byte [rsp + rax + 0x50], 1
cmp rcx, rdx
jne 0x180270480
lea rcx, [rsi + r14]
lea rbx, [r14 + rbp]
cmp rbx, rcx
jae 0x1802704bd
nop dword [rax]
movzx eax, byte [rbx]
cmp byte [rsp + rax + 0x50], r12b
jne 0x1802704b4
inc rbx
cmp rbx, rcx
jb 0x1802704a0
jmp 0x1802704bd
sub rbx, r14
cmp rbx, 0xffffffffffffffff
jne 0x1802704c1
mov rbx, qword [rdi + 0x10]
cmp qword [rdi + 0x10], rbx
mov r8, rbx
xorps xmm0, xmm0
mov qword [rsp + 0x38], r12
cmovb r8, qword [rdi + 0x10]
mov rdx, rdi
cmp qword [rdi + 0x18], 0xf
movups xmmword [rsp + 0x28], xmm0
mov qword [rsp + 0x40], r12
jbe 0x1802704ec
mov rdx, qword [rdi]
lea rcx, [rsp + 0x28]
call fcn.1800083d0
cmp qword [rsp + 0x38], r12
je 0x180270537
cmp qword [rsp + 0x40], 0xf
lea rcx, [rsp + 0x28]
cmova rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x180270537
cmp qword [rsp + 0x40], 0xf
lea rcx, [rsp + 0x28]
cmova rcx, qword [rsp + 0x28]
call fcn.1802a46dc
test eax, eax
jne 0x1802705ca
mov rdx, qword [rsp + 0x40]
lea rbp, [rbx + 1]
cmp rdx, 0xf
jbe 0x180270578
mov rcx, qword [rsp + 0x28]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x180270573
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180270607
call fcn.180286270
mov rsi, qword [rdi + 0x10]
cmp rbp, rsi
jb 0x180270430
mov al, 1
mov r15, qword [rsp + 0x160]
mov r14, qword [rsp + 0x168]
mov rsi, qword [rsp + 0x170]
mov rbp, qword [rsp + 0x1a0]
mov rbx, qword [rsp + 0x198]
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.180286db0
add rsp, 0x178
pop r12
pop rdi
ret
mov rdx, qword [rsp + 0x40]
cmp rdx, 0xf
jbe 0x180270603
mov rcx, qword [rsp + 0x28]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1802705fe
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180270607
call fcn.180286270
xor al, al
jmp 0x180270587
call fcn.18028ddc0
int3
Function at 0x180270a90
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
cmp qword [rdx + 0x18], 0xf
mov rsi, rcx
mov r9, rdx
jbe 0x180270aaf
mov r9, qword [rdx]
mov r10, qword [rdx + 0x10]
xor r8d, r8d
movabs rdi, 0xcbf29ce484222325
test r10, r10
je 0x180270ae4
movabs rcx, 0x100000001b3
nop
movzx eax, byte [r8 + r9]
inc r8
xor rdi, rax
imul rdi, rcx
cmp r8, r10
jb 0x180270ad0
mov r8, rdx
mov r9, rdi
lea rdx, [rsp + 0x20]
mov rcx, rsi
call fcn.180269380
mov rbx, qword [rax + 8]
test rbx, rbx
je 0x180270b84
mov rdx, qword [rsi + 0x30]
and rdx, rdi
shl rdx, 4
add rdx, qword [rsi + 0x18]
mov rax, qword [rdx]
cmp qword [rdx + 8], rbx
jne 0x180270b38
cmp rax, rbx
jne 0x180270b2e
mov rax, qword [rsi + 8]
mov qword [rdx], rax
mov qword [rdx + 8], rax
jmp 0x180270b43
mov rax, qword [rbx + 8]
mov qword [rdx + 8], rax
jmp 0x180270b43
cmp rax, rbx
jne 0x180270b43
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.18026ed50
mov edx, 0x40
mov rcx, rbx
call fcn.180286270
mov eax, 1
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
mov rbx, qword [rsp + 0x40]
xor eax, eax
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
Function at 0x180275e80
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0xa0
mov rax, qword [0x1804c8100]
xor rax, rsp
mov qword [rsp + 0x98], rax
mov r12, rdx
mov r13, rcx
mov qword [rsp + 0x20], rdx
mov rdx, qword [rdx]
add rdx, 8
lea rcx, [rsp + 0x58]
call fcn.1800125e0
nop
lea r8, [rsp + 0x58]
mov rbp, qword [rsp + 0x58]
mov r14, qword [rsp + 0x70]
cmp r14, 0xf
cmova r8, rbp
movabs rdx, 0xcbf29ce484222325
xor ecx, ecx
mov rdi, qword [rsp + 0x68]
test rdi, rdi
je 0x180275f14
movabs r9, 0x100000001b3
nop
movzx eax, byte [rcx + r8]
xor rdx, rax
imul rdx, r9
inc rcx
cmp rcx, rdi
jb 0x180275f00
mov rcx, qword [r13 + 0x120]
and rcx, rdx
add rcx, rcx
mov rax, qword [r13 + 0x108]
mov rbx, qword [rax + rcx*8 + 8]
cmp rbx, qword [r13 + 0xf8]
je 0x180275f79
mov rsi, qword [rax + rcx*8]
nop word [rax + rax]
lea rdx, [rbx + 0x10]
cmp qword [rbx + 0x28], 0xf
jbe 0x180275f4f
mov rdx, qword [rbx + 0x10]
lea rcx, [rsp + 0x58]
cmp r14, 0xf
cmova rcx, rbp
cmp rdi, qword [rbx + 0x20]
jne 0x180275f6e
mov r8, rdi
call fcn.1802bc870
test eax, eax
je 0x180275f7b
cmp rbx, rsi
je 0x180275f79
mov rbx, qword [rbx + 8]
jmp 0x180275f40
xor ebx, ebx
mov rax, qword [r13 + 0xf8]
test rbx, rbx
cmovne rax, rbx
lea r8, [rsp + 0x58]
cmp rax, qword [r13 + 0xf8]
jne 0x180276074
lea rcx, [r13 + 0xf0]
lea rdx, [rsp + 0x28]
call fcn.1802697d0
mov rcx, qword [rax]
add rcx, 0x30
mov rdx, r12
call fcn.18026f2a0
nop
mov rdx, qword [rsp + 0x70]
cmp rdx, 0xf
jbe 0x180275ff5
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180275ff0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18027606e
call fcn.180286270
mov qword [rsp + 0x68], 0
mov qword [rsp + 0x70], 0xf
mov byte [rsp + 0x58], 0
mov rbx, qword [r12 + 8]
test rbx, rbx
je 0x180276042
mov edi, 0xffffffff
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x180276042
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x180276042
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.180286db0
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x40]
mov rbp, qword [r11 + 0x48]
mov rsp, r11
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret
call fcn.18028ddc0
nop
lea rdx, str.logger_with_name_
lea rcx, [rsp + 0x78]
call fcn.18009a9f0
nop
lea r8, str._already_exists
mov rdx, rax
lea rcx, [rsp + 0x38]
call fcn.180041ba0
mov rcx, rax
call fcn.180276750
int3
Function at 0x180277140
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x180
mov rax, qword [0x1804c8100]
xor rax, rsp
mov qword [rsp + 0x170], rax
mov rsi, rdx
mov rdi, rcx
mov rax, qword [rcx + 0x10]
dec rax
cmp rax, 0xfffffffffffffffd
ja 0x180277324
mov rbx, qword [rcx + 0x18]
mov qword [rsp + 0x30], rbx
mov rcx, rbx
call fcn.180283150
test eax, eax
jne 0x180277351
mov eax, dword [rbx + 0x4c]
cmp eax, 0x7fffffff
je 0x18027735c
xor r14d, r14d
mov qword [rsi + 0x28], r14
mov qword [rsi + 0x30], r14
mov qword [rsp + 0x60], r14
lea r15, vtable.fmt::v8::basic_memory_buffer_char__250__class_std::allocator_char__.0
mov qword [rsp + 0x50], r15
lea rax, [rsp + 0x70]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x68], 0xfa
mov rcx, qword [rdi + 0x28]
mov rax, qword [rcx]
lea r8, [rsp + 0x50]
mov rdx, rsi
call qword [rax + 8]
cmp byte [rdi + 0x20], r14b
je 0x1802772b8
mov r8, qword [rsi + 0x28]
cmp qword [rsi + 0x30], r8
jbe 0x1802772b8
test r8, r8
je 0x180277218
mov qword [rsp + 0x20], r14
xor r9d, r9d
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rdi + 0x10]
call qword [sym.imp.KERNEL32.dll_WriteConsoleA]
movsxd rax, dword [rsi + 0x10]
movzx ebp, word [rdi + rax*2 + 0x30]
lea rdx, [rsp + 0x38]
mov rcx, qword [rdi + 0x10]
call qword [sym.imp.KERNEL32.dll_GetConsoleScreenBufferInfo]
test eax, eax
jne 0x180277239
lea ebp, [rax + 7]
jmp 0x180277254
mov edx, dword [rsp + 0x40]
and edx, 0xfff0
or edx, ebp
mov rcx, qword [rdi + 0x10]
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
movzx ebp, word [rsp + 0x40]
mov r8, qword [rsi + 0x30]
mov rcx, qword [rsi + 0x28]
cmp r8, rcx
jbe 0x18027727e
sub r8d, ecx
mov rdx, qword [rsp + 0x58]
add rdx, rcx
mov qword [rsp + 0x20], r14
xor r9d, r9d
mov rcx, qword [rdi + 0x10]
call qword [sym.imp.KERNEL32.dll_WriteConsoleA]
movzx edx, bp
mov rcx, qword [rdi + 0x10]
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
mov rcx, qword [rsi + 0x30]
mov r8, qword [rsp + 0x60]
cmp r8, rcx
jbe 0x1802772dc
sub r8d, ecx
mov rdx, qword [rsp + 0x58]
add rdx, rcx
mov qword [rsp + 0x20], r14
xor r9d, r9d
mov rcx, qword [rdi + 0x10]
call qword [sym.imp.KERNEL32.dll_WriteConsoleA]
jmp 0x1802772dc
mov dword [rsp + 0x30], r14d
mov qword [rsp + 0x20], r14
lea r9, [rsp + 0x30]
mov r8d, dword [rsp + 0x60]
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rdi + 0x10]
call qword [sym.imp.KERNEL32.dll_WriteFile]
nop
mov qword [rsp + 0x50], r15
lea rax, [rsp + 0x70]
mov rcx, qword [rsp + 0x58]
cmp rcx, rax
je 0x18027731c
mov rdx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180277316
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18027734b
call fcn.180286270
nop
mov rcx, rbx
call fcn.180283194
mov rcx, qword [rsp + 0x170]
xor rcx, rsp
call fcn.180286db0
mov rbx, qword [rsp + 0x1c0]
add rsp, 0x180
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
call fcn.18028ddc0
nop
mov ecx, 5
call fcn.1802835e0
int3
dec eax
mov dword [rbx + 0x4c], eax
mov ecx, 6
call fcn.1802835e0
int3