joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1800cd2e0
Capabilities:
Check for software breakpoints

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x50
mov rax, qword [0x1802b92f8]
xor rax, rsp
mov qword [rsp + 0x48], rax
movzx ebp, dl
mov rsi, rcx
lea rdx, [rcx + 0x60]
lea rcx, [rsp + 0x28]
call fcn.18001b250
nop
xor ebx, ebx
xor r14d, r14d
mov rdi, qword [rsi + 0x38]
sub rdi, qword [rsi + 0x30]
je 0x1800cd390
movabs rax, 0x7fffffffffffffff
cmp rdi, rax
ja 0x1800cd564
cmp rdi, 0x1000
jb 0x1800cd36e
lea rcx, [rdi + 0x27]
cmp rcx, rdi
jbe 0x1800cd56a
call fcn.1801184e4
test rax, rax
je 0x1800cd55e
lea rbx, [rax + 0x27]
and rbx, 0xffffffffffffffe0
mov qword [rbx - 8], rax
jmp 0x1800cd379
mov rcx, rdi
call fcn.1801184e4
mov rbx, rax
lea r14, [rbx + rdi]
mov r8, qword [rsi + 0x38]
mov rdx, qword [rsi + 0x30]
sub r8, rdx
mov rcx, rbx
call fcn.180153f80
mov rax, qword [rsi + 0x38]
sub rax, qword [rsi + 0x30]
mov r15, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x28]
cmp rax, 1
jne 0x1800cd3ad
cmp byte [rbx], 0xcc
jmp 0x1800cd3bc
cmp rax, 2
jb 0x1800cd3c2
cmp byte [rbx], 0xf3
jne 0x1800cd3c2
cmp byte [rbx + 1], 0xc3
je 0x1800cd556
lea rcx, [rsp + 0x28]
cmp r15, 0x10
cmovae rcx, rsi
mov rdi, qword [rsp + 0x38]
cmp rdi, 3
jne 0x1800cd3f6
mov r8, rdi
lea rdx, [0x1801fa9fc]
call fcn.180153e80
test eax, eax
jne 0x1800cd3f6
test bpl, bpl
je 0x1800cd556
lea rcx, [rsp + 0x28]
cmp r15, 0x10
cmovae rcx, rsi
cmp rdi, 3
jne 0x1800cd420
mov r8, rdi
lea rdx, [0x1801fa4dc]
call fcn.180153e80
test eax, eax
je 0x1800cd556
lea rbp, [rsp + 0x28]
cmp r15, 0x10
cmovae rbp, rsi
cmp rdi, 4
jb 0x1800cd4b8
lea r8, [rdi - 3]
add r8, rbp
sub r8, rbp
mov edx, 0x69
mov rcx, rbp
call fcn.180153de0
mov r9, rax
test rax, rax
je 0x1800cd4b8
lea r12, str.iret
nop dword [rax]
xor ecx, ecx
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [r9 + rcx]
inc rcx
cmp al, byte [r12 + rcx - 1]
jne 0x1800cd489
cmp rcx, 4
jne 0x1800cd470
xor eax, eax
jmp 0x1800cd48e
sbb eax, eax
or eax, 1
test eax, eax
je 0x1800cd54d
inc r9
lea r8, [rdi - 3]
add r8, rbp
sub r8, r9
mov edx, 0x69
mov rcx, r9
call fcn.180153de0
mov r9, rax
test rax, rax
jne 0x1800cd460
xor dil, dil
test rbx, rbx
je 0x1800cd4f0
sub r14, rbx
cmp r14, 0x1000
jb 0x1800cd4e4
add r14, 0x27
mov rcx, qword [rbx - 8]
sub rbx, rcx
lea rax, [rbx - 8]
cmp rax, 0x1f
ja 0x1800cd55e
mov rbx, rcx
mov rdx, r14
mov rcx, rbx
call fcn.180118520
nop
cmp r15, 0x10
jb 0x1800cd523
lea rdx, [r15 + 1]
mov rax, rsi
cmp rdx, 0x1000
jb 0x1800cd51b
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800cd570
mov rcx, rsi
call fcn.180118520
movzx eax, dil
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.180118df0
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
cmp r9, rbp
jne 0x1800cd4b8
mov dil, 1
jmp 0x1800cd4bb
call fcn.180162b34
int3
call fcn.180021d10
int3
call fcn.1800218b0
nop
call fcn.180162b34
int3
Function at 0x1800cd8a0
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x10], rdx
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x50
mov rbx, rcx
movzx r9d, dl
movabs r14, 0xcbf29ce484222325
xor r9, r14
movabs rsi, 0x100000001b3
imul r9, rsi
movzx eax, byte [rbp + 0x29]
xor r9, rax
imul r9, rsi
movzx eax, byte [rbp + 0x2a]
xor r9, rax
imul r9, rsi
movzx eax, byte [rbp + 0x2b]
xor r9, rax
imul r9, rsi
movzx eax, byte [rbp + 0x2c]
xor r9, rax
imul r9, rsi
movzx eax, byte [rbp + 0x2d]
xor r9, rax
imul r9, rsi
movzx eax, byte [rbp + 0x2e]
xor r9, rax
imul r9, rsi
movzx eax, byte [rbp + 0x2f]
xor r9, rax
imul r9, rsi
mov rcx, qword [rcx + 0x50]
and rcx, r9
shl rcx, 4
add rcx, qword [rbx + 0x38]
mov rax, qword [rcx + 8]
mov r9, qword [rbx + 0x28]
cmp rax, r9
je 0x1800cd961
mov rcx, qword [rcx]
cmp rdx, qword [rax + 0x10]
je 0x1800cd963
nop
cmp rax, rcx
je 0x1800cd961
mov rax, qword [rax + 8]
cmp rdx, qword [rax + 0x10]
jne 0x1800cd950
jmp 0x1800cd963
xor eax, eax
test rax, rax
cmove rax, r9
cmp rax, r9
je 0x1800cd9b6
lea rbx, [rax + 0x18]
mov rax, qword [rbx + 8]
cmp rax, qword [rbx + 0x10]
je 0x1800cd992
mov rdx, r8
mov rcx, rax
call fcn.1800b7be0
add qword [rbx + 8], 0xa8
jmp 0x1800cd99d
mov rdx, rax
mov rcx, rbx
call fcn.1800bd040
mov rax, rbx
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x80]
add rsp, 0x50
pop r14
pop rdi
pop rbp
ret
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x20], xmm0
mov qword [rbp - 0x10], 0
xor edx, edx
lea rcx, [rbp - 0x20]
call fcn.1800bd040
lea r9, [rbp - 0x20]
lea r8, [rbp + 0x28]
lea rdx, [rbp - 0x30]
lea rcx, [rbx + 0x20]
call fcn.1800cb880
mov r8, qword [rbp + 0x28]
movzx edx, r8b
xor rdx, r14
imul rdx, rsi
movzx eax, byte [rbp + 0x29]
xor rdx, rax
imul rdx, rsi
movzx eax, byte [rbp + 0x2a]
xor rdx, rax
imul rdx, rsi
movzx eax, byte [rbp + 0x2b]
xor rdx, rax
imul rdx, rsi
movzx eax, byte [rbp + 0x2c]
xor rdx, rax
imul rdx, rsi
movzx eax, byte [rbp + 0x2d]
xor rdx, rax
imul rdx, rsi
movzx eax, byte [rbp + 0x2e]
xor rdx, rax
imul rdx, rsi
movzx eax, byte [rbp + 0x2f]
xor rdx, rax
imul rdx, rsi
mov rcx, qword [rbx + 0x50]
and rcx, rdx
shl rcx, 4
add rcx, qword [rbx + 0x38]
mov rax, qword [rcx + 8]
cmp rax, qword [rbx + 0x28]
je 0x1800cdb17
mov rcx, qword [rcx]
cmp r8, qword [rax + 0x10]
je 0x1800cda83
nop dword [rax + rax]
cmp rax, rcx
je 0x1800cdb17
mov rax, qword [rax + 8]
cmp r8, qword [rax + 0x10]
jne 0x1800cda70
lea r14, [rax + 0x18]
mov rdi, qword [rbp - 0x20]
test rdi, rdi
je 0x1800cdb09
mov rbx, rdi
mov rsi, qword [rbp - 0x18]
cmp rdi, rsi
je 0x1800cdab4
nop dword [rax]
mov rcx, rbx
call fcn.1800b8100
add rbx, 0xa8
cmp rbx, rsi
jne 0x1800cdaa0
mov rcx, qword [rbp - 0x10]
sub rcx, rdi
movabs rax, 0xc30c30c30c30c30d
imul rcx
add rdx, rcx
sar rdx, 7
mov rax, rdx
shr rax, 0x3f
add rdx, rax
imul rdx, rdx, 0xa8
mov rax, rdi
cmp rdx, 0x1000
jb 0x1800cdb01
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800cdb11
mov rcx, rdi
call fcn.180118520
mov rax, r14
jmp 0x1800cd9a0
call fcn.180162b34
nop
lea rcx, str.invalid_unordered_map_K__T__key
call fcn.18011fd74
int3
Function at 0x1800dd800
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x40
mov rbx, qword [r9 + 0x10]
mov rdi, r9
mov r14, r8
mov rsi, rdx
mov r15, rcx
cmp rbx, 0x20
ja 0x1800dd8f4
xor r12d, r12d
nop dword [rax + rax]
mov r10, qword [rdi + 8]
mov r9, r12
test rbx, rbx
je 0x1800dd888
lea rax, [rsp + 0x20]
sub r10, rax
nop dword [rax]
nop dword [rax + rax]
lea r8, [rsp + 0x20]
mov ecx, 0x20
add r8, r9
movzx edx, byte [r10 + r8]
lea eax, [rdx - 0x41]
cmp al, 0x19
cmova ecx, r12d
inc r9
xor cl, dl
mov byte [r8], cl
cmp r9, rbx
jb 0x1800dd860
mov rdx, rbx
lea rcx, [rsp + 0x20]
call fcn.1800dd080
mov dword [rsi], eax
test eax, eax
jne 0x1800dd8b1
mov rax, qword [r15]
lea rdx, [rsp + 0x20]
mov r8, rbx
movzx ecx, byte [rax + 0x48]
call fcn.1800e8a90
mov dword [rsi], eax
cmp dword [rsi], r12d
jne 0x1800dd91f
mov rdx, rbx
lea rcx, [rsp + 0x20]
call fcn.1800dd540
test eax, eax
je 0x1800dd8f4
mov ecx, dword [r14]
test eax, ecx
jne 0x1800dd918
or ecx, eax
xor r8d, r8d
mov dword [r14], ecx
mov rdx, rdi
lea rcx, [r15 + 8]
call fcn.1800de6c0
cmp al, 2
jne 0x1800dd8f4
mov rbx, qword [rdi + 0x10]
cmp rbx, 0x20
jbe 0x1800dd840
mov eax, 0x1a
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop r12
ret
mov eax, 0x37
jmp 0x1800dd8f9
xor r8d, r8d
lea rcx, [r15 + 8]
mov rdx, rdi
call fcn.1800de6c0
cmp al, 2
jne 0x1800dd993
mov rdx, qword [rdi + 0x10]
cmp rdx, 0x20
ja 0x1800dd993
mov r11, qword [rdi + 8]
mov r10, r12
test rdx, rdx
je 0x1800dd97a
lea rax, [rsp + 0x20]
sub r11, rax
lea r9, [rsp + 0x20]
mov ecx, 0x20
add r9, r10
movzx r8d, byte [r11 + r9]
lea eax, [r8 - 0x41]
cmp al, 0x19
cmova ecx, r12d
inc r10
xor cl, r8b
mov byte [r9], cl
cmp r10, rdx
jb 0x1800dd950
lea rcx, [rsp + 0x20]
call fcn.1800dd540
cmp eax, 0x10
jne 0x1800dd993
or dword [r14], eax
xor eax, eax
jmp 0x1800dd8f9
mov rax, qword [rdi + 8]
mov qword [r15 + 0x18], rax
xor eax, eax
jmp 0x1800dd8f9
Function at 0x1800dff10
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
mov rdi, r8
mov ebp, r9d
xor r8d, r8d
mov rsi, rdx
mov rbx, rcx
cmp rdi, 0xffffffffffffffff
jne 0x1800dff74
movzx eax, byte [rdx]
mov edi, r8d
test al, al
je 0x1800dff68
nop dword [rax]
nop word [rax + rax]
imul r8d, r8d, 0x1003f
inc rdi
movzx eax, al
add r8d, eax
movzx eax, byte [rdi + rdx]
test al, al
jne 0x1800dff50
test rdi, rdi
jne 0x1800dffa2
xor eax, eax
jmp 0x1800e0027
mov rdx, r8
test rdi, rdi
je 0x1800dff6d
nop dword [rax]
movzx eax, byte [rdx + rsi]
test al, al
je 0x1800dff9c
imul r8d, r8d, 0x1003f
inc rdx
add r8d, eax
cmp rdx, rdi
jb 0x1800dff80
jmp 0x1800dff68
mov r8d, select
mov eax, dword [rcx + 0x108]
mov edx, r8d
movzx ecx, byte [rcx + 0x10c]
xor edx, ebp
mov qword [rsp + 0x30], r14
mov r14d, 0xffffffff
cmp ebp, r14d
cmove edx, r8d
imul rax, rdx
shr rax, cl
imul eax, dword [rbx + 0x100]
mov rbx, qword [rbx + 0xf0]
sub edx, eax
mov rbx, qword [rbx + rdx*8]
test rbx, rbx
je 0x1800e001f
mov eax, dword [rbx + 0x30]
cmp eax, edi
jne 0x1800e000e
cmp dword [rbx + 0x14], ebp
jne 0x1800e000e
lea rcx, [rbx + 0x34]
cmp eax, 0xb
jbe 0x1800dffff
mov rcx, qword [rbx + 0x38]
mov r8d, edi
mov rdx, rsi
call fcn.180153e80
test eax, eax
je 0x1800e0016
mov rbx, qword [rbx]
test rbx, rbx
jne 0x1800dffe6
test rbx, rbx
je 0x1800e001f
mov r14d, dword [rbx + 0xc]
mov eax, r14d
mov r14, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x1800ea490
Capabilities:
Get system information on windows

Disassembly:
sub rsp, 0x58
mov eax, dword [0x1802c13bc]
nop
test eax, eax
jne 0x1800ea4f7
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [rsp + 0x24]
dec eax
mov ecx, eax
shr ecx, 1
or ecx, eax
mov eax, ecx
shr eax, 2
or eax, ecx
mov ecx, eax
shr ecx, 4
or ecx, eax
mov edx, ecx
shr edx, 8
or edx, ecx
mov eax, edx
shr eax, 0x10
or eax, edx
inc eax
mov dword [rsp + 0x60], eax
mov eax, dword [rsp + 0x48]
mov dword [rsp + 0x64], eax
mov rax, qword [rsp + 0x60]
mov qword [0x1802c13c0], rax
mov eax, 1
xchg dword [0x1802c13bc], eax
mov rax, qword [0x1802c13c0]
add rsp, 0x58
ret

Function at 0x1800ea6e0
Capabilities:
Encode data using xor

Disassembly:
movzx r9d, r8b
mov rax, rdx
shr rax, 6
mov r10, rcx
lea rax, [rcx + rax*8]
mov r8, 0xffffffffffffffff
movzx ecx, dl
and cl, 0x3f
lea rdx, [r9 - 1]
xor rdx, qword [rax]
shl r8, cl
and r8, rdx
jne 0x1800ea71d
nop
add rax, 8
lea r8, [r9 - 1]
xor r8, qword [rax]
je 0x1800ea710
sub rax, r10
sar rax, 3
bsf rcx, r8
shl rax, 6
add rax, rcx
ret
Function at 0x180106550
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push rsi
push r14
sub rsp, 0x50
mov rbp, r8
mov rsi, rdx
mov r14, rcx
cmp rdx, r8
je 0x180106760
cmp qword [rdx + 0x28], 0x10
lea r8, [rdx + 0x10]
mov rax, qword [rcx + 8]
mov r10, qword [rcx + 0x18]
mov r9, qword [r8 + 0x10]
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x40], rdi
lea rdi, [rcx + 8]
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x80], rax
mov rax, qword [rdx + 8]
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x88], r10
jb 0x1801065bf
mov r8, qword [r8]
xor ecx, ecx
movabs rdx, 0xcbf29ce484222325
movabs r11, 0x100000001b3
test r9, r9
je 0x1801065f4
nop word [rax + rax]
movzx eax, byte [rcx + r8]
inc rcx
xor rdx, rax
imul rdx, r11
cmp rcx, r9
jb 0x1801065e0
mov r15, qword [r14 + 0x30]
mov rcx, rdi
mov rbx, qword [rsi]
and r15, rdx
shl r15, 4
mov rdx, rsi
add r15, r10
mov r13, qword [r15]
mov r12, qword [r15 + 8]
call fcn.1800fcb40
dec qword [rdi + 8]
cmp rsi, r12
je 0x180106644
mov r14, rbx
cmp rbx, rbp
je 0x18010665e
mov rdx, rbx
mov rcx, rdi
mov rbx, qword [rbx]
call fcn.1800fcb40
dec qword [rdi + 8]
cmp r14, r12
jne 0x180106620
mov r14, qword [rsp + 0x70]
mov r12, qword [rsp + 0x80]
cmp r13, rsi
mov r13, qword [rsp + 0x78]
jne 0x180106677
mov qword [r15], r12
mov rax, r12
jmp 0x18010667a
cmp r13, rsi
jne 0x180106666
mov qword [r15], rbx
mov rax, qword [rsp + 0x78]
mov qword [rax], rbx
mov qword [rbx + 8], rax
jmp 0x180106747
mov rax, r13
mov qword [r15 + 8], rax
cmp rbx, rbp
je 0x18010673f
nop word [rax + rax]
cmp qword [rbx + 0x28], 0x10
lea r8, [rbx + 0x10]
mov r9, qword [r8 + 0x10]
mov rsi, rbx
jb 0x1801066a5
mov r8, qword [r8]
xor edx, edx
movabs rcx, 0xcbf29ce484222325
test r9, r9
je 0x1801066d9
movabs r13, 0x100000001b3
movzx eax, byte [rdx + r8]
inc rdx
xor rcx, rax
imul rcx, r13
cmp rdx, r9
jb 0x1801066c0
mov r13, qword [rsp + 0x78]
and rcx, qword [r14 + 0x30]
mov rdx, rbx
mov r15, qword [rsp + 0x88]
mov rbx, qword [rbx]
shl rcx, 4
add r15, rcx
mov rcx, rdi
mov r14, qword [r15 + 8]
call fcn.1800fcb40
dec qword [rdi + 8]
cmp rsi, r14
je 0x180106726
mov rsi, rbx
cmp rbx, rbp
je 0x18010673c
mov rdx, rbx
mov rcx, rdi
mov rbx, qword [rbx]
call fcn.1800fcb40
dec qword [rdi + 8]
cmp rsi, r14
jne 0x180106707
mov qword [r15], r12
mov qword [r15 + 8], r12
cmp rbx, rbp
je 0x18010673f
mov r14, qword [rsp + 0x70]
jmp 0x180106690
mov qword [r15], rbx
mov qword [r13], rbx
mov qword [rbx + 8], r13
mov r13, qword [rsp + 0x30]
mov r12, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x48]
mov r15, qword [rsp + 0x28]
mov rax, rbp
add rsp, 0x50
pop r14
pop rsi
pop rbp
ret
Function at 0x180108200
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], 0x10
mov rsi, rcx
mov r10, qword [rdx + 0x10]
mov r9, rdx
jb 0x180108223
mov r9, qword [rdx]
xor r8d, r8d
movabs rdi, 0xcbf29ce484222325
test r10, r10
je 0x180108254
movabs rcx, 0x100000001b3
nop
movzx eax, byte [r8 + r9]
inc r8
xor rdi, rax
imul rdi, rcx
cmp r8, r10
jb 0x180108240
mov r8, rdx
mov r9, rdi
lea rdx, [rsp + 0x20]
mov rcx, rsi
call fcn.1800fc9d0
mov rbx, qword [rax + 8]
test rbx, rbx
je 0x1801082f4
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 0x1801082a8
cmp rax, rbx
jne 0x18010829e
mov rax, qword [rsi + 8]
mov qword [rdx], rax
mov qword [rdx + 8], rax
jmp 0x1801082b3
mov rax, qword [rbx + 8]
mov qword [rdx + 8], rax
jmp 0x1801082b3
cmp rax, rbx
jne 0x1801082b3
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.180103560
mov edx, 0x40
mov rcx, rbx
call fcn.180118520
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 0x18010cfe0
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 r14
sub rsp, 0x60
mov rbx, r8
mov rsi, rdx
mov rbp, rcx
xor r14d, r14d
call fcn.180121d54
test eax, eax
jne 0x18010d0cc
cmp qword [rbx + 0x18], 0x10
mov rdx, rbx
mov r8, qword [rbx + 0x10]
mov qword [rsp + 0x70], rdi
jb 0x18010d024
mov rdx, qword [rbx]
movabs r9, 0xcbf29ce484222325
mov rcx, r14
test r8, r8
je 0x18010d053
movabs r10, 0x100000001b3
movzx eax, byte [rcx + rdx]
inc rcx
xor r9, rax
imul r9, r10
cmp rcx, r8
jb 0x18010d040
mov r8, rbx
lea rdx, [rsp + 0x48]
lea rcx, [rbp + 0xf0]
call fcn.1800fc9d0
mov rax, qword [rax + 8]
test rax, rax
jne 0x18010d077
mov rax, qword [rbp + 0xf8]
cmp rax, qword [rbp + 0xf8]
jne 0x18010d089
mov qword [rsi], r14
mov qword [rsi + 8], r14
jmp 0x18010d0a5
mov rcx, qword [rax + 0x38]
test rcx, rcx
je 0x18010d096
lock inc dword [rcx + 8]
mov rcx, qword [rax + 0x38]
mov rax, qword [rax + 0x30]
mov qword [rsi], rax
mov qword [rsi + 8], rcx
mov rcx, rbp
call fcn.180121dd0
mov rdi, qword [rsp + 0x70]
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x18]
mov rax, rsi
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret
mov ecx, eax
call fcn.1801222d4
int3

