joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14015bd30
Capabilities:
Get file size
Read file on windows
Read file via mapping

Disassembly:
push rbx
push rbp
sub rsp, 0x48
mov rbp, rdx
mov rbx, rcx
test rcx, rcx
jne 0x14015bd4c
lea eax, [rcx + 0x28]
add rsp, 0x48
pop rbp
pop rbx
ret
mov qword [rsp + 0x68], rsi
xor r9d, r9d
mov qword [rsp + 0x40], r14
mov edx, 0x80000000
xor r14d, r14d
mov rcx, rbp
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
lea r8d, [r14 + 1]
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x14015bda0
mov r14, qword [rsp + 0x40]
lea eax, [rsi + 2]
mov rsi, qword [rsp + 0x68]
add rsp, 0x48
pop rbp
pop rbx
ret
lea rdx, [rsp + 0x70]
mov qword [rsp + 0x78], rdi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x14015bec5
mov rax, qword [rsp + 0x70]
cmp rax, 0x7fffffff
jg 0x14015bec5
test rax, rax
je 0x14015bec5
xor r9d, r9d
mov qword [rsp + 0x28], r14
xor edx, edx
mov dword [rsp + 0x20], r14d
mov rcx, rsi
lea r8d, [r9 + 2]
call qword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov rdi, rax
test rax, rax
je 0x14015bec5
mov ecx, dword [rsp + 0x70]
xor r9d, r9d
mov dword [rbx + 8], ecx
xor r8d, r8d
mov rcx, rax
mov dword [rbx + 0xc], r14d
mov qword [rsp + 0x20], r14
lea edx, [r9 + 4]
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov rcx, rdi
mov qword [rbx], rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp qword [rbx], r14
je 0x14015be3a
lea rax, [0x14015bf20]
jmp 0x14015be93
mov rcx, qword [rbx + 0x30]
xor edx, edx
movsxd r8, dword [rbx + 8]
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov qword [rbx], rax
test rax, rax
je 0x14015bec5
mov edi, r14d
nop dword [rax + rax]
mov r8d, dword [rbx + 8]
lea r9, [rsp + 0x60]
mov edx, edi
sub r8d, edi
add rdx, qword [rbx]
mov rcx, rsi
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14015beb3
add edi, dword [rsp + 0x60]
cmp edi, dword [rbx + 8]
jne 0x14015be60
lea rax, [0x14015bef0]
mov rcx, rsi
mov qword [rbx + 0x28], rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rbx]
mov qword [rbx + 0x10], rax
xor eax, eax
mov qword [rbx + 0x18], rbp
mov qword [rbx + 0x20], r14
jmp 0x14015beda
mov rcx, qword [rbx + 0x30]
xor edx, edx
mov r8, qword [rbx]
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 0x51
mov qword [rbx], r14
mov qword [rbx + 8], r14
mov rdi, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x68]
mov r14, qword [rsp + 0x40]
add rsp, 0x48
pop rbp
pop rbx
ret
Function at 0x14015d4b0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov r9, rdx
test rdx, rdx
jne 0x14015d4bb
xor eax, eax
ret
lea r11, [0x14019a7f0]
not ecx
cmp r8d, 8
jb 0x14015d591
mov r10d, r8d
shr r10, 3
nop word [rax + rax]
movzx edx, byte [r9]
mov eax, ecx
xor rdx, rax
shr ecx, 8
movzx eax, dl
add r8d, 0xfffffff8
movzx edx, byte [r9 + 1]
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
movzx edx, byte [r9 + 2]
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
movzx edx, byte [r9 + 3]
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
movzx edx, byte [r9 + 4]
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
movzx edx, byte [r9 + 5]
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
movzx edx, byte [r9 + 6]
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
movzx edx, byte [r9 + 7]
add r9, 8
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
xor ecx, dword [r11 + rax*4]
sub r10, 1
jne 0x14015d4e0
test r8d, r8d
je 0x14015d5bd
nop word [rax + rax]
movzx edx, byte [r9]
lea r9, [r9 + 1]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
xor ecx, dword [r11 + rax*4]
add r8d, 0xffffffff
jne 0x14015d5a0
not ecx
mov eax, ecx
ret
Function at 0x140161194
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
lea r8, [rsp + 0x60]
mov edi, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x1401611ce
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x1401611d3
mov r9d, dword [rsp + 0x60]
and qword [rsp + 0x30], 0
mov r8d, edi
and dword [rsp + 0x28], 0
xor edx, edx
mov ecx, 0x1300
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x14016121c
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, reloc.WS2_32.dll_accept
cmp byte [rcx + rax], 0
je 0x14016121c
dec r8
sub rdx, 1
jne 0x140161202
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x1401626a0
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1401626ea
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1401626ea
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1401626ea
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1401626ea
cmp dword [rcx + 0x84], 0xe
jbe 0x1401626ea
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1401626ec
xor al, al
add rsp, 0x28
ret
Function at 0x140163290
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push rbx
sub rsp, 0x50
movaps xmmword [rsp + 0x40], xmm6
mov eax, gethostname
movaps xmmword [rsp + 0x30], xmm7
xorps xmm6, xmm6
movaps xmmword [rsp + 0x20], xmm8
mov rbx, rcx
movsd xmm8, qword [0x1401b85b0]
cvtsi2sd xmm6, rax
test rax, rax
jns 0x1401632c9
addsd xmm6, xmm8
movaps xmm0, xmm8
call qword [sym.imp.api_ms_win_crt_math_l1_1_0.dll_log2]
divsd xmm6, xmm0
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_ceil
movsd xmm6, qword [0x1403b2a20]
mov ecx, 1
cvttsd2si eax, xmm0
xorps xmm7, xmm7
cmp eax, ecx
cmovl eax, ecx
test eax, eax
jle 0x140163403
mov qword [rsp + 0x60], rbp
movabs rbp, 0x38eb3ffff6d3
mov qword [rsp + 0x68], rsi
movabs rsi, 0xb5026f5aa96619e9
mov qword [rsp + 0x70], rdi
mov edi, eax
mov eax, dword [rbx]
cmp eax, 0x138
jne 0x14016337c
lea r8, [rbx + 0x10]
mov r9d, eax
nop word [rax + rax]
mov edx, dword [r8 - 8]
xor edx, dword [r8]
lea r8, [r8 + 8]
btr edx, 0x1f
xor rdx, qword [r8 - 0x10]
movzx eax, dl
and al, 1
neg al
sbb rcx, rcx
shr rdx, 1
and rcx, rsi
xor rcx, qword [r8 + 0x4d0]
xor rcx, rdx
mov qword [r8 + 0x9b0], rcx
sub r9, 1
jne 0x140163340
jmp 0x14016338b
cmp eax, 0x270
jb 0x14016338b
mov rcx, rbx
call fcn.140164a70
mov eax, dword [rbx]
xorps xmm1, xmm1
mov rcx, qword [rbx + rax*8 + 8]
inc eax
mov dword [rbx], eax
mov rax, rcx
shr rax, 0x1d
and rax, qword [rbx + 0x1388]
xor rcx, rax
mov rax, rcx
and rax, rbp
shl rax, 0x11
xor rcx, rax
mov rax, rcx
and rax, 0xffffffffffffbf77
shl rax, 0x25
xor rcx, rax
mov rax, rcx
shr rax, 0x2b
xor rax, rcx
cvtsi2sd xmm1, rax
jns 0x1401633dd
addsd xmm1, xmm8
mulsd xmm1, xmm6
mulsd xmm6, xmm8
addsd xmm7, xmm1
sub rdi, 1
jne 0x140163325
mov rdi, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x60]
movaps xmm8, xmmword [rsp + 0x20]
divsd xmm7, xmm6
movaps xmm6, xmmword [rsp + 0x40]
movaps xmm0, xmm7
movaps xmm7, xmmword [rsp + 0x30]
add rsp, 0x50
pop rbx
ret

