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

Disassembly:
mov r11, rsp
mov qword [r11 + 0x20], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0xc0
mov rax, qword [0x14016f0a8]
xor rax, rsp
mov qword [rsp + 0xb0], rax
mov r15, r8
mov rdi, rdx
mov r14, rcx
xor ebx, ebx
mov ebp, ebx
mov dword [rsp + 0x40], ebx
xorps xmm0, xmm0
movups xmmword [r11 - 0x68], xmm0
movups xmmword [r11 - 0x58], xmm0
movups xmmword [r11 - 0x48], xmm0
mov dword [rsp + 0x78], ebx
mov edx, 4
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov eax, dword [rdx + rcx]
cmp dword [0x1401773ec], eax
jle 0x14009c6e6
lea rcx, [0x1401773ec]
call fcn.1400a4370
cmp dword [0x1401773ec], 0xffffffff
jne 0x14009c6e6
call fcn.1400a1910
mov rcx, rax
lea rdx, str.NtQueryInformationThread
call fcn.1400a19a0
mov qword [0x140177370], rax
lea rcx, [0x1401773ec]
call fcn.1400a4304
mov rcx, qword [0x140177370]
test rcx, rcx
jne 0x14009c70c
mov rax, qword gs:[0x30]
mov dword [rax + 0x1250], 0xc0000138
xor eax, eax
jmp 0x14009c867
lea rax, [rsp + 0x78]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], 0x30
lea rax, [rsp + 0x80]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8, rdi
lea edx, [r9 + 5]
call fcn.1400a18d0
cmp dword [rsp + 0x78], ebx
jbe 0x14009c845
call fcn.1400716a0
mov rdi, rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x60], rbx
mov r8d, 0x1a
lea rdx, str.NtWow64ReadVirtualMemory64
lea rcx, [rsp + 0x48]
call fcn.1400025f0
nop
mov ebp, 1
mov dword [rsp + 0x40], ebp
call fcn.14008abf0
lea rsi, [rdi + 0x40]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea rdx, [rsp + 0x48]
cmp qword [rsp + 0x60], 0x10
cmovae rdx, qword [rsp + 0x48]
movabs r9, 0xcbf29ce484222325
mov rcx, rbx
mov r8, qword [rsp + 0x58]
test r8, r8
je 0x14009c7e3
movabs r10, 0x100000001b3
nop dword [rax]
nop dword [rax + rax]
movzx eax, byte [rcx + rdx]
xor r9, rax
imul r9, r10
inc rcx
cmp rcx, r8
jb 0x14009c7d0
lea r8, [rsp + 0x48]
lea rdx, [rsp + 0x68]
mov rcx, rdi
call fcn.140071f60
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x14009c83c
cmp rdx, qword [rdi + 8]
je 0x14009c83c
mov rdi, qword [rdx + 0x30]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test rdi, rdi
je 0x14009c845
mov qword [rsp + 0x20], rbx
mov r9d, 0x1838
mov r8, r15
mov rdx, qword [rsp + 0x88]
mov rcx, qword [r14 + 8]
call rdi
test eax, eax
js 0x14009c845
movzx edi, bpl
jmp 0x14009c848
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor dil, dil
test bpl, 1
je 0x14009c858
lea rcx, [rsp + 0x48]
call fcn.140002500
test dil, dil
cmovne rbx, qword [rsp + 0x88]
mov rax, rbx
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.1400a3fe0
mov rbx, qword [rsp + 0x108]
add rsp, 0xc0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x14009c890
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0xa0
mov rax, qword [0x14016f0a8]
xor rax, rsp
mov qword [rsp + 0x90], rax
mov rbx, r8
mov r14, rdx
mov rbp, rcx
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rsp + 0x80], xmm0
call fcn.1400716a0
mov rdi, rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x48], 0
mov r8d, 0x14
lea rdx, str.NtQueryVirtualMemory
lea rcx, [rsp + 0x30]
call fcn.1400025f0
nop
call fcn.14008abf0
lea rsi, [rdi + 0x40]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea rdx, [rsp + 0x30]
cmp qword [rsp + 0x48], 0x10
cmovae rdx, qword [rsp + 0x30]
xor ecx, ecx
movabs r9, 0xcbf29ce484222325
mov r8, qword [rsp + 0x40]
test r8, r8
je 0x14009c963
movabs r10, 0x100000001b3
nop dword [rax + rax]
movzx eax, byte [rcx + rdx]
xor r9, rax
imul r9, r10
inc rcx
cmp rcx, r8
jb 0x14009c950
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x50]
mov rcx, rdi
call fcn.140071f60
mov r8, qword [rax + 8]
test r8, r8
je 0x14009c9bd
cmp r8, qword [rdi + 8]
je 0x14009c9bd
mov rdi, qword [r8 + 0x30]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test rdi, rdi
je 0x14009c9c6
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0x30
lea r9, [rsp + 0x60]
xor r8d, r8d
mov rdx, r14
mov rcx, qword [rbp + 8]
call rdi
mov edi, eax
jmp 0x14009c9cb
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov edi, 0xc0000138
lea rcx, [rsp + 0x30]
call fcn.140002500
test edi, edi
je 0x14009c9dd
mov eax, edi
jmp 0x14009ca1e
mov rax, qword [rsp + 0x68]
mov qword [rbx + 8], rax
mov eax, dword [rsp + 0x70]
mov dword [rbx + 0x10], eax
mov rax, qword [rsp + 0x60]
mov qword [rbx], rax
mov eax, dword [rsp + 0x84]
mov dword [rbx + 0x24], eax
mov rax, qword [rsp + 0x78]
mov qword [rbx + 0x18], rax
mov eax, dword [rsp + 0x80]
mov dword [rbx + 0x20], eax
mov eax, dword [rsp + 0x88]
mov dword [rbx + 0x28], eax
xor eax, eax
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.1400a3fe0
add rsp, 0xa0
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x14009ca50
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov r11, rsp
mov qword [r11 + 0x18], rbx
mov qword [r11 + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0xb0
mov rax, qword [0x14016f0a8]
xor rax, rsp
mov qword [rsp + 0xa0], rax
mov rsi, rdx
mov rbp, rcx
xor r14d, r14d
mov dword [rsp + 0x30], r14d
xorps xmm0, xmm0
movups xmmword [rsp + 0x68], xmm0
movups xmmword [rsp + 0x78], xmm0
movups xmmword [r11 - 0x40], xmm0
mov dword [r11 - 0x30], r14d
call fcn.1400716a0
mov rdi, rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x50], r14
lea r8d, [r14 + 0x19]
lea rdx, str.NtQueryInformationProcess
lea rcx, [rsp + 0x38]
call fcn.1400025f0
nop
mov dword [rsp + 0x30], 1
call fcn.14008abf0
lea rbx, [rdi + 0x40]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea rdx, [rsp + 0x38]
cmp qword [rsp + 0x50], 0x10
cmovae rdx, qword [rsp + 0x38]
movabs r9, 0xcbf29ce484222325
mov ecx, r14d
mov r8, qword [rsp + 0x48]
test r8, r8
je 0x14009cb33
movabs r10, 0x100000001b3
nop dword [rax + rax]
movzx eax, byte [rcx + rdx]
xor r9, rax
imul r9, r10
inc rcx
cmp rcx, r8
jb 0x14009cb20
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0x58]
mov rcx, rdi
call fcn.140071f60
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x14009cb9a
cmp rdx, qword [rdi + 8]
je 0x14009cb9a
mov rdi, qword [rdx + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test rdi, rdi
je 0x14009cba3
lea rbx, [rbp + 8]
lea rax, [rsp + 0x98]
mov qword [rsp + 0x20], rax
mov r9d, 0x30
lea r8, [rsp + 0x68]
xor edx, edx
mov rcx, qword [rbx]
call rdi
mov rcx, rbx
test eax, eax
js 0x14009cba7
test rsi, rsi
je 0x14009cba7
mov dil, 1
jmp 0x14009cbad
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea rcx, [rbp + 8]
xor dil, dil
mov rbx, rcx
lea rcx, [rsp + 0x38]
call fcn.140002500
test dil, dil
je 0x14009cbd8
mov qword [rsp + 0x20], r14
mov r9d, 0x250
mov r8, rsi
mov rdx, qword [rsp + 0x70]
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rax, qword [rsp + 0x70]
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.1400a3fe0
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x14009cc30
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov r11, rsp
mov qword [r11 + 0x20], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0xa0
mov rax, qword [0x14016f0a8]
xor rax, rsp
mov qword [rsp + 0x90], rax
mov rsi, r8
mov rbp, rdx
mov r14, rcx
xor r15d, r15d
mov dword [rsp + 0x30], r15d
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x68], xmm0
mov qword [r11 - 0x50], rax
mov dword [r11 - 0x48], eax
mov dword [r11 - 0x40], r15d
call fcn.1400716a0
mov rbx, rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
mov qword [rsp + 0x48], r15
mov qword [rsp + 0x50], r15
lea r8d, [r15 + 0x18]
lea rdx, str.NtQueryInformationThread
lea rcx, [rsp + 0x38]
call fcn.1400025f0
nop
mov dword [rsp + 0x30], 1
call fcn.14008abf0
lea rdi, [rbx + 0x40]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea rdx, [rsp + 0x38]
cmp qword [rsp + 0x50], 0x10
cmovae rdx, qword [rsp + 0x38]
movabs r9, 0xcbf29ce484222325
mov ecx, r15d
mov r8, qword [rsp + 0x48]
test r8, r8
je 0x14009cd13
movabs r10, 0x100000001b3
nop word [rax + rax]
movzx eax, byte [rcx + rdx]
xor r9, rax
imul r9, r10
inc rcx
cmp rcx, r8
jb 0x14009cd00
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0x58]
mov rcx, rbx
call fcn.140071f60
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x14009cd72
cmp rcx, qword [rbx + 8]
je 0x14009cd72
mov rbx, qword [rcx + 0x30]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test rbx, rbx
je 0x14009cd7b
lea rax, [rsp + 0x88]
mov qword [rsp + 0x20], rax
mov r9d, 0x1c
lea r8, [rsp + 0x68]
xor edx, edx
mov rcx, rbp
call rbx
test eax, eax
js 0x14009cd7b
test rsi, rsi
je 0x14009cd7b
mov bl, 1
jmp 0x14009cd7d
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor bl, bl
lea rcx, [rsp + 0x38]
call fcn.140002500
test bl, bl
je 0x14009cda7
mov edx, dword [rsp + 0x6c]
mov qword [rsp + 0x20], r15
mov r9d, 0x1000
mov r8, rsi
mov rcx, qword [r14 + 8]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov eax, dword [rsp + 0x6c]
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.1400a3fe0
mov rbx, qword [rsp + 0xe8]
add rsp, 0xa0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret

Function at 0x14009cde0
Capabilities:
Get system information on windows

Disassembly:
sub rsp, 0x68
mov rax, qword [0x14016f0a8]
xor rax, rsp
mov qword [rsp + 0x50], rax
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1400a3fe0
add rsp, 0x68
ret
Function at 0x14009d4d0
Capabilities:
Get common file path
Query environment variable

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x290]
sub rsp, 0x390
mov rax, qword [0x14016f0a8]
xor rax, rsp
mov qword [rbp + 0x280], rax
mov rdi, rcx
mov qword [rsp + 0x60], rcx
xor r14d, r14d
mov dword [rsp + 0x20], r14d
mov qword [rcx], r14
mov qword [rcx + 8], r14
mov qword [rcx + 0x10], r14
mov qword [rcx + 0x18], r14
xorps xmm0, xmm0
movups xmmword [rcx + 0x20], xmm0
mov qword [rcx + 0x30], r14
mov qword [rcx + 0x38], 7
mov word [rcx + 0x20], r14w
lea rbx, [rcx + 0x40]
mov qword [rsp + 0x20], rbx
mov dword [rbx], r14d
mov qword [rbx + 8], r14
mov qword [rbx + 0x10], r14
lea ecx, [r14 + 0x38]
call fcn.1400a4284
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rbx + 8], rax
lea rcx, [rbx + 0x18]
mov qword [rcx], r14
mov qword [rcx + 8], r14
mov qword [rcx + 0x10], r14
mov qword [rbx + 0x30], 7
mov qword [rbx + 0x38], 8
mov dword [rbx], 0x3f800000
mov r8, qword [rbx + 8]
lea edx, [r14 + 0x10]
call fcn.140070360
nop
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitialize]
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x70]
call fcn.1400a6a20
mov r8d, 0x104
lea rdx, [rbp + 0x70]
lea rcx, str._NT_SYMBOL_PATH
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
jne 0x14009d6ea
lea rdx, [rbp + 0x70]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x14009d6ea
xor edx, edx
mov r8d, 0xf8
lea rcx, [rsp + 0x70]
call fcn.1400a6a20
lea rcx, [rsp + 0x70]
call fcn.14009e620
nop
lea rdx, str.srv
lea rcx, [rbp - 0x80]
call fcn.14009ed80
mov rcx, rax
lea rdx, [rbp + 0x70]
call fcn.14009ed80
mov rcx, rax
lea rdx, str.Symbolshttp:__msdl.microsoft.com_download_symbols
call fcn.14009ed80
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
movdqa xmm1, xmmword [0x140154c40]
movdqu xmmword [rsp + 0x38], xmm1
mov word [rsp + 0x28], r14w
mov dword [rsp + 0x20], 2
movups xmmword [rsp + 0x48], xmm0
mov rcx, qword [rbp - 8]
mov eax, ecx
and al, 0x22
cmp al, 2
je 0x14009d681
mov rax, qword [rbp - 0x38]
mov r8, qword [rax]
test r8, r8
je 0x14009d681
mov rax, qword [rbp - 0x58]
mov rdx, qword [rax]
cmp r8, qword [rbp - 0x10]
cmovb r8, qword [rbp - 0x10]
sub r8, rdx
sar r8, 1
jmp 0x14009d6b6
test cl, 4
jne 0x14009d6ac
mov rax, qword [rbp - 0x40]
mov r8, qword [rax]
test r8, r8
je 0x14009d6ac
mov rax, qword [rbp - 0x60]
mov rdx, qword [rax]
mov rax, qword [rbp - 0x28]
movsxd rcx, dword [rax]
lea r8, [r8 + rcx*2]
sub r8, rdx
sar r8, 1
jmp 0x14009d6b6
mov r8, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x48]
test rdx, rdx
je 0x14009d6c6
lea rcx, [rsp + 0x28]
call fcn.14006fb50
nop
lea rdx, [rsp + 0x28]
lea rcx, [rdi + 0x20]
call fcn.14006f8e0
lea rcx, [rsp + 0x28]
call fcn.14006fae0
nop
lea rcx, [rsp + 0x70]
call fcn.14009d7c0
nop
mov rax, rdi
mov rcx, qword [rbp + 0x280]
xor rcx, rsp
call fcn.1400a3fe0
lea r11, [rsp + 0x390]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x1400a16e0
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 0x1400a18bb
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.140070360
lea rax, [rdi - 1]
mov qword [rsi + 0x38], rdi
mov qword [rsi + 0x30], rax
mov rax, qword [rsi + 8]
mov rax, qword [rax]
mov rcx, rax
cmp rax, rbx
je 0x1400a1884
mov qword [rsp + 0x58], rbp
movabs rdi, 0x100000001b3
movabs rbp, 0xcbf29ce484222325
nop dword [rax]
nop word [rax + rax]
movzx edx, byte [rax + 0x11]
movzx r9d, byte [rax + 0x10]
mov r11, qword [rsi + 0x30]
xor r9, rbp
mov rcx, qword [rcx]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x12]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x13]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x14]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x15]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x16]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x17]
imul r9, rdi
xor r9, rdx
imul r9, rdi
and r11, r9
shl r11, 4
add r11, qword [rsi + 0x18]
mov r9, qword [r11]
cmp r9, rbx
jne 0x1400a17fc
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x1400a1873
mov rdx, qword [r11 + 8]
mov r8, qword [rax + 0x10]
cmp r8, qword [rdx + 0x10]
jne 0x1400a1839
mov r10, qword [rdx]
cmp r10, rax
je 0x1400a1833
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
mov qword [r11 + 8], rax
jmp 0x1400a1873
cmp r9, rdx
je 0x1400a184f
nop
mov rdx, qword [rdx + 8]
cmp r8, qword [rdx + 0x10]
je 0x1400a1895
cmp r9, rdx
jne 0x1400a1840
mov r10, qword [rax + 8]
mov qword [r10], rcx
mov r9, qword [rcx + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], rax
mov qword [rdx + 8], r9
mov qword [rcx + 8], r10
mov qword [rax + 8], r8
mov qword [r11], rax
mov rax, rcx
cmp rcx, rbx
jne 0x1400a1780
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 [rdx]
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
jmp 0x1400a1873
lea rcx, str.invalid_hash_bucket_count
call fcn.1400a27b8
int3
Function at 0x1400a4eb8
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400a4f02
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400a4f02
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400a4f02
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400a4f02
cmp dword [rcx + 0x84], 0xe
jbe 0x1400a4f02
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400a4f04
xor al, al
add rsp, 0x28
ret