Function at 0x18010dd50
Capabilities:
Check if file exists
Get file attributes

Disassembly:
sub rsp, 0x28
cmp qword [rcx + 0x18], 0x10
jb 0x18010dd5e
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
setne al
add rsp, 0x28
ret
Function at 0x18010e1a0
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 r13
push r14
push r15
sub rsp, 0x90
mov rax, qword [0x1802b92f8]
xor rax, rsp
mov qword [rsp + 0x88], rax
mov r15, rdx
mov r13, rcx
mov qword [rsp + 0x20], rdx
mov rdx, qword [rdx]
add rdx, 8
lea rcx, [rsp + 0x48]
call fcn.18001b250
nop
lea r8, [rsp + 0x48]
mov rbp, qword [rsp + 0x48]
mov r14, qword [rsp + 0x60]
cmp r14, 0x10
cmovae r8, rbp
movabs rdx, 0xcbf29ce484222325
xor ecx, ecx
mov rdi, qword [rsp + 0x58]
test rdi, rdi
je 0x18010e234
movabs r9, 0x100000001b3
nop
movzx eax, byte [rcx + r8]
xor rdx, rax
imul rdx, r9
inc rcx
cmp rcx, rdi
jb 0x18010e220
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 0x18010e29b
mov rsi, qword [rax + rcx*8]
nop word [rax + rax]
lea rdx, [rbx + 0x10]
mov rax, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x18010e272
mov rdx, qword [rdx]
lea rcx, [rsp + 0x48]
cmp r14, 0x10
cmovae rcx, rbp
cmp rdi, rax
jne 0x18010e290
mov r8, rdi
call fcn.180153e80
test eax, eax
je 0x18010e29d
cmp rbx, rsi
je 0x18010e29b
mov rbx, qword [rbx + 8]
jmp 0x18010e260
xor ebx, ebx
test rbx, rbx
je 0x18010e2af
cmp rbx, qword [r13 + 0xf8]
jne 0x18010e38c
lea rcx, [r13 + 0xf0]
lea r8, [rsp + 0x48]
lea rdx, [rsp + 0x28]
call fcn.1800fcbc0
mov rcx, qword [rax]
add rcx, 0x30
mov rdx, r15
call fcn.180104600
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 0x10
jb 0x18010e30e
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18010e309
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18010e386
call fcn.180118520
mov qword [rsp + 0x58], 0
mov qword [rsp + 0x60], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x48], 0
mov rbx, qword [r15 + 8]
test rbx, rbx
je 0x18010e35a
mov edi, 0xffffffff
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x18010e35a
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x18010e35a
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.WS2_32.dll_htonl]
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.180118df0
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x40]
mov rbp, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop rdi
pop rsi
ret
call fcn.180162b34
nop
lea r8, [rsp + 0x48]
lea rdx, str.logger_with_name_
lea rcx, [rsp + 0x68]
call fcn.1800fc2f0
nop
lea r8, str._already_exists
mov rdx, rax
lea rcx, [rsp + 0x28]
call fcn.18006d5f0
mov rcx, rax
call fcn.18010fd00
int3
Function at 0x1801126a0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov rsi, rdx
mov rdi, rcx
mov ecx, 0x88
call fcn.1801184e4
mov rbx, rax
test rax, rax
je 0x1801126e9
mov rax, qword [rsi]
mov qword [rbx], rax
lea rcx, [rbx + 8]
lea rdx, [rsi + 8]
call fcn.180112da0
lea rcx, [rbx + 0x48]
lea rdx, [rsi + 0x48]
call fcn.180112da0
jmp 0x1801126eb
xor ebx, ebx
mov qword [rsp + 0x40], rbx
lea rsi, [rdi + 8]
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], 0
mov r9, rbx
lea r8, [0x180112b30]
xor edx, edx
xor ecx, ecx
call fcn.1801941f4
mov qword [rdi], rax
test rax, rax
je 0x18011272f
mov rax, rdi
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
mov dword [rsi], 0
mov ecx, 6
call fcn.180122310
int3
Function at 0x1801177d0
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 [0x1802b92f8]
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 0x1801179ab
mov rbx, qword [rcx + 0x18]
mov qword [rsp + 0x30], rbx
mov rcx, rbx
call fcn.180121d54
test eax, eax
jne 0x1801179d8
xor r14d, r14d
mov qword [rsi + 0x28], r14
mov qword [rsi + 0x30], r14
mov qword [rsp + 0x60], r14
lea r15, vtable.fmt::v9::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 + reloc.WS2_32.dll_htonl]
cmp byte [rdi + 0x20], r14b
je 0x18011793f
mov rax, qword [rsi + 0x28]
cmp qword [rsi + 0x30], rax
jbe 0x18011793f
test rax, rax
je 0x18011789d
mov qword [rsp + 0x20], r14
xor r9d, r9d
mov r8d, eax
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 0x1801178be
lea ebp, [rax + 7]
jmp 0x1801178d9
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 rcx, qword [rsi + 0x30]
mov r8, qword [rsi + 0x28]
cmp rcx, r8
jbe 0x180117906
sub ecx, r8d
mov rdx, qword [rsp + 0x58]
add rdx, r8
mov qword [rsp + 0x20], r14
xor r9d, r9d
mov r8d, ecx
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 rdx, qword [rsi + 0x30]
mov rcx, qword [rsp + 0x60]
cmp rcx, rdx
jbe 0x180117963
sub ecx, edx
add rdx, qword [rsp + 0x58]
mov qword [rsp + 0x20], r14
xor r9d, r9d
mov r8d, ecx
mov rcx, qword [rdi + 0x10]
call qword [sym.imp.KERNEL32.dll_WriteConsoleA]
jmp 0x180117963
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 0x1801179a3
mov rdx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18011799d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1801179d2
call fcn.180118520
nop
mov rcx, rbx
call fcn.180121dd0
mov rcx, qword [rsp + 0x170]
xor rcx, rsp
call fcn.180118df0
mov rbx, qword [rsp + 0x1c0]
add rsp, 0x180
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
call fcn.180162b34
nop
mov ecx, eax
call fcn.1801222d4
int3