Function at 0x140164a70
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 8], rbx
mov r10, rcx
lea r9, [rcx + 0x9c8]
movabs rbx, 0xb5026f5aa96619e9
mov r11d, 0x9c
nop
mov edx, dword [r9]
xor edx, dword [r9 + 8]
lea r9, [r9 + 8]
btr edx, 0x1f
xor rdx, qword [r9 - 8]
movzx eax, dl
and al, 1
neg al
sbb rcx, rcx
shr rdx, 1
and rcx, rbx
xor rcx, qword [r9 + 0x4d8]
xor rcx, rdx
mov qword [r9 - 0x9c8], rcx
sub r11, 1
jne 0x140164a90
lea r9, [r10 + 0xea8]
mov r11d, 0x9b
nop word [rax + rax]
mov edx, dword [r9]
xor edx, dword [r9 + 8]
lea r9, [r9 + 8]
btr edx, 0x1f
xor rdx, qword [r9 - 8]
movzx eax, dl
and al, 1
neg al
sbb rcx, rcx
shr rdx, 1
and rcx, rbx
xor rcx, qword [r9 - 0xea8]
xor rcx, rdx
mov qword [r9 - 0x9c8], rcx
sub r11, 1
jne 0x140164ae0
mov edx, dword [r10 + 0x1380]
xor edx, dword [r10 + 8]
btr edx, 0x1f
xor rdx, qword [r10 + 0x1380]
movzx eax, dl
and al, 1
neg al
sbb rcx, rcx
shr rdx, 1
and rcx, rbx
mov rbx, qword [rsp + 8]
xor rcx, qword [r10 + 0x4e0]
xor rcx, rdx
mov qword [r10 + 0x9c0], rcx
mov dword [r10], r11d
ret
Function at 0x1401658f0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0xae0
mov rax, qword [0x1403d3080]
xor rax, rsp
mov qword [rsp + 0xad0], rax
mov rbx, rdx
mov dword [rsp + 0x28], reloc.WLDAP32.dll_Ordinal_32
lea rax, [rsp + 0x80]
mov r8, rcx
xor edx, edx
mov qword [rsp + 0x20], rax
mov ecx, 0xfde9
or r9d, 0xffffffff
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea rax, [rsp + 0x40]
mov dword [rsp + 0x28], reloc.WLDAP32.dll_Ordinal_32
or r9d, 0xffffffff
mov qword [rsp + 0x20], rax
mov r8, rbx
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea rax, [rsp + 0x38]
mov r9d, 0x20019
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.SoftwareValveSteam
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x14016599f
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
lea rdx, str.Error_opening_Steam_key_n
jmp 0x140165a67
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rdx, str.SteamExe
lea rax, [rsp + 0xc0]
mov dword [rsp + 0x30], 0x208
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x38]
mov ebx, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
jne 0x140165a55
mov ecx, dword [rsp + 0x30]
cmp ecx, 1
jb 0x140165a55
shr ecx, 1
je 0x140165a13
lea rax, [rsp + 0xc0]
lea edx, [rbx + 0x5c]
nop
cmp word [rax], 0x2f
jne 0x140165a09
mov word [rax], dx
add rax, 2
sub rcx, 1
jne 0x140165a00
lea rax, [rsp + 0x40]
mov edx, 0x800
lea r9, [rsp + 0xc0]
mov qword [rsp + 0x20], rax
lea r8, str.__s__steam:__rungameid__s
lea rcx, [rsp + 0x2d0]
call fcn.140165780
lea rdx, [rsp + 0x2d0]
lea rcx, [rsp + 0x80]
call fcn.1401653e0
jmp 0x140165a6f
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
lea rdx, str.Error_reading_SteamExe_key_n
mov rcx, rax
call fcn.140165a90
mov rcx, qword [rsp + 0xad0]
xor rcx, rsp
call fcn.140161860
add rsp, 0xae0
pop rbx
ret
Function at 0x140165b70
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x1403d3080]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov eax, dword [0x1401b8800]
xor edi, edi
movups xmm0, xmmword [str._pipediscord_ipc_0]
mov dword [rsp + 0x68], eax
mov rbx, rcx
movzx eax, word [0x1401b8804]
lea rcx, [rsp + 0x40]
movups xmm1, xmmword [0x1401b87e8]
mov word [rsp + 0x6c], ax
mov eax, Ordinal_50
movups xmmword [rsp + 0x40], xmm0
xor r9d, r9d
mov qword [rsp + 0x30], rdi
movsd xmm0, qword [0x1401b87f8]
xor r8d, r8d
mov dword [rsp + 0x28], edi
mov edx, 0xc0000000
movsd qword [rsp + 0x60], xmm0
mov word [rsp + 0x6a], ax
movups xmmword [rsp + 0x50], xmm1
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rbx + 8], rax
cmp rax, 0xffffffffffffffff
jne 0x140165c74
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x140165c28
movzx eax, word [rsp + 0x6a]
cmp ax, 0x39
jae 0x140165c97
inc ax
mov word [rsp + 0x6a], ax
jmp 0x140165c43
cmp eax, 0xe7
jne 0x140165c97
mov edx, 0x2710
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_WaitNamedPipeW]
test eax, eax
je 0x140165c97
mov qword [rsp + 0x30], rdi
lea rcx, [rsp + 0x40]
mov dword [rsp + 0x28], edi
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x20], 3
mov edx, 0xc0000000
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rbx + 8], rax
cmp rax, 0xffffffffffffffff
je 0x140165c08
mov byte [rbx], 1
mov al, 1
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.140161860
mov rbx, qword [rsp + 0x98]
add rsp, 0x80
pop rdi
ret
xor al, al
jmp 0x140165c79

