joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140012cd0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
sub rsp, 0x20
mov ecx, dword [0x14003b088]
test ecx, ecx
je 0x140012d96
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
jbe 0x140012cfd
mov rsi, rax
cmp byte [rax + 8], 0
jne 0x140012d90
mov ecx, dword [0x14003b088]
test ecx, ecx
je 0x140012db8
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
je 0x140012dd5
mov rsi, rax
test rax, rax
jne 0x140012d8a
movzx eax, byte [0x140047030]
mov rcx, qword [0x1400470e0]
test rcx, rcx
jne 0x140012d4f
call sub.KERNEL32.dll_GetProcessHeap
test rax, rax
je 0x140012df0
mov rcx, rax
mov qword [0x1400470e0], rax
mov r8d, 0x10
xor edx, edx
call sub.KERNEL32.dll_HeapAlloc
test rax, rax
je 0x140012df0
mov rsi, rax
lea rax, [0x14003b070]
mov qword [rsi], rax
mov byte [rsi + 8], 0
mov ecx, dword [0x14003b088]
test ecx, ecx
je 0x140012de0
dec ecx
mov rdx, rsi
call sub.KERNEL32.dll_TlsSetValue
mov word [rsi + 8], 1
add rsi, 9
jmp 0x140012dd7
lea rcx, [0x14003b070]
call fcn.140011f00
mov ecx, eax
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
ja 0x140012cf0
jmp 0x140012cfd
lea rcx, [0x14003b070]
call fcn.140011f00
mov ecx, eax
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
jne 0x140012d1c
xor esi, esi
mov rax, rsi
add rsp, 0x20
pop rsi
ret
lea rcx, [0x14003b070]
call fcn.140011f00
mov ecx, eax
jmp 0x140012d82
mov ecx, 8
mov edx, 0x10
call fcn.1400020a0
ud2
Function at 0x140014390
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
sub rsp, 0x20
mov ecx, dword [0x14003b048]
test ecx, ecx
je 0x1400143bd
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
jbe 0x1400143d6
cmp qword [rax + 8], 0
je 0x1400143d6
add rax, 0x10
add rsp, 0x20
pop rsi
ret
lea rcx, [0x14003b030]
call fcn.140011f00
mov ecx, eax
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
ja 0x1400143ac
mov ecx, dword [0x14003b048]
test ecx, ecx
je 0x140014481
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
je 0x14001449e
mov rsi, rax
test rax, rax
jne 0x140014463
movzx eax, byte [0x140047030]
mov rcx, qword [0x1400470e0]
test rcx, rcx
jne 0x140014428
call sub.KERNEL32.dll_GetProcessHeap
test rax, rax
je 0x1400144b6
mov rcx, rax
mov qword [0x1400470e0], rax
mov r8d, 0x20
xor edx, edx
call sub.KERNEL32.dll_HeapAlloc
test rax, rax
je 0x1400144b6
mov rsi, rax
lea rax, [0x14003b030]
mov qword [rsi], rax
mov qword [rsi + 8], 0
mov ecx, dword [0x14003b048]
test ecx, ecx
je 0x1400144a6
dec ecx
mov rdx, rsi
call sub.KERNEL32.dll_TlsSetValue
mov qword [rsi + 8], 1
lea rax, [rsi + 0x10]
mov qword [rsi + 0x10], 0
mov byte [rsi + 0x18], 0
add rsp, 0x20
pop rsi
ret
lea rcx, [0x14003b030]
call fcn.140011f00
mov ecx, eax
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
jne 0x1400143f5
xor eax, eax
add rsp, 0x20
pop rsi
ret
lea rcx, [0x14003b030]
call fcn.140011f00
mov ecx, eax
jmp 0x14001445b
mov ecx, 8
mov edx, 0x20
call fcn.1400020a0
ud2
Function at 0x1400172d0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
mov rdi, rdx
movzx ebp, byte [rdx + 0x38]
xor ebx, ebx
cmp bpl, 1
setne dl
mov eax, 0
sbb eax, eax
mov rsi, rcx
or al, dl
movzx ecx, al
cmp cl, 0xff
je 0x140017300
test ecx, ecx
jne 0x140017350
movzx ebx, byte [rdi + 0x3a]
cmp al, 0xff
je 0x14001730c
test ecx, ecx
jne 0x140017350
mov rcx, rdi
call fcn.1400171b0
movzx eax, al
test bpl, bpl
jne 0x140017357
lea rdx, [rdi + 0x10]
xor ecx, ecx
cmp byte [rdi + 0x10], 6
cmove rdx, rcx
je case.0x140017343.2
movzx r8d, byte [rdx]
mov ecx, 6
lea r9, [0x1400174c8]
movsxd r8, dword [r9 + r8*4]
add r8, r9
jmp r8
mov rcx, qword [rdx + 0x10]
add rcx, 4
jmp case.0x140017343.2
xor eax, eax
test bpl, bpl
je 0x14001731c
xor ecx, ecx
add rax, rcx
movzx r10d, bl
lea rcx, [rax + r10]
mov rdx, qword [rdi + 8]
cmp rdx, rcx
jb 0x1400174a9
mov r11, qword [rdi]
lea r8, [r11 + rcx]
cmp rdx, rcx
jne 0x14001738a
movzx r9d, byte [rdi + 0x10]
xor r10d, r10d
jmp 0x140017409
movzx r9d, byte [rdi + 0x10]
add rax, r10
sub rax, rdx
inc rax
lea rdi, [rdx + r11]
dec rdi
xor r10d, r10d
cmp r9b, 3
jae 0x1400173d0
nop dword [rax + rax]
cmp byte [rdi], 0x5c
je 0x1400173eb
inc rax
dec rdi
cmp rax, 1
jne 0x1400173b0
jmp 0x140017409
movzx ebx, byte [rdi]
cmp ebx, 0x2f
je 0x1400173eb
cmp ebx, 0x5c
je 0x1400173eb
inc rax
dec rdi
cmp rax, 1
jne 0x1400173d0
jmp 0x140017409
neg rax
add rcx, rax
inc rcx
cmp rdx, rcx
jb 0x1400174b7
add r11, rcx
mov r10d, 1
mov r8, r11
sub rdx, rcx
je 0x140017433
mov al, 9
cmp rdx, 2
je 0x140017437
cmp rdx, 1
jne 0x140017447
cmp byte [r8], 0x2e
jne 0x140017447
xor eax, eax
cmp r9b, 3
setae al
lea eax, [rax + rax*2]
add eax, 7
jmp 0x140017447
mov al, 0xa
jmp 0x140017447
cmp byte [r8], 0x2e
jne 0x140017447
cmp byte [r8 + 1], 0x2e
sete al
xor al, 9
add r10, rdx
mov qword [rsi], r10
mov byte [rsi + 8], al
mov qword [rsi + 0x10], r8
mov qword [rsi + 0x18], rdx
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
ret
mov rcx, qword [rdx + 0x10]
mov rdx, qword [rdx + 0x20]
lea r8, [rdx + 1]
test rdx, rdx
cmove r8, rdx
add rcx, r8
add rcx, 8
jmp case.0x140017343.2
mov rcx, qword [rdx + 0x10]
mov rdx, qword [rdx + 0x20]
lea r8, [rdx + 1]
test rdx, rdx
cmove r8, rdx
add rcx, r8
add rcx, 2
jmp case.0x140017343.2
mov ecx, 2
jmp case.0x140017343.2
lea r8, [0x14003f878]
call fcn.1400033a0
ud2
lea r8, [0x14003f890]
call fcn.1400033a0
ud2
Function at 0x140039ce0
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
mov rbx, rcx
lea rax, [rsp + 0x58]
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call fcn.14003aa80
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call fcn.14003aa80
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop dword [rax]

