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

Disassembly:
sub rdx, r8
sub rcx, r8
mov r10, r9
shr r9, 4
je 0x14003fa35
nop
movdqu xmm0, xmmword [rdx + r8]
pxor xmm0, xmmword [r8]
movdqu xmmword [rcx + r8], xmm0
movdqa xmmword [r8], xmm0
lea r8, [r8 + 0x10]
dec r9
jne 0x14003fa10
and r10, 0xf
je 0x14003fa65
mov r9d, reloc.WS2_32.dll_recv
sub r9, r10
xor eax, eax
mov al, byte [rdx + r8]
xor al, byte [r8]
mov byte [rcx + r8], al
mov byte [r8], al
lea r8, [r8 + 1]
dec r10
jne 0x14003fa40
xor eax, eax
mov byte [r8], al
lea r8, [r8 + 1]
dec r9
jne 0x14003fa59
mov rax, r8
repz ret

Function at 0x14003fa70
Capabilities:
Encode data using xor

Disassembly:
sub rdx, r8
sub rcx, r8
mov r10, r9
shr r9, 4
je 0x14003faad
nop
movdqu xmm0, xmmword [rdx + r8]
movdqa xmm1, xmmword [r8]
pxor xmm1, xmm0
movdqu xmmword [rcx + r8], xmm1
movdqa xmmword [r8], xmm0
lea r8, [r8 + 0x10]
dec r9
jne 0x14003fa80
pxor xmm1, xmm1
and r10, 0xf
je 0x14003fae3
mov r9d, reloc.WS2_32.dll_recv
sub r9, r10
xor eax, eax
xor r11, r11
mov r11b, byte [rdx + r8]
mov al, byte [r8]
xor al, r11b
mov byte [rcx + r8], al
mov byte [r8], r11b
lea r8, [r8 + 1]
dec r10
jne 0x14003fabb
xor eax, eax
mov byte [r8], al
lea r8, [r8 + 1]
dec r9
jne 0x14003fad7
mov rax, r8
repz ret
Function at 0x1400765b0
Capabilities:
Check if file exists
Create directory
Get common file path
Get file attributes

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x470
mov rax, qword [0x140344548]
xor rax, rsp
mov qword [rsp + 0x460], rax
movzx ebp, r8b
mov rsi, rdx
mov rdi, rcx
xor edx, edx
mov r8d, 0x410
lea rcx, [rsp + 0x50]
call sub.VCRUNTIME140.dll_memset
xor ebx, ebx
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x48], rbx
mov r8, rsi
test rsi, rsi
jne 0x140076678
test bpl, bpl
jne 0x140076678
mov qword [rsp + 0x38], rbx
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov rcx, rax
lea r9, [rsp + 0x38]
lea edx, [rsi + 6]
lea r8d, [rsi + 1]
call qword [sym.imp.ADVAPI32.dll_OpenThreadToken]
test eax, eax
setne bl
test eax, eax
je 0x140076665
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea r9d, [rsi + 2]
xor r8d, r8d
mov dword [rsp + 0x20], 1
mov edx, 0xf01ff
call qword [sym.imp.ADVAPI32.dll_DuplicateTokenEx]
mov rcx, qword [rsp + 0x38]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
jne 0x140076673
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x1400766e7
mov r8, qword [rsp + 0x40]
lea r9, [rsp + 0x48]
mov edx, 0x8000
lea rcx, [0x140296550]
call sub.SHELL32.dll_SHGetKnownFolderPath
test eax, eax
js 0x1400766e7
mov rdx, qword [rsp + 0x48]
lea rcx, [rsp + 0x50]
mov bl, 1
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
lea rdx, [0x14027c870]
lea rcx, [rsp + 0x50]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
lea rdx, str.PDF_Pro
lea rcx, [rsp + 0x50]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
lea rdx, [0x14027c890]
lea rcx, [rsp + 0x50]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
lea rcx, [rsp + 0x50]
call qword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
jmp 0x1400766e9
xor bl, bl
test rsi, rsi
jne 0x1400766fe
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x1400766fe
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test bl, bl
je 0x140076765
lea rax, [0x14027b0c0]
mov edx, 0x208
lea r9, [rsp + 0x50]
mov qword [rsp + 0x20], rax
lea r8, [0x14027cd40]
mov rcx, rdi
call fcn.140076c70
test eax, eax
jle 0x140076765
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140076740
shr eax, 4
test al, 1
jne 0x140076761
xor r8d, r8d
mov rdx, rdi
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_GetLastError]
test ebx, ebx
jns 0x140076761
cmp eax, 0xb7
jne 0x140076765
mov al, 1
jmp 0x140076767
xor al, al
mov rcx, qword [rsp + 0x460]
xor rcx, rsp
call fcn.140266400
mov rbx, qword [rsp + 0x4a0]
add rsp, 0x470
pop rdi
pop rsi
pop rbp
ret
Function at 0x140085820
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0xa80
mov rax, qword [0x140344548]
xor rax, rsp
mov qword [rsp + 0xa70], rax
mov rdi, rdx
mov rbx, rcx
mov rax, qword [rcx]
call qword [rax + gethostname]
test al, al
jne 0x14008585f
mov eax, 2
jmp 0x1400859e6
xor ebp, ebp
mov dword [rsp + 0x34], ebp
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x28]
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + reloc.WS2_32.dll_recv]
mov r15, rax
nop word [rax + rax]
xor edx, edx
mov r8d, 0x800
lea rcx, [rsp + 0x270]
call sub.VCRUNTIME140.dll_memset
mov qword [rsp + 0x20], rbp
lea r9, [rsp + 0x34]
mov r8d, 0x800
lea rdx, [rsp + 0x270]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test ebx, ebx
jne 0x1400858cf
cmp eax, 0xea
jne 0x140085962
mov ecx, dword [rsp + 0x34]
test ecx, ecx
je 0x1400859a4
mov rsi, qword [rdi + 8]
mov r8, qword [rdi]
mov rbx, rsi
sub rbx, r8
mov byte [rsp + 0x30], bpl
mov r14d, ecx
lea rdx, [rcx + rbx]
cmp rdx, rbx
jae 0x1400858ff
lea rax, [r8 + rdx]
jmp 0x140085935
jbe 0x140085939
mov rax, qword [rdi + 0x10]
sub rax, r8
cmp rdx, rax
jbe 0x140085920
lea r8, [rsp + 0x30]
mov rcx, rdi
call fcn.140076b10
mov ecx, dword [rsp + 0x34]
jmp 0x140085939
mov r8, r14
xor edx, edx
mov rcx, rsi
call sub.VCRUNTIME140.dll_memset
lea rax, [r14 + rsi]
mov ecx, dword [rsp + 0x34]
mov qword [rdi + 8], rax
mov r8d, ecx
mov rcx, qword [rdi]
add rcx, rbx
lea rdx, [rsp + 0x270]
call sub.VCRUNTIME140.dll_memcpy
cmp dword [rsp + 0x34], 0x800
jb 0x1400859e4
jmp 0x140085880
mov ebp, 5
xor r8d, r8d
lea edx, [rbp - 1]
lea rcx, [rsp + 0x40]
call fcn.14025e800
nop
lea rcx, [rsp + 0x40]
call fcn.14025f760
test al, al
je 0x1400859a2
lea rdx, str.Pipe_read_failed__lastError
lea rcx, [rsp + 0x40]
call fcn.140255d20
mov edx, esi
mov rcx, rax
call fcn.140255c30
nop
jmp 0x1400859da
mov ebp, 5
xor r8d, r8d
lea edx, [rbp - 1]
lea rcx, [rsp + 0x40]
call fcn.14025e800
nop
lea rcx, [rsp + 0x40]
call fcn.14025f760
test al, al
je 0x1400859da
lea rdx, str.Pipe_read_returned_zero_bytes
lea rcx, [rsp + 0x40]
call fcn.140255d20
nop
lea rcx, [rsp + 0x40]
call fcn.140255600
mov eax, ebp
mov rcx, qword [rsp + 0xa70]
xor rcx, rsp
call fcn.140266400
mov rbx, qword [rsp + 0xac0]
add rsp, 0xa80
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x140086460
Capabilities:
Write file on windows

