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

Disassembly:
sub rsp, 0x38
cmp byte [rcx + 0xf1e], 0
movsxd r10, r9d
je 0x1400a15e4
cmp r8d, 0xff
jne 0x1400a1521
lea eax, [r10 - 0xec]
cmp eax, 0x13
ja 0x1400a150b
lea r8, [0x140000000]
mov r9, qword [r8 + r10*8 + 0x133fb0]
mov r8, rdx
lea rdx, str._s_IAC__s_n
add rsp, 0x38
jmp fcn.14007db20
mov r8, rdx
mov r9d, r10d
lea rdx, str._s_IAC__d_n
add rsp, 0x38
jmp fcn.14007db20
cmp r8d, 0xfb
jne 0x1400a1533
lea r9, str.WILL
jmp 0x1400a1571
cmp r8d, 0xfc
jne 0x1400a1545
lea r9, str.WONT
jmp 0x1400a1571
cmp r8d, 0xfd
jne 0x1400a1557
lea r9, [0x1401349d4]
jmp 0x1400a1571
xor r9d, r9d
lea rax, str.DONT
cmp r8d, 0xfe
cmove r9, rax
test r9, r9
je 0x1400a15cd
cmp r10d, 0x27
jg 0x1400a15a4
lea r8, [0x140000000]
mov r8, qword [r8 + r10*8 + 0x1345d0]
test r8, r8
jne 0x1400a15b4
mov r8, rdx
mov dword [rsp + 0x20], r10d
lea rdx, str._s__s__d_n
call fcn.14007db20
add rsp, 0x38
ret
cmp r10d, 0xff
jne 0x1400a158b
lea r8, str.EXOPL
mov qword [rsp + 0x20], r8
mov r8, rdx
lea rdx, str._s__s__s_n
call fcn.14007db20
add rsp, 0x38
ret
mov r9d, r8d
mov dword [rsp + 0x20], r10d
mov r8, rdx
lea rdx, str._s__d__d_n
call fcn.14007db20
add rsp, 0x38
ret

Function at 0x1400a1930
Capabilities:
Send data
Send data on socket

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
push rdi
sub rsp, 0x20
mov rbp, qword [rcx]
mov edi, r8d
mov esi, edx
mov byte [rax + 0x10], 0xff
xor r9d, r9d
mov byte [rax + 0x11], sil
mov rbx, rcx
mov byte [rax + 0x12], dil
mov rcx, qword [rcx + 0x4c0]
lea rdx, [rax + 0x10]
lea r8d, [r9 + 3]
call qword [sym.imp.WS2_32.dll_send]
test eax, eax
jns 0x1400a198f
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea rdx, str.Sending_data_failed___d_
mov rcx, rbp
mov r8d, eax
call fcn.14007d9a0
mov rcx, qword [rbx]
lea rdx, str.SENT
mov r9d, edi
mov r8d, esi
call fcn.1400a14c0
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x1400a1b40
Capabilities:
Send data
Send data on socket