Function at 0x140039d50
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x1400471e4]
mov rbx, rcx
test esi, esi
jle 0x140039e80
mov rax, qword [0x1400471e8]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x140039d9b
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x140039e25
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x140039d80
mov rcx, rbx
call fcn.14003a7a0
mov rdi, rax
test rax, rax
je 0x140039ea2
mov rax, qword [0x1400471e8]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call fcn.14003a8e0
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x1400471e8]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x140039e87
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x140039e1e
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x140039e30
add dword [0x1400471e4], 1
add rsp, 0x50
pop rbx
pop rsi
pop rdi
ret
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 0x40
mov eax, 4
cmove r8d, eax
add rbx, qword [0x1400471e8]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x140039e1e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.140039ce0
nop dword [rax]
xor esi, esi
jmp 0x140039da8
mov rax, qword [0x1400471e8]
mov edx, dword [rdi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call fcn.140039ce0
mov rdx, rbx
lea rcx, str.Address__p_has_no_image_section
call fcn.140039ce0
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x14003a410
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x140047240]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x140047220]
test rbx, rbx
je 0x14003a46c
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax]
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test eax, eax
jne 0x14003a463
test rsi, rsi
je 0x14003a463
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x14003a448
mov rcx, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x14003a7a0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x140041230]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x14003a7c0
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x14003a7c8
ret
cmp word [r8 + 0x18], 0x20b
jne 0x14003a7c0
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x14003a81d
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x14003a814
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x14003a7c0
add rax, 0x28
cmp rax, r9
jne 0x14003a800
xor eax, eax
ret

