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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
mov r10d, dword [rsp + 0x68]
movsxd rsi, dword [rcx + 0x160]
mov ebx, r8d
mov r12, rdx
mov r11, rcx
test r10d, r10d
je 0x14014e46b
mov eax, dword [rsp + 0x50]
mov ecx, ebx
mov ebp, ebx
shl eax, 2
imul ecx, dword [rsp + 0x58]
movsxd r13, eax
mov eax, esi
imul eax, r9d
mov r9d, dword [rsp + 0x48]
neg ebp
movsxd rdi, eax
mov qword [rsp + 0x28], rdi
mov eax, dword [r11 + 0x158]
movsxd r8, ecx
add r8, r13
add r8, r12
imul eax, r9d
movsxd rdx, eax
add rdx, qword [r11 + 0x150]
add rdx, rdi
cmp dword [rsp + 0x60], 0
jle 0x14014e450
mov edi, dword [rsp + 0x60]
mov al, byte [r8 + 2]
xor byte [rdx + 2], al
mov al, byte [r8 + 1]
xor byte [rdx + 1], al
mov al, byte [r8]
lea r8, [r8 + 4]
xor byte [rdx], al
add rdx, rsi
dec rdi
jne 0x14014e42c
mov rdi, qword [rsp + 0x28]
dec r10d
inc r9d
cmp dword [r11 + 0x174], 0
jne 0x14014e464
add ecx, ebp
jmp 0x14014e466
add ecx, ebx
test r10d, r10d
jne 0x14014e400
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
pop r14
pop r13
pop r12
pop rdi
ret

