joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180237a00
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 0x180237be1
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.18002b5e0
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 0x180237b9f
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 0x180237b1c
mov qword [r11], rcx
mov qword [r11 + 8], rcx
jmp 0x180237b93
mov rax, qword [r11 + 8]
mov r8, qword [rcx + 0x10]
cmp r8, qword [rax + 0x10]
jne 0x180237b59
mov r8, qword [rax]
cmp r8, rcx
je 0x180237b53
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 0x180237b93
cmp r9, rax
je 0x180237b6f
nop
mov rax, qword [rax + 8]
cmp r8, qword [rax + 0x10]
je 0x180237bbb
cmp r9, rax
jne 0x180237b60
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 0x180237aa0
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 0x180237b93
lea rcx, str.invalid_hash_bucket_count
call fcn.18027a608
int3
Function at 0x180241b50
Capabilities:
Access peb ldr_data

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x70
mov rax, qword [0x1804e1080]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rbx, rcx
mov ecx, dword [0x1804fbc9c]
mov rax, qword gs:[0x58]
mov edx, 0x44
mov rax, qword [rax + rcx*8]
xor esi, esi
mov eax, dword [rdx + rax]
cmp dword [0x1804f6c88], eax
jg 0x180241c41
mov rdx, qword [0x1804f6c80]
test rdx, rdx
je 0x180241bca
mov qword [rsp + 0x20], rsi
lea r8, [rsp + 0x20]
mov rcx, rbx
call fcn.180222930
mov rcx, qword [rsp + 0x20]
test rcx, rcx
je 0x180241bca
mov rdx, rbx
call fcn.18023ff70
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.18027f9e0
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
movdqa xmm0, xmmword [0x180309710]
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.180237ec0
mov qword [0x1804f6c80], rax
lea rcx, [0x1804f6c88]
call fcn.18027f278
jmp 0x180241b9a
lea rcx, [0x1804f6c88]
call fcn.18027f2e4
cmp dword [0x1804f6c88], 0xffffffff
jne 0x180241b9a
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.180017900
nop
mov dl, 1
lea rcx, [rsp + 0x40]
call fcn.180236250
mov rdi, rax
mov rdx, qword [rsp + 0x58]
cmp rdx, 7
jbe 0x180241be9
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180241cd5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180241cd5
call fcn.1802a2050
int3
call fcn.18027ee90
jmp 0x180241be9
Function at 0x180241ce0
Capabilities:
Access peb ldr_data

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x70
mov rax, qword [0x1804e1080]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rbx, rcx
mov ecx, dword [0x1804fbc9c]
mov rax, qword gs:[0x58]
mov edx, 0x44
mov rax, qword [rax + rcx*8]
xor esi, esi
mov eax, dword [rdx + rax]
cmp dword [0x1804f6c88], eax
jg 0x180241dc8
mov rdx, qword [0x1804f6c80]
test rdx, rdx
jne 0x180241d3a
xor eax, eax
jmp 0x180241d51
mov qword [rsp + 0x20], rsi
lea r8, [rsp + 0x20]
mov rcx, rbx
call fcn.180222930
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.18027f9e0
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
movdqa xmm0, xmmword [0x180309710]
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.180237ec0
mov qword [0x1804f6c80], rax
lea rcx, [0x1804f6c88]
call fcn.18027f278
jmp 0x180241d2a
lea rcx, [0x1804f6c88]
call fcn.18027f2e4
cmp dword [0x1804f6c88], 0xffffffff
jne 0x180241d2a
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.180017900
nop
mov dl, 1
lea rcx, [rsp + 0x40]
call fcn.180236250
mov rdi, rax
mov rdx, qword [rsp + 0x58]
cmp rdx, 7
jbe 0x180241d70
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180241e5c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180241e5c
call fcn.1802a2050
int3
call fcn.18027ee90
jmp 0x180241d70
Function at 0x18024e650
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 0x18024e733
lea r8d, [rcx - 0x30]
cmp r8d, 0xffffffff
je 0x18024e733
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 0x18024e751
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 0x18024e723
cmp word [rax], 0x5c
jne 0x18024e71c
lea rdx, [rax + 2]
cmp rdx, rcx
je 0x18024e71c
mov r8d, dword [rbx + 0x80]
test r8b, 8
jne 0x18024e707
movzx ecx, word [rdx]
sub cx, 0x28
cmp cx, 1
jbe 0x18024e719
test r8b, 0x10
jne 0x18024e71c
movzx ecx, word [rdx]
sub cx, 0x7b
test bp, cx
jne 0x18024e71c
mov rax, rdx
add rax, 2
mov qword [rbx], rax
mov rcx, rbx
call fcn.180250d00
test edi, edi
jne 0x18024e680
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.18024fc70
int3