Disassembly:
cmp edx, 0x1f
jne 0x1400a1ce8
push rbp
push rdi
push r14
sub rsp, 0x20
mov rbp, qword [rcx]
mov r14, rcx
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], r15
mov rdi, qword [rbp + 0x1e0]
lea rsi, [rdi + 0x1cb8]
lea rbx, [rdi + 0x1eb8]
mov qword [rbx], rsi
cmp rsi, rbx
jae 0x1400a1ba5
lea rax, [rsi + 1]
mov byte [rsi], 0xff
mov qword [rbx], rax
cmp rax, rbx
jae 0x1400a1ba5
mov byte [rax], 0xfa
inc qword [rbx]
mov rax, qword [rbx]
cmp rax, rbx
jae 0x1400a1ba5
mov byte [rax], dl
inc qword [rbx]
movzx ecx, word [rdi + 0x1ca8]
call qword [sym.imp.WS2_32.dll_htons]
movzx ecx, word [rdi + 0x1caa]
movzx r15d, ax
mov word [rsp + 0x48], ax
call qword [sym.imp.WS2_32.dll_htons]
mov r9, qword [rbx]
movzx ecx, ax
cmp r9, rbx
jae 0x1400a1bdc
mov byte [r9], r15b
inc qword [rbx]
mov r9, qword [rbx]
mov r15, qword [rsp + 0x58]
cmp r9, rbx
jae 0x1400a1c32
movzx eax, byte [rsp + 0x49]
mov byte [r9], al
inc qword [rbx]
mov r9, qword [rbx]
cmp r9, rbx
jae 0x1400a1c32
mov byte [r9], cl
inc qword [rbx]
mov r9, qword [rbx]
cmp r9, rbx
jae 0x1400a1c32
shr cx, 8
mov byte [r9], cl
inc qword [rbx]
mov r9, qword [rbx]
cmp r9, rbx
jae 0x1400a1c32
mov byte [r9], 0xff
inc qword [rbx]
mov r9, qword [rbx]
cmp r9, rbx
jae 0x1400a1c32
mov byte [r9], 0xf0
mov r9, qword [rbx]
inc r9
mov qword [rdi + 0x1ec0], r9
lea r8, [rdi + 0x1cba]
sub r9, rsi
mov qword [rbx], rsi
sub r9, 2
mov edx, 0x3e
mov rcx, rbp
call fcn.1400a15f0
mov rcx, qword [r14 + 0x4c0]
xor r9d, r9d
mov rdx, rsi
lea r8d, [r9 + 3]
call qword [sym.imp.WS2_32.dll_send]
mov rsi, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x40]
test eax, eax
jns 0x1400a1c94
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea rdx, str.Sending_data_failed___d_
mov rcx, rbp
mov r8d, eax
call fcn.14007d9a0
lea rdx, [rdi + 0x1cbb]
mov r8d, 4
mov rcx, r14
call fcn.1400a19c0
mov rcx, qword [r14 + 0x4c0]
lea rdx, [rdi + 0x1cbf]
xor r9d, r9d
lea r8d, [r9 + 2]
call qword [sym.imp.WS2_32.dll_send]
test eax, eax
jns 0x1400a1ce0
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea rdx, str.Sending_data_failed___d_
mov rcx, rbp
mov r8d, eax
call fcn.14007d9a0
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret
Function at 0x1400a3450
Capabilities:
Receive data
Receive data on socket