Disassembly:
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x280
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x290], rbx
mov rax, qword [0x140344548]
xor rax, rbp
mov qword [rbp + 0x240], rax
mov r15, rdx
mov rsi, rcx
mov rax, qword [rcx]
call qword [rax + gethostname]
test al, al
je 0x1400865bc
mov rcx, qword [r15]
mov rax, qword [rcx]
xor r8d, r8d
xor edx, edx
call qword [rax + reloc.WS2_32.dll_htonl]
mov rdi, rax
add rdi, 0x10
je 0x1400865bc
lea rax, [rdi + 0xf]
cmp rax, rdi
ja 0x1400864ce
movabs rax, 0xffffffffffffff0
and rax, 0xfffffffffffffff0
call fcn.1402663a0
sub rsp, rax
lea r14, [rsp + 0x30]
test r14, r14
jne 0x1400864ed
lea eax, [r14 + 6]
jmp 0x1400865c1
mov r8, rdi
xor edx, edx
mov rcx, r14
call sub.VCRUNTIME140.dll_memset
mov rbx, qword [r15]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x18]
mov word [r14], ax
mov rax, qword [rbx]
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call qword [rax + reloc.WS2_32.dll_htonl]
mov qword [r14 + 8], rax
mov rcx, qword [r15]
mov rax, qword [rcx]
lea r8, [rdi - 0x10]
lea rdx, [r14 + 0x10]
call qword [rax + reloc.WS2_32.dll_htonl]
xor ebx, ebx
mov dword [rbp], ebx
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x28]
mov r9, qword [rax]
mov rcx, rax
call qword [r9 + reloc.WS2_32.dll_htonl]
mov qword [rsp + 0x20], rbx
lea r9, [rbp]
mov r8d, edi
mov rdx, r14
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x14008656a
cmp dword [rbp], ebx
je 0x14008656a
xor eax, eax
jmp 0x1400865c1
xor r8d, r8d
lea edx, [r8 + 4]
lea rcx, [rbp + 0x10]
call fcn.14025e800
nop
lea rcx, [rbp + 0x10]
call fcn.14025f760
test al, al
je 0x1400865ac
lea rdx, str.Pipe_write_filed__lastError
lea rcx, [rbp + 0x10]
call fcn.140255d20
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
mov rcx, rbx
call fcn.140255c30
nop
lea rcx, [rbp + 0x10]
call fcn.140255600
mov eax, 4
jmp 0x1400865c1
mov eax, 2
mov rcx, qword [rbp + 0x240]
xor rcx, rbp
call fcn.140266400
mov rbx, qword [rbp + 0x290]
lea rsp, [rbp + 0x250]
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x14008c220
Capabilities:
Terminate thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov ebp, edx
mov rbx, rcx
lea rax, vtable.Creator::ConversionThread.0
mov qword [rcx], rax
xor edi, edi
cmp dword [rcx + 0x78], edi
je 0x14008c2c1
mov dword [rcx + 0x78], 2
cmp qword [rcx + 0x88], rdi
je 0x14008c28c
mov rcx, qword [rcx + 0x80]
call qword [sym.imp.KERNEL32.dll_SetEvent]
mov edx, 0x3e8
mov rcx, qword [rbx + 0x88]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x14008c28c
xor edx, edx
mov rcx, qword [rbx + 0x88]
call qword [sym.imp.KERNEL32.dll_TerminateThread]
mov rcx, qword [rbx + 0x80]
test rcx, rcx
je 0x14008c2a5
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx + 0x80], rdi
mov rcx, qword [rbx + 0x88]
test rcx, rcx
je 0x14008c2be
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx + 0x88], rdi
mov dword [rbx + 0x78], edi
lea rdx, [rbx + 0x90]
mov rcx, qword [rbx + 0xc8]
test rcx, rcx
je 0x14008c2e7
mov rax, qword [rcx]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
mov qword [rbx + 0xc8], rdi
lea rcx, [rbx + 0x28]
call sub.MSVCP140.dll__Mtx_destroy_in_situ
nop
mov rdi, qword [rbx + 0x20]
test rdi, rdi
je 0x14008c326
mov esi, 0xffffffff
mov eax, esi
lock xadd dword [rdi + 8], eax
cmp eax, 1
jne 0x14008c326
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax]
lock xadd dword [rdi + 0xc], esi
cmp esi, 1
jne 0x14008c326
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + reloc.WS2_32.dll_htonl]
lea rcx, [rbx + 8]
call fcn.14008bfd0
lea rax, vtable.Creator::IConversionWatcher.0
mov qword [rbx], rax
test bpl, 1
je 0x14008c34c
mov edx, 0xd0
mov rcx, rbx
call fcn.140082030
mov rax, rbx
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x14008cbb0
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x40
mov rax, qword [0x140344548]
xor rax, rsp
mov qword [rsp + 0x38], rax
cmp qword [rcx + 0x88], 0
mov rbx, rcx
jne 0x14008cc8e
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rbx + 0x80], rax
test rax, rax
je 0x14008cc8e
mov qword [rsp + 0x58], rdi
pause
mov rax, qword [rbx + 0x80]
test rax, rax
setne dil
test rax, rax
je 0x14008cc72
xor ecx, ecx
mov dword [rbx + 0x78], 3
lea rax, [rsp + 0x30]
mov dword [rsp + 0x30], ecx
mov qword [rsp + 0x28], rax
lea r8, [0x14008c450]
mov r9, rbx
mov dword [rsp + 0x20], ecx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rbx + 0x88], rax
test rax, rax
je 0x14008cc67
pause
movzx eax, dil
mov rdi, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140266400
add rsp, 0x40
pop rbx
ret
mov rcx, rbx
call fcn.14008c400
xor dil, dil
movzx eax, dil
mov rdi, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140266400
add rsp, 0x40
pop rbx
ret
xor al, al
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140266400
add rsp, 0x40
pop rbx
ret
Function at 0x14008ccb0
Capabilities:
Terminate thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x88], 0
mov rbx, rcx
mov dword [rcx + 0x78], 2
mov dil, 1
je 0x14008cd0b
mov rcx, qword [rcx + 0x80]
call qword [sym.imp.KERNEL32.dll_SetEvent]
mov rcx, qword [rbx + 0x88]
mov edx, 0x3e8
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x14008cd0b
mov rcx, qword [rbx + 0x88]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateThread]
xor dil, dil
mov rcx, qword [rbx + 0x80]
xor esi, esi
test rcx, rcx
je 0x14008cd26
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx + 0x80], rsi
mov rcx, qword [rbx + 0x88]
test rcx, rcx
je 0x14008cd3f
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx + 0x88], rsi
mov dword [rbx + 0x78], esi
movzx eax, dil
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x14008fe00
Capabilities:
Terminate thread

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
mov rbx, rcx
lea rax, vtable.Exchange::PipeAsyncBase.0
mov qword [rcx], rax
mov rcx, qword [rcx + 0x10]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx + 0x10], 0
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.WS2_32.dll_htonl]
test al, al
je 0x14008fe62
mov eax, 1
xchg byte [rbx + 0x18], al
mov edx, 0xbb8
mov rcx, qword [rbx + 8]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x14008fe5d
xor edx, edx
mov rcx, qword [rbx + 8]
call qword [sym.imp.KERNEL32.dll_TerminateThread]
xor eax, eax
xchg byte [rbx + 0x18], al
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x14008fe79
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx + 8], 0
mov rbx, qword [rbx + 0x28]
test rbx, rbx
je 0x14008feaf
mov edi, 0xffffffff
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x14008feaf
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x14008feaf
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.WS2_32.dll_htonl]
nop
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x140091b70
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0xa80
mov rax, qword [0x140344548]
xor rax, rsp
mov qword [rsp + 0xa70], rax
mov rdi, rdx
mov rbx, rcx
mov rax, qword [rcx]
call qword [rax + gethostname]
test al, al
jne 0x140091baf
mov eax, 2
jmp 0x140091d5a
xor ebp, ebp
mov dword [rsp + 0x34], ebp
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x28]
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + reloc.WS2_32.dll_recv]
mov r15, rax
nop word [rax + rax]
xor edx, edx
mov r8d, 0x800
lea rcx, [rsp + 0x270]
call sub.VCRUNTIME140.dll_memset
mov qword [rsp + 0x20], rbp
lea r9, [rsp + 0x34]
mov r8d, 0x800
lea rdx, [rsp + 0x270]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test ebx, ebx
jne 0x140091c1f
cmp eax, 0xea
jne 0x140091cb2
mov ecx, dword [rsp + 0x34]
test ecx, ecx
je 0x140091d06
mov rsi, qword [rdi + 8]
mov r8, qword [rdi]
mov rbx, rsi
sub rbx, r8
mov byte [rsp + 0x30], bpl
mov r14d, ecx
lea rdx, [rcx + rbx]
cmp rdx, rbx
jae 0x140091c4f
lea rax, [r8 + rdx]
jmp 0x140091c85
jbe 0x140091c89
mov rax, qword [rdi + 0x10]
sub rax, r8
cmp rdx, rax
jbe 0x140091c70
lea r8, [rsp + 0x30]
mov rcx, rdi
call fcn.140076b10
mov ecx, dword [rsp + 0x34]
jmp 0x140091c89
mov r8, r14
xor edx, edx
mov rcx, rsi
call sub.VCRUNTIME140.dll_memset
lea rax, [r14 + rsi]
mov ecx, dword [rsp + 0x34]
mov qword [rdi + 8], rax
mov r8d, ecx
mov rcx, qword [rdi]
add rcx, rbx
lea rdx, [rsp + 0x270]
call sub.VCRUNTIME140.dll_memcpy
cmp dword [rsp + 0x34], 0x800
jb 0x140091d58
jmp 0x140091bd0
mov ebp, 5
xor edx, edx
mov r8d, 0x230
lea rcx, [rsp + 0x40]
call sub.VCRUNTIME140.dll_memset
xor r8d, r8d
lea edx, [rbp - 1]
lea rcx, [rsp + 0x40]
call fcn.14025e800
nop
lea rcx, [rsp + 0x40]
call fcn.14025f760
test al, al
je 0x140091d04
lea rdx, str.Pipe_read_failed__lastError
lea rcx, [rsp + 0x40]
call fcn.140255d20
mov edx, esi
mov rcx, rax
call fcn.140255c30
nop
jmp 0x140091d4e
mov ebp, 5
xor edx, edx
mov r8d, 0x230
lea rcx, [rsp + 0x40]
call sub.VCRUNTIME140.dll_memset
xor r8d, r8d
lea edx, [rbp - 1]
lea rcx, [rsp + 0x40]
call fcn.14025e800
nop
lea rcx, [rsp + 0x40]
call fcn.14025f760
test al, al
je 0x140091d4e
lea rdx, str.Pipe_read_returned_zero_bytes
lea rcx, [rsp + 0x40]
call fcn.140255d20
nop
lea rcx, [rsp + 0x40]
call fcn.140255600
mov eax, ebp
mov rcx, qword [rsp + 0xa70]
xor rcx, rsp
call fcn.140266400
mov rbx, qword [rsp + 0xac0]
add rsp, 0xa80
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x140092590
Capabilities:
Write file on windows