Function at 0x14003a820
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140041230]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x14003a83f
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x14003a848
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x14003a83f
movzx ecx, word [rax + 6]
mov eax, ecx
ret

Function at 0x14003a8e0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140041230]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x14003a8ff
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x14003a908
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret
Function at 0x140efb0b0
Capabilities:
Decompress data using aplib

Disassembly:
call 0x140efb237
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x140efb0e1
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140efb0c7
add dl, dl
jne 0x140efb0ee
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140efb14e
xor eax, eax
add dl, dl
jne 0x140efb0fd
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140efb205
add dl, dl
jne 0x140efb10e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140efb11b
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140efb128
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140efb135
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x140efb142
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x140efb0d6
mov eax, 1
add dl, dl
jne 0x140efb15e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140efb16b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140efb153
sub eax, ebx
mov ebx, 1
jne 0x140efb1a4
mov ecx, 1
add dl, dl
jne 0x140efb186
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140efb193
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140efb17b
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140efb0d6
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x140efb1c0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140efb1cd
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140efb1b5
cmp eax, 0x7d00
jae 0x140efb1f3
cmp eax, 0x500
jb 0x140efb1ee
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140efb0d6
cmp eax, 0x7f
ja 0x140efb1f6
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140efb0d6
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x140efb22a
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x140efb0d6
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x14000eca0
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 0x14000ecd4
cmp ecx, r10d
jge 0x14000ecc2
mov rcx, rbx
call fcn.14000e4a0
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 0x14000ed0e
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 0x14000ecf0
mov dword [rbx + 0x10], eax
test eax, eax
jns 0x14000ed36
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 0x14000ed65
mov r8, qword [rbx + 8]
mov rax, qword [rbx]
cmp rax, r8
jb 0x14000ed4f
xor dl, dl
jmp 0x14000ed58
movzx edx, byte [rax]
inc rax
mov qword [rbx], rax
mov byte [rsp + rcx + 0x30], dl
inc rcx
cmp rcx, 4
jl 0x14000ed46
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 0x14000ed12
mov rcx, qword [rbx]
mov qword [rsp + 0x38], rdi
mov edi, r8d
add rcx, rdi
cmp rcx, qword [rbx + 8]
jbe 0x14000edcf
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 0x14000ede9
mov rcx, rbx
call fcn.14000e5f0
test eax, eax
je 0x14000edc2
mov rdx, qword [rbx]
mov r8, rdi
mov rcx, qword [rbx + 0x18]
call fcn.140103a00
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 0x140029710
Capabilities:
Set current directory