Disassembly:
push rbx
push rdi
push r14
sub rsp, 0xd0
mov rax, qword [0x14017c140]
xor rax, rsp
mov qword [rsp + 0xc0], rax
mov rbx, qword [rcx + 0xa00]
lea rax, [rsp + 0x30]
mov rdi, qword [rcx]
mov r14, rcx
mov dword [rsp + 0x30], 0x80
xor r9d, r9d
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
mov r8d, dword [rbx + 0x15c]
mov rdx, qword [rbx + 0x168]
add r8d, 4
mov rcx, qword [rbx + 0x18]
mov qword [rsp + 0x20], rax
call qword [sym.imp.WS2_32.dll_recvfrom]
cmp dword [rbx + 0x150], 0
mov dword [rbx + 0x154], eax
jne 0x1400a34e5
movsxd r8, dword [rsp + 0x30]
lea rcx, [rbx + 0xd0]
lea rdx, [rsp + 0x40]
call fcn.1400b7996
mov eax, dword [rsp + 0x30]
mov dword [rbx + 0x150], eax
mov r8d, dword [rbx + 0x154]
mov qword [rsp + 0xf8], rbp
mov qword [rsp + 0x100], rsi
cmp r8d, 4
jge 0x1400a3546
lea rdx, str.Received_too_short_packet
mov rcx, rdi
call fcn.14007d9a0
mov dword [rbx + 0xc], 7
xor eax, eax
mov rsi, qword [rsp + 0x100]
mov rbp, qword [rsp + 0xf8]
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.1400b6a90
add rsp, 0xd0
pop r14
pop rdi
pop rbx
ret
mov rdx, qword [rbx + 0x168]
movzx eax, byte [rdx]
movzx ecx, byte [rdx + 1]
shl eax, 8
or ecx, eax
mov dword [rbx + 0xc], ecx
sub ecx, 3
je 0x1400a3601
sub ecx, 1
je 0x1400a3674
sub ecx, 1
je 0x1400a35b0
cmp ecx, 1
je 0x1400a3593
lea r8, str.Internal_error:_Unexpected_packet
mov rcx, rdi
lea rdx, [0x1400bc168]
call fcn.14007d9a0
jmp 0x1400a3674
add r8d, 0xfffffffe
add rdx, 2
mov rcx, rbx
call fcn.1400a3180
test eax, eax
je 0x1400a3674
jmp 0x1400a351a
movzx ecx, byte [rdx + 2]
lea eax, [r8 - 4]
movsxd rbp, eax
lea rsi, [rdx + 4]
movzx eax, byte [rdx + 3]
mov r8, rbp
shl ecx, 8
xor edx, edx
or ecx, eax
mov dword [rbx + 8], ecx
mov rcx, rsi
call sub.VCRUNTIME140.dll_memchr
test rax, rax
je 0x1400a3674
sub rax, rsi
cmp rax, rbp
jae 0x1400a3674
mov r8, rsi
lea rdx, str.TFTP_error:__s_n
mov rcx, rdi
call fcn.14007db20
jmp 0x1400a3674
cmp r8d, 4
jle 0x1400a3674
movzx eax, byte [rdx + 3]
movzx ecx, byte [rdx + 2]
shl ecx, 8
or ecx, eax
movzx eax, word [rbx + 0x48]
inc eax
movzx eax, ax
cmp eax, ecx
jne 0x1400a3674
lea eax, [r8 - 4]
mov rcx, r14
lea r8, [rdx + 4]
movsxd r9, eax
mov edx, 1
call fcn.14007d8c0
mov esi, eax
test eax, eax
je 0x1400a3653
mov edx, 5
mov rcx, rbx
call fcn.1400a4140
mov eax, esi
jmp 0x1400a351a
mov eax, dword [rbx + 0x154]
mov rcx, rdi
sub eax, 4
cdqe
add qword [rdi + 0xf8], rax
mov rdx, qword [rdi + 0xf8]
call fcn.14008c3a0
mov rcx, r14
call fcn.14008c680
test eax, eax
je 0x1400a3518
mov edx, 5
mov rcx, rbx
call fcn.1400a4140
mov eax, Ordinal_46
jmp 0x1400a351a
Function at 0x1400b6410
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rdi
push r14
sub rsp, 0x20
mov eax, dword [rcx + 0x18]
mov rbx, rcx
mov ebp, r8d
mov r14, rdx
lea ecx, [rax + rax]
mov eax, dword [rbx + 0x20]
add rax, 0x18
add rcx, rax
call qword [sub.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rdi, rax
test rax, rax
jne 0x1400b6452
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret
lea rcx, [rax + 0x18]
mov qword [rax], rbx
mov qword [rax + 8], rcx
mov eax, dword [rbx + 0x18]
add rax, rcx
mov qword [rsp + 0x48], rsi
mov qword [rdi + 0x10], rax
cmp ebp, dword [rbx + 0x1c]
jbe 0x1400b6499
call qword [rbx]
mov rcx, qword [rdi + 8]
mov r8d, ebp
mov rdx, r14
call qword [rbx + reloc.WS2_32.dll_htonl]
mov r14d, dword [rbx + 0x18]
add r14, qword [rdi + 0x10]
mov rdx, qword [rdi + 8]
mov rcx, r14
call qword [rbx + reloc.WS2_32.dll_recv]
mov rcx, qword [rdi + 8]
mov ebp, dword [rbx + 0x20]
call qword [rbx]
mov rcx, qword [rdi + 0x10]
call qword [rbx]
xor esi, esi
test rbp, rbp
je 0x1400b64f2
mov rsi, rbp
nop dword [rax + rax]
movzx eax, byte [r14]
lea rdx, [rsp + 0x40]
xor al, 0x36
mov r8d, 1
mov byte [rsp + 0x40], al
mov rcx, qword [rdi + 8]
call qword [rbx + reloc.WS2_32.dll_htonl]
movzx eax, byte [r14]
lea rdx, [rsp + 0x40]
xor al, 0x5c
lea r14, [r14 + 1]
mov byte [rsp + 0x40], al
mov r8d, 1
mov rcx, qword [rdi + 0x10]
call qword [rbx + reloc.WS2_32.dll_htonl]
sub rbp, 1
jne 0x1400b64b0
mov eax, dword [rbx + 0x1c]
cmp rsi, rax
jae 0x1400b6533
nop word [rax + rax]
mov rcx, qword [rdi + 8]
lea rdx, [0x140137ba2]
mov r8d, 1
call qword [rbx + reloc.WS2_32.dll_htonl]
mov rcx, qword [rdi + 0x10]
lea rdx, [0x140137ba3]
mov r8d, 1
call qword [rbx + reloc.WS2_32.dll_htonl]
mov eax, dword [rbx + 0x1c]
inc rsi
cmp rsi, rax
jb 0x1400b6500
mov rsi, qword [rsp + 0x48]
mov rax, rdi
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret

Function at 0x1400b7554
Capabilities:
Parse pe header

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

Disassembly:
cld
pop r11
jmp 0x14009fead
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x14009febd
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x14009fea5
lea eax, [rcx + 1]
jmp 0x14009fecb
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x14009fede
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x14009fec4
sub eax, 3
jb 0x14009fefe
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x14009ff4d
sar eax, 1
movsxd rbp, eax
jb 0x14009ff34
jmp 0x14009ff0c
add ebx, ebx
jne 0x14009ff0a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x14009ff34
inc ecx
add ebx, ebx
jne 0x14009ff1a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x14009ff34
call r11
adc ecx, ecx
add ebx, ebx
jne 0x14009ff2d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x14009ff1c
add ecx, 2
jmp 0x14009ff39
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.14009fe62
jmp 0x14009fead
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x4f200
mov dl, 0x11
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x14009ff99
cmp rsi, rcx
jae 0x14009ffa1
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x14009ff80
cmp al, 0x8f
ja 0x14009ff80
cmp byte [rsi - 2], 0xf
je 0x14009ff86
sub al, 0xe8
cmp al, 1
ja 0x14009ff6a
cmp rsi, rcx
jae 0x14009ffa1
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x14009ff70
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x14009ffa1
lodsb al, byte [rsi]
jmp 0x14009ff80
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x9c000]
mov eax, dword [rdi]
or eax, eax
je 0x14009fffe
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0xb2ff0]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x14009ffae
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x14009fff8
mov qword [rbx], rax
add rbx, 8
jmp 0x14009ffce
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0x1400a0038
cmp al, 0xef
ja 0x1400a002a
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x1400a000a
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
jmp 0x1400a0019
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x1a7]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x1400a008c
sub rsp, 0xffffffffffffff80
jmp 0x14004d554
Function at 0x1400018e0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov eax, 0x13e8
call fcn.140055b90
sub rsp, rax
movaps xmmword [rsp + 0x13d0], xmm6
movaps xmmword [rsp + 0x13c0], xmm7
mov rax, qword [0x1400c7100]
xor rax, rsp
mov qword [rsp + 0x13b0], rax
movaps xmm6, xmm1
movaps xmm7, xmm0
call fcn.140053114
mov edx, eax
mov ecx, 1
movabs rax, 0x5555555555555555
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x13a8], rax
movabs r9, 0x5851f42d4c957f2d
mov r8d, 0x138
nop dword [rax + rax]
mov rax, rdx
shr rax, 0x3e
xor rdx, rax
imul rdx, r9
add rdx, rcx
mov qword [rsp + rcx*8 + 0x28], rdx
inc rcx
cmp rcx, r8
jb 0x140001950
movss xmm1, dword [0x1400b607c]
lea r9, [rsp + 0x30]
mov dword [rsp + 0x20], r8d
xorps xmm2, xmm2
movabs r10, 0xb5026f5aa96619e9
nop dword [rax]
mov rdx, qword [r9]
xor rdx, qword [r9 - 8]
lea r9, [r9 + 8]
and rdx, 0xffffffff80000000
xor rdx, qword [r9 - 8]
movzx eax, dl
and al, 1
neg al
sbb rcx, rcx
shr rdx, 1
and rcx, r10
xor rcx, qword [r9 + 0x4d0]
xor rcx, rdx
mov qword [r9 + 0x9b0], rcx
sub r8, 1
jne 0x140001990
mov eax, dword [rsp + 0x20]
movabs rdx, 0x38eb3ffff6d3
xorps xmm0, xmm0
mov rcx, qword [rsp + rax*8 + 0x28]
mov rax, rcx
shr rax, 0x1d
and rax, qword [rsp + 0x13a8]
xor rcx, rax
mov rax, rcx
and rax, rdx
shl rax, 0x11
xor rcx, rax
mov rax, rcx
and rax, 0xffffffffffffbf77
shl rax, 0x25
xor rcx, rax
mov rdx, rcx
shr rdx, 0x2b
xor rdx, rcx
js 0x140001a25
cvtsi2ss xmm0, rdx
jmp 0x140001a3a
mov rax, rdx
and edx, 1
shr rax, 1
or rax, rdx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
subss xmm0, xmm2
subss xmm6, xmm7
mulss xmm0, xmm1
mulss xmm1, dword [0x1400b6188]
addss xmm0, xmm2
divss xmm0, xmm1
mulss xmm0, xmm6
addss xmm0, xmm7
mov rcx, qword [rsp + 0x13b0]
xor rcx, rsp
call fcn.140055040
movaps xmm6, xmmword [rsp + 0x13d0]
movaps xmm7, xmmword [rsp + 0x13c0]
add rsp, 0x13e8
ret
Function at 0x140001e20
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xb0
mov rax, qword [0x1400c7100]
xor rax, rsp
mov qword [rbp + 0x4f], rax
mov rbx, rdx
mov qword [rbp + 0x47], rdx
lea r9, [rbp + 0x37]
xor r8d, r8d
xor edx, edx
lea rcx, [0x140083690]
call qword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
test eax, eax
js 0x140001f75
mov rdx, qword [rbp + 0x37]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rdx + r8*2], 0
jne 0x140001e70
xorps xmm0, xmm0
movups xmmword [rbp - 9], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 7], xmm1
lea rcx, [rbp - 9]
call fcn.140007d10
lea rdx, [rbp - 9]
lea rcx, [0x1400c7da0]
call fcn.1400073a0
mov rdx, qword [rbp + 0xf]
cmp rdx, 7
jbe 0x140001ee3
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 9]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001ede
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002074
call fcn.1400552a0
mov rcx, qword [rbx + 0x10]
mov rax, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x140001ef4
mov rax, qword [rbx]
mov qword [rbp - 0x29], rax
mov qword [rbp - 0x21], rcx
call fcn.1400534c0
movaps xmm0, xmmword [rbp - 0x29]
movdqa xmmword [rbp - 9], xmm0
lea r8, [rbp - 9]
mov edx, eax
lea rcx, [rbp + 0x17]
call fcn.1400058a0
nop
lea rdx, [rbp + 0x17]
lea rcx, [0x1400c7da0]
call fcn.140007aa0
nop
mov rdx, qword [rbp + 0x2f]
cmp rdx, 7
jbe 0x140001f6b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x17]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001f66
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000207a
call fcn.1400552a0
mov rcx, qword [rbp + 0x37]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
lea rdx, [0x1400c7da0]
lea rcx, [rbp + 0x37]
call fcn.140008200
movsd xmm0, qword [rax]
movsd qword [rbp - 0x19], xmm0
mov edx, dword [rax + 8]
mov ecx, dword [rbp - 0x19]
test edx, edx
je 0x140001fa6
lea eax, [rcx - 1]
test eax, 0xfffffff7
jne 0x140002080
cmp ecx, 3
jne 0x140001ff2
lea rax, [rbp - 9]
mov qword [rbp - 0x19], rax
xorps xmm0, xmm0
movdqu xmmword [rbp - 9], xmm0
lea rax, [rbp - 0x29]
mov qword [rbp + 0x37], rax
movdqu xmmword [rbp - 0x29], xmm0
lea rcx, [rbp - 0x29]
call fcn.140007fc0
test eax, eax
jne 0x140002058
lea r9, [0x1400c7dc0]
lea r8, [rbp - 9]
lea rdx, [rbp - 0x29]
lea rcx, [rbp - 0x19]
call fcn.140004560
nop
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x140002028
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x140002023
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000206e
mov rcx, r8
call fcn.1400552a0
mov qword [rbx + 0x10], 0
mov qword [rbx + 0x18], 0xf
mov byte [rbx], 0
mov rcx, qword [rbp + 0x4f]
xor rcx, rsp
call fcn.140055040
mov rbx, qword [rsp + 0xc0]
add rsp, 0xb0
pop rbp
ret
lea r8, [0x1400c7da0]
mov edx, eax
lea rcx, str.directory_iterator::directory_iterator
call fcn.140009d30
nop
call fcn.14005b304
nop
call fcn.14005b304
int3
call fcn.14005b304
int3
lea r8, [0x1400c7da0]
lea rcx, str.status
call fcn.140009d30
int3
Function at 0x140003220
Capabilities:
Read file on windows