Disassembly:
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x280
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x290], rbx
mov rax, qword [0x140344548]
xor rax, rbp
mov qword [rbp + 0x240], rax
mov r15, rdx
mov rsi, rcx
mov rax, qword [rcx]
call qword [rax + gethostname]
test al, al
je 0x1400926fd
mov rcx, qword [r15]
mov rax, qword [rcx]
xor r8d, r8d
xor edx, edx
call qword [rax + reloc.WS2_32.dll_htonl]
mov rdi, rax
add rdi, 0x10
je 0x1400926fd
lea rax, [rdi + 0xf]
cmp rax, rdi
ja 0x1400925fe
movabs rax, 0xffffffffffffff0
and rax, 0xfffffffffffffff0
call fcn.1402663a0
sub rsp, rax
lea r14, [rsp + 0x30]
test r14, r14
jne 0x14009261d
lea eax, [r14 + 6]
jmp 0x140092702
mov r8, rdi
xor edx, edx
mov rcx, r14
call sub.VCRUNTIME140.dll_memset
mov rbx, qword [r15]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x18]
mov word [r14], ax
mov rax, qword [rbx]
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call qword [rax + reloc.WS2_32.dll_htonl]
mov qword [r14 + 8], rax
mov rcx, qword [r15]
mov rax, qword [rcx]
lea r8, [rdi - 0x10]
lea rdx, [r14 + 0x10]
call qword [rax + reloc.WS2_32.dll_htonl]
xor ebx, ebx
mov dword [rbp], ebx
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x28]
mov r9, qword [rax]
mov rcx, rax
call qword [r9 + reloc.WS2_32.dll_htonl]
mov qword [rsp + 0x20], rbx
lea r9, [rbp]
mov r8d, edi
mov rdx, r14
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x14009269a
cmp dword [rbp], ebx
je 0x14009269a
xor eax, eax
jmp 0x140092702
xor edx, edx
mov r8d, 0x230
lea rcx, [rbp + 0x10]
call sub.VCRUNTIME140.dll_memset
xor r8d, r8d
lea edx, [r8 + 4]
lea rcx, [rbp + 0x10]
call fcn.14025e800
nop
lea rcx, [rbp + 0x10]
call fcn.14025f760
test al, al
je 0x1400926ed
lea rdx, str.Pipe_write_filed__lastError
lea rcx, [rbp + 0x10]
call fcn.140255d20
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
mov rcx, rbx
call fcn.140255c30
nop
lea rcx, [rbp + 0x10]
call fcn.140255600
mov eax, 4
jmp 0x140092702
mov eax, 2
mov rcx, qword [rbp + 0x240]
xor rcx, rbp
call fcn.140266400
mov rbx, qword [rbp + 0x290]
lea rsp, [rbp + 0x250]
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x140092d10
Capabilities:
Create thread
Terminate thread

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x280
mov rax, qword [0x140344548]
xor rax, rsp
mov qword [rsp + 0x270], rax
mov rbx, rcx
cmp qword [rcx + 8], 0
je 0x140092d8e
xor edx, edx
mov r8d, 0x230
lea rcx, [rsp + 0x40]
call sub.VCRUNTIME140.dll_memset
xor r8d, r8d
lea edx, [r8 + 1]
lea rcx, [rsp + 0x40]
call fcn.14025e800
nop
lea rcx, [rsp + 0x40]
call fcn.14025f760
test al, al
je 0x140092d7d
lea rdx, str.Thread_is_already_started
lea rcx, [rsp + 0x40]
call fcn.140255d20
nop
lea rcx, [rsp + 0x40]
call fcn.140255600
xor al, al
jmp 0x140092e10
mov dword [rsp + 0x30], 0
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0
mov r9, rbx
mov r8, qword [rcx + 0x30]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rbx + 8], rax
test rax, rax
setne dil
test rax, rax
je 0x140092df0
mov edx, 0xbb8
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x140092df0
mov edx, 0xffffffff
mov rcx, qword [rbx + 8]
call qword [sym.imp.KERNEL32.dll_TerminateThread]
xor dil, dil
jmp 0x140092df5
test dil, dil
jne 0x140092e0c
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x140092e0c
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx + 8], 0
movzx eax, dil
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.140266400
mov rbx, qword [rsp + 0x298]
add rsp, 0x280
pop rdi
ret
Function at 0x1400933f0
Capabilities:
Terminate thread

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
mov rax, qword [rcx]
mov rdi, rcx
call qword [rax + reloc.WS2_32.dll_htonl]
test al, al
je 0x140093433
mov eax, 1
mov edx, 0xbb8
xchg byte [rdi + 0x18], al
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x14009342e
mov rcx, qword [rdi + 8]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateThread]
xor eax, eax
xchg byte [rdi + 0x18], al
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x14009344a
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rdi + 8], 0
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x140094170
Capabilities:
Delete file
Query environment variable

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
lea rcx, str.NITRO_LOG_LEVEL
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
test rax, rax
je 0x1400941ba
xor ecx, ecx
lea r8, str.trace
nop dword [rax]
nop dword [rax + rax]
movzx edx, byte [rax + rcx]
inc rcx
cmp dl, byte [r8 + rcx - 1]
jne 0x1400941ba
cmp rcx, 6
jne 0x1400941a0
add rsp, 0x20
pop rbx
ret
cmp qword [rbx + 0x18], 8
jb 0x1400941c4
mov rbx, qword [rbx]
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_DeleteFileW]