Function at 0x180251130
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 0x180251174
movabs r10, 0x100000001b3
nop word [rax + rax]
movzx ecx, byte [r9 + rdx]
inc r9
xor rax, rcx
imul rax, r10
cmp r9, r8
jb 0x180251160
ret
Function at 0x180262ef0
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 0x180262f27
mov r9, qword [r8]
mov rsi, qword [rdi + 0x10]
xor ebp, ebp
movabs r8, 0xcbf29ce484222325
mov edx, ebp
test rsi, rsi
je 0x180262f64
movabs rcx, 0x100000001b3
nop dword [rax + rax]
movzx eax, byte [rdx + r9]
inc rdx
xor r8, rax
imul r8, rcx
cmp rdx, rsi
jb 0x180262f50
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 0x180262fd0
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 0x180262f9f
mov rdx, qword [rbx + 0x10]
mov rcx, rdi
cmp r12, 0xf
jbe 0x180262fab
mov rcx, qword [rdi]
cmp rsi, qword [rbx + 0x20]
jne 0x180262fbd
mov r8, rsi
call fcn.1802d1060
test eax, eax
je 0x180262fc8
cmp rbx, r15
je 0x180262fcb
mov rbx, qword [rbx + 8]
jmp 0x180262f90
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 0x180262ff9
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 0x180268460
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 0x1802685ef
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.18002b5e0
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 0x1802685b4
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 0x180268532
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x1802685a3
mov rdx, qword [r11 + 8]
cmp r9b, byte [rdx + 0x10]
jne 0x18026856b
mov r10, qword [rdx]
cmp r10, rax
je 0x180268565
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 0x1802685a3
cmp r8, rdx
je 0x18026857f
mov rdx, qword [rdx + 8]
cmp r9b, byte [rdx + 0x10]
je 0x1802685c9
cmp r8, rdx
jne 0x180268570
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 0x180268500
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 0x1802685a3
lea rcx, str.invalid_hash_bucket_count
call fcn.18027a608
int3
Function at 0x180268fd0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rdi
push r12
sub rsp, 0x178
mov rax, qword [0x1804e1080]
xor rax, rsp
mov qword [rsp + 0x150], rax
xor r12d, r12d
mov rdi, rcx
cmp qword [rcx + 0x18], 0xf
jbe 0x180268ffd
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 0x1802691a5
mov rsi, qword [rdi + 0x10]
test rsi, rsi
je 0x180269223
mov rbp, r12
lea r15, [0x1803c7268]
nop dword [rax + rax]
mov rbx, 0xffffffffffffffff
inc rbx
cmp byte [r15 + rbx], r12b
jne 0x180269057
cmp qword [rdi + 0x18], 0xf
mov r14, rdi
jbe 0x18026906d
mov r14, qword [rdi]
test rbx, rbx
je 0x1802690dd
cmp rbp, rsi
jae 0x1802690dd
xor edx, edx
lea rcx, [rsp + 0x50]
mov r8d, 0x100
call fcn.1802d1800
lea rdx, [rbx + r15]
mov rcx, r15
cmp r15, rdx
je 0x1802690b0
nop word [rax + rax]
movzx eax, byte [rcx]
inc rcx
mov byte [rsp + rax + 0x50], 1
cmp rcx, rdx
jne 0x1802690a0
lea rcx, [rsi + r14]
lea rbx, [r14 + rbp]
cmp rbx, rcx
jae 0x1802690dd
nop dword [rax]
movzx eax, byte [rbx]
cmp byte [rsp + rax + 0x50], r12b
jne 0x1802690d4
inc rbx
cmp rbx, rcx
jb 0x1802690c0
jmp 0x1802690dd
sub rbx, r14
cmp rbx, 0xffffffffffffffff
jne 0x1802690e1
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 0x18026910c
mov rdx, qword [rdi]
lea rcx, [rsp + 0x28]
call fcn.1800080b0
cmp qword [rsp + 0x38], r12
je 0x180269157
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 0x180269157
cmp qword [rsp + 0x40], 0xf
lea rcx, [rsp + 0x28]
cmova rcx, qword [rsp + 0x28]
call fcn.1802b8968
test eax, eax
jne 0x1802691ea
mov rdx, qword [rsp + 0x40]
lea rbp, [rbx + 1]
cmp rdx, 0xf
jbe 0x180269198
mov rcx, qword [rsp + 0x28]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x180269193
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180269227
call fcn.18027ee90
mov rsi, qword [rdi + 0x10]
cmp rbp, rsi
jb 0x180269050
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.18027f9e0
add rsp, 0x178
pop r12
pop rdi
ret
mov rdx, qword [rsp + 0x40]
cmp rdx, 0xf
jbe 0x180269223
mov rcx, qword [rsp + 0x28]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x18026921e
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180269227
call fcn.18027ee90
xor al, al
jmp 0x1802691a7
call fcn.1802a2050
int3
Function at 0x1802696b0
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 0x1802696cf
mov r9, qword [rdx]
mov r10, qword [rdx + 0x10]
xor r8d, r8d
movabs rdi, 0xcbf29ce484222325
test r10, r10
je 0x180269704
movabs rcx, 0x100000001b3
nop
movzx eax, byte [r8 + r9]
inc r8
xor rdi, rax
imul rdi, rcx
cmp r8, r10
jb 0x1802696f0
mov r8, rdx
mov r9, rdi
lea rdx, [rsp + 0x20]
mov rcx, rsi
call fcn.180261fa0
mov rbx, qword [rax + 8]
test rbx, rbx
je 0x1802697a4
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 0x180269758
cmp rax, rbx
jne 0x18026974e
mov rax, qword [rsi + 8]
mov qword [rdx], rax
mov qword [rdx + 8], rax
jmp 0x180269763
mov rax, qword [rbx + 8]
mov qword [rdx + 8], rax
jmp 0x180269763
cmp rax, rbx
jne 0x180269763
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.180267970
mov edx, 0x40
mov rcx, rbx
call fcn.18027ee90
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 0x18026eaa0
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 [0x1804e1080]
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.1800122c0
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 0x18026eb34
movabs r9, 0x100000001b3
nop
movzx eax, byte [rcx + r8]
xor rdx, rax
imul rdx, r9
inc rcx
cmp rcx, rdi
jb 0x18026eb20
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 0x18026eb99
mov rsi, qword [rax + rcx*8]
nop word [rax + rax]
lea rdx, [rbx + 0x10]
cmp qword [rbx + 0x28], 0xf
jbe 0x18026eb6f
mov rdx, qword [rbx + 0x10]
lea rcx, [rsp + 0x58]
cmp r14, 0xf
cmova rcx, rbp
cmp rdi, qword [rbx + 0x20]
jne 0x18026eb8e
mov r8, rdi
call fcn.1802d1060
test eax, eax
je 0x18026eb9b
cmp rbx, rsi
je 0x18026eb99
mov rbx, qword [rbx + 8]
jmp 0x18026eb60
xor ebx, ebx
mov rax, qword [r13 + 0xf8]
test rbx, rbx
cmovne rax, rbx
lea r8, [rsp + 0x58]
cmp rax, qword [r13 + 0xf8]
jne 0x18026ec94
lea rcx, [r13 + 0xf0]
lea rdx, [rsp + 0x28]
call fcn.1802623f0
mov rcx, qword [rax]
add rcx, 0x30
mov rdx, r12
call fcn.180267ec0
nop
mov rdx, qword [rsp + 0x70]
cmp rdx, 0xf
jbe 0x18026ec15
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18026ec10
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18026ec8e
call fcn.18027ee90
mov qword [rsp + 0x68], 0
mov qword [rsp + 0x70], 0xf
mov byte [rsp + 0x58], 0
mov rbx, qword [r12 + 8]
test rbx, rbx
je 0x18026ec62
mov edi, 0xffffffff
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x18026ec62
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x18026ec62
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.18027f9e0
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.1802a2050
nop
lea rdx, str.logger_with_name_
lea rcx, [rsp + 0x78]
call fcn.180099b00
nop
lea r8, str._already_exists
mov rdx, rax
lea rcx, [rsp + 0x38]
call fcn.180041830
mov rcx, rax
call fcn.18026f370
int3
Function at 0x18026fd60
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 [0x1804e1080]
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 0x18026ff44
mov rbx, qword [rcx + 0x18]
mov qword [rsp + 0x30], rbx
mov rcx, rbx
call fcn.18027bd70
test eax, eax
jne 0x18026ff71
mov eax, dword [rbx + 0x4c]
cmp eax, 0x7fffffff
je 0x18026ff7c
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 0x18026fed8
mov r8, qword [rsi + 0x28]
cmp qword [rsi + 0x30], r8
jbe 0x18026fed8
test r8, r8
je 0x18026fe38
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 0x18026fe59
lea ebp, [rax + 7]
jmp 0x18026fe74
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 0x18026fe9e
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 0x18026fefc
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 0x18026fefc
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 0x18026ff3c
mov rdx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18026ff36
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18026ff6b
call fcn.18027ee90
nop
mov rcx, rbx
call fcn.18027bdb4
mov rcx, qword [rsp + 0x170]
xor rcx, rsp
call fcn.18027f9e0
mov rbx, qword [rsp + 0x1c0]
add rsp, 0x180
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
call fcn.1802a2050
nop
mov ecx, 5
call fcn.18027c200
int3
dec eax
mov dword [rbx + 0x4c], eax
mov ecx, 6
call fcn.18027c200
int3
Function at 0x180279eb8
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
movsxd r8, dword [0x18000003c]
lea rsi, [0x180000000]
add r8, rsi
mov rbx, rdx
mov rdi, rcx
cmp dword [r8 + 0x84], 0xd
jbe 0x180279f30
mov r10d, dword [r8 + 0xf0]
xor r9d, r9d
test r10d, r10d
je 0x180279f30
movzx ecx, word [r8 + 0x14]
movzx r11d, word [r8 + 6]
add rcx, 0x18
mov r10d, dword [r10 + rsi + 0xc]
add rcx, r8
test r11d, r11d
je 0x180279f30
mov eax, dword [rcx + 0xc]
cmp r10d, eax
jb 0x180279f24
mov edx, dword [rcx + 8]
add eax, edx
cmp r10d, eax
jb 0x180279f42
inc r9d
add rcx, 0x28
cmp r9d, r11d
jb 0x180279f12
xor eax, eax
mov rbx, qword [rsp + 8]
mov rsi, qword [rsp + 0x10]
mov rdi, qword [rsp + 0x18]
ret
mov dword [rdi], edx
mov eax, dword [rcx + 0x24]
mov dword [rbx], eax
mov eax, dword [rcx + 0xc]
add rax, rsi
jmp 0x180279f32