Function at 0x14014f20c
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
mov r11d, dword [rsp + 0x68]
movsxd rsi, dword [rcx + 0x160]
mov edi, r8d
mov r12, rdx
mov rbx, rcx
test r11d, r11d
je 0x14014f2d5
mov eax, dword [rsp + 0x50]
mov ecx, r8d
mov ebp, r8d
lea r10d, [rax + rax*2]
mov eax, esi
imul ecx, dword [rsp + 0x58]
movsxd r13, r10d
imul eax, r9d
mov r9d, dword [rsp + 0x48]
movsxd r10, eax
mov qword [rsp + 0x28], r10
neg ebp
mov eax, dword [rbx + 0x158]
movsxd r8, ecx
add r8, r13
add r8, r12
imul eax, r9d
movsxd rdx, eax
add rdx, qword [rbx + 0x150]
add rdx, r10
cmp dword [rsp + 0x60], 0
jle 0x14014f2bb
mov r10d, dword [rsp + 0x60]
mov al, byte [r8 + 2]
xor byte [rdx + 2], al
mov al, byte [r8 + 1]
xor byte [rdx + 1], al
mov al, byte [r8]
lea r8, [r8 + 3]
xor byte [rdx], al
add rdx, rsi
dec r10
jne 0x14014f297
mov r10, qword [rsp + 0x28]
dec r11d
inc r9d
cmp dword [rbx + 0x174], 0
jne 0x14014f2ce
add ecx, ebp
jmp 0x14014f2d0
add ecx, edi
test r11d, r11d
jne 0x14014f26b
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x1401524b0
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
mov r11d, edx
mov r10, rcx
mov r8d, 0x80000000
test rcx, rcx
je 0x14015251f
mov qword [rsp], rbx
lea rbx, [0x140192970]
test r10b, 1
je 0x140152513
mov ecx, r11d
mov eax, r8d
mov edx, 0x80000000
and ecx, 0x1f
xor r8d, r8d
mov r9d, dword [rbx + rcx*4]
nop dword [rax + rax]
test r9d, edx
je 0x140152500
lea ecx, [rdx - 1]
xor r8d, eax
test r9d, ecx
je 0x140152513
shr edx, 1
test al, 1
je 0x14015250f
shr eax, 1
xor eax, 0xedb88320
jmp 0x1401524f0
shr eax, 1
jmp 0x1401524f0
inc r11d
sar r10, 1
jne 0x1401524d0
mov rbx, qword [rsp]
mov eax, r8d
add rsp, 8
ret
Function at 0x1400053b0
Capabilities:
Access peb ldr_data

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0xd0
mov rax, qword [0x140070010]
xor rax, rsp
mov qword [rsp + 0xc0], rax
mov eax, dword [rcx + 0x40]
mov edi, r8d
movzx esi, byte [rcx + 0xd8]
cmp r8d, eax
mov rbx, rcx
setge bpl
jge 0x1400053f3
test sil, sil
je 0x1400054e0
movups xmm0, xmmword [r9]
add rcx, 8
mov qword [rsp + 0xf8], r14
cmp qword [rbx + 0x20], 0x10
movups xmmword [rsp + 0x48], xmm0
jb 0x140005413
mov rcx, qword [rbx + 8]
movups xmm0, xmmword [rdx]
mov rax, qword [rbx + 0x18]
mov qword [rsp + 0x28], rcx
movups xmmword [rsp + 0x38], xmm0
mov qword [rsp + 0x30], rax
movsd xmm0, qword [rdx + 0x10]
movsd qword [rsp + 0x20], xmm0
call fcn.1400286ac
movups xmm0, xmmword [rsp + 0x28]
mov qword [rsp + 0x78], rax
mov rax, qword gs:[0x58]
mov dword [rsp + 0x70], edi
mov ecx, 0x18
movaps xmmword [rsp + 0x60], xmm0
mov rdi, qword [rax]
mov r14d, 0x10
mov eax, dword [rcx + rdi]
test al, 1
jne 0x14000547c
or eax, 1
mov dword [rcx + rdi], eax
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov eax, eax
mov qword [rdi + r14], rax
movups xmm0, xmmword [rsp + 0x38]
mov rax, qword [rdi + r14]
lea rdx, [rsp + 0x60]
movsd xmm1, qword [rsp + 0x20]
movzx r9d, sil
movups xmmword [rsp + 0x98], xmm0
mov qword [rsp + 0x80], rax
xor eax, eax
movups xmm0, xmmword [rsp + 0x48]
movzx r8d, bpl
mov qword [rsp + 0x88], rax
mov rcx, rbx
mov qword [rsp + 0x90], rax
movaps xmmword [rsp + 0xb0], xmm0
movsd qword [rsp + 0xa8], xmm1
call fcn.140006e70
mov r14, qword [rsp + 0xf8]
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.140026490
mov rbx, qword [rsp + 0x100]
add rsp, 0xd0
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400114f0
Capabilities:
Hash data using fnv