Function at 0x1400963f0
Capabilities:
Delete file

Disassembly:
add rcx, 0x10
jmp 0x1400963f0
push rbx
sub rsp, 0x40
mov rbx, rcx
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_FlushFileBuffers]
mov rcx, qword [rbx]
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x14009641c
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx], 0xffffffffffffffff
cmp byte [rbx + 0x28], 0
jne 0x140096470
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x30], xmm1
mov r8d, reloc.WS2_32.dll_ntohl
lea rdx, str.KeepSpoolFiles
lea rcx, [rsp + 0x20]
call fcn.1400768b0
lea rcx, [rsp + 0x20]
call fcn.1400c0090
test al, al
je 0x140096470
lea rcx, [rbx + 8]
cmp qword [rcx + 0x18], 8
jb 0x140096466
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov byte [rbx + 0x28], 1
lea rcx, [rbx + 8]
add rsp, 0x40
pop rbx
jmp fcn.140087170

Function at 0x1400964c0
Capabilities:
Delete file

Disassembly:
push rbx
sub rsp, 0x40
cmp byte [rcx + 0x28], 0
mov rbx, rcx
jne 0x14009651e
xor eax, eax
lea rdx, str.KeepSpoolFiles
xorps xmm0, xmm0
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x38], rax
movups xmmword [rsp + 0x20], xmm0
lea r8d, [rax + 0xe]
call fcn.1400768b0
lea rcx, [rsp + 0x20]
call fcn.1400c0090
test al, al
je 0x14009651e
cmp qword [rbx + 0x20], 8
lea rcx, [rbx + 8]
jb 0x140096514
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov byte [rbx + 0x28], 1
add rsp, 0x40
pop rbx
ret
Function at 0x1400a05d0
Capabilities:
Hash data using fnv

