joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400a5810
Capabilities:
Resolve dns

Disassembly:
mov r10d, dword [rsp + 0x28]
mov r11d, r8d
mov eax, r10d
mov qword [rcx], 0
and eax, 3
je 0x1400a5668
test rdx, rdx
je 0x1400a5662
test r8d, r8d
jne 0x1400a5662
cmp eax, 3
je 0x1400a5662
test r10b, 2
je 0x1400a5668
mov eax, 0x11187
ret
mov eax, reloc.WS2_32.dll_shutdown
ret
test r11d, r11d
mov r8d, 2
cmovne r8d, r11d
mov dword [rsp + 0x28], r10d
jmp 0x1400a5810
mov word [rsp + 0x20], r9w
mov qword [rsp + 8], rcx
push rbx
push rsi
push r13
push r15
sub rsp, 0x68
test rdx, rdx
lea rbx, str.0.0.0.0
mov r15, rdx
cmovne rbx, rdx
xor esi, esi
movzx eax, byte [rbx]
sub al, 0x30
cmp al, 9
ja 0x1400a594d
lea rdx, str.0123456789.
mov rcx, rbx
call fcn.1400d9f90
or rdx, 0xffffffffffffffff
nop dword [rax + rax]
inc rdx
cmp byte [rbx + rdx], sil
jne 0x1400a5860
cmp rax, rdx
jne 0x1400a594d
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_inet_addr]
mov qword [rsp + 0x28], rsi
lea r13, [rsp + 0x30]
mov dword [rsp + 0x98], eax
lea rax, [rsp + 0x98]
mov qword [rsp + 0x20], rax
lea rax, [rsp + 0x20]
mov qword [rsp + 0x48], rax
mov rax, qword [r13 + 0x18]
cmp qword [rax], rsi
je 0x1400a59d2
mov qword [rsp + 0xa0], rbp
mov rbp, rsi
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x58], r12
mov r12, qword [rsp + 0xb8]
mov qword [rsp + 0x50], r14
mov r14, rsi
nop word [rax + rax]
mov edx, 0x50
mov rcx, r12
call fcn.1400a0a70
xor edx, edx
mov rcx, rax
mov rdi, rax
lea r8d, [rdx + 0x50]
call fcn.1400c0ac0
movzx r8d, word [rsp + 0xa8]
mov edx, 2
mov qword [rdi], r12
mov rbx, rdi
mov rax, qword [r13 + 0x18]
mov rcx, qword [r14 + rax]
mov eax, dword [rcx]
mov rcx, rdi
mov dword [rdi + 0x44], eax
call fcn.1400a5710
test rsi, rsi
jne 0x1400a5985
test r15, r15
je 0x1400a5940
mov rdx, r15
mov rcx, r12
call fcn.1400a0350
mov qword [rdi + 8], rax
mov rax, qword [rsp + 0x90]
mov qword [rax], rbx
jmp 0x1400a5991
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_gethostbyname]
mov r13, rax
test rax, rax
jne 0x1400a58a3
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
test eax, eax
je 0x1400a5978
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea esi, [rax + 0xafc80]
mov eax, esi
add rsp, 0x68
pop r15
pop r13
pop rsi
pop rbx
ret
mov rax, qword [rsi + 8]
mov qword [rdi + 8], rax
mov qword [rsi + 0x38], rbx
mov rax, qword [r13 + 0x18]
inc rbp
mov rsi, rbx
lea r14, [rbp*8]
cmp qword [r14 + rax], 0
jne 0x1400a58e0
mov r14, qword [rsp + 0x50]
xor eax, eax
mov r12, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x60]
mov rbp, qword [rsp + 0xa0]
add rsp, 0x68
pop r15
pop r13
pop rsi
pop rbx
ret
mov eax, 0x4e2e
add rsp, 0x68
pop r15
pop r13
pop rsi
pop rbx
ret
Function at 0x1400a59f0
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push rbx
sub rsp, 0x20
mov rax, qword [rcx + 0x18]
mov rbx, rcx
mov dword [rax + 0x20], reloc.WS2_32.dll_recv
mov rdx, qword [rcx + 0x18]
mov rcx, qword [rcx + 8]
lea r8, [rdx + 0x20]
add rdx, 0x40
call qword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
jns 0x1400a5a39
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
test eax, eax
je 0x1400a5a55
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
add eax, 0xafc80
add rsp, 0x20
pop rbx
ret
xor eax, eax
mov qword [rbx + 0x3c], rax
mov rax, qword [rbx + 0x18]
movzx ecx, word [rax + 0x42]
call qword [sym.imp.WS2_32.dll_ntohs]
mov rcx, qword [rbx + 0x18]
mov word [rcx + 0x18], ax
xor eax, eax
add rsp, 0x20
pop rbx
ret