Disassembly:
push rsi
push rdi
sub rsp, 0x28
movabs rax, 0xfffffffffffffff
mov rsi, rcx
bsr rcx, rax
mov edi, 1
mov eax, edi
shl rax, cl
cmp rdx, rax
ja 0x14001167e
lea rax, [rdx - 1]
mov qword [rsp + 0x50], rbx
mov rbx, qword [rsi + 8]
or rax, rdi
bsr rcx, rax
mov r8, rbx
mov qword [rsp + 0x20], r14
inc ecx
shl rdi, cl
lea rcx, [rsi + 0x18]
lea rdx, [rdi + rdi]
call fcn.140008c10
mov qword [rsi + 0x38], rdi
lea rax, [rdi - 1]
mov qword [rsi + 0x30], rax
mov rcx, qword [rsi + 8]
mov rcx, qword [rcx]
mov rdx, rcx
cmp rcx, rbx
je 0x140011647
mov qword [rsp + 0x58], rbp
movabs rdi, 0xcbf29ce484222325
movabs rbp, 0x100000001b3
movzx r10d, byte [rcx + 0x10]
mov r11, qword [rsi + 0x30]
mov eax, r10d
mov rdx, qword [rdx]
xor rax, rdi
imul rax, rbp
and r11, rax
shl r11, 4
add r11, qword [rsi + 0x18]
mov r9, qword [r11]
cmp r9, rbx
jne 0x1400115b6
mov qword [r11], rcx
mov qword [r11 + 8], rcx
jmp 0x140011636
mov rax, qword [r11 + 8]
cmp r10b, byte [rax + 0x10]
jne 0x1400115ef
mov r10, qword [rax]
cmp r10, rcx
je 0x1400115e9
mov r9, qword [rcx + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], r10
mov rax, qword [r10 + 8]
mov qword [rax], rcx
mov qword [r10 + 8], r8
mov qword [rdx + 8], r9
mov qword [rcx + 8], rax
mov qword [r11 + 8], rcx
jmp 0x140011636
mov r8, rax
cmp r9, rax
je 0x140011612
nop word [rax + rax]
mov rax, qword [rax + 8]
mov r8, rax
cmp r10b, byte [rax + 0x10]
je 0x140011658
cmp r9, rax
jne 0x140011600
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], rcx
mov rcx, rdx
cmp rdx, rbx
jne 0x140011581
mov rbp, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x50]
mov r14, qword [rsp + 0x20]
add rsp, 0x28
pop rdi
pop rsi
ret
mov r10, qword [rax]
mov r9, qword [rcx + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], r10
mov rax, qword [r10 + 8]
mov qword [rax], rcx
mov qword [r10 + 8], r8
mov qword [rdx + 8], r9
mov qword [rcx + 8], rax
jmp 0x140011636
lea rcx, str.invalid_hash_bucket_count
call fcn.140027c78
int3
Function at 0x140013180
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 [0x140070010]
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 0x14001336d
mov rbx, qword [rcx + 0x18]
mov qword [rsp + 0x30], rbx
mov rcx, rbx
call fcn.14002843c
test eax, eax
jne 0x14001339a
xor r14d, r14d
mov qword [rsi + 0x28], r14
mov qword [rsi + 0x30], r14
xor edx, edx
mov r8d, 0x120
lea rcx, [rsp + 0x50]
call fcn.140029ec0
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 + 8]
cmp byte [rdi + 0x20], r14b
je 0x140013301
mov rax, qword [rsi + 0x28]
cmp qword [rsi + 0x30], rax
jbe 0x140013301
test rax, rax
je 0x14001325f
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 0x140013280
lea ebp, [rax + 7]
jmp 0x14001329b
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 0x1400132c8
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 0x140013325
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 0x140013325
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 0x140013365
mov rdx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001335f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140013394
call fcn.140026aa4
nop
mov rcx, rbx
call fcn.140028460
mov rcx, qword [rsp + 0x170]
xor rcx, rsp
call fcn.140026490
mov rbx, qword [rsp + 0x1c0]
add rsp, 0x180
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
call fcn.140034450
nop
mov ecx, eax
call fcn.140027a3c
int3
Function at 0x14001feb0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rsi
sub rsp, 0x170
mov rax, qword [0x140070010]
xor rax, rsp
mov qword [rsp + 0x140], rax
cmp qword [rcx + 0x18], 0x10
mov rsi, rcx
jb 0x14001fed8
mov rcx, qword [rcx]
mov qword [rsp + 0x188], rbx
mov qword [rsp + 0x190], rbp
mov qword [rsp + 0x198], rdi
mov qword [rsp + 0x168], r12
mov qword [rsp + 0x160], r13
mov qword [rsp + 0x158], r14
mov qword [rsp + 0x150], r15
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x140020095
mov rdi, qword [rsi + 0x10]
test rdi, rdi
je 0x140020121
xor ebp, ebp
lea r13, [0x1400615c0]
mov r15, rdi
mov rbx, 0xffffffffffffffff
nop
inc rbx
cmp byte [rbx + r13], 0
jne 0x14001ff40
mov r12, qword [rsi + 0x18]
mov r14, rsi
cmp r12, 0x10
jb 0x14001ff5a
mov r14, qword [rsi]
test rbx, rbx
je 0x14001ffcd
cmp rbp, r15
jae 0x14001ffcd
xor edx, edx
lea rcx, [rsp + 0x40]
mov r8d, 0x100
call fcn.140029ec0
lea rdx, [rbx + r13]
mov rcx, r13
cmp r13, rdx
je 0x14001ffa0
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [rcx]
inc rcx
mov byte [rsp + rax + 0x40], 1
cmp rcx, rdx
jne 0x14001ff90
lea rcx, [r15 + r14]
lea rbx, [r14 + rbp]
cmp rbx, rcx
jae 0x14001ffcd
nop dword [rax]
movzx eax, byte [rbx]
cmp byte [rsp + rax + 0x40], 0
jne 0x14001ffc4
inc rbx
cmp rbx, rcx
jb 0x14001ffb0
jmp 0x14001ffcd
sub rbx, r14
cmp rbx, 0xffffffffffffffff
jne 0x14001ffd0
mov rbx, rdi
xor r14d, r14d
mov qword [rsp + 0x38], 0xf
cmp rdi, rbx
mov qword [rsp + 0x20], r14
mov r8, rbx
mov qword [rsp + 0x30], r14
cmovb r8, rdi
mov rdx, rsi
cmp r12, 0x10
jb 0x14001fffc
mov rdx, qword [rsi]
lea rcx, [rsp + 0x20]
call fcn.1400089a0
cmp qword [rsp + 0x30], r14
je 0x140020047
cmp qword [rsp + 0x38], 0x10
lea rcx, [rsp + 0x20]
cmovae rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x140020047
cmp qword [rsp + 0x38], 0x10
lea rcx, [rsp + 0x20]
cmovae rcx, qword [rsp + 0x20]
call fcn.140035570
test eax, eax
jne 0x1400200e8
mov rdx, qword [rsp + 0x38]
lea rbp, [rbx + 1]
cmp rdx, 0x10
jb 0x140020088
mov rcx, qword [rsp + 0x20]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140020083
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140020128
call fcn.140026aa4
mov rdi, qword [rsi + 0x10]
cmp rbp, rdi
jb 0x14001ff35
mov al, 1
mov r15, qword [rsp + 0x150]
mov r14, qword [rsp + 0x158]
mov r13, qword [rsp + 0x160]
mov r12, qword [rsp + 0x168]
mov rdi, qword [rsp + 0x198]
mov rbp, qword [rsp + 0x190]
mov rbx, qword [rsp + 0x188]
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.140026490
add rsp, 0x170
pop rsi
ret
mov rdx, qword [rsp + 0x38]
cmp rdx, 0x10
jb 0x140020121
mov rcx, qword [rsp + 0x20]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002011c
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140020128
call fcn.140026aa4
xor al, al
jmp 0x140020097
call fcn.140034450
int3
Function at 0x1400205f0
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 r14
sub rsp, 0x60
mov rax, qword [0x140070010]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rsi, rdx
mov rbp, rcx
mov qword [rsp + 0x48], rdx
mov qword [rsp + 0x20], rcx
call fcn.14002843c
test eax, eax
jne 0x140020802
mov r8, qword [rbp + 0x1d8]
test r8, r8
je 0x14002071a
lea r14, [rbp + 0xf0]
add r8, 8
mov r9, qword [r8 + 0x10]
mov rdx, r8
cmp qword [r8 + 0x18], 0x10
jb 0x14002065a
mov rdx, qword [r8]
movabs rdi, 0xcbf29ce484222325
xor ecx, ecx
test r9, r9
je 0x140020693
movabs r10, 0x100000001b3
nop word [rax + rax]
movzx eax, byte [rcx + rdx]
xor rdi, rax
imul rdi, r10
inc rcx
cmp rcx, r9
jb 0x140020680
mov r9, rdi
lea rdx, [rsp + 0x28]
mov rcx, r14
call fcn.14000c900
mov rbx, qword [rax + 8]
test rbx, rbx
je 0x14002071a
mov rcx, qword [r14 + 0x30]
and rcx, rdi
shl rcx, 4
mov rdx, qword [r14 + 0x18]
add rdx, rcx
mov rax, qword [rdx]
cmp qword [rdx + 8], rbx
jne 0x1400206e3
cmp rax, rbx
jne 0x1400206d9
mov rax, qword [r14 + 8]
mov qword [rdx], rax
mov qword [rdx + 8], rax
jmp 0x1400206ee
mov rax, qword [rbx + 8]
mov qword [rdx + 8], rax
jmp 0x1400206ee
cmp rax, rbx
jne 0x1400206ee
mov rax, qword [rbx]
mov qword [rdx], rax
mov rdx, qword [rbx]
dec qword [r14 + 0x10]
mov rax, qword [rbx + 8]
mov qword [rax], rdx
mov rax, qword [rbx + 8]
mov qword [rdx + 8], rax
lea rcx, [rbx + 0x10]
call fcn.140013b60
mov edx, 0x40
mov rcx, rbx
call fcn.140026aa4
mov r8, qword [rsi]
test r8, r8
je 0x140020746
lea rcx, [rbp + 0xf0]
add r8, 8
lea rdx, [rsp + 0x38]
call fcn.140023460
mov rcx, qword [rax]
add rcx, 0x30
mov rdx, rsi
call fcn.140008250
mov rax, qword [rsi]
mov rcx, qword [rsi + 8]
mov qword [rsi], 0
mov qword [rsi + 8], 0
mov qword [rbp + 0x1d8], rax
mov rbx, qword [rbp + 0x1e0]
mov qword [rbp + 0x1e0], rcx
mov edi, 0xffffffff
test rbx, rbx
je 0x1400207a5
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x1400207a5
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, edi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x1400207a5
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
nop
mov rcx, qword [rsp + 0x20]
call fcn.140028460
nop
mov rbx, qword [rsi + 8]
test rbx, rbx
je 0x1400207e0
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x1400207e0
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x1400207e0
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140026490
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
mov ecx, eax
call fcn.140027a3c
int3
Function at 0x140020810
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x90
mov rax, qword [0x140070010]
xor rax, rsp
mov qword [rsp + 0x88], rax
mov rdi, rdx
mov rsi, rcx
mov qword [rsp + 0x60], rdx
mov rdx, qword [rdx]
add rdx, 8
lea rcx, [rsp + 0x68]
call fcn.140008620
nop
lea rdx, [rsp + 0x68]
cmp qword [rsp + 0x80], 0x10
cmovae rdx, qword [rsp + 0x68]
xor ecx, ecx
movabs r9, 0xcbf29ce484222325
mov r8, qword [rsp + 0x78]
test r8, r8
je 0x1400208a3
movabs r10, 0x100000001b3
nop word [rax + rax]
movzx eax, byte [rcx + rdx]
xor r9, rax
imul r9, r10
inc rcx
cmp rcx, r8
jb 0x140020890
lea r8, [rsp + 0x68]
lea rdx, [rsp + 0x20]
lea rcx, [rsi + 0xf0]
call fcn.14000c900
mov rcx, qword [rax + 8]
test rcx, rcx
jne 0x1400208c9
mov rcx, qword [rsi + 0xf8]
lea r8, [rsp + 0x68]
cmp rcx, qword [rsi + 0xf8]
jne 0x1400209b2
lea rdx, [rsp + 0x40]
lea rcx, [rsi + 0xf0]
call fcn.140023460
mov rcx, qword [rax]
add rcx, 0x30
mov rdx, rdi
call fcn.1400081d0
nop
mov rdx, qword [rsp + 0x80]
cmp rdx, 0x10
jb 0x140020938
inc rdx
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140020933
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400209ac
call fcn.140026aa4
mov qword [rsp + 0x78], 0
mov qword [rsp + 0x80], 0xf
mov byte [rsp + 0x68], 0
mov rbx, qword [rdi + 8]
test rbx, rbx
je 0x140020987
mov edi, 0xffffffff
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x140020987
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x140020987
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.140026490
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
call fcn.140034450
nop
lea rcx, [rsp + 0x20]
call fcn.1400231a0
nop
lea r8, str._already_exists
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.140023400
mov rcx, rax
call fcn.14001fe50
int3
Function at 0x140024430
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x10]
sub rsp, 0x110
mov rax, qword [0x140070010]
xor rax, rsp
mov qword [rbp + 8], rax
mov r15, rcx
add rcx, 0xa0
call fcn.140020f00
mov rbx, qword [r15 + 0x90]
test rbx, rbx
je 0x1400245d0
xor r12d, r12d
nop
lea rdi, [rbx - 1]
mov r8, rdi
lea rdx, [r15 + 0x68]
lea rcx, [rbp - 0x18]
call fcn.1400256d0
nop
lea rcx, [rbp - 0x18]
cmp qword [rbp], 0x10
cmovae rcx, qword [rbp - 0x18]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x14002458d
mov r8, rbx
lea rdx, [r15 + 0x68]
lea rcx, [rbp - 0x38]
call fcn.1400256d0
nop
lea rcx, [rbp - 0x38]
cmp qword [rbp - 0x20], 0x10
cmovae rcx, qword [rbp - 0x38]
call fcn.140034c30
lea rdx, [rbp - 0x38]
cmp qword [rbp - 0x20], 0x10
cmovae rdx, qword [rbp - 0x38]
lea rcx, [rbp - 0x18]
cmp qword [rbp], 0x10
cmovae rcx, qword [rbp - 0x18]
call fcn.140034ff8
test eax, eax
je 0x140024542
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, [rbp - 0x38]
cmp qword [rbp - 0x20], 0x10
cmovae rcx, qword [rbp - 0x38]
call fcn.140034c30
lea rdx, [rbp - 0x38]
cmp qword [rbp - 0x20], 0x10
cmovae rdx, qword [rbp - 0x38]
lea rcx, [rbp - 0x18]
cmp qword [rbp], 0x10
cmovae rcx, qword [rbp - 0x18]
call fcn.140034ff8
test eax, eax
jne 0x140024637
mov rdx, qword [rbp - 0x20]
cmp rdx, 0x10
jb 0x14002457d
inc rdx
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140024578
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400246b5
call fcn.140026aa4
mov qword [rbp - 0x28], r12
mov qword [rbp - 0x20], 0xf
mov byte [rbp - 0x38], 0
mov rdx, qword [rbp]
cmp rdx, 0x10
jb 0x1400245c4
inc rdx
mov rcx, qword [rbp - 0x18]
cmp rdx, 0x1000
mov rax, rcx
jb 0x1400245bf
mov rcx, qword [rcx - 8]
sub rax, rcx
add rdx, 0x27
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140024618
call fcn.140026aa4
mov rbx, rdi
test rdi, rdi
jne 0x140024480
cmp qword [r15 + 0xc0], 0
je 0x14002461e
lea rdx, [r15 + 0xb0]
mov r8b, 1
lea rcx, [r15 + 0xa0]
call fcn.140020af0
mov rcx, qword [rbp + 8]
xor rcx, rsp
call fcn.140026490
lea r11, [rsp + 0x110]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
call fcn.140034450
int3
lea rdx, str.Failed_re_opening_file___was_not_opened_before
lea rcx, [rbp - 0x18]
call fcn.1400085e0
mov rcx, rax
call fcn.14001fe50
nop
lea rcx, [r15 + 0xa0]
call fcn.140020ec0
mov qword [r15 + 0x98], r12
call fcn.140033f18
mov edi, dword [rax]
lea rdx, [rbp - 0x38]
lea rcx, [rsp + 0x28]
call fcn.14001fe90
mov rbx, rax
lea rdx, [rbp - 0x18]
lea rcx, [rsp + 0x48]
call fcn.14001fe90
nop
mov r8, rax
lea rdx, str.rotating_file_sink:_failed_renaming
lea rcx, [rsp + 0x68]
call fcn.1400232e0
nop
lea r8, str._to
mov rdx, rax
lea rcx, [rbp - 0x78]
call fcn.140023400
nop
mov r8, rbx
mov rdx, rax
lea rcx, [rbp - 0x58]
call fcn.140025940
nop
mov edx, edi
mov rcx, rax
call fcn.140005080
nop
call fcn.140034450
int3
Function at 0x1400262f0
Capabilities:
Connect pipe

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x80
call fcn.140007940
xor r14d, r14d
mov qword [rbp - 0x48], 0x19
lea rcx, str.DisconnectAndReconnect...
mov qword [rbp - 0x38], r14
mov qword [rbp - 0x50], rcx
lea r9, [rbp - 0x50]
movaps xmm0, xmmword [rbp - 0x50]
lea rdx, [rbp - 0x20]
mov rcx, qword [rax + 0x1d8]
lea r8d, [r14 + 2]
movdqa xmmword [rbp - 0x50], xmm0
mov qword [rbp - 0x40], r14
movups xmm1, xmmword [rbp - 0x40]
mov qword [rbp - 0x30], r14
movsd xmm0, qword [rbp - 0x30]
movsd qword [rbp - 0x10], xmm0
movaps xmmword [rbp - 0x20], xmm1
call fcn.1400053b0
mov rcx, qword [0x140075c60]
call qword [sym.imp.KERNEL32.dll_DisconnectNamedPipe]
lea edi, [r14 + 1]
test eax, eax
jne 0x1400263df
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp + 0x20], eax
lea rax, str.DisconnectNamedPipe_failed_with_._n
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x48], 0x24
call fcn.140007940
movaps xmm0, xmmword [rbp - 0x50]
lea rcx, [rbp + 0x20]
movdqa xmmword [rbp - 0x50], xmm0
lea r9, [rbp - 0x50]
mov qword [rsp + 0x20], rcx
lea rdx, [rbp - 0x20]
mov rcx, qword [rax + 0x1d8]
mov r8d, edi
mov qword [rbp - 0x38], r14
mov qword [rbp - 0x40], r14
movups xmm1, xmmword [rbp - 0x40]
mov qword [rbp - 0x30], r14
movsd xmm0, qword [rbp - 0x30]
movsd qword [rbp - 0x10], xmm0
movaps xmmword [rbp - 0x20], xmm1
call fcn.140017850
mov rbx, qword [0x140075c60]
call fcn.140007940
lea r8, str.ConnectToNewClient...
mov edx, 2
mov rcx, qword [rax + 0x1d8]
call fcn.140023ad0
lea rdx, [0x140075c40]
mov rcx, rbx
mov esi, r14d
call qword [sym.imp.KERNEL32.dll_ConnectNamedPipe]
test eax, eax
jne 0x140026461
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x217
je 0x140026442
cmp eax, 0x3e5
jne 0x140026461
mov esi, edi
mov dword [0x140075c70], r14d
mov dword [0x140075c74], esi
mov edi, r14d
jmp 0x140026468
mov rcx, qword [0x140075c58]
call qword [sym.imp.KERNEL32.dll_SetEvent]
test eax, eax
je 0x140026461
mov dword [0x140075c74], esi
mov dword [0x140075c70], edi
jmp 0x140026468
mov qword [0x140075c70], rdi
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret