joyce8/EMBER2024-capa huggingface dataset:
Function at 0x2fc4d4410
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x38], r9
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov ecx, 2
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call fcn.2fc4d54f0
call sub.api_ms_win_crt_runtime_l1_1_0.dll_abort
nop

Function at 0x2fc4d4e12
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x2fc4f7108]
test eax, eax
je 0x2fc4d4eaa
lea rax, [0x2fc4f70e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x2fc4f7110]
mov qword [rbp - 8], rax
jmp 0x2fc4d4e8e
mov rax, qword [rbp - 8]
mov eax, dword [rax]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rax
mov qword [rbp - 0x10], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
test eax, eax
jne 0x2fc4d4e82
cmp qword [rbp - 0x10], 0
je 0x2fc4d4e82
mov rax, qword [rbp - 8]
mov rdx, qword [rax + 8]
mov rax, qword [rbp - 0x10]
mov rcx, rax
call rdx
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x10]
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x2fc4d4e48
lea rax, [0x2fc4f70e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x2fc4d4eab
nop
add rsp, 0x30
pop rbp
ret

Function at 0x2fc4d4fb0
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov rax, qword [rbp + 0x10]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x2fc4d4fd8
mov eax, 0
jmp 0x2fc4d5026
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x2fc4d5001
mov eax, 0
jmp 0x2fc4d5026
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
cmp ax, 0x20b
je 0x2fc4d5021
mov eax, 0
jmp 0x2fc4d5026
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x2fc4d502c
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x18], rax
mov dword [rbp - 0xc], 0
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp - 0x18]
add rax, rdx
add rax, 0x18
mov qword [rbp - 8], rax
jmp 0x2fc4d50aa
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x2fc4d50a1
mov rax, qword [rbp - 8]
mov edx, dword [rax + 0xc]
mov rax, qword [rbp - 8]
mov eax, dword [rax + 8]
add eax, edx
mov eax, eax
cmp qword [rbp + 0x18], rax
jae 0x2fc4d50a1
mov rax, qword [rbp - 8]
jmp 0x2fc4d50bf
add dword [rbp - 0xc], 1
add qword [rbp - 8], 0x28
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 6]
movzx eax, ax
cmp dword [rbp - 0xc], eax
jb 0x2fc4d5074
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x2fc4ff0f0
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x38], r9
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov ecx, 2
call sym.__acrt_iob_func
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sym.fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call sym.__acrt_iob_func
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call sym.vfprintf
call sym.abort
nop