Function at 0x140165ca0
Capabilities:
Read file on windows
Read pipe

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x30
mov rdi, r8
mov rsi, rdx
mov rbx, rcx
test rdx, rdx
jne 0x140165cc0
xor al, al
add rsp, 0x30
pop rdi
pop rsi
pop rbx
ret
test rbx, rbx
je 0x140165cb6
mov rcx, qword [rcx + 8]
cmp rcx, 0xffffffffffffffff
je 0x140165cb6
lea rax, [rsp + 0x58]
mov qword [rsp + 0x50], rbp
xor ebp, ebp
xor r9d, r9d
mov qword [rsp + 0x28], rbp
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x58], ebp
call qword [sym.imp.KERNEL32.dll_PeekNamedPipe]
test eax, eax
je 0x140165d4b
mov eax, dword [rsp + 0x58]
cmp rax, rdi
jb 0x140165d60
mov rcx, qword [rbx + 8]
lea r9, [rsp + 0x68]
mov r8d, edi
mov dword [rsp + 0x68], ebp
mov rdx, rsi
mov qword [rsp + 0x20], rbp
call qword [sym.imp.KERNEL32.dll_ReadFile]
cmp eax, 1
jne 0x140165d34
mov rbp, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
pop rsi
pop rbx
ret
mov rcx, rbx
call fcn.140165ae0
mov rbp, qword [rsp + 0x50]
xor al, al
add rsp, 0x30
pop rdi
pop rsi
pop rbx
ret
mov rcx, qword [rbx + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx + 8], 0xffffffffffffffff
mov byte [rbx], bpl
xor al, al
mov rbp, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
pop rsi
pop rbx
ret
Function at 0x140165d70
Capabilities:
Write file on windows

