joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14019ae84
Capabilities:
Log keystrokes via polling
Open clipboard
Write clipboard data

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
mov rsi, rdx
mov rbp, rcx
cmp dword [rdx + 8], 0x100
jne 0x14019afaf
mov ebx, dword [rdx + 0x10]
mov ecx, 0x11
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jae 0x14019afaf
cmp ebx, 0x43
je 0x14019aed2
cmp ebx, 0x2d
jne 0x14019afaf
mov rcx, qword [rbp + 0x40]
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x14019afaf
call qword [sym.imp.USER32.dll_EmptyClipboard]
call fcn.1400204a0
mov rcx, rax
test rax, rax
je 0x14019afce
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
call qword [case.0x1400456ce.0]
add rax, 0x18
mov qword [rsp + 0x48], rax
movzx eax, byte [rbp + 0x196]
movzx r9d, byte [rbp + 0x195]
movzx r8d, byte [rbp + 0x194]
mov dword [rsp + 0x20], eax
lea rdx, str.RGB__d___d___d_
lea rcx, [rsp + 0x48]
call fcn.140016ae0
mov rbx, qword [rsp + 0x48]
mov eax, dword [rbx - 0x10]
inc eax
movsxd rdx, eax
add rdx, rdx
mov ecx, 0x2000
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rdi, rax
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov rdx, rbx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rdx, rdi
mov ecx, SafeArrayGetDim
call qword [sym.imp.USER32.dll_SetClipboardData]
call qword [sym.imp.USER32.dll_CloseClipboard]
nop
lea rdx, [rbx - 0x18]
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14019afaf
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x1400456ce.0]
mov rdx, rsi
mov rcx, rbp
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
jmp method.CDialogEx.virtual_536
mov ecx, 0x80004005
call fcn.140012d38
int3