Disassembly:
mov dword [rsp + 0x10], edx
mov r11, rsp
sub rsp, 0x268
mov rax, qword [0x140344548]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov r9, rcx
movzx r8d, dl
movabs rax, 0xcbf29ce484222325
xor r8, rax
movabs rcx, 0x100000001b3
imul r8, rcx
movzx eax, byte [r11 + 0x11]
xor r8, rax
imul r8, rcx
movzx eax, byte [r11 + 0x12]
xor r8, rax
imul r8, rcx
movzx eax, byte [r11 + 0x13]
xor r8, rax
imul r8, rcx
mov rcx, qword [0x14034ee10]
and rcx, r8
shl rcx, 4
add rcx, qword [0x14034edf8]
mov rax, qword [rcx + 8]
mov r8, qword [0x14034ede8]
cmp rax, r8
je 0x1400a0673
mov rcx, qword [rcx]
cmp edx, dword [rax + 0x10]
je 0x1400a0675
cmp rax, rcx
je 0x1400a0673
mov rax, qword [rax + 8]
cmp edx, dword [rax + 0x10]
jne 0x1400a0663
jmp 0x1400a0675
xor eax, eax
mov rdx, r8
test rax, rax
cmovne rdx, rax
cmp rdx, r8
jne 0x1400a06f8
xor r8d, r8d
lea edx, [r8 + 4]
lea rcx, [rsp + 0x20]
call fcn.14025e800
nop
lea rcx, [rsp + 0x20]
call fcn.14025f760
test al, al
je 0x1400a06d4
lea rdx, str.nitro::licensing::license_nalpeiron_v10::IsModuleActive
lea rcx, [rsp + 0x20]
call fcn.140255d20
lea rdx, [0x14027f2a8]
mov rcx, rax
call fcn.140255d20
lea rdx, str.Feature_Id_for_module_is_missing
mov rcx, rax
call fcn.140255d20
nop
lea rcx, [rsp + 0x20]
call fcn.140255600
xor al, al
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.140266400
add rsp, 0x268
ret
mov rcx, qword [r9 + 8]
test rcx, rcx
je 0x1400a06de
add rdx, 0x18
call fcn.1400dfea0
test al, al
je 0x1400a06de
mov al, 1
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.140266400
add rsp, 0x268
ret