Disassembly:
push rdi
sub rsp, 0x30
mov rdi, r8
test r8, r8
jne 0x140165d86
mov al, 1
add rsp, 0x30
pop rdi
ret
test rcx, rcx
jne 0x140165d93
xor al, al
add rsp, 0x30
pop rdi
ret
mov rcx, qword [rcx + 8]
cmp rcx, 0xffffffffffffffff
je 0x140165d8b
test rdx, rdx
je 0x140165d8b
mov qword [rsp + 0x40], rbx
lea r9, [rsp + 0x50]
xor ebx, ebx
mov dword [rsp + 0x50], ebx
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_WriteFile]
cmp eax, 1
jne 0x140165dca
cmp dword [rsp + 0x50], edi
jne 0x140165dca
mov ebx, eax
movzx eax, bl
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x180003020
Capabilities:
Access peb ldr_data

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
cmp dword [0x180021a94], 0xa
jl 0x180003052
mov eax, dword [0x180021a98]
lea edx, [rax - 1]
imul edx, eax
and edx, 1
je 0x180003052
nop word cs:[rax + rax]
jmp 0x180003050
mov rax, qword gs:[0x60]
mov r11, qword [rax + 0x18]
add r11, 0x10
mov eax, dword [0x180021a80]
lea edx, [rax - 1]
imul edx, eax
test dl, 1
sete al
cmp dword [0x180021a7c], 0xa
setl r8b
or r8b, al
mov eax, dword [0x180021a9c]
lea edx, [rax - 1]
imul edx, eax
test dl, 1
sete al
cmp dword [0x180021aa0], 0xa
setl r9b
or r9b, al
lea r10, [rcx - 1]
xor eax, eax
mov r14, r11
mov r14, qword [r14]
cmp r14, r11
je 0x180003128
mov rsi, r10
test r8b, r8b
je 0x180003140
cmp byte [rsi + 1], 0
lea rsi, [rsi + 1]
jne 0x1800030c0
test r9b, r9b
je 0x180003150
sub rsi, rcx
je 0x180003124
mov r15, qword [r14 + 0x60]
xor ebx, ebx
nop
movzx r13d, word [r15 + rbx*2]
lea edi, [r13 - 0x41]
lea ebp, [r13 + 0x20]
cmp di, 0x1a
cmovae ebp, r13d
movsx edi, byte [rcx + rbx]
lea r12d, [rdi - 0x41]
lea edx, [rdi + 0x20]
cmp r12b, 0x1a
cmovae edx, edi
sub ebp, edx
test r13d, r13d
je 0x180003120
test ebp, ebp
jne 0x180003120
add rbx, 1
cmp rsi, rbx
jne 0x1800030e0
jmp 0x180003124
test ebp, ebp
jne 0x1800030ac
mov rax, qword [r14 + 0x30]
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
jmp 0x180003140
jmp 0x180003150
Function at 0x140001000
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x20
movsxd r12, dword [rcx + 0x3c]
xor r15d, r15d
mov rbp, rdx
mov rdi, rcx
mov r11d, r15d
mov ebx, dword [r12 + rcx + 0x88]
add rbx, rcx
mov r14d, dword [rbx + 0x24]
mov r10d, dword [rbx + 0x20]
add r14, rcx
add r10, rcx
cmp rdx, 0x10000
jae 0x14000107d
mov r8d, dword [rbx + 0x10]
movzx edx, bp
cmp edx, r8d
jb 0x1400011c5
mov ecx, dword [rbx + 0x14]
add ecx, r8d
cmp edx, ecx
jae 0x1400011c5
mov ecx, dword [rbx + 0x1c]
sub edx, r8d
add rcx, rdi
mov r11, qword [rcx + rdx*8]
jmp 0x1400010d7
mov esi, dword [rbx + 0x18]
mov r9d, r15d
test esi, esi
je 0x1400010da
nop word [rax + rax]
mov r8d, dword [r10]
mov rax, rbp
add r8, rdi
sub r8, rbp
nop dword [rax]
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x1400010b3
inc rax
test ecx, ecx
jne 0x1400010a0
test edx, edx
je 0x1400010c5
inc r9d
add r10, 4
cmp r9d, esi
jb 0x140001090
jmp 0x1400010da
mov ecx, dword [rbx + 0x1c]
mov eax, r9d
add rcx, rdi
movzx edx, word [r14 + rax*2]
mov r11d, dword [rcx + rdx*4]
add r11, rdi
cmp r11, rbx
jb 0x1400011a3
mov eax, dword [r12 + rdi + 0x8c]
add rax, rbx
cmp r11, rax
jae 0x1400011a3
mov rcx, r11
call fcn.14000a9c8
mov rbp, rax
test rax, rax
je 0x1400011c5
mov edx, 0x2e
mov rcx, rax
call fcn.140006f1c
mov r14, rax
mov byte [rax], r15b
mov rsi, qword gs:[0x60]
test rsi, rsi
je 0x14000116b
mov rax, qword [rsi + 0x18]
mov rdi, qword [rax + 0x20]
mov rbx, rdi
nop word [rax + rax]
mov rcx, qword [rdi + 0x50]
lea rdx, str.KERNEL32.DLL
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x140001167
mov rbx, qword [rbx]
mov rax, qword [rsi + 0x18]
mov rdi, qword [rbx]
cmp rbx, qword [rax + 0x20]
jne 0x140001140
jmp 0x14000116b
mov r15, qword [rdi + 0x20]
lea rdx, [0x1400216f0]
mov rcx, r15
call section..text
test rax, rax
je 0x1400011c5
mov rcx, rbp
call rax
mov rcx, rbp
mov rbx, rax
call fcn.14000aa40
test rbx, rbx
je 0x1400011c5
lea rdx, [r14 + 1]
mov rcx, rbx
call section..text
mov r11, rax
mov rax, r11
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop r12
ret
xor eax, eax
jmp 0x1400011a6
Function at 0x140001ee0
Capabilities:
Read file on windows

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x40
mov rax, qword [0x140024018]
xor rax, rsp
mov qword [rsp + 0x38], rax
xor r14d, r14d
mov edi, r8d
mov dword [rsp + 0x30], r14d
mov rsi, rdx
mov rbp, rcx
mov ebx, r14d
test rdx, rdx
je 0x140001f78
test r8d, r8d
je 0x140001f63
nop dword [rax + rax]
mov r8d, edi
movsxd rdx, ebx
sub r8d, ebx
mov qword [rsp + 0x20], r14
add rdx, rsi
lea r9, [rsp + 0x30]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x140001f78
mov eax, dword [0x140025ff4]
add ebx, dword [rsp + 0x30]
inc eax
mov dword [rsp + 0x30], r14d
mov dword [0x140025ff4], eax
cmp eax, 0xa
je 0x140001f71
cmp edi, ebx
ja 0x140001f20
mov dword [0x140025ff4], r14d
mov eax, 1
jmp 0x140001f7a
mov dword [0x140025ff4], r14d
xor eax, eax
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140005e90
add rsp, 0x40
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret

Function at 0x140002eb0
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x40
mov rax, qword [0x140024018]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rsi, rcx
movzx ebx, dl
mov ecx, 0xb
call fcn.14000bf48
mov rdi, rax
lea rdx, [0x140021af0]
xor eax, eax
mov r8d, ebx
mov dword [rsp + 0x28], eax
xor r9d, r9d
mov rcx, rdi
mov dword [rsp + 0x20], eax
call fcn.140001dd0
mov edx, 0xb
lea r9, [rsp + 0x30]
mov rcx, rsi
lea r8d, [rdx + 0x35]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
movsd xmm0, qword [rdi]
movsd qword [rsi], xmm0
movzx eax, word [rdi + 8]
mov word [rsi + 8], ax
movzx eax, byte [rdi + 0xa]
mov byte [rsi + 0xa], al
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140005e90
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret
Function at 0x14000cb98
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x14000c9c4
Function at 0x14000bca0
Capabilities:
Hash data using fnv

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x58
mov qword [rsp + 0x38], rcx
movabs rbx, 0xe4514c569e66bfdb
movabs r14, 0xe4514c566e02c50a
lea rax, [rbx + 0x305d6559]
mov dword [rsp + 0x24], 0x811c9dc5
lea r12, [r14 - 0x39e4c08e]
lea r13, [r14 - 0x5737c3a2]
lea r8, [r14 - 0x5e30a43f]
lea r15, [r14 - 0x2c185ea6]
lea rcx, [r14 - 0x29b0b419]
mov qword [rsp + 0x40], rcx
lea rsi, [rbx + 0x8366160]
xor r9d, r9d
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x30], r8
mov qword [rsp + 0x48], r12
jmp 0x14000bd40
lea rcx, [rbx + 0x8366160]
xor edx, edx
cmp rax, rcx
sete dl
cmove rax, r8
add edi, edx
nop word cs:[rax + rax]
cmp rax, r14
jge 0x14000bd60
cmp rax, r12
jb 0x14000bd90
cmp rax, r15
jae 0x14000bde9
cmp rax, r12
jne 0x14000bd40
jmp 0x14000bef8
cmp rax, rsi
jge 0x14000bdb0
cmp rax, rbx
jae 0x14000be0a
cmp rax, r14
jne 0x14000bd40
movsx eax, r10b
mov ecx, dword [rsp + 0x24]
xor ecx, eax
imul ecx, ecx, 0x1000193
mov dword [rsp + 0x24], ecx
mov rax, rsi
jmp 0x14000bd40
cmp rax, r13
jae 0x14000be69
cmp rax, r8
jne 0x14000bd40
cmp edi, r9d
mov rax, r13
cmovb rax, rbx
jmp 0x14000bd40
lea rcx, [rbx + 0x1750fe9d]
cmp rax, rcx
jl 0x14000bd20
lea rdx, [rbx + 0x305d6559]
cmp rax, rdx
jge 0x14000be72
cmp rax, rcx
movzx ecx, byte [rsp + 0x28]
movzx r10d, r10b
cmove r10d, ecx
cmove rax, r14
jmp 0x14000bd40
cmp rax, qword [rsp + 0x40]
jae 0x14000bee7
xor ecx, ecx
cmp rax, r15
sete cl
cmove rax, qword [rsp + 0x50]
add r9d, ecx
jmp 0x14000bd40
jne 0x14000bd40
movsxd rdx, edi
mov rax, qword [0x1400f3950]
movabs rcx, 0x99856666fb54733d
mov rax, qword [rax + rcx]
movabs rcx, 0x3f779905c1a47a5e
add rax, rcx
mov rcx, qword [rsp + 0x38]
mov ebp, r9d
call rax
mov r9d, ebp
mov r8, qword [rsp + 0x30]
movzx eax, byte [rax]
lea r10d, [rax + 0x20]
mov qword [rsp + 0x28], rax
lea ecx, [rax - 0x5b]
lea rax, [rbx + 0x1750fe9d]
cmp cl, 0xe6
cmovae rax, r14
jmp 0x14000bd40
cmove rax, r12
jmp 0x14000bd40
mov edx, r9d
mov rax, qword [0x1400f3950]
movabs rcx, 0x99856666fb54733d
mov rax, qword [rax + rcx]
movabs rcx, 0x3f779905c1a47a5e
add rax, rcx
mov rcx, qword [rsp + 0x38]
mov rbp, r15
mov r15, r13
mov r13d, r9d
mov r12, r14
mov r14, rsi
mov esi, edi
mov rdi, rbx
mov ebx, r10d
call rax
mov r10d, ebx
mov rbx, rdi
mov edi, esi
mov rsi, r14
mov r14, r12
mov r12, qword [rsp + 0x48]
mov r9d, r13d
mov r13, r15
mov r15, rbp
mov r8, qword [rsp + 0x30]
cmp byte [rax], 0
mov rax, rbp
cmove rax, qword [rsp + 0x40]
jmp 0x14000bd40
mov ecx, 0
cmove edi, ecx
cmove rax, r8
jmp 0x14000bd40
mov eax, dword [rsp + 0x24]
add rsp, 0x58
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret