joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000a900
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xd0
mov rax, qword [0x1400a7328]
xor rax, rsp
mov qword [rbp + 0x47], rax
xor edi, edi
mov qword [rbp - 0x59], rdi
lea rax, [0x1400a7f40]
mov qword [rbp - 0x51], rax
mov rbx, qword [rcx + 0x18]
mov eax, edi
lock xadd dword [rbx + 0x30], eax
test eax, eax
jne 0x14000a952
mov rcx, rbx
call fcn.140004db0
jmp 0x14000aa20
mov dword [rbp + 0x27], edi
lea rcx, [rbp + 0x2f]
call fcn.14003f808
xorps xmm0, xmm0
movups xmmword [rbp - 0x29], xmm0
movups xmmword [rbp - 0x19], xmm0
movups xmmword [rbp - 9], xmm0
movups xmmword [rbp + 7], xmm0
movups xmmword [rbp + 0x17], xmm0
xor eax, eax
movups xmmword [rbp - 0x49], xmm0
mov qword [rbp - 0x39], rax
lea rax, [rbx + 0x28]
test rbx, rbx
cmove rax, rdi
mov qword [rbp - 0x49], rax
lea rax, [rbp - 0x29]
mov qword [rbp - 0x41], rax
mov ecx, dword [0x1400aec70]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov qword [rbp - 0x39], rax
lea rdx, [rbp - 0x49]
mov ecx, dword [0x1400aec70]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
lea r9, [rbp - 0x59]
lea r8, [rbp - 0x29]
mov rcx, rbx
call fcn.140005010
test rax, rax
je 0x14000a9e5
nop dword [rax]
lea r9, [rbp - 0x59]
lea r8, [rbp - 0x29]
mov rcx, rbx
call fcn.140005010
test rax, rax
jne 0x14000a9d0
mov rdx, qword [rbp - 0x39]
mov ecx, dword [0x1400aec70]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
lea rbx, [rbp - 0x29]
mov edi, 0xa
nop
mov rcx, qword [rbx]
test rcx, rcx
je 0x14000aa0d
call case.0x1400450db.0
add rbx, 8
sub rdi, 1
jne 0x14000aa00
lea rcx, [rbp + 0x2f]
call fcn.14003f894
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.14004afd0
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
Function at 0x14000c160
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x70
mov rax, qword [0x1400a7328]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov r13, r9
mov r12, r8
mov r15, rdx
mov rbp, rcx
mov rdi, qword [rsp + 0xd0]
mov rsi, qword [rsp + 0xd8]
mov rbx, qword [rdi]
mov rbx, qword [rbx + 0x78]
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x30], rdi
mov rdx, rdi
mov ecx, 0xc0
call fcn.140003f10
mov r14, rax
mov qword [rsp + 0x38], rax
xor ecx, ecx
mov qword [rax + 0x20], rcx
lea rax, [0x14000cc30]
mov qword [r14 + 0x28], rax
mov qword [r14], rcx
mov qword [r14 + 8], rcx
mov qword [r14 + 0x10], rcx
mov qword [r14 + 0x18], rcx
mov dword [r14 + 0x30], ecx
movups xmm0, xmmword [r13]
movups xmmword [r14 + 0x38], xmm0
lea rdx, [r14 + 0x48]
mov rax, qword [rdi]
mov qword [rdi], rcx
mov qword [rdx], rax
lea rcx, [r14 + 0x50]
mov r8, rsi
call fcn.14000ca10
mov qword [rsp + 0x40], r14
test rbx, rbx
je 0x14000c27b
mov r8d, 0x58
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x58]
call fcn.140004260
lea rax, vtable.asio::detail::cancellation_handler_class_asio::detail::win_iocp_handle_service::iocp_op_cancellation_.0
mov rdx, qword [rsp + 0x48]
mov qword [rdx], rax
mov rax, qword [r15]
xor esi, esi
mov qword [rdx + 0x28], rsi
lea r8, [0x140005560]
mov qword [rdx + 0x30], r8
mov qword [rdx + 8], rsi
mov qword [rdx + 0x10], rsi
mov qword [rdx + 0x18], rsi
mov qword [rdx + 0x20], rsi
mov dword [rdx + 0x38], esi
mov qword [rdx + 0x40], rax
mov qword [rdx + 0x48], r14
mov rax, qword [rsp + 0x50]
mov qword [rdx + 0x50], rax
mov qword [rbx], rdx
lea r14, [rdx + 8]
jmp 0x14000c27d
xor esi, esi
mov rdi, qword [r13]
mov rbx, qword [r13 + 8]
cmp dword [r15 + 8], 0
jne 0x14000c298
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [r15 + 8], eax
jmp 0x14000c2ac
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [r15 + 8], eax
je 0x14000c2ac
mov dword [r15 + 8], 0xffffffff
mov rax, qword [rbp + 0x28]
lock inc dword [rax + 0x30]
cmp qword [r15], 0xffffffffffffffff
jne 0x14000c2d1
xor r9d, r9d
mov r8d, 0x2719
mov rdx, r14
mov rcx, qword [rbp + 0x28]
call fcn.140004f20
jmp 0x14000c34f
test rbx, rbx
jne 0x14000c2ea
xor r9d, r9d
xor r8d, r8d
mov rdx, r14
mov rcx, qword [rbp + 0x28]
call fcn.140004f20
jmp 0x14000c34f
mov dword [rsp + 0x58], esi
mov dword [r14 + 0x10], r12d
shr r12, 0x20
mov dword [r14 + 0x14], r12d
mov qword [rsp + 0x20], r14
lea r9, [rsp + 0x58]
mov r8d, ebx
mov rdx, rdi
mov rcx, qword [r15]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_GetLastError]
test ebx, ebx
jne 0x14000c343
cmp eax, 0x3e5
je 0x14000c343
cmp eax, 0xea
je 0x14000c343
mov r9d, dword [rsp + 0x58]
mov r8d, eax
mov rdx, r14
mov rcx, qword [rbp + 0x28]
call fcn.140004f20
jmp 0x14000c34f
mov rdx, r14
mov rcx, qword [rbp + 0x28]
call fcn.140004e90
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x38], rsi
lea rcx, [rsp + 0x30]
call fcn.14000c780
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.14004afd0
mov rbx, qword [rsp + 0xc0]
add rsp, 0x70
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x14000cdc0
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x47]
sub rsp, 0xf0
mov rax, qword [0x1400a7328]
xor rax, rsp
mov qword [rbp + 0x3f], rax
xor esi, esi
mov rax, qword [rdx]
mov qword [rdx], rsi
mov qword [rbp - 0x69], rax
lea rdx, [rbp - 0x49]
call fcn.1400041a0
nop
lea r8, [rbp - 0x49]
lea rdx, [rbp - 0x11]
call fcn.14000d280
mov rbx, rax
cmp qword [rax + 0x20], rsi
je 0x14000cf3a
mov rcx, qword [rax + 0x28]
mov rax, qword [rcx + 0x18]
test rax, rax
je 0x14000ce40
lea rcx, [0x14000d730]
mov qword [rbp - 0x59], rcx
lea rcx, [rbp - 0x69]
mov qword [rbp - 0x51], rcx
lea rdx, [rbp - 0x59]
mov rcx, rbx
call rax
jmp 0x14000cedf
mov rdi, qword [rcx + 0x10]
mov rax, qword [rbp - 0x69]
mov qword [rbp - 0x69], rsi
mov qword [rbp - 0x71], rax
lea rax, [rbp - 0x71]
mov qword [rbp - 0x59], rax
lea rax, [rbp - 0x79]
mov qword [rbp + 0x27], rax
mov ecx, dword [0x1400aec70]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14000ce77
mov rdx, qword [rax + 8]
jmp 0x14000ce7a
mov rdx, rsi
mov r8d, 0x18
call fcn.14000d750
mov qword [rbp + 0x37], rsi
mov rcx, qword [rbp - 0x71]
mov qword [rbp - 0x71], rsi
mov qword [rax + 8], rcx
lea rcx, [0x14000d8e0]
mov qword [rax], rcx
mov qword [rbp - 0x61], rax
mov qword [rbp + 0x2f], rsi
lea rcx, [rbp + 0x27]
call fcn.14000d680
nop
mov rax, qword [rbp - 0x71]
test rax, rax
je 0x14000cec4
mov rdx, qword [rax]
mov rcx, rdx
call qword [rdx + 8]
nop
lea rdx, [rbp - 0x61]
mov rcx, rbx
call rdi
nop
mov rcx, qword [rbp - 0x61]
test rcx, rcx
je 0x14000cedf
mov rax, qword [rcx]
xor edx, edx
call rax
nop
cmp qword [rbp + 0xf], 0
je 0x14000cef4
mov rax, qword [rbp + 7]
mov rdx, qword [rax]
lea rcx, [rbp - 0x11]
call rdx
nop
cmp qword [rbp - 0x29], 0
je 0x14000cf09
mov rax, qword [rbp - 0x31]
mov rdx, qword [rax]
lea rcx, [rbp - 0x49]
call rdx
nop
mov rax, qword [rbp - 0x69]
test rax, rax
je 0x14000cf1b
mov rdx, qword [rax]
mov rcx, rdx
call qword [rdx + 8]
mov rcx, qword [rbp + 0x3f]
xor rcx, rsp
call fcn.14004afd0
mov rbx, qword [rsp + 0x120]
add rsp, 0xf0
pop rdi
pop rsi
pop rbp
ret
lea rcx, [rbp + 0x27]
call fcn.140004000
nop
lea rcx, [rbp + 0x27]
call fcn.140009700
int3
Function at 0x14000d010
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x1400a7328]
xor rax, rsp
mov qword [rbp - 8], rax
mov rax, r8
mov r8, rdx
cmp qword [rcx + 0x20], 0
jne 0x14000d06e
cmp qword [rcx + 0x58], 0
jne 0x14000d06e
mov rdx, rax
mov rcx, r8
call fcn.14000d370
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.14004afd0
mov rbx, qword [rsp + 0xb8]
add rsp, 0x80
pop rdi
pop rsi
pop rbp
ret
lea rbx, [rcx + 0x38]
cmp qword [rbx + 0x20], 0
je 0x14000d15f
mov rcx, qword [rbx + 0x28]
mov rax, qword [rcx + 0x18]
test rax, rax
je 0x14000d0a4
lea rcx, [0x14000d8d0]
mov qword [rbp - 0x30], rcx
mov qword [rbp - 0x28], r8
lea rdx, [rbp - 0x30]
mov rcx, rbx
call rax
jmp 0x14000d04f
mov rdi, qword [rcx + 0x10]
mov rax, qword [rdx]
xor esi, esi
mov qword [rdx], rsi
mov qword [rbp - 0x50], rax
movups xmm0, xmmword [rdx + 8]
movups xmmword [rbp - 0x48], xmm0
mov rax, qword [rdx + 0x18]
mov qword [rbp - 0x38], rax
lea rax, [rbp - 0x50]
mov qword [rbp - 0x30], rax
lea rax, [rbp - 0x60]
mov qword [rbp - 0x20], rax
mov ecx, dword [0x1400aec70]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14000d0eb
mov rdx, qword [rax + 8]
jmp 0x14000d0ee
mov rdx, rsi
mov r8d, 0x30
call fcn.14000d750
mov qword [rbp - 0x10], rsi
mov rcx, qword [rbp - 0x50]
mov qword [rbp - 0x50], rsi
mov qword [rax + 8], rcx
movups xmm0, xmmword [rbp - 0x48]
movups xmmword [rax + 0x10], xmm0
mov rcx, qword [rbp - 0x38]
mov qword [rax + 0x20], rcx
lea rcx, [0x14000d970]
mov qword [rax], rcx
mov qword [rbp - 0x58], rax
mov qword [rbp - 0x18], rsi
lea rcx, [rbp - 0x20]
call fcn.14000d830
nop
lea rcx, [rbp - 0x50]
call fcn.14000be40
nop
lea rdx, [rbp - 0x58]
mov rcx, rbx
call rdi
nop
mov rcx, qword [rbp - 0x58]
test rcx, rcx
je 0x14000d15a
mov rax, qword [rcx]
xor edx, edx
call rax
nop
jmp 0x14000d04f
lea rcx, [rbp - 0x20]
call fcn.140004000
nop
lea rcx, [rbp - 0x20]
call fcn.140009700
int3