Disassembly:
push rbx
push r14
push r15
sub rsp, 0x30
mov r15, r8
mov r14, rdx
mov rbx, rcx
test r8, r8
jg 0x140003244
xor eax, eax
add rsp, 0x30
pop r15
pop r14
pop rbx
ret
cmp qword [rcx + 0x68], 0
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rdi
je 0x1400032d2
mov rdi, r15
mov qword [rsp + 0x68], rbp
lea rsi, [rcx + 0x50]
mov rax, qword [rbx + 0x38]
mov rdx, qword [rax]
test rdx, rdx
je 0x1400032a0
mov rax, qword [rsi]
movsxd rcx, dword [rax]
test ecx, ecx
jle 0x1400032a0
cmp rdi, rcx
mov rbp, rdi
cmovge rbp, rcx
mov rcx, r14
mov r8, rbp
call fcn.14007ff10
mov rax, qword [rsi]
sub rdi, rbp
sub dword [rax], ebp
mov rcx, qword [rbx + 0x38]
movsxd rax, ebp
add qword [rcx], rax
jmp 0x1400032bd
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x38]
cmp eax, 0xffffffff
je 0x1400032c5
mov byte [r14], al
lea rsi, [rbx + 0x50]
dec rdi
mov ebp, 1
add r14, rbp
test rdi, rdi
jg 0x140003261
mov rbp, qword [rsp + 0x68]
sub r15, rdi
jmp 0x1400033b0
mov rax, qword [rcx + 0x38]
mov rsi, r15
mov rdx, qword [rax]
test rdx, rdx
je 0x1400032e9
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x1400032eb
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x14000331d
cmp rax, r15
mov rdi, r15
mov rcx, r14
cmovb rdi, rax
mov r8, rdi
call fcn.14007ff10
mov rax, qword [rbx + 0x50]
add r14, rdi
sub rsi, rdi
sub dword [rax], edi
mov rcx, qword [rbx + 0x38]
movsxd rax, edi
add qword [rcx], rax
cmp qword [rbx + 0x80], 0
je 0x1400033ad
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x140003358
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 rsi, 0xfff
jbe 0x14000338e
mov r9, qword [rbx + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, r14
call fcn.14005c4ac
add r14, rax
sub rsi, rax
cmp rax, 0xfff
jne 0x1400033ad
cmp rsi, rax
ja 0x140003361
test rsi, rsi
je 0x1400033ad
mov r9, qword [rbx + 0x80]
mov r8, rsi
mov edx, 1
mov rcx, r14
call fcn.14005c4ac
sub rsi, rax
sub r15, rsi
mov rsi, qword [rsp + 0x28]
mov rax, r15
mov rdi, qword [rsp + 0x20]
add rsp, 0x30
pop r15
pop r14
pop rbx
ret

Function at 0x14000b930
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 0x14000b98d
lea rbx, [0x14008ec50]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x14000b974
cmp r10, 2
jb 0x14000b974
cmp byte [r9], r8b
jne 0x14000b974
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 0x14000b950
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x14000b9cf
lea rbx, [0x14008ec50]
cmp r8b, 0x23
jne 0x14000b9b3
cmp byte [r9], r8b
jne 0x14000b9b3
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 0x14000b9a0
mov rbx, qword [rsp + 8]
not eax
ret
Function at 0x14000bb10
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x14000bb2a
mov qword [r8], 0
lea rdx, [0x14008e99c]
call fcn.14000b9e0
mov rbx, rax
test rax, rax
jne 0x14000bb4a
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.14005d42c
mov esi, eax
cmp eax, 0xffffffff
je 0x14000bc1a
xor edx, edx
mov r8d, 2
mov rcx, rbx
call fcn.14005bd50
test eax, eax
jne 0x14000bc1a
mov rcx, rbx
call fcn.14005d42c
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x14000bc1a
xor r8d, r8d
mov edx, esi
mov rcx, rbx
call fcn.14005bd50
test eax, eax
jne 0x14000bc1a
cmp rdi, 0xffffffffffffffff
je 0x14000bc1a
mov rax, qword [0x1400ca1e8]
test rax, rax
je 0x14000bbbc
inc dword [rax + 0xec]
mov rcx, rdi
call fcn.140065080
mov rsi, rax
test rax, rax
je 0x14000bc1a
mov r9, rbx
mov r8, rdi
mov edx, 1
mov rcx, rax
call fcn.14005c4ac
mov rcx, rbx
cmp rax, rdi
je 0x14000bc08
call fcn.14005cd58
mov rax, qword [0x1400ca1e8]
test rax, rax
je 0x14000bbfe
dec dword [rax + 0xec]
mov rcx, rsi
call fcn.14005cdf0
jmp 0x14000bc22
call fcn.14005cd58
test r14, r14
je 0x14000bc15
mov qword [r14], rdi
mov rax, rsi
jmp 0x14000bc24
mov rcx, rbx
call fcn.14005cd58
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 0x14000f2e0
Capabilities:
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x20
mov rax, qword [rcx + 0xd0]
lea r8, [0x14008ec50]
movsxd rcx, dword [rcx + 0xc8]
mov r11d, edx
shr r11d, 0x18
mov r9d, edx
shr r9d, 8
mov r10d, edx
shr r10d, 0x10
mov ebx, dword [rax + rcx*4 - 4]
not ebx
movzx eax, dl
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, r9b
xor ebx, dword [r8 + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, r10b
xor ebx, dword [r8 + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
mov rax, qword [0x1400ca1e8]
xor ebx, dword [r8 + rcx*4]
movzx ecx, bl
shr ebx, 8
xor rcx, r11
xor ebx, dword [r8 + rcx*4]
not ebx
cmp dword [rax + 0x3e74], ebx
jne 0x14000f36c
mov dword [rax + 0x3e78], ebx
cmp dword [rax + 0x3ec0], ebx
jne 0x14000f37b
mov byte [rax + 0x3ec4], 1
cmp dword [rax + 0x3e5c], ebx
jne 0x14000f392
movsxd r8, edx
mov ecx, ebx
mov edx, 4
call fcn.140021d60
mov eax, ebx
add rsp, 0x20
pop rbx
ret