Function at 0x2fc4ffaf2
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x2fc524108]
test eax, eax
je 0x2fc4ffb8a
lea rax, [0x2fc5240e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x2fc524110]
mov qword [rbp - 8], rax
jmp 0x2fc4ffb6e
mov rax, qword [rbp - 8]
mov eax, dword [rax]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rax
mov qword [rbp - 0x10], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
test eax, eax
jne 0x2fc4ffb62
cmp qword [rbp - 0x10], 0
je 0x2fc4ffb62
mov rax, qword [rbp - 8]
mov rdx, qword [rax + 8]
mov rax, qword [rbp - 0x10]
mov rcx, rax
call rdx
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x10]
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x2fc4ffb28
lea rax, [0x2fc5240e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x2fc4ffb8b
nop
add rsp, 0x30
pop rbp
ret

Function at 0x2fc4ffc90
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov rax, qword [rbp + 0x10]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x2fc4ffcb8
mov eax, 0
jmp 0x2fc4ffd06
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x2fc4ffce1
mov eax, 0
jmp 0x2fc4ffd06
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
cmp ax, 0x20b
je 0x2fc4ffd01
mov eax, 0
jmp 0x2fc4ffd06
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x2fc4ffd0c
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x18], rax
mov dword [rbp - 0xc], 0
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp - 0x18]
add rax, rdx
add rax, 0x18
mov qword [rbp - 8], rax
jmp 0x2fc4ffd8a
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x2fc4ffd81
mov rax, qword [rbp - 8]
mov edx, dword [rax + 0xc]
mov rax, qword [rbp - 8]
mov eax, dword [rax + 8]
add eax, edx
mov eax, eax
cmp qword [rbp + 0x18], rax
jae 0x2fc4ffd81
mov rax, qword [rbp - 8]
jmp 0x2fc4ffd9f
add dword [rbp - 0xc], 1
add qword [rbp - 8], 0x28
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 6]
movzx eax, ax
cmp dword [rbp - 0xc], eax
jb 0x2fc4ffd54
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x140003330
Capabilities:
Receive data
Receive data on socket

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
sub rsp, 0x30
mov rax, qword [0x1400bf0c0]
xor rax, rsp
mov qword [rsp + 0x28], rax
xor r9d, r9d
mov rsi, rdx
mov rbp, rcx
lea rdx, [rsp + 0x20]
movsxd rcx, dword [rcx]
lea r8d, [r9 + 8]
call qword [sym.imp.WS2_32.dll_recv]
mov ecx, dword [rsp + 0x20]
call qword [sym.imp.WS2_32.dll_ntohl]
mov rdi, qword [rsi + 8]
mov rcx, qword [rsi]
mov rdx, rdi
mov ebx, eax
sub rdx, rcx
mov qword [rsp + 0x20], rbx
cmp rbx, rdx
jae 0x14000338f
lea rax, [rcx + rbx]
jmp 0x1400033c8
jbe 0x1400033cc
mov rax, qword [rsi + 0x10]
sub rax, rcx
cmp rbx, rax
jbe 0x1400033af
mov rdx, rbx
mov rcx, rsi
call fcn.1400052e0
mov rbx, qword [rsp + 0x20]
jmp 0x1400033cc
sub rbx, rdx
mov rcx, rdi
mov r8, rbx
xor edx, edx
call fcn.140093730
lea rax, [rbx + rdi]
mov rbx, qword [rsp + 0x20]
mov qword [rsi + 8], rax
xor edi, edi
test rbx, rbx
je 0x14000343a
mov qword [rsp + 0x60], r14
mov r14d, 0x1000
nop
mov rdx, qword [rsi]
cmp rbx, r14
movsxd rcx, dword [rbp]
cmova rbx, r14
add rdx, rdi
mov r8d, ebx
xor r9d, r9d
call qword [sym.imp.WS2_32.dll_recv]
test eax, eax
jle 0x140003419
mov rbx, qword [rsp + 0x20]
movsxd rcx, eax
sub rbx, rcx
add rdi, rcx
mov qword [rsp + 0x20], rbx
test rbx, rbx
jne 0x1400033e0
mov r14, qword [rsp + 0x60]
mov eax, edi
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.140068880
mov rbx, qword [rsp + 0x68]
add rsp, 0x30
pop rdi
pop rsi
pop rbp
ret
mov eax, edi
jmp 0x140003420
Function at 0x1400225c0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
sub rsp, 8
mov r9, rcx
mov r10d, 0x270
mov ecx, dword [rcx]
cmp ecx, r10d
jne 0x140022621
lea r8, [r9 + 8]
nop dword [rax + rax]
mov edx, dword [r8 - 4]
xor edx, dword [r8]
lea r8, [r8 + 4]
btr edx, 0x1f
xor edx, dword [r8 - 8]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x62c]
xor ecx, edx
mov dword [r8 + 0x9b8], ecx
sub r10, 1
jne 0x1400225e0
mov ecx, dword [r9]
jmp 0x14002270b
cmp ecx, 0x4e0
jb 0x14002270b
lea r10, [r9 + 0x9c4]
mov qword [rsp], rbx
mov r11d, dword [r10]
mov ebx, 0xe3
mov eax, r11d
mov r8, r10
mov r11d, dword [r10 + 4]
add r10, 4
mov edx, r11d
xor edx, eax
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x634]
xor ecx, edx
mov dword [r8 - 0x9c0], ecx
sub rbx, 1
jne 0x140022640
lea r10, [r9 + 0xd50]
mov ebx, 0x18c
mov r11d, dword [r10]
nop
mov eax, r11d
mov r8, r10
mov r11d, dword [r10 + 4]
mov edx, eax
xor edx, r11d
add r10, 4
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 - 0xd4c]
xor ecx, edx
mov dword [r8 - 0x9c0], ecx
sub rbx, 1
jne 0x140022690
mov eax, dword [r9 + 0x1380]
mov edx, eax
xor edx, dword [r9 + 4]
mov rbx, qword [rsp]
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r9 + 0x634]
xor ecx, edx
mov dword [r9 + 0x9c0], ecx
xor ecx, ecx
mov dword [r9], ecx
mov eax, ecx
mov edx, dword [r9 + rax*4 + 4]
lea eax, [rcx + 1]
mov dword [r9], eax
mov ecx, edx
mov eax, dword [r9 + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
xor eax, edx
add rsp, 8
ret
Function at 0x14002f360
Capabilities:
Enumerate threads

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x1400bf0c0]
xor rax, rsp
mov qword [rsp + 0x48], rax
xor esi, esi
mov rbx, rcx
xorps xmm0, xmm0
mov qword [rsp + 0x3c], rsi
xor edx, edx
movdqu xmmword [rsp + 0x2c], xmm0
lea ecx, [rsi + 4]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x28], 0x1c
mov rcx, rbx
mov rdi, rax
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
lea rdx, [rsp + 0x28]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Thread32First]
test eax, eax
je 0x14002f3f2
nop word [rax + rax]
mov eax, dword [rsp + 0x20]
cmp dword [rsp + 0x34], eax
je 0x14002f3ee
lea rdx, [rsp + 0x28]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Thread32Next]
test eax, eax
jne 0x14002f3d0
jmp 0x14002f3f2
mov esi, dword [rsp + 0x30]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140068880
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret
Function at 0x140032ca0
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 0x140032cc2
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 0x140032d3c
mov rdi, r14
mov rcx, rbx
call fcn.1400349f0
test rax, rax
jle 0x140032d14
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.140093090
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 0x140032d2c
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x38]
cmp eax, 0xffffffff
je 0x140032d34
mov byte [rsi], al
dec rdi
mov ebp, 1
add rsi, rbp
test rdi, rdi
jg 0x140032cd6
sub r14, rdi
jmp 0x140032e1f
mov rax, qword [rcx + 0x38]
mov rbp, r14
mov rdx, qword [rax]
test rdx, rdx
je 0x140032d53
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x140032d55
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x140032d87
cmp rax, r14
mov rdi, r14
mov rcx, rsi
cmovb rdi, rax
mov r8, rdi
call fcn.140093090
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 0x140032e1c
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x140032dc2
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 0x140032dfd
nop dword [rax + rax]
mov r9, qword [rbx + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, rsi
call fcn.1400793e0
add rsi, rax
sub rbp, rax
cmp rax, 0xfff
jne 0x140032e1c
cmp rbp, rax
ja 0x140032dd0
test rbp, rbp
je 0x140032e1c
mov r9, qword [rbx + 0x80]
mov r8, rbp
mov edx, 1
mov rcx, rsi
call fcn.1400793e0
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 0x1400384c0
Capabilities:
Hash data using fnv

Disassembly:
push rdi
sub rsp, 0x30
mov rdi, rcx
mov rcx, qword [rcx + 0x10]
test rcx, rcx
je 0x14003857d
mov rax, qword [rdi + 0x38]
shr rax, 3
cmp rax, rcx
jbe 0x1400384fa
mov rdx, qword [rdi + 8]
mov rcx, rdi
mov r8, rdx
mov rdx, qword [rdx]
add rsp, 0x30
pop rdi
jmp fcn.140038ac0
mov rcx, qword [rdi + 8]
mov qword [rsp + 0x50], rsi
mov rax, qword [rcx + 8]
mov qword [rax], 0
mov rsi, qword [rcx]
test rsi, rsi
je 0x140038546
mov qword [rsp + 0x48], rbx
nop dword [rax + rax]
mov rbx, qword [rsi]
lea rcx, [rsi + 0x10]
call fcn.140039ba0
mov edx, 0x98
mov rcx, rsi
call fcn.140068c3c
mov rsi, rbx
test rbx, rbx
jne 0x140038520
mov rbx, qword [rsp + 0x48]
mov rax, qword [rdi + 8]
lea r8, [rsp + 0x20]
mov qword [rax], rax
mov rax, qword [rdi + 8]
mov qword [rax + 8], rax
mov qword [rdi + 0x10], 0
mov rax, qword [rdi + 8]
mov rdx, qword [rdi + 0x20]
mov rcx, qword [rdi + 0x18]
mov qword [rsp + 0x20], rax
call fcn.14001a3a0
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x1400388c0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov rax, rsp
push rbp
push r14
push r15
sub rsp, 0x50
mov rbp, r8
mov r15, rdx
mov r14, rcx
cmp rdx, r8
je 0x140038a9b
cmp qword [rdx + 0x28], 0xf
lea r8, [rdx + 0x10]
mov r10, qword [rcx + 0x18]
mov r9, qword [r8 + 0x10]
mov qword [rax + 0x10], rbx
mov rbx, rdx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov qword [rax - 0x20], r12
mov qword [rax - 0x28], r13
mov rax, qword [rcx + 8]
mov qword [rsp + 0x28], rax
mov rax, qword [rdx + 8]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x38], r10
jbe 0x140038922
mov r8, qword [r8]
xor ecx, ecx
movabs rdx, 0xcbf29ce484222325
movabs r11, 0x100000001b3
test r9, r9
je 0x140038954
nop dword [rax]
movzx eax, byte [r8 + rcx]
inc rcx
xor rdx, rax
imul rdx, r11
cmp rcx, r9
jb 0x140038940
mov r12, qword [r14 + 0x30]
and r12, rdx
shl r12, 4
add r12, r10
mov rax, qword [r12 + 8]
mov r13, qword [r12]
mov qword [rsp + 0x30], rax
mov rdi, rbx
mov rsi, rbx
mov rbx, qword [rbx]
lea rcx, [rdi + 0x10]
call fcn.140039c20
mov edx, 0xc8
mov rcx, rdi
call fcn.140068c3c
dec qword [r14 + 0x10]
cmp rdi, qword [rsp + 0x30]
je 0x1400389b1
cmp rbx, rbp
jne 0x140038970
cmp r13, r15
jne 0x140038a70
mov qword [r12], rbx
jmp 0x140038a70
cmp r13, r15
mov r13, qword [rsp + 0x28]
jne 0x1400389c4
mov qword [r12], r13
mov rax, r13
jmp 0x1400389c9
mov rax, qword [rsp + 0x20]
mov qword [r12 + 8], rax
cmp rbx, rbp
je 0x140038a70
nop word [rax + rax]
cmp qword [rbx + 0x28], 0xf
lea r8, [rbx + 0x10]
mov r9, qword [r8 + 0x10]
jbe 0x1400389f2
mov r8, qword [r8]
xor edx, edx
movabs rcx, 0xcbf29ce484222325
test r9, r9
je 0x140038a29
movabs r13, 0x100000001b3
nop dword [rax]
movzx eax, byte [rdx + r8]
inc rdx
xor rcx, rax
imul rcx, r13
cmp rdx, r9
jb 0x140038a10
mov r13, qword [rsp + 0x28]
mov r15, qword [r14 + 0x30]
and r15, rcx
shl r15, 4
add r15, qword [rsp + 0x38]
mov r12, qword [r15 + 8]
nop dword [rax]
mov rdi, rbx
mov rsi, rbx
mov rbx, qword [rbx]
lea rcx, [rdi + 0x10]
call fcn.140039c20
mov edx, 0xc8
mov rcx, rdi
call fcn.140068c3c
dec qword [r14 + 0x10]
cmp rdi, r12
je 0x140038aa8
cmp rbx, rbp
jne 0x140038a40
mov qword [r15], rbx
mov rax, qword [rsp + 0x20]
mov r12, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x88]
mov rsi, qword [rsp + 0x80]
mov r13, qword [rsp + 0x40]
mov qword [rax], rbx
mov qword [rbx + 8], rax
mov rbx, qword [rsp + 0x78]
mov rax, rbp
add rsp, 0x50
pop r15
pop r14
pop rbp
ret
mov qword [r15], r13
mov qword [r15 + 8], r13
cmp rbx, rbp
jne 0x1400389e0
jmp 0x140038a70
Function at 0x140038ac0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov rax, rsp
push rbp
push r14
push r15
sub rsp, 0x50
mov rbp, r8
mov r15, rdx
mov r14, rcx
cmp rdx, r8
je 0x140038c9b
cmp qword [rdx + 0x28], 0xf
lea r8, [rdx + 0x10]
mov r10, qword [rcx + 0x18]
mov r9, qword [r8 + 0x10]
mov qword [rax + 0x10], rbx
mov rbx, rdx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov qword [rax - 0x20], r12
mov qword [rax - 0x28], r13
mov rax, qword [rcx + 8]
mov qword [rsp + 0x28], rax
mov rax, qword [rdx + 8]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x38], r10
jbe 0x140038b22
mov r8, qword [r8]
xor ecx, ecx
movabs rdx, 0xcbf29ce484222325
movabs r11, 0x100000001b3
test r9, r9
je 0x140038b54
nop dword [rax]
movzx eax, byte [r8 + rcx]
inc rcx
xor rdx, rax
imul rdx, r11
cmp rcx, r9
jb 0x140038b40
mov r12, qword [r14 + 0x30]
and r12, rdx
shl r12, 4
add r12, r10
mov rax, qword [r12 + 8]
mov r13, qword [r12]
mov qword [rsp + 0x30], rax
mov rdi, rbx
mov rsi, rbx
mov rbx, qword [rbx]
lea rcx, [rdi + 0x10]
call fcn.140039ba0
mov edx, 0x98
mov rcx, rdi
call fcn.140068c3c
dec qword [r14 + 0x10]
cmp rdi, qword [rsp + 0x30]
je 0x140038bb1
cmp rbx, rbp
jne 0x140038b70
cmp r13, r15
jne 0x140038c70
mov qword [r12], rbx
jmp 0x140038c70
cmp r13, r15
mov r13, qword [rsp + 0x28]
jne 0x140038bc4
mov qword [r12], r13
mov rax, r13
jmp 0x140038bc9
mov rax, qword [rsp + 0x20]
mov qword [r12 + 8], rax
cmp rbx, rbp
je 0x140038c70
nop word [rax + rax]
cmp qword [rbx + 0x28], 0xf
lea r8, [rbx + 0x10]
mov r9, qword [r8 + 0x10]
jbe 0x140038bf2
mov r8, qword [r8]
xor edx, edx
movabs rcx, 0xcbf29ce484222325
test r9, r9
je 0x140038c29
movabs r13, 0x100000001b3
nop dword [rax]
movzx eax, byte [rdx + r8]
inc rdx
xor rcx, rax
imul rcx, r13
cmp rdx, r9
jb 0x140038c10
mov r13, qword [rsp + 0x28]
mov r15, qword [r14 + 0x30]
and r15, rcx
shl r15, 4
add r15, qword [rsp + 0x38]
mov r12, qword [r15 + 8]
nop dword [rax]
mov rdi, rbx
mov rsi, rbx
mov rbx, qword [rbx]
lea rcx, [rdi + 0x10]
call fcn.140039ba0
mov edx, 0x98
mov rcx, rdi
call fcn.140068c3c
dec qword [r14 + 0x10]
cmp rdi, r12
je 0x140038ca8
cmp rbx, rbp
jne 0x140038c40
mov qword [r15], rbx
mov rax, qword [rsp + 0x20]
mov r12, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x88]
mov rsi, qword [rsp + 0x80]
mov r13, qword [rsp + 0x40]
mov qword [rax], rbx
mov qword [rbx + 8], rax
mov rbx, qword [rsp + 0x78]
mov rax, rbp
add rsp, 0x50
pop r15
pop r14
pop rbp
ret
mov qword [r15], r13
mov qword [r15 + 8], r13
cmp rbx, rbp
jne 0x140038be0
jmp 0x140038c70
Function at 0x14003b4c0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov r11d, r8d
mov r10, rdx
not r11d
mov r9, rcx
mov eax, r11d
test rdx, rdx
je 0x14003b51d
lea rbx, [0x1400a7a50]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x14003b504
cmp r10, 2
jb 0x14003b504
cmp byte [r9], r8b
jne 0x14003b504
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
xor rdx, r8
shr eax, 8
xor eax, dword [rbx + rdx*4]
test r10, r10
jne 0x14003b4e0
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x14003b55f
lea rbx, [0x1400a7a50]
cmp r8b, 0x23
jne 0x14003b543
cmp byte [r9], r8b
jne 0x14003b543
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
movzx ecx, r8b
movzx r8d, byte [r9]
xor rdx, rcx
shr eax, 8
inc r9
xor eax, dword [rbx + rdx*4]
test r8b, r8b
jne 0x14003b530
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x14003b6a0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x14003b6ba
mov qword [r8], 0
lea rdx, [0x1400a707c]
call fcn.14003b570
mov rbx, rax
test rax, rax
jne 0x14003b6da
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
mov qword [rsp + 0x30], rsi
mov rcx, rbx
mov qword [rsp + 0x38], rdi
call fcn.140079e74
mov esi, eax
cmp eax, 0xffffffff
je 0x14003b7a8
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 2]
call fcn.1400797b0
test eax, eax
jne 0x14003b7a8
mov rcx, rbx
call fcn.140079e74
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x14003b7a8
xor r8d, r8d
mov edx, esi
mov rcx, rbx
call fcn.1400797b0
test eax, eax
jne 0x14003b7a8
cmp rdi, 0xffffffffffffffff
je 0x14003b7a8
mov rax, qword [0x1400c2800]
test rax, rax
je 0x14003b74a
inc dword [rax + 0x3bc]
mov rcx, rdi
call fcn.14007cdf4
mov rsi, rax
test rax, rax
je 0x14003b7a8
mov r9, rbx
mov r8, rdi
mov edx, 1
mov rcx, rax
call fcn.1400793e0
mov rcx, rbx
cmp rax, rdi
je 0x14003b796
call fcn.1400788e8
mov rax, qword [0x1400c2800]
test rax, rax
je 0x14003b78c
dec dword [rax + 0x3bc]
mov rcx, rsi
call fcn.140073724
jmp 0x14003b7b0
call fcn.1400788e8
test r14, r14
je 0x14003b7a3
mov qword [r14], rdi
mov rax, rsi
jmp 0x14003b7b2
mov rcx, rbx
call fcn.1400788e8
xor eax, eax
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
Function at 0x14003f090
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x70
xor eax, eax
lea r8, [0x1400a6ead]
mov dword [rsp + 0x2c], eax
lea r11, [0x1400a7a50]
mov qword [rsp + 0x38], rax
mov r10d, 0xffffffff
mov qword [rsp + 0x60], rax
mov rbx, rcx
lea rax, str.Window
mov edx, r10d
mov qword [rsp + 0x20], rax
mov r9b, 0x57
cmp r9b, 0x23
jne 0x14003f0e6
cmp byte [r8], r9b
jne 0x14003f0e6
cmp byte [r8 + 1], r9b
cmove edx, r10d
movzx ecx, dl
movzx eax, r9b
movzx r9d, byte [r8]
xor rcx, rax
shr edx, 8
inc r8
xor edx, dword [r11 + rcx*4]
test r9b, r9b
jne 0x14003f0d3
mov ecx, dword [rbx + 0x303c]
lea rax, [0x14004b130]
mov edi, dword [rbx + 0x3038]
not edx
mov qword [rsp + 0x30], rax
lea rax, [0x14004b1c0]
mov qword [rsp + 0x40], rax
lea rax, [0x14004b2b0]
mov qword [rsp + 0x48], rax
lea rax, [0x14004b390]
mov qword [rsp + 0x50], rax
lea rax, [0x14004b4e0]
mov qword [rsp + 0x58], rax
mov dword [rsp + 0x28], edx
cmp edi, ecx
jne 0x14003f204
inc edi
test ecx, ecx
je 0x14003f16a
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x14003f16f
mov eax, 8
cmp eax, edi
cmovg edi, eax
cmp edi, ecx
jle 0x14003f204
mov rax, qword [0x1400c2800]
mov qword [rsp + 0x80], rsi
test rax, rax
je 0x14003f196
inc dword [rax + 0x3bc]
movsxd rax, edi
lea rcx, [rax + rax*8]
shl rcx, 3
call fcn.14007cdf4
mov rdx, qword [rbx + 0x3040]
mov rsi, rax
test rdx, rdx
je 0x14003f1ef
movsxd rcx, dword [rbx + 0x3038]
lea r8, [rcx + rcx*8]
mov rcx, rax
shl r8, 3
call fcn.140093090
mov rcx, qword [rbx + 0x3040]
test rcx, rcx
je 0x14003f1ea
mov rax, qword [0x1400c2800]
test rax, rax
je 0x14003f1ea
dec dword [rax + 0x3bc]
call fcn.140073724
mov qword [rbx + 0x3040], rsi
mov rsi, qword [rsp + 0x80]
mov dword [rbx + 0x303c], edi
movsxd rax, dword [rbx + 0x3038]
movaps xmm0, xmmword [rsp + 0x20]
movaps xmm1, xmmword [rsp + 0x30]
lea rcx, [rax + rax*8]
mov rax, qword [rbx + 0x3040]
movups xmmword [rax + rcx*8], xmm0
movaps xmm0, xmmword [rsp + 0x40]
movups xmmword [rax + rcx*8 + 0x10], xmm1
movaps xmm1, xmmword [rsp + 0x50]
movups xmmword [rax + rcx*8 + 0x20], xmm0
movsd xmm0, qword [rsp + 0x60]
movups xmmword [rax + rcx*8 + 0x30], xmm1
movsd qword [rax + rcx*8 + 0x40], xmm0
inc dword [rbx + 0x3038]
mov byte [rbx], 1
mov rbx, qword [rsp + 0x88]
add rsp, 0x70
pop rdi
ret