Function at 0x14000d510
Capabilities:
Get thread local storage value

Disassembly:
push rbx
sub rsp, 0x40
mov rax, qword [0x1400a7328]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rax, qword [rcx + 8]
mov rcx, qword [rax]
mov rbx, qword [rcx + 0x78]
test rbx, rbx
je 0x14000d5ae
mov rcx, qword [rbx]
test rcx, rcx
je 0x14000d5ae
mov rax, qword [rcx]
lea rdx, [rsp + 0x20]
mov qword [rsp + 0x50], rdi
call qword [rax + 8]
mov ecx, dword [0x1400aec70]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14000d564
mov rdx, qword [rax + 8]
jmp 0x14000d566
xor edx, edx
mov r9, qword [rsp + 0x28]
mov rdi, rbx
mov r8, qword [rsp + 0x20]
cmp r9, 0x3fc
ja 0x14000d59a
test rdx, rdx
je 0x14000d59a
mov ecx, 6
mov eax, ecx
cmp qword [rdx + rax*8], 0
je 0x14000d5c1
inc ecx
inc rax
cmp rax, 8
jl 0x14000d588
mov rcx, r8
call case.0x1400450db.0
mov qword [rdi], 0
mov rdi, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.14004afd0
add rsp, 0x40
pop rbx
ret
movzx eax, byte [r8 + r9]
mov byte [r8], al
movsxd rax, ecx
mov qword [rdx + rax*8], r8
jmp 0x14000d5a2
Function at 0x14000d680
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rax, qword [rcx + 0x10]
mov rdi, rcx
test rax, rax
je 0x14000d6b0
mov rax, qword [rax + 8]
test rax, rax
je 0x14000d6a8
mov rax, qword [rax]
mov rcx, rax
call qword [rax + 8]
mov qword [rdi + 0x10], 0
mov rbx, qword [rdi + 8]
test rbx, rbx
je 0x14000d702
mov ecx, dword [0x1400aec70]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14000d6f2
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x14000d6f2
mov ecx, 4
mov eax, ecx
nop word [rax + rax]
cmp qword [rdx + rax*8], 0
je 0x14000d70d
inc ecx
inc rax
cmp rax, 6
jl 0x14000d6e0
mov rcx, rbx
call case.0x1400450db.0
mov qword [rdi + 8], 0
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
movzx eax, byte [rbx + 0x18]
mov byte [rbx], al
movsxd rax, ecx
mov qword [rdx + rax*8], rbx
mov rbx, qword [rsp + 0x30]
mov qword [rdi + 8], 0
add rsp, 0x20
pop rdi
ret