Disassembly:
push rbp
lea rbp, [rsp - 0x190]
sub rsp, 0x290
mov rax, qword [0x1401ff880]
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 0x140029770
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x48]
call fcn.140045e50
nop
lea rcx, [rsp + 0x48]
call fcn.140037990
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.140045e50
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 0x140029828
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140029823
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002991d
call fcn.140101830
lea rcx, [rsp + 0x48]
call fcn.140037990
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.140045e50
lea rcx, [rsp + 0x20]
cmp qword [rsp + 0x38], 8
cmovae rcx, qword [rsp + 0x20]
call fcn.140112db0
mov rdx, qword [rsp + 0x38]
cmp rdx, 8
jb 0x1400298c1
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400298bb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140029923
call fcn.140101830
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 8
jb 0x1400298ff
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400298fa
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140029917
call fcn.140101830
mov rcx, qword [rbp + 0x180]
xor rcx, rsp
call fcn.140101810
add rsp, 0x290
pop rbp
ret
call fcn.1401132b0
nop
call fcn.1401132b0
nop
call fcn.1401132b0
int3
Function at 0x140036430
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 0x140036452
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 0x1400364cc
mov rdi, r14
mov rcx, rbx
call fcn.14003b9f0
test rax, rax
jle 0x1400364a4
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.140103a00
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 0x1400364bc
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + gethostname]
cmp eax, 0xffffffff
je 0x1400364c4
mov byte [rsi], al
dec rdi
mov ebp, 1
add rsi, rbp
test rdi, rdi
jg 0x140036466
sub r14, rdi
jmp 0x1400365af
mov rax, qword [rcx + 0x38]
mov rbp, r14
mov rdx, qword [rax]
test rdx, rdx
je 0x1400364e3
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x1400364e5
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x140036517
cmp rax, r14
mov rdi, r14
mov rcx, rsi
cmovb rdi, rax
mov r8, rdi
call fcn.140103a00
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 0x1400365ac
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x140036552
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 0x14003658d
nop dword [rax + rax]
mov r9, qword [rbx + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, rsi
call fcn.140112a98
add rsi, rax
sub rbp, rax
cmp rax, 0xfff
jne 0x1400365ac
cmp rbp, rax
ja 0x140036560
test rbp, rbp
je 0x1400365ac
mov r9, qword [rbx + 0x80]
mov r8, rbp
mov edx, 1
mov rcx, rsi
call fcn.140112a98
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 0x1400375e0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
cmp qword [rdx + 0x18], 0x10
mov r9, qword [rdx + 0x10]
jb 0x1400375ee
mov rdx, qword [rdx]
xor r8d, r8d
movabs rax, 0xcbf29ce484222325
test r9, r9
je 0x140037624
movabs r10, 0x100000001b3
nop word [rax + rax]
movzx ecx, byte [r8 + rdx]
inc r8
xor rax, rcx
imul rax, r10
cmp r8, r9
jb 0x140037610
ret
Function at 0x140062830
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 0x14006288d
lea rbx, [0x1401db680]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x140062874
cmp r10, 2
jb 0x140062874
cmp byte [r9], r8b
jne 0x140062874
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 0x140062850
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x1400628cf
lea rbx, [0x1401db680]
cmp r8b, 0x23
jne 0x1400628b3
cmp byte [r9], r8b
jne 0x1400628b3
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 0x1400628a0
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x140062a10
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x140062a2a
mov qword [r8], 0
lea rdx, [0x140177afc]
call fcn.1400628e0
mov rbx, rax
test rax, rax
jne 0x140062a4a
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.1401085f8
mov esi, eax
cmp eax, 0xffffffff
je 0x140062b18
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 2]
call fcn.14010cd38
test eax, eax
jne 0x140062b18
mov rcx, rbx
call fcn.1401085f8
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x140062b18
xor r8d, r8d
mov edx, esi
mov rcx, rbx
call fcn.14010cd38
test eax, eax
jne 0x140062b18
cmp rdi, 0xffffffffffffffff
je 0x140062b18
mov rax, qword [0x140318318]
test rax, rax
je 0x140062aba
inc dword [rax + 0xf0]
mov rcx, rdi
call fcn.140113328
mov rsi, rax
test rax, rax
je 0x140062b18
mov r9, rbx
mov r8, rdi
mov edx, 1
mov rcx, rax
call fcn.140112a98
mov rcx, rbx
cmp rax, rdi
je 0x140062b06
call fcn.14010c770
mov rax, qword [0x140318318]
test rax, rax
je 0x140062afc
dec dword [rax + 0xf0]
mov rcx, rsi
call fcn.14011257c
jmp 0x140062b20
call fcn.14010c770
test r14, r14
je 0x140062b13
mov qword [r14], rdi
mov rax, rsi
jmp 0x140062b22
mov rcx, rbx
call fcn.14010c770
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 0x140065fa0
Capabilities:
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x20
movsxd r8, dword [rcx + 0xf0]
lea r11, [0x1401db680]
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 0x140066036
mov r8, r10
mov edx, 4
mov ecx, ebx
call fcn.140078c90
mov eax, ebx
add rsp, 0x20
pop rbx
ret