Function at 0x1401b3ba4
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov ebx, ecx
test r8d, r8d
jne 0x1401b3a37
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1401b3a37
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1401b3a37
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1401b3a37
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1401b3a37
cmp dword [rcx + 0x84], 0xe
jbe 0x1401b3a37
cmp dword [rcx + 0xf8], 0
je 0x1401b3a37
mov ecx, ebx
call fcn.1401b3ad8
lea rax, [rbp + 0x18]
mov byte [rbp + 0x28], 0
mov qword [rbp - 0x20], rax
lea r9, [rbp - 0x2c]
lea rax, [rbp + 0x20]
mov qword [rbp - 0x18], rax
lea r8, [rbp - 0x20]
lea rax, [rbp + 0x28]
mov qword [rbp - 0x10], rax
lea rdx, [rbp - 0x28]
mov eax, 2
lea rcx, [rbp - 0x30]
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
call fcn.1401b38c8
cmp dword [rbp + 0x20], 0
je 0x1401b3a84
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.1401b3a8c
int3
xor r8d, r8d
xor edx, edx
jmp 0x1401b39d0
Function at 0x6d7d7620
Capabilities:
Allocate or change rwx memory

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x6d7f85e4]
test esi, esi
mov rbx, rcx
mov rbp, rdx
mov rdi, r8
jle 0x6d7d77a8
mov rax, qword [0x6d7f85e8]
xor ecx, ecx
add rax, 0x18
nop
mov rdx, qword [rax]
cmp rbx, rdx
jb 0x6d7d766c
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp rbx, rdx
jb 0x6d7d76f5
add ecx, 1
add rax, 0x28
cmp ecx, esi
jne 0x6d7d7650
mov rcx, rbx
call sym.__mingw_GetSectionForAddress
test rax, rax
mov r12, rax
je 0x6d7d77dd
mov rax, qword [0x6d7f85e8]
lea rsi, [rsi + rsi*4]
shl rsi, 3
add rax, rsi
mov qword [rax + 0x20], r12
mov dword [rax], 0
call sym._GetPEImageBase
mov ecx, dword [r12 + 0xc]
lea rdx, [rsp + 0x20]
mov r8d, 0x30
add rcx, rax
mov rax, qword [0x6d7f85e8]
mov qword [rax + rsi + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x6d7d77c0
mov eax, dword [rsp + 0x44]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x6d7d76ee
sub eax, 0x40
and eax, 0xffffffbf
jne 0x6d7d7750
add dword [0x6d7f85e4], 1
cmp edi, 8
jae 0x6d7d7723
test dil, 4
jne 0x6d7d7794
test edi, edi
je 0x6d7d7718
movzx eax, byte [rbp]
test dil, 2
mov byte [rbx], al
jne 0x6d7d77af
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov eax, edi
sub edi, 1
mov rdx, qword [rbp + rax - 8]
cmp edi, 8
mov qword [rbx + rax - 8], rdx
jb 0x6d7d7718
and edi, 0xfffffff8
xor eax, eax
mov edx, eax
add eax, 8
mov rcx, qword [rbp + rdx]
cmp eax, edi
mov qword [rbx + rdx], rcx
jb 0x6d7d773c
jmp 0x6d7d7718
add rsi, qword [0x6d7f85e8]
mov r8d, 0x40
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r9, rsi
mov qword [rsi + 8], rcx
mov qword [rsi + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x6d7d76ee
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call sym.__report_error
mov eax, dword [rbp]
mov edi, edi
mov dword [rbx], eax
mov eax, dword [rbp + rdi - 4]
mov dword [rbx + rdi - 4], eax
jmp 0x6d7d7718
xor esi, esi
jmp 0x6d7d7677
mov edi, edi
movzx eax, word [rbp + rdi - 2]
mov word [rbx + rdi - 2], ax
jmp 0x6d7d7718
mov rax, qword [0x6d7f85e8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov edx, dword [r12 + 8]
mov r8, qword [rax + rsi + 0x18]
call sym.__report_error
lea rcx, str.Address__p_has_no_image_section
mov rdx, rbx
call sym.__report_error
nop
nop dword [rax]

Function at 0x6d7d7f30
Capabilities:
Get thread local storage value

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x6d7f88c0]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x6d7f88a0]
test rbx, rbx
je 0x6d7d7f84
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test eax, eax
jne 0x6d7d7f7b
test rsi, rsi
je 0x6d7d7f7b
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x6d7d7f60
lea rcx, [0x6d7f88c0]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x6d7d81c0
Capabilities:
Parse pe header

Disassembly:
cmp word [rcx], 0x5a4d
je 0x6d7d81d0
xor eax, eax
ret
jmp sym._ValidateImageBase.part.0

Function at 0x6d7d81e0
Capabilities:
Enumerate pe sections

Disassembly:
movsxd rax, dword [rcx + 0x3c]
add rcx, rax
movzx eax, word [rcx + 0x14]
lea rax, [rcx + rax + 0x18]
movzx ecx, word [rcx + 6]
test ecx, ecx
je 0x6d7d8221
sub ecx, 1
lea rcx, [rcx + rcx*4]
lea r9, [rax + rcx*8 + 0x28]
mov r8d, dword [rax + 0xc]
cmp r8, rdx
mov rcx, r8
ja 0x6d7d8218
add ecx, dword [rax + 8]
cmp rcx, rdx
ja 0x6d7d8223
add rax, 0x28
cmp rax, r9
jne 0x6d7d8204
xor eax, eax
ret

Function at 0x6d7d82c0
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r8, qword [0x6d7f51f0]
cmp word [r8], 0x5a4d
mov rdx, rcx
jne 0x6d7d832d
mov rcx, r8
call sym._ValidateImageBase.part.0
test eax, eax
je 0x6d7d832d
movsxd rax, dword [r8 + 0x3c]
mov rcx, rdx
sub rcx, r8
add r8, rax
movzx edx, word [r8 + 6]
movzx eax, word [r8 + 0x14]
test edx, edx
lea rax, [r8 + rax + 0x18]
je 0x6d7d832d
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop
mov r8d, dword [rax + 0xc]
cmp rcx, r8
mov rdx, r8
jb 0x6d7d8324
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x6d7d832f
add rax, 0x28
cmp rax, r9
jne 0x6d7d8310
xor eax, eax
add rsp, 0x28
ret

Function at 0x6d7d8430
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r8, qword [0x6d7f51f0]
xor eax, eax
cmp word [r8], 0x5a4d
mov rdx, rcx
je 0x6d7d8450
add rsp, 0x28
ret
mov rcx, r8
call sym._ValidateImageBase.part.0
test eax, eax
je 0x6d7d8448
movsxd rax, dword [r8 + 0x3c]
mov rcx, rdx
sub rcx, r8
add r8, rax
movzx edx, word [r8 + 6]
movzx eax, word [r8 + 0x14]
test edx, edx
lea rax, [r8 + rax + 0x18]
je 0x6d7d84ad
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop dword [rax + rax]
mov r8d, dword [rax + 0xc]
cmp rcx, r8
mov rdx, r8
jb 0x6d7d84a4
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x6d7d84b4
add rax, 0x28
cmp rax, r9
jne 0x6d7d8490
xor eax, eax
add rsp, 0x28
ret
mov eax, dword [rax + 0x24]
not eax
shr eax, 0x1f
add rsp, 0x28
ret

Function at 0x6d7d84d0
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r11, qword [0x6d7f51f0]
cmp word [r11], 0x5a4d
mov r9d, ecx
jne 0x6d7d853e
mov rcx, r11
call sym._ValidateImageBase.part.0
test eax, eax
je 0x6d7d853e
movsxd rax, dword [r11 + 0x3c]
add rax, r11
mov edx, dword [rax + 0x90]
test edx, edx
je 0x6d7d853e
movzx ecx, word [rax + 0x14]
lea rcx, [rax + rcx + 0x18]
movzx eax, word [rax + 6]
test eax, eax
je 0x6d7d853e
sub eax, 1
lea rax, [rax + rax*4]
lea rax, [rcx + rax*8 + 0x28]
mov r10d, dword [rcx + 0xc]
cmp rdx, r10
mov r8, r10
jb 0x6d7d8535
add r8d, dword [rcx + 8]
cmp rdx, r8
jb 0x6d7d8545
add rcx, 0x28
cmp rcx, rax
jne 0x6d7d8520
xor eax, eax
add rsp, 0x28
ret
add rdx, r11
jne 0x6d7d8558
jmp 0x6d7d853e
sub r9d, 1
add rdx, 0x14
mov ecx, dword [rdx + 4]
test ecx, ecx
jne 0x6d7d8566
mov eax, dword [rdx + 0xc]
test eax, eax
je 0x6d7d853e
test r9d, r9d
jg 0x6d7d8550
mov eax, dword [rdx + 0xc]
add rax, r11
add rsp, 0x28
ret
Function at 0x6d7d88a0
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
lea rax, [rsp + 0x58]
mov rbx, rcx
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call sym.__acrt_iob_func
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sym.fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call sym.__acrt_iob_func
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sym.vfprintf
call sym.abort
nop
nop
nop
nop
nop
nop
nop
nop
Function at 0x14000eaf0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
mov ecx, dword [rcx + 0x10]
mov r10d, ecx
and r10d, 7
je 0x14000eb24
cmp ecx, r10d
jge 0x14000eb12
mov rcx, rbx
call fcn.14000e2f0
mov eax, dword [rbx + 0x14]
mov ecx, r10d
shr eax, cl
sub dword [rbx + 0x10], r10d
mov ecx, dword [rbx + 0x10]
mov dword [rbx + 0x14], eax
xor r8d, r8d
mov eax, ecx
test ecx, ecx
jle 0x14000eb5e
mov ecx, dword [rbx + 0x14]
lea rdx, [rsp + 0x30]
movzx r9d, cl
nop dword [rax]
shr ecx, 8
inc r8d
mov byte [rdx], r9b
lea rdx, [rdx + 1]
sub eax, 8
mov dword [rbx + 0x14], ecx
movzx r9d, cl
test eax, eax
jg 0x14000eb40
mov dword [rbx + 0x10], eax
test eax, eax
jns 0x14000eb86
mov rax, qword gs:[0x58]
mov edx, 0x28
mov rcx, qword [rax]
lea rax, str.zlib_corrupt
mov qword [rdx + rcx], rax
xor eax, eax
add rsp, 0x20
pop rbx
ret
movsxd rcx, r8d
cmp rcx, 4
jge 0x14000ebb5
mov r8, qword [rbx + 8]
mov rax, qword [rbx]
cmp rax, r8
jb 0x14000eb9f
xor dl, dl
jmp 0x14000eba8
movzx edx, byte [rax]
inc rax
mov qword [rbx], rax
mov byte [rsp + rcx + 0x30], dl
inc rcx
cmp rcx, 4
jl 0x14000eb96
movzx eax, byte [rsp + 0x30]
movzx r8d, byte [rsp + 0x31]
movzx ecx, byte [rsp + 0x33]
shl r8d, 8
add r8d, eax
shl ecx, 8
movzx eax, byte [rsp + 0x32]
add ecx, eax
mov eax, r8d
xor eax, 0xffff
cmp ecx, eax
jne 0x14000eb62
mov rcx, qword [rbx]
mov qword [rsp + 0x38], rdi
mov edi, r8d
add rcx, rdi
cmp rcx, qword [rbx + 8]
jbe 0x14000ec1f
mov rax, qword gs:[0x58]
mov edx, 0x28
mov rcx, qword [rax]
lea rax, str.read_past_buffer
mov qword [rdx + rcx], rax
mov rdi, qword [rsp + 0x38]
xor eax, eax
add rsp, 0x20
pop rbx
ret
mov rdx, qword [rbx + 0x18]
lea rax, [r8 + rdx]
cmp rax, qword [rbx + 0x28]
jbe 0x14000ec39
mov rcx, rbx
call fcn.14000e440
test eax, eax
je 0x14000ec12
mov rdx, qword [rbx]
mov r8, rdi
mov rcx, qword [rbx + 0x18]
call fcn.1400fe2d0
add qword [rbx], rdi
mov eax, 1
add qword [rbx + 0x18], rdi
mov rdi, qword [rsp + 0x38]
add rsp, 0x20
pop rbx
ret
Function at 0x140028af0
Capabilities:
Set current directory

Disassembly:
push rbp
lea rbp, [rsp - 0x190]
sub rsp, 0x290
mov rax, qword [0x1401f8880]
xor rax, rsp
mov qword [rbp + 0x180], rax
mov r8d, 0x104
lea rdx, [rsp + 0x70]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x58], 0
mov qword [rsp + 0x60], 0
lea rax, [rsp + 0x70]
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x140028b50
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x48]
call fcn.140040ac0
nop
lea rcx, [rsp + 0x48]
call fcn.140032fb0
mov r8, rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x30], xmm1
cmp qword [rsp + 0x58], rax
cmovb r8, qword [rsp + 0x58]
lea rdx, [rsp + 0x48]
cmp qword [rsp + 0x60], 8
cmovae rdx, qword [rsp + 0x48]
lea rcx, [rsp + 0x20]
call fcn.140040ac0
lea rcx, [rsp + 0x20]
cmp qword [rsp + 0x38], 8
cmovae rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov rdx, qword [rsp + 0x38]
cmp rdx, 8
jb 0x140028c08
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140028c03
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140028cfd
call fcn.1400fc100
lea rcx, [rsp + 0x48]
call fcn.140032fb0
mov r8, rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x30], xmm1
cmp qword [rsp + 0x58], rax
cmovb r8, qword [rsp + 0x58]
lea rdx, [rsp + 0x48]
cmp qword [rsp + 0x60], 8
cmovae rdx, qword [rsp + 0x48]
lea rcx, [rsp + 0x20]
call fcn.140040ac0
lea rcx, [rsp + 0x20]
cmp qword [rsp + 0x38], 8
cmovae rcx, qword [rsp + 0x20]
call fcn.14010d680
mov rdx, qword [rsp + 0x38]
cmp rdx, 8
jb 0x140028ca1
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140028c9b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140028d03
call fcn.1400fc100
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 8
jb 0x140028cdf
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140028cda
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140028cf7
call fcn.1400fc100
mov rcx, qword [rbp + 0x180]
xor rcx, rsp
call fcn.1400fc0e0
add rsp, 0x290
pop rbp
ret
call fcn.14010db80
nop
call fcn.14010db80
nop
call fcn.14010db80
int3
Function at 0x140031b10
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 0x140031b32
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 0x140031bac
mov rdi, r14
mov rcx, rbx
call fcn.140035fe0
test rax, rax
jle 0x140031b84
mov rdx, qword [rbx + 0x38]
cmp rdi, rax
mov rbp, rdi
mov rcx, rsi
cmovge rbp, rax
mov r8, rbp
mov rdx, qword [rdx]
call fcn.1400fe2d0
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 0x140031b9c
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + gethostname]
cmp eax, 0xffffffff
je 0x140031ba4
mov byte [rsi], al
dec rdi
mov ebp, 1
add rsi, rbp
test rdi, rdi
jg 0x140031b46
sub r14, rdi
jmp 0x140031c8f
mov rax, qword [rcx + 0x38]
mov rbp, r14
mov rdx, qword [rax]
test rdx, rdx
je 0x140031bc3
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x140031bc5
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x140031bf7
cmp rax, r14
mov rdi, r14
mov rcx, rsi
cmovb rdi, rax
mov r8, rdi
call fcn.1400fe2d0
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 0x140031c8c
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x140031c32
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 0x140031c6d
nop dword [rax + rax]
mov r9, qword [rbx + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, rsi
call fcn.14010d368
add rsi, rax
sub rbp, rax
cmp rax, 0xfff
jne 0x140031c8c
cmp rbp, rax
ja 0x140031c40
test rbp, rbp
je 0x140031c8c
mov r9, qword [rbx + 0x80]
mov r8, rbp
mov edx, 1
mov rcx, rsi
call fcn.14010d368
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 0x140032cc0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
cmp qword [rdx + 0x18], 0x10
mov r9, qword [rdx + 0x10]
jb 0x140032cce
mov rdx, qword [rdx]
xor r8d, r8d
movabs rax, 0xcbf29ce484222325
test r9, r9
je 0x140032d04
movabs r10, 0x100000001b3
nop word [rax + rax]
movzx ecx, byte [r8 + rdx]
inc r8
xor rax, rcx
imul rax, r10
cmp r8, r9
jb 0x140032cf0
ret
Function at 0x14005ce20
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 0x14005ce7d
lea rbx, [0x1401d4e40]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x14005ce64
cmp r10, 2
jb 0x14005ce64
cmp byte [r9], r8b
jne 0x14005ce64
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 0x14005ce40
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x14005cebf
lea rbx, [0x1401d4e40]
cmp r8b, 0x23
jne 0x14005cea3
cmp byte [r9], r8b
jne 0x14005cea3
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 0x14005ce90
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x14005d000
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x14005d01a
mov qword [r8], 0
lea rdx, [0x140171adc]
call fcn.14005ced0
mov rbx, rax
test rax, rax
jne 0x14005d03a
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.140102ec8
mov esi, eax
cmp eax, 0xffffffff
je 0x14005d108
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 2]
call fcn.140107608
test eax, eax
jne 0x14005d108
mov rcx, rbx
call fcn.140102ec8
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x14005d108
xor r8d, r8d
mov edx, esi
mov rcx, rbx
call fcn.140107608
test eax, eax
jne 0x14005d108
cmp rdi, 0xffffffffffffffff
je 0x14005d108
mov rax, qword [0x14029c1f8]
test rax, rax
je 0x14005d0aa
inc dword [rax + 0xf0]
mov rcx, rdi
call fcn.14010dbf8
mov rsi, rax
test rax, rax
je 0x14005d108
mov r9, rbx
mov r8, rdi
mov edx, 1
mov rcx, rax
call fcn.14010d368
mov rcx, rbx
cmp rax, rdi
je 0x14005d0f6
call fcn.140107040
mov rax, qword [0x14029c1f8]
test rax, rax
je 0x14005d0ec
dec dword [rax + 0xf0]
mov rcx, rsi
call fcn.14010ce4c
jmp 0x14005d110
call fcn.140107040
test r14, r14
je 0x14005d103
mov qword [r14], rdi
mov rax, rsi
jmp 0x14005d112
mov rcx, rbx
call fcn.140107040
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 0x140060590
Capabilities:
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x20
movsxd r8, dword [rcx + 0xf0]
lea r11, [0x1401d4e40]
mov rax, qword [rcx + 0xf8]
mov r9, rcx
movsxd r10, edx
mov ebx, dword [rax + r8*4 - 4]
not ebx
movzx eax, r10b
movzx r8d, bl
shr ebx, 8
xor r8, rax
mov eax, r10d
shr eax, 8
movzx edx, al
mov eax, r10d
xor ebx, dword [r11 + r8*4]
movzx ecx, bl
xor rdx, rcx
shr ebx, 8
shr eax, 0x10
xor ebx, dword [r11 + rdx*4]
movzx ecx, bl
shr ebx, 8
movzx edx, al
xor rdx, rcx
xor ebx, dword [r11 + rdx*4]
movzx ecx, bl
shr ebx, 8
mov edx, r10d
shr rdx, 0x18
xor rdx, rcx
mov rcx, qword [r9]
xor ebx, dword [r11 + rdx*4]
not ebx
cmp dword [rcx + 0x1228], ebx
jne 0x140060626
mov r8, r10
mov edx, 4
mov ecx, ebx
call fcn.140073280
mov eax, ebx
add rsp, 0x20
pop rbx
ret
Function at 0x140063aa0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
mov qword [rsp + 8], rcx
push rdi
push r14
push r15
sub rsp, 0x40
mov rdi, qword [0x14029c1f8]
mov r15d, edx
movaps xmmword [rsp + 0x30], xmm6
mov r14, qword [rdi + 0x11e0]
cmp qword [r14 + 0x1a8], 0
jne 0x140063aec
cmp qword [rdi + 0x1e48], 0
mov eax, 0x250
je 0x140063af1
mov eax, 0x220
movss xmm4, dword [rax + r14]
xorps xmm3, xmm3
movss xmm5, dword [rax + r14 + 4]
xor ebx, ebx
cvttss2si eax, dword [r8]
subss xmm4, dword [r14 + 0x100]
subss xmm5, dword [r14 + 0x104]
movd xmm1, eax
cvttss2si eax, dword [r8 + 4]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
ucomiss xmm1, xmm3
cvtdq2ps xmm0, xmm0
jp 0x140063b38
lea eax, [rbx + 1]
je 0x140063b3a
mov eax, ebx
ucomiss xmm0, xmm3
jp 0x140063b46
jne 0x140063b46
mov ebx, 2
movss xmm2, dword [0x1401ddc88]
or ebx, eax
comiss xmm3, xmm1
jb 0x140063b61
addss xmm1, xmm4
comiss xmm1, xmm2
jae 0x140063b61
movaps xmm1, xmm2
comiss xmm3, xmm0
jb 0x140063b72
addss xmm0, xmm5
comiss xmm0, xmm2
jae 0x140063b72
movaps xmm0, xmm2
or dword [rdi + 0x1ab8], 2
lea rax, str.Debug
movss dword [rdi + 0x1ad8], xmm1
lea r8, str._s__s__08X
movss dword [rdi + 0x1adc], xmm0
lea rcx, [rsp + 0x60]
mov dword [rdi + 0x1ac0], 1
xor edx, edx
mov r9, qword [r14 + 8]
mov dword [rsp + 0x28], r15d
mov qword [rsp + 0x20], rax
call fcn.14005cd00
mov rcx, qword [rsp + 0x60]
xor edx, edx
movss xmm6, dword [rdi + 0xb00]
mov r8d, 0x1000107
call fcn.140066720
mov rsi, qword [rdi + 0x11e0]
movzx ebp, al
movss dword [rdi + 0xb00], xmm6
cmp word [rsi + 0xc2], 1
mov dword [rsi + 0x80], r15d
mov byte [rsi + 0xd2], bl
jne 0x140063c0c
movsd xmm0, qword [rsi + 0x20]
movsd qword [r14 + 0x100], xmm0
mov r9d, r15d
lea rdx, [0x1401dc641]
not r9d
lea r10, [0x1401d4e40]
mov ebx, r9d
mov r8b, 0x23
cmp r8b, 0x23
jne 0x140063c39
cmp byte [rdx], r8b
jne 0x140063c39
cmp byte [rdx + 1], r8b
cmove ebx, r9d
movzx ecx, bl
movzx eax, r8b
movzx r8d, byte [rdx]
xor rcx, rax
shr ebx, 8
inc rdx
xor ebx, dword [r10 + rcx*4]
test r8b, r8b
jne 0x140063c26
not ebx
cmp dword [rdi + 0x1240], ebx
jne 0x140063c69
xor edx, edx
xor ecx, ecx
call fcn.140060630
cmp dword [rdi + 0x1be0], r15d
jne 0x140063caf
cmp word [rsi + 0x15c], 0
jne 0x140063c85
cmp byte [rsi + 0x162], 0
je 0x140063caf
xor edx, edx
mov rcx, rsi
call fcn.140068bc0
xor edx, edx
mov rcx, rsi
call fcn.14006e4e0
mov rdx, rsi
mov ecx, ebx
call fcn.140060630
mov eax, dword [rdi + 0x1c04]
mov dword [rdi + 0x1268], eax
mov rbx, qword [rsp + 0x68]
movzx eax, bpl
mov rbp, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
movaps xmm6, xmmword [rsp + 0x30]
add rsp, 0x40
pop r15
pop r14
pop rdi
ret