Function at 0x14000d830
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
mov rcx, qword [rcx + 0x10]
test rcx, rcx
je 0x14000d857
add rcx, 8
call fcn.14000be40
mov qword [rdi + 0x10], 0
mov rbx, qword [rdi + 8]
test rbx, rbx
je 0x14000d8a3
mov ecx, dword [0x1400aec70]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14000d893
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x14000d893
mov ecx, 4
mov eax, ecx
cmp qword [rdx + rax*8], 0
je 0x14000d8ae
inc ecx
inc rax
cmp rax, 6
jl 0x14000d881
mov rcx, rbx
call case.0x1400450db.0
mov qword [rdi + 8], 0
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
movzx eax, byte [rbx + 0x30]
mov byte [rbx], al
movsxd rax, ecx
mov qword [rdx + rax*8], rbx
mov rbx, qword [rsp + 0x30]
mov qword [rdi + 8], 0
add rsp, 0x20
pop rdi
ret
Function at 0x14000e310
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov r14, r8
mov rbp, rdx
mov rdi, rcx
mov rbx, r8
je 0x14000e3a8
test r8, r8
jle 0x14000e3a0
nop word [rax + rax]
mov rcx, rdi
call fcn.140007f30
test rax, rax
jle 0x14000e37e
cmp rbx, rax
mov rsi, rbx
mov rdx, rbp
cmovge rsi, rax
mov rax, qword [rdi + 0x40]
mov r8, rsi
mov rcx, qword [rax]
call fcn.14004d3e0
mov rax, qword [rdi + 0x58]
sub rbx, rsi
sub dword [rax], esi
mov rcx, qword [rdi + 0x40]
movsxd rax, esi
add qword [rcx], rax
jmp 0x14000e398
mov rax, qword [rdi]
mov rcx, rdi
movzx edx, byte [rbp]
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x14000e3a0
dec rbx
mov esi, 1
add rbp, rsi
test rbx, rbx
jg 0x14000e340
sub r14, rbx
mov rax, r14
jmp 0x14000e426
mov rax, qword [rcx + 0x40]
mov qword [rsp + 0x40], r15
mov r9, qword [rax]
test r9, r9
je 0x14000e3c1
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x14000e3c3
xor ecx, ecx
movsxd rsi, ecx
test r14, r14
jle 0x14000e41b
test ecx, ecx
jle 0x14000e3fc
cmp r14, rsi
mov rcx, r9
cmovl rsi, r14
mov r8, rsi
call fcn.14004d3e0
mov rax, qword [rdi + 0x58]
add rbp, rsi
sub r14, rsi
sub dword [rax], esi
mov rcx, qword [rdi + 0x40]
movsxd rax, esi
add qword [rcx], rax
test r14, r14
jle 0x14000e41b
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x14000e41b
mov r8, r14
mov edx, 1
mov rcx, rbp
call fcn.140055cf8
sub r14, rax
mov r15, qword [rsp + 0x40]
sub rbx, r14
mov rax, rbx
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x58]
add rsp, 0x20
pop r14
pop rdi
pop rsi
ret
Function at 0x14000e440
Capabilities:
Read file on windows

Disassembly:
push rbx
push rsi
push r14
sub rsp, 0x30
mov r14, r8
mov rsi, rdx
mov rbx, rcx
test r8, r8
jg 0x14000e462
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbx
ret
cmp qword [rcx + 0x68], 0
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], rdi
je 0x14000e4dc
mov rdi, r14
mov rcx, rbx
call fcn.140007f50
test rax, rax
jle 0x14000e4b4
cmp rdi, rax
mov rbp, rdi
mov rcx, rsi
cmovge rbp, rax
mov rax, qword [rbx + 0x38]
mov r8, rbp
mov rdx, qword [rax]
call fcn.14004d3e0
mov rax, qword [rbx + 0x50]
sub rdi, rbp
sub dword [rax], ebp
mov rcx, qword [rbx + 0x38]
movsxd rax, ebp
add qword [rcx], rax
jmp 0x14000e4cc
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x38]
cmp eax, 0xffffffff
je 0x14000e4d4
mov byte [rsi], al
dec rdi
mov ebp, 1
add rsi, rbp
test rdi, rdi
jg 0x14000e476
sub r14, rdi
jmp 0x14000e5bf
mov rax, qword [rcx + 0x38]
mov rbp, r14
mov rdx, qword [rax]
test rdx, rdx
je 0x14000e4f3
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x14000e4f5
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x14000e527
cmp rax, r14
mov rdi, r14
mov rcx, rsi
cmovb rdi, rax
mov r8, rdi
call fcn.14004d3e0
mov rax, qword [rbx + 0x50]
add rsi, rdi
sub rbp, rdi
sub dword [rax], edi
mov rcx, qword [rbx + 0x38]
movsxd rax, edi
add qword [rcx], rax
cmp qword [rbx + 0x80], 0
je 0x14000e5bc
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x14000e562
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
cmp rbp, 0xfff
jbe 0x14000e59d
nop dword [rax + rax]
mov r9, qword [rbx + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, rsi
call fcn.1400563a0
add rsi, rax
sub rbp, rax
cmp rax, 0xfff
jne 0x14000e5bc
cmp rbp, rax
ja 0x14000e570
test rbp, rbp
je 0x14000e5bc
mov r9, qword [rbx + 0x80]
mov r8, rbp
mov edx, 1
mov rcx, rsi
call fcn.1400563a0
sub rbp, rax
sub r14, rbp
mov rbp, qword [rsp + 0x28]
mov rax, r14
mov rdi, qword [rsp + 0x20]
add rsp, 0x30
pop r14
pop rsi
pop rbx
ret
Function at 0x14000ea20
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x1400a7328]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x14000ea4d
xor eax, eax
jmp 0x14000eb9b
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x14000ea87
mov rax, qword [rcx + 0x58]
movsxd r8, dword [rax]
lea rcx, [rdx + r8]
cmp rdx, rcx
jae 0x14000ea87
lea ecx, [r8 - 1]
mov dword [rax], ecx
mov eax, edi
mov rdx, qword [rbx + 0x40]
mov r8, qword [rdx]
lea rcx, [r8 + 1]
mov qword [rdx], rcx
mov byte [r8], dil
jmp 0x14000eb9b
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x14000eb8e
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x14000eaca
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x14000ead9
movsx ecx, dil
jmp 0x14000eb2d
lea r8, [rsp + 0x40]
mov byte [rsp + 0x50], dil
mov rax, qword [rcx]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x38], r8
lea r9, [rsp + 0x51]
lea r8, [rsp + 0x78]
mov qword [rsp + 0x30], r8
lea r8, [rsp + 0x58]
mov qword [rsp + 0x28], r8
lea r8, [rsp + 0x48]
mov qword [rsp + 0x20], r8
lea r8, [rsp + 0x50]
call qword [rax + 0x38]
test eax, eax
je 0x14000eb47
sub eax, 1
je 0x14000eb47
cmp eax, 2
jne 0x14000eb8e
movsx ecx, byte [rsp + 0x50]
mov rdx, qword [rbx + 0x80]
call fcn.14005520c
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x14000eb93
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x14000eb74
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x58]
mov r8, rsi
mov edx, 1
call fcn.140055cf8
cmp rsi, rax
jne 0x14000eb8e
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov ecx, 0xffffffff
cmovne ecx, edi
mov eax, ecx
jmp 0x14000eb93
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.14004afd0
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x140013780
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push r13
push r14
sub rsp, 0x178
mov rax, qword [0x1400a7328]
xor rax, rsp
mov qword [rsp + 0x150], rax
xor r13d, r13d
mov r14, rcx
cmp qword [rcx + 0x18], 0x10
jb 0x1400137ad
mov rcx, qword [rcx]
mov qword [rsp + 0x198], rbx
mov qword [rsp + 0x1a0], rbp
mov qword [rsp + 0x1a8], rsi
mov qword [rsp + 0x170], rdi
mov qword [rsp + 0x168], r12
mov qword [rsp + 0x160], r15
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x140013969
mov rdi, qword [r14 + 0x10]
test rdi, rdi
je 0x1400139f8
mov rbp, r13
lea r12, [0x140090a80]
nop dword [rax]
nop word [rax + rax]
mov rbx, 0xffffffffffffffff
inc rbx
cmp byte [r12 + rbx], r13b
jne 0x140013817
mov r15, qword [r14 + 0x18]
mov rsi, r14
cmp r15, 0x10
jb 0x140013830
mov rsi, qword [r14]
test rbx, rbx
je 0x140013896
cmp rbp, rdi
jae 0x140013896
xor edx, edx
lea rcx, [rsp + 0x50]
mov r8d, 0x100
call fcn.14004da80
lea rdx, [rbx + r12]
mov rcx, r12
cmp r12, rdx
je 0x140013870
nop dword [rax + rax]
movzx eax, byte [rcx]
inc rcx
mov byte [rsp + rax + 0x50], 1
cmp rcx, rdx
jne 0x140013860
lea rdx, [rdi + rsi]
lea rax, [rsi + rbp]
cmp rax, rdx
jae 0x140013896
nop dword [rax]
movzx ecx, byte [rax]
cmp byte [rsp + rcx + 0x50], r13b
jne 0x1400139b7
inc rax
cmp rax, rdx
jb 0x140013880
mov rax, 0xffffffffffffffff
cmp rax, 0xffffffffffffffff
mov qword [rsp + 0x38], r13
mov rbx, rdi
mov qword [rsp + 0x40], r13
cmovne rbx, rax
xorps xmm0, xmm0
cmp rdi, rbx
mov r8, rbx
movups xmmword [rsp + 0x28], xmm0
cmovb r8, rdi
mov rdx, r14
cmp r15, 0x10
jb 0x1400138d0
mov rdx, qword [r14]
lea rcx, [rsp + 0x28]
call fcn.1400034b0
cmp qword [rsp + 0x38], r13
je 0x14001391b
cmp qword [rsp + 0x40], 0x10
lea rcx, [rsp + 0x28]
cmovae rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x14001391b
cmp qword [rsp + 0x40], 0x10
lea rcx, [rsp + 0x28]
cmovae rcx, qword [rsp + 0x28]
call fcn.14005abec
test eax, eax
jne 0x1400139bf
mov rdx, qword [rsp + 0x40]
lea rbp, [rbx + 1]
cmp rdx, 0x10
jb 0x14001395c
mov rcx, qword [rsp + 0x28]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140013957
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400139ff
call fcn.14004b39c
mov rdi, qword [r14 + 0x10]
cmp rbp, rdi
jb 0x140013810
mov al, 1
mov r15, qword [rsp + 0x160]
mov r12, qword [rsp + 0x168]
mov rdi, qword [rsp + 0x170]
mov rsi, qword [rsp + 0x1a8]
mov rbp, qword [rsp + 0x1a0]
mov rbx, qword [rsp + 0x198]
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.14004afd0
add rsp, 0x178
pop r14
pop r13
ret
sub rax, rsi
jmp 0x14001389d
mov rdx, qword [rsp + 0x40]
cmp rdx, 0x10
jb 0x1400139f8
mov rcx, qword [rsp + 0x28]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400139f3
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400139ff
call fcn.14004b39c
xor al, al
jmp 0x14001396b
call fcn.14005275c
int3
Function at 0x140016470
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov r11, rsp
mov qword [r11 + 0x18], rbx
mov qword [r11 + 0x20], rsi
push rdi
sub rsp, 0xb0
mov rax, qword [0x1400a7328]
xor rax, rsp
mov qword [rsp + 0xa8], rax
mov rdi, rdx
mov rsi, rcx
mov qword [r11 - 0x38], rdx
mov rdx, qword [rdx]
add rdx, 8
lea rcx, [r11 - 0x30]
call fcn.1400032d0
nop
lea rdx, [rsp + 0x88]
cmp qword [rsp + 0xa0], 0x10
cmovae rdx, qword [rsp + 0x88]
xor ecx, ecx
movabs r9, 0xcbf29ce484222325
mov r8, qword [rsp + 0x98]
test r8, r8
je 0x140016503
movabs r10, 0x100000001b3
nop dword [rax]
movzx eax, byte [rcx + rdx]
xor r9, rax
imul r9, r10
inc rcx
cmp rcx, r8
jb 0x1400164f0
lea r8, [rsp + 0x88]
lea rdx, [rsp + 0x20]
lea rcx, [rsi + 0xf0]
call fcn.140026470
mov rcx, qword [rax + 8]
test rcx, rcx
jne 0x14001652c
mov rcx, qword [rsi + 0xf8]
lea r8, [rsp + 0x88]
cmp rcx, qword [rsi + 0xf8]
jne 0x140016621
lea rdx, [rsp + 0x30]
lea rcx, [rsi + 0xf0]
call fcn.14001e5f0
mov rcx, qword [rax]
add rcx, 0x30
mov rdx, rdi
call fcn.140019810
nop
mov rdx, qword [rsp + 0xa0]
cmp rdx, 0x10
jb 0x1400165a1
inc rdx
mov rcx, qword [rsp + 0x88]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001659c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001661b
call fcn.14004b39c
mov qword [rsp + 0x98], 0
mov qword [rsp + 0xa0], 0xf
mov byte [rsp + 0x88], 0
mov rbx, qword [rdi + 8]
test rbx, rbx
je 0x1400165f6
mov edi, 0xffffffff
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x1400165f6
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x1400165f6
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
mov rcx, qword [rsp + 0xa8]
xor rcx, rsp
call fcn.14004afd0
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
call fcn.14005275c
nop
lea rdx, str.logger_with_name_
lea rcx, [rsp + 0x60]
call fcn.140009810
nop
lea r8, str._already_exists
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.140009730
mov rcx, rax
call fcn.140013690
int3