Function at 0x1400b69a0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
xor edi, edi
mov esi, edx
mov rbp, rcx
test r8, r8
jne 0x1400b69d7
call fcn.1400b02bc
mov dword [rax], 0x16
call fcn.1400b67b8
xor eax, eax
jmp 0x1400b6a65
mov rdx, r9
mov rcx, r8
call fcn.1400b693c
mov rbx, rax
test rax, rax
je 0x1400b6a62
lea rax, [rsp + 0x50]
mov rdx, rsi
mov qword [rsp + 0x28], rax
lea r8, [0x1400b6868]
mov eax, dword [rsp + 0x60]
mov r9, rbx
mov rcx, rbp
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rdx, rax
test rax, rax
jne 0x1400b6a4f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.1400b0230
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x1400b6a36
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x1400b6a45
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rcx, rbx
call fcn.1400beb34
jmp 0x1400b6a62
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x1400b6a5f
mov eax, dword [rsp + 0x50]
mov dword [rcx], eax
mov rdi, rdx
mov rax, rdi
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
Function at 0x1400b6eb4
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x1050
call fcn.1400a4d00
sub rsp, rax
mov rax, qword [0x14016f0a8]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.1400beb70
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x1400b6f03
mov rax, rbp
jmp 0x1400b700b
mov rax, qword [rbx]
mov rcx, r14
sub rax, qword [rbx + 8]
and ecx, 0x3f
cqo
mov rbx, r14
sub rax, rdx
sar rbx, 6
sar rax, 1
mov r9, r15
lea r12, [rcx + rcx*8]
mov rsi, rax
lea rax, [0x140000000]
xor r8d, r8d
mov rdx, qword [rax + rbx*8 + 0x175e60]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.1400c3a98
mov r13, rax
lea rax, [0x140000000]
mov rcx, qword [rax + rbx*8 + 0x175e60]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x1400b7007
mov rcx, qword [rcx + r12*8 + 0x28]
lea r9, [rsp + 0x30]
mov r8d, 0x1000
mov qword [rsp + 0x20], rdi
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1400b7007
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.1400c3a98
test rax, rax
js 0x1400b7007
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x1400b7007
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x1400b6ff9
lea r8, [0x140000000]
cmp rcx, rdx
jae 0x1400b6ff9
cmp byte [rcx], 0xd
jne 0x1400b6fdf
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x1400b6fee
cmp byte [rcx + 1], 0xa
jne 0x1400b6fee
inc rcx
jmp 0x1400b6fee
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0x16f490]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x1400b6fc1
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x1400b700b
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.1400a3fe0
mov rbx, qword [rsp + 0x1090]
add rsp, 0x1050
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret

Function at 0x1400bc1b4
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x1400bbfb0

Function at 0x1400bec90
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x1400beca6
mov al, 1
jmp 0x1400bed06
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x1400becb7
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x1400bed04
mov ecx, dword [rcx + 0x18]
nop
call fcn.1400c80e4
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1400bed04
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x1400bed04
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x1400bed04
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x1400bed06
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x1400c2e38
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
movsxd r15, ecx
lea r9, [0x140175e60]
mov rax, r15
mov rbp, r15
and eax, 0x3f
sar rbp, 6
mov ecx, 4
xor esi, esi
mov r14, rdx
lea rdi, [rax + rax*8]
mov rax, qword [r9 + rbp*8]
lea r13d, [rcx + 6]
mov r10, qword [rax + rdi*8 + 0x28]
test r8, r8
je 0x1400c2e8f
cmp word [rdx], r13w
jne 0x1400c2e8f
or byte [rax + rdi*8 + 0x38], cl
jmp 0x1400c2e94
and byte [rax + rdi*8 + 0x38], 0xfb
lea r8, [rdx + r8*2]
mov rbx, r14
cmp r14, r8
jae 0x1400c2fb9
mov r11d, 0xd
lea r12d, [r11 - 0xb]
movzx ecx, word [rdx]
cmp cx, 0x1a
je 0x1400c2fda
lea r9, [rdx + 2]
cmp cx, r11w
je 0x1400c2ecd
mov rdx, r9
mov word [rbx], cx
jmp 0x1400c2ef4
cmp r9, r8
jae 0x1400c2f04
cmp word [r9], r13w
mov rax, r12
mov ecx, 4
cmove rax, rcx
add rdx, rax
mov eax, r13d
cmp word [r9], r13w
cmovne ax, r11w
mov word [rbx], ax
mov rax, r12
add rbx, rax
cmp rdx, r8
jb 0x1400c2eae
jmp 0x1400c2fb9
lea r9, [rsp + 0x80]
mov qword [rsp + 0x20], rsi
mov r8d, r12d
lea rdx, [rsp + 0x70]
mov rcx, r10
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1400c2fae
cmp dword [rsp + 0x80], esi
je 0x1400c2fae
lea r8, [0x140175e60]
mov rax, qword [r8 + rbp*8]
test byte [rax + rdi*8 + 0x38], 0x48
je 0x1400c2f86
movzx eax, word [rsp + 0x70]
cmp ax, r13w
jne 0x1400c2f56
mov word [rbx], r13w
jmp 0x1400c2fb6
mov ecx, 0xd
mov word [rsp + 0x78], ax
mov word [rbx], cx
mov rax, qword [r8 + rbp*8]
lea rcx, [rax + rdi*8]
mov al, byte [rsp + rsi + 0x78]
mov byte [rcx + rsi + 0x3a], al
inc rsi
cmp rsi, r12
jl 0x1400c2f63
mov rax, qword [r8 + rbp*8]
mov byte [rax + rdi*8 + 0x3c], r13b
jmp 0x1400c2fb6
cmp word [rsp + 0x70], r13w
jne 0x1400c2f93
cmp rbx, r14
je 0x1400c2f50
mov rdx, 0xfffffffffffffffe
mov ecx, r15d
lea r8d, [rdx + 3]
call fcn.1400c3aa0
cmp word [rsp + 0x70], r13w
je 0x1400c2fb9
mov ecx, 0xd
mov word [rbx], cx
add rbx, r12
sub rbx, r14
sar rbx, 1
lea eax, [rbx + rbx]
mov rbx, qword [rsp + 0x88]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea r8, [0x140175e60]
mov rdx, qword [r8 + rbp*8]
mov al, byte [rdx + rdi*8 + 0x38]
test al, 0x40
jne 0x1400c2fb3
or al, r12b
mov byte [rdx + rdi*8 + 0x38], al
jmp 0x1400c2fb9