Function at 0x18027a6a0
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
lea r8, [rsp + 0x60]
mov edi, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x18027a6da
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x18027a6df
mov r9d, dword [rsp + 0x60]
and qword [rsp + 0x30], 0
mov r8d, edi
and dword [rsp + 0x28], 0
xor edx, edx
mov ecx, 0x1300
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x18027a728
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x180450fb0]
cmp byte [rcx + rax], 0
je 0x18027a728
dec r8
sub rdx, 1
jne 0x18027a70e
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x18028063c
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov qword [rcx], rdx
lea rbx, [rcx + 8]
xor eax, eax
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov rdi, rcx
movups xmmword [rbx + 0x10], xmm0
mov qword [rbx + 0x20], rax
and qword [rbx + 0x18], rax
mov qword [rbx + 8], rax
mov dword [rbx + 0x10], 1
mov dword [rbx + 0x20], eax
mov dword [rbx + 0x24], eax
test dword [0x1804e1150], 0x80000000
je 0x180280691
mov ecx, dword [0x1804fc298]
call sub.KERNEL32.dll_TlsGetValue
test rax, rax
jne 0x180280696
call fcn.180286a40
mov qword [rbx], rax
mov r8b, 1
mov rcx, qword [rdi]
mov rdx, rbx
call fcn.180280868
mov rbx, qword [rsp + 0x30]
mov rax, rdi
add rsp, 0x20
pop rdi
ret