Function at 0x1400a5e20
Capabilities:
Connect socket

Disassembly:
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rdi, rcx
mov rsi, rdx
mov rcx, qword [rcx + 8]
cmp rcx, 0xffffffffffffffff
je 0x1400a5f31
cmp qword [rdi + 0x18], 0
je 0x1400a5f31
mov r8d, dword [rsi + 0x20]
add rdx, 0x40
mov qword [rsp + 0x30], rbx
call qword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x1400a5eab
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
test eax, eax
je 0x1400a5eab
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea ebx, [rax + 0xafc80]
cmp ebx, 0xb23b3
jne 0x1400a5ead
cmp qword [rdi + 0x30], 0
jne 0x1400a5e8d
mov ebx, 0xb23b4
jmp 0x1400a5ead
mov rcx, rdi
call fcn.1400a6120
mov ebx, eax
test eax, eax
je 0x1400a5ead
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
xor ebx, ebx
movsxd r8, dword [rsi + 0x24]
lea rdx, [0x140175e98]
mov rcx, qword [rsi + 0x30]
call fcn.1400c12a0
test eax, eax
je 0x1400a5ed0
mov dword [rdi + 0x44], 0
mov qword [rdi + 0x20], rsi
mov rcx, qword [rdi + 0x18]
cmp word [rcx + 0x42], 0
jne 0x1400a5ee2
mov dword [rdi + 0x3c], 1
movsxd r8, dword [rcx + 0x24]
lea rdx, [0x140175e98]
mov rcx, qword [rcx + 0x30]
call fcn.1400c12a0
test eax, eax
jne 0x1400a5f01
mov dword [rdi + 0x40], 1
test ebx, ebx
je 0x1400a5f1f
cmp ebx, 0xb23c8
je 0x1400a5f1f
mov eax, ebx
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov eax, 0x80
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x1400a6120
Capabilities:
Get socket status

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x470
mov rax, qword [0x14016b140]
xor rax, rsp
mov qword [rsp + 0x460], rax
mov rax, qword [rcx + 8]
mov rdi, rcx
mov rcx, qword [rcx + 0x30]
xor ebx, ebx
mov qword [rsp + 0x258], rax
mov dword [rsp + 0x250], 1
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x40], 1
test rcx, rcx
jns 0x1400a6175
mov eax, ebx
jmp 0x1400a61a7
movabs rax, 0x431bde82d7b634db
imul rcx
sar rdx, 0x12
mov rax, rdx
shr rax, 0x3f
add rdx, rax
imul rax, rdx, 0xf4240
mov dword [rsp + 0x38], edx
sub rcx, rax
lea rax, [rsp + 0x38]
mov dword [rsp + 0x3c], ecx
xor edx, edx
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x250]
lea ecx, [rdx + 0x41]
call qword [sym.imp.WS2_32.dll_select]
mov dword [rsp + 0x30], eax
cmp eax, 0xffffffff
jne 0x1400a61e7
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
test eax, eax
je 0x1400a61e3
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea ebx, [rax + 0xafc80]
mov eax, ebx
jmp 0x1400a6248
test eax, eax
jne 0x1400a61f2
mov eax, 0xb23cc
jmp 0x1400a6248
mov rcx, qword [rdi + 8]
lea rdx, [rsp + 0x40]
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x1400a6246
mov rcx, qword [rdi + 8]
lea rax, [rsp + 0x34]
lea r9, [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov edx, 0xffff
mov dword [rsp + 0x34], 4
mov r8d, 0x1007
call qword [sym.imp.WS2_32.dll_getsockopt]
test eax, eax
jne 0x1400a61cd
mov eax, dword [rsp + 0x30]
test eax, eax
je 0x1400a6242
lea ebx, [rax + 0xafc80]
mov eax, ebx
jmp 0x1400a6248
xor eax, eax
mov rcx, qword [rsp + 0x460]
xor rcx, rsp
call fcn.140027790
mov rbx, qword [rsp + 0x488]
add rsp, 0x470
pop rdi
ret

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

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x50
mov eax, dword [r8]
lea r9, [rsp + 0x60]
mov rcx, qword [rcx + 8]
xor edi, edi
mov rbx, r8
mov qword [rsp + 0x48], rdx
mov qword [rsp + 0x30], rdi
lea rdx, [rsp + 0x40]
mov qword [rsp + 0x28], rdi
lea r8d, [rdi + 1]
mov dword [rsp + 0x60], edi
mov dword [rsp + 0x40], eax
mov dword [rsp + 0x20], edi
call qword [sym.imp.WS2_32.dll_WSASend]
cmp eax, 0xffffffff
jne 0x1400a62ed
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
test eax, eax
jne 0x1400a62d4
mov eax, edi
mov qword [rbx], rdi
mov rbx, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
add eax, 0xafc80
mov qword [rbx], rdi
mov rbx, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret
mov eax, dword [rsp + 0x60]
mov qword [rbx], rax
xor eax, eax
mov rbx, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret
Function at 0x1400a6310
Capabilities:
Send data
Send data on socket

Disassembly:
push rdi
sub rsp, 0x30
mov eax, dword [rdx + 0x20]
lea r10, [rdx + 0x40]
mov rdi, qword [rsp + 0x60]
mov r11, r9
mov rcx, qword [rcx + 8]
mov r9d, r8d
mov dword [rsp + 0x28], eax
mov rdx, r11
mov qword [rsp + 0x20], r10
mov r8d, dword [rdi]
call qword [sym.imp.WS2_32.dll_sendto]
movsxd rcx, eax
cmp rcx, 0xffffffffffffffff
jne 0x1400a6377
mov qword [rsp + 0x40], rbx
xor ebx, ebx
mov qword [rdi], rbx
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
test eax, eax
je 0x1400a636a
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea ebx, [rax + 0xafc80]
mov eax, ebx
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
mov qword [rdi], rcx
xor eax, eax
add rsp, 0x30
pop rdi
ret
Function at 0x1400a6760
Capabilities:
Set socket configuration

Disassembly:
push rbx
sub rsp, 0x20
xor ebx, ebx
lea r8, [rsp + 0x38]
mov edx, 0x8004667e
mov dword [rsp + 0x38], ebx
call qword [sym.imp.WS2_32.dll_ioctlsocket]
cmp eax, 0xffffffff
jne 0x1400a679f
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
test eax, eax
je 0x1400a6797
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea ebx, [rax + 0xafc80]
mov eax, ebx
add rsp, 0x20
pop rbx
ret
xor eax, eax
add rsp, 0x20
pop rbx
ret

Function at 0x1400a67b0
Capabilities:
Set socket configuration

Disassembly:
sub rsp, 0x28
lea r8, [rsp + 0x38]
mov dword [rsp + 0x38], 1
mov edx, 0x8004667e
call qword [sym.imp.WS2_32.dll_ioctlsocket]
cmp eax, 0xffffffff
jne 0x1400a67eb
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
test eax, eax
je 0x1400a67eb
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
add eax, 0xafc80
add rsp, 0x28
ret
xor eax, eax
add rsp, 0x28
ret
Function at 0x1400a8700
Capabilities:
Check os version

Disassembly:
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov eax, dword [0x140175f00]
xor edi, edi
mov rsi, rcx
test eax, eax
jne 0x1400a8858
lea rcx, [0x140175f10]
mov dword [0x140175f10], 0x94
call qword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [0x140175f20], 2
jne 0x1400a884d
cmp byte [0x140175f24], dil
mov qword [rsp + 0x30], rbx
lea rbx, [0x140175f24]
je 0x1400a879e
movzx ecx, byte [rbx]
call fcn.1400c8910
test eax, eax
jne 0x1400a879e
inc rbx
cmp byte [rbx], dil
jne 0x1400a8756
mov ecx, dword [0x140175f08]
mov eax, dword [0x140175f14]
mov rbx, qword [rsp + 0x30]
cmp eax, 3
jb 0x1400a884d
je 0x1400a884d
cmp eax, 4
jne 0x1400a87e9
cmp ecx, 2
jae 0x1400a87b5
mov eax, 0x28
jmp 0x1400a8852
cmp byte [rbx], dil
je 0x1400a876a
mov rcx, rbx
call fcn.1400d1cc4
mov ecx, eax
mov dword [0x140175f08], eax
jmp 0x1400a8770
ja 0x1400a87c1
mov eax, 0x2a
jmp 0x1400a8852
cmp ecx, 3
ja 0x1400a87d0
mov eax, 0x2b
jmp 0x1400a8852
cmp ecx, 4
ja 0x1400a87dc
mov eax, 0x2c
jmp 0x1400a8852
cmp ecx, 5
mov eax, edi
seta al
add eax, 0x2d
jmp 0x1400a8852
cmp eax, 5
jne 0x1400a8833
mov eax, dword [0x140175f18]
test eax, eax
jne 0x1400a880e
test ecx, ecx
jne 0x1400a8801
lea eax, [rcx + 0x32]
jmp 0x1400a8852
cmp ecx, 1
mov eax, edi
setne al
add eax, 0x33
jmp 0x1400a8852
cmp eax, 2
jne 0x1400a881a
mov eax, 0x46
jmp 0x1400a8852
cmp ecx, 1
jae 0x1400a8826
mov eax, 0x3c
jmp 0x1400a8852
cmp ecx, 1
mov eax, edi
setne al
add eax, 0x3d
jmp 0x1400a8852
cmp eax, 6
jne 0x1400a881f
cmp dword [0x140175f18], edi
mov eax, 0x5a
mov ecx, 0x50
cmove eax, ecx
jmp 0x1400a8852
mov eax, 1
mov dword [0x140175f00], eax
mov dword [rsi], eax
mov eax, 0x4e2e
cmp dword [0x140175f00], 1
mov rsi, qword [rsp + 0x38]
cmovl edi, eax
mov eax, edi
add rsp, 0x20
pop rdi
ret

Function at 0x1400a8c50
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x28
mov rcx, qword [rcx + 0x28]
test rcx, rcx
je 0x1400a8c88
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
jne 0x1400a8c81
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x1400a8c81
call qword [sym.imp.KERNEL32.dll_GetLastError]
add eax, 0xafc80
add rsp, 0x28
ret
xor eax, eax
add rsp, 0x28
ret
mov eax, 0x4e3b
add rsp, 0x28
ret
Function at 0x1400afd20
Capabilities:
Encode data using xor

Disassembly:
movzx edx, byte [rcx]
xor eax, eax
test dl, dl
je 0x1400afd46
nop dword [rax]
imul eax, eax, 0xf4243
lea rcx, [rcx + 1]
movzx edx, dl
xor eax, edx
movzx edx, byte [rcx]
test dl, dl
jne 0x1400afd30
ret

Function at 0x1400d40e4
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x1400d3f08
Function at 0x1400193b0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

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
mov r15d, edx
lea r14d, [rdx - 1]
mov rdi, rcx
xor r12d, r12d
nop word [rax + rax]
mov esi, r12d
mov ebp, r12d
test r14d, r14d
je 0x1400195a6
nop
movzx ecx, byte [rdi + 8]
add cl, 0xff
shl esi, cl
add esi, esi
nop dword [rax + rax]
mov r10, qword [rdi]
mov ecx, dword [r10]
cmp ecx, 0x270
jne 0x140019464
lea rax, [r10 + 8]
mov r9d, ecx
nop word [rax + rax]
mov r8d, dword [rax - 4]
xor r8d, dword [rax]
lea rax, [rax + 4]
btr r8d, 0x1f
xor r8d, dword [rax - 8]
mov ecx, r8d
and cl, 1
neg cl
sbb edx, edx
shr r8d, 1
and edx, 0x9908b0df
xor edx, dword [rax + 0x62c]
xor edx, r8d
mov dword [rax + 0x9b8], edx
sub r9, 1
jne 0x140019420
mov ecx, dword [r10]
jmp 0x140019547
cmp ecx, 0x4e0
jb 0x140019547
lea r11, [r10 + 0x9c4]
mov ebx, 0xe3
mov eax, dword [r11]
nop
mov edx, dword [r11 + 4]
lea r8, [r11 + 4]
xor edx, eax
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
mov eax, dword [r8]
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r11 + 0x634]
xor ecx, edx
mov dword [r11 - 0x9c0], ecx
lea r11, [r8]
sub rbx, 1
jne 0x140019480
lea r11, [r10 + 0xd50]
mov ebx, 0x18c
mov eax, dword [r11]
nop dword [rax + rax]
mov edx, eax
lea r8, [r11 + 4]
xor edx, dword [r8]
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
mov eax, dword [r8]
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r11 - 0xd4c]
xor ecx, edx
mov dword [r11 - 0x9c0], ecx
lea r11, [r8]
sub rbx, 1
jne 0x1400194d0
mov edx, dword [r10 + 0x1380]
xor edx, dword [r10 + 4]
btr edx, 0x1f
xor edx, dword [r10 + 0x1380]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r10 + 0x634]
xor ecx, edx
mov dword [r10 + 0x9c0], ecx
mov ecx, r12d
mov dword [r10], r12d
mov eax, ecx
mov edx, dword [r10 + rax*4 + 4]
lea eax, [rcx + 1]
mov dword [r10], eax
mov ecx, edx
mov eax, dword [r10 + 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
mov edx, dword [rdi + 0x10]
cmp eax, edx
ja 0x140019400
movzx ecx, byte [rdi + 8]
or esi, eax
add cl, 0xff
shl ebp, cl
add ebp, ebp
or ebp, edx
cmp ebp, r14d
jb 0x1400193f0
xor edx, edx
mov eax, ebp
div r15d
xor edx, edx
mov ecx, eax
mov eax, esi
div r15d
cmp eax, ecx
jb 0x1400195ca
xor edx, edx
mov eax, ebp
div r15d
cmp edx, r14d
jne 0x1400193e0
mov rbx, qword [rsp + 0x20]
mov eax, esi
mov rbp, qword [rsp + 0x28]
xor edx, edx
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
div r15d
mov eax, edx
pop r15
pop r14
pop r12
ret
Function at 0x140019f10
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x30
xor r8d, r8d
mov r10, rdx
cmp qword [rdx + 0x18], 0x10
mov rbx, rcx
jb 0x140019f29
mov r10, qword [rdx]
movzx r9d, byte [r10]
test r9b, r9b
je 0x140019f78
nop dword [rax]
nop word [rax + rax]
movzx edx, r9b
lea r10, [r10 + 1]
sub r9b, 0x41
cmp r9b, 0x19
movzx r9d, byte [r10]
lea eax, [rdx + 0x20]
movzx ecx, al
cmova ecx, edx
movsx eax, cl
add eax, r8d
imul r8d, eax, 0x401
mov eax, r8d
shr eax, 6
xor r8d, eax
test r9b, r9b
jne 0x140019f40
lea eax, [r8 + r8*8]
mov edx, 0x40
mov ecx, eax
shr ecx, 0xb
xor ecx, eax
imul r8d, ecx, 0x8001
mov rcx, rbx
call fcn.140019fc0
mov rax, rbx
add rsp, 0x30
pop rbx
ret

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

Disassembly:
push rbp
push rsi
push rdi
mov eax, 0x13f0
call fcn.14001d580
sub rsp, rax
mov rax, qword [0x1400ac080]
xor rax, rsp
mov qword [rsp + 0x13e0], rax
xor edi, edi
mov qword [rsp + 0x40], rcx
mov rsi, rcx
mov dword [rsp + 0x13d4], 0xffffffff
mov rbp, rdx
mov dword [rsp + 0x54], r8d
lea ecx, [rdi + 1]
nop dword [rax]
nop word [rax + rax]
mov eax, r8d
shr eax, 0x1e
xor eax, r8d
imul r8d, eax, 0x6c078965
add r8d, ecx
mov dword [rsp + rcx*4 + 0x54], r8d
inc rcx
cmp rcx, 0x270
jb 0x14001a010
mov dword [rsp + 0x50], 0x270
mov qword [rsi], rdi
mov qword [rsi + 8], rdi
mov qword [rsi + 0x10], rdi
test rbp, rbp
je 0x14001a0b9
mov rcx, rsi
mov qword [rsp + 0x1420], rbx
call fcn.140019630
mov rbx, qword [rsi]
mov r8, rbp
mov rcx, rbx
xor edx, edx
call fcn.14001fd50
lea rax, [rbx + rbp]
mov rbx, qword [rsp + 0x1420]
mov qword [rsi + 8], rax
test rbp, rbp
je 0x14001a0b9
lea rax, [rsp + 0x50]
mov qword [rsp + 0x30], 0x20
mov edx, pe_nt_image_headers64
mov qword [rsp + 0x28], rax
lea rcx, [rsp + 0x28]
mov dword [rsp + 0x38], 0xffffffff
call fcn.1400193b0
mov rcx, qword [rsi]
mov byte [rdi + rcx], al
inc rdi
cmp rdi, rbp
jb 0x14001a081
mov rax, rsi
mov rcx, qword [rsp + 0x13e0]
xor rcx, rsp
call fcn.14001d520
add rsp, 0x13f0
pop rdi
pop rsi
pop rbp
ret
Function at 0x14001ad40
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push r14
sub rsp, 0x20
mov r14, r8
mov rsi, rdx
mov rbx, rcx
test r8, r8
jg 0x14001ad71
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
cmp qword [rcx + 0x68], 0
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x38], rdi
je 0x14001adeb
mov rdi, r14
mov rcx, rbx
call fcn.140014df0
test rax, rax
jle 0x14001adc3
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.14001f6a0
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 0x14001addb
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x38]
cmp eax, 0xffffffff
je 0x14001ade3
mov byte [rsi], al
dec rdi
mov ebp, 1
add rsi, rbp
test rdi, rdi
jg 0x14001ad85
sub r14, rdi
jmp 0x14001aecf
mov rax, qword [rcx + 0x38]
mov rbp, r14
mov rdx, qword [rax]
test rdx, rdx
je 0x14001ae02
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x14001ae04
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x14001ae36
cmp rax, r14
mov rdi, r14
mov rcx, rsi
cmovb rdi, rax
mov r8, rdi
call fcn.14001f6a0
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 0x14001aecc
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x14001ae71
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 0x14001aead
nop word [rax + rax]
mov r9, qword [rbx + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, rsi
call fcn.140026440
add rsi, rax
sub rbp, rax
cmp rax, 0xfff
jne 0x14001aecc
cmp rbp, rax
ja 0x14001ae80
test rbp, rbp
je 0x14001aecc
mov r9, qword [rbx + 0x80]
mov r8, rbp
mov edx, 1
mov rcx, rsi
call fcn.140026440
sub rbp, rax
sub r14, rbp
mov rbp, qword [rsp + 0x30]
mov rax, r14
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x14001aef0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov r14, r8
mov rbp, rdx
mov rdi, rcx
mov rbx, r8
je 0x14001af88
test r8, r8
jle 0x14001af80
nop word [rax + rax]
mov rcx, rdi
call fcn.140015570
test rax, rax
jle 0x14001af5e
cmp rbx, rax
mov rsi, rbx
mov rdx, rbp
cmovge rsi, rax
mov rax, qword [rdi + 0x40]
mov r8, rsi
mov rcx, qword [rax]
call fcn.14001f6a0
mov rax, qword [rdi + 0x58]
sub rbx, rsi
sub dword [rax], esi
mov rcx, qword [rdi + 0x40]
movsxd rax, esi
add qword [rcx], rax
jmp 0x14001af78
mov rax, qword [rdi]
mov rcx, rdi
movzx edx, byte [rbp]
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x14001af80
dec rbx
mov esi, 1
add rbp, rsi
test rbx, rbx
jg 0x14001af20
sub r14, rbx
mov rax, r14
jmp 0x14001b006
mov rax, qword [rcx + 0x40]
mov qword [rsp + 0x40], r15
mov r9, qword [rax]
test r9, r9
je 0x14001afa1
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x14001afa3
xor ecx, ecx
movsxd rsi, ecx
test r14, r14
jle 0x14001affb
test ecx, ecx
jle 0x14001afdc
cmp r14, rsi
mov rcx, r9
cmovl rsi, r14
mov r8, rsi
call fcn.14001f6a0
mov rax, qword [rdi + 0x58]
add rbp, rsi
sub r14, rsi
sub dword [rax], esi
mov rcx, qword [rdi + 0x40]
movsxd rax, esi
add qword [rcx], rax
test r14, r14
jle 0x14001affb
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x14001affb
mov r8, r14
mov edx, 1
mov rcx, rbp
call fcn.1400269a0
sub r14, rax
mov r15, qword [rsp + 0x40]
sub rbx, r14
mov rax, rbx
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x58]
add rsp, 0x20
pop r14
pop rdi
pop rsi
ret
Function at 0x14001b8c0
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
movabs rax, 0xfffffffffffffff
mov rsi, rcx
bsr rcx, rax
mov edi, 1
mov eax, edi
shl rax, cl
cmp rdx, rax
ja 0x14001ba71
lea rax, [rdx - 1]
mov qword [rsp + 0x30], rbx
mov rbx, qword [rsi + 8]
or rax, rdi
bsr rcx, rax
mov r8, rbx
mov qword [rsp + 0x40], r14
inc ecx
shl rdi, cl
lea rcx, [rsi + 0x18]
lea rdx, [rdi + rdi]
call fcn.14001b790
lea rax, [rdi - 1]
mov qword [rsi + 0x38], rdi
mov qword [rsi + 0x30], rax
mov rax, qword [rsi + 8]
mov rax, qword [rax]
mov rcx, rax
cmp rax, rbx
je 0x14001ba36
mov qword [rsp + 0x38], rbp
movabs rdi, 0x100000001b3
movabs rbp, 0xcbf29ce484222325
nop dword [rax]
nop dword [rax + rax]
movzx edx, byte [rax + 0x11]
movzx r9d, byte [rax + 0x10]
mov r11, qword [rsi + 0x30]
xor r9, rbp
mov rcx, qword [rcx]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x12]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x13]
imul r9, rdi
xor r9, rdx
imul r9, rdi
and r11, r9
shl r11, 4
add r11, qword [rsi + 0x18]
mov r9, qword [r11]
cmp r9, rbx
jne 0x14001b9b0
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x14001ba25
mov rdx, qword [r11 + 8]
mov r8d, dword [rax + 0x10]
cmp r8d, dword [rdx + 0x10]
jne 0x14001b9ed
mov r10, qword [rdx]
cmp r10, rax
je 0x14001b9e7
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
mov qword [r11 + 8], rax
jmp 0x14001ba25
cmp r9, rdx
je 0x14001ba01
mov rdx, qword [rdx + 8]
cmp r8d, dword [rdx + 0x10]
je 0x14001ba4b
cmp r9, rdx
jne 0x14001b9f2
mov r10, qword [rax + 8]
mov qword [r10], rcx
mov r9, qword [rcx + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], rax
mov qword [rdx + 8], r9
mov qword [rcx + 8], r10
mov qword [rax + 8], r8
mov qword [r11], rax
mov rax, rcx
cmp rcx, rbx
jne 0x14001b960
mov rbp, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
mov r14, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
mov r10, qword [rdx]
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
jmp 0x14001ba25
lea rcx, str.invalid_hash_bucket_count
call fcn.14001c62c
int3
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdx, qword [rcx + 0x10]
mov rdi, rcx
add rdx, 1
mov rbx, qword [rcx + 0x38]
xorps xmm0, xmm0
js 0x14001baa5
cvtsi2ss xmm0, rdx
jmp 0x14001baba
mov rax, rdx
and edx, 1
shr rax, 1
or rax, rdx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
divss xmm0, dword [rcx]
call fcn.1400284d8
movss xmm1, dword [0x140044bc8]
xor ecx, ecx
comiss xmm0, xmm1
jb 0x14001bae8
subss xmm0, xmm1
comiss xmm0, xmm1
jae 0x14001bae8
movabs rax, 0x8000000000000000
mov rcx, rax
cvttss2si rax, xmm0
add rax, rcx
mov ecx, 8
cmp rax, rcx
cmova rcx, rax
cmp rbx, rcx
jae 0x14001bb1a
cmp rbx, 0x200
jae 0x14001bb17
lea rbx, [rbx*8]
cmp rbx, rcx
jae 0x14001bb1a
mov rbx, rcx
mov rdx, rbx
mov rcx, rdi
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp 0x14001b8c0