joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400562d0
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
jbe 0x140056308
lea rcx, str.invalid_hash_bucket_count
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
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.1400517c0
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 0x140056444
mov qword [rsp + 0x38], rbp
movabs rdi, 0x100000001b3
movabs rbp, 0xcbf29ce484222325
nop
movzx edx, byte [rax + 0x11]
movzx r11d, byte [rax + 0x10]
mov rcx, qword [rcx]
xor r11, rbp
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x12]
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x13]
imul r11, rdi
xor r11, rdx
imul r11, rdi
and r11, qword [rsi + 0x30]
shl r11, 4
add r11, qword [rsi + 0x18]
mov r9, qword [r11]
cmp r9, rbx
jne 0x1400563bd
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x140056433
mov rdx, qword [r11 + 8]
mov r8d, dword [rax + 0x10]
cmp r8d, dword [rdx + 0x10]
jne 0x1400563fa
mov r10, qword [rdx]
cmp r10, rax
je 0x1400563f4
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 0x140056433
cmp r9, rdx
je 0x14005640f
nop
mov rdx, qword [rdx + 8]
cmp r8d, dword [rdx + 0x10]
je 0x140056459
cmp r9, rdx
jne 0x140056400
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 0x140056370
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 0x140056433
Function at 0x14005a6f0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
sub rsp, 8
mov r10, rcx
mov r9d, 0x138
mov ecx, dword [rcx]
cmp ecx, r9d
jne 0x14005a757
lea r8, [r10 + 0x10]
movabs r11, 0xb5026f5aa96619e9
mov rdx, qword [r8]
xor rdx, qword [r8 - 8]
lea r8, [r8 + 8]
and rdx, 0xffffffff80000000
xor rdx, qword [r8 - 8]
movzx eax, dl
and al, 1
neg al
sbb rcx, rcx
shr rdx, 1
and rcx, r11
xor rcx, qword [r8 + 0x4d0]
xor rcx, rdx
mov qword [r8 + 0x9b0], rcx
sub r9, 1
jne 0x14005a712
mov ecx, dword [r10]
jmp 0x14005a878
cmp ecx, 0x270
jb 0x14005a878
mov qword [rsp + 0x10], rbx
movabs r11, 0xb5026f5aa96619e9
lea rbx, [r10 + 0x9c8]
mov qword [rsp], rdi
mov rax, qword [rbx]
mov edi, 0x9c
nop word [rax + rax]
mov r9, qword [rbx + 8]
mov r8, rbx
add rbx, 8
mov rdx, r9
xor rdx, rax
and rdx, 0xffffffff80000000
xor rdx, r9
movzx eax, dl
and al, 1
neg al
mov rax, r9
sbb rcx, rcx
shr rdx, 1
and rcx, r11
xor rcx, qword [r8 + 0x4e0]
xor rcx, rdx
mov qword [r8 - 0x9c0], rcx
sub rdi, 1
jne 0x14005a790
lea rbx, [r10 + 0xea8]
mov edi, 0x9b
mov r9, qword [rbx]
nop dword [rax]
nop dword [rax + rax]
mov r8, qword [rbx + 8]
mov rdx, rbx
xor r9, r8
add rbx, 8
and r9, 0xffffffff80000000
xor r9, r8
movzx eax, r9b
and al, 1
neg al
sbb rcx, rcx
shr r9, 1
and rcx, r11
xor rcx, qword [rdx - 0xea0]
xor rcx, r9
mov r9, r8
mov qword [rdx - 0x9c0], rcx
sub rdi, 1
jne 0x14005a7f0
mov rdx, qword [r10 + 8]
xor rdx, qword [r10 + 0x1380]
mov rdi, qword [rsp]
and rdx, 0xffffffff80000000
xor rdx, qword [r10 + 8]
mov rbx, qword [rsp + 0x10]
movzx eax, dl
and al, 1
neg al
sbb rcx, rcx
shr rdx, 1
and rcx, r11
xor rcx, qword [r10 + 0x4e0]
xor rcx, rdx
mov qword [r10 + 0x9c0], rcx
xor ecx, ecx
mov dword [r10], ecx
mov eax, ecx
mov rdx, qword [r10 + rax*8 + 8]
lea eax, [rcx + 1]
mov dword [r10], eax
mov rcx, rdx
mov rax, qword [r10 + 0x1388]
shr rcx, 0x1d
and rax, rcx
movabs rcx, 0x38eb3ffff6d3
xor rdx, rax
mov rax, rdx
and rax, rcx
shl rax, 0x11
xor rdx, rax
mov rax, rdx
and rax, 0xffffffffffffbf77
shl rax, 0x25
xor rdx, rax
mov rax, rdx
shr rax, 0x2b
xor rax, rdx
add rsp, 8
ret
Function at 0x14005ec90
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r12
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x30
mov r14, qword [rcx]
mov edi, 1
mov r15, qword [rcx + 8]
mov r12, r8
mov eax, dword [rdx]
mov rsi, r15
mov r9d, dword [rdx + 4]
sub rsi, r14
xor eax, dword [r14]
xor r9d, dword [r14 + 4]
mov r10d, dword [rdx + 8]
xor r10d, dword [r14 + 8]
mov r11d, dword [rdx + 0xc]
xor r11d, dword [r14 + 0xc]
sar rsi, 4
dec rsi
mov dword [rbp - 0x10], eax
mov dword [rbp - 0xc], r9d
mov dword [rbp - 8], r10d
mov dword [rbp - 4], r11d
cmp rsi, rdi
jbe 0x14005ed60
mov ebx, edi
nop
lea rcx, [rbp - 0x10]
call fcn.14005dc10
lea rcx, [rbp - 0x10]
call fcn.14005dd50
lea rcx, [rbp - 0x10]
call fcn.14005df80
mov eax, dword [rbp - 0x10]
inc edi
mov r9d, dword [rbp - 0xc]
mov r10d, dword [rbp - 8]
mov r11d, dword [rbp - 4]
shl rbx, 4
add rbx, r14
xor eax, dword [rbx]
xor r9d, dword [rbx + 4]
xor r10d, dword [rbx + 8]
xor r11d, dword [rbx + 0xc]
mov ebx, edi
mov dword [rbp - 0x10], eax
mov dword [rbp - 0xc], r9d
mov dword [rbp - 8], r10d
mov dword [rbp - 4], r11d
cmp rbx, rsi
jb 0x14005ed00
nop word [rax + rax]
mov r8d, eax
lea rbx, str.cw
shr rax, 0x10
movzx ecx, al
mov eax, r8d
shr rax, 0x18
movzx edx, byte [rcx + rbx]
movzx eax, byte [rax + rbx]
shl eax, 8
or edx, eax
mov eax, r8d
shr rax, 8
movzx ecx, al
shl edx, 8
movzx eax, byte [rcx + rbx]
or edx, eax
movzx eax, r8b
shl edx, 8
movzx ecx, byte [rax + rbx]
or edx, ecx
mov eax, r9d
shr rax, 0x10
movzx ecx, al
mov eax, r9d
shr rax, 0x18
mov dword [rbp - 0x10], edx
movzx r8d, byte [rcx + rbx]
movzx eax, byte [rax + rbx]
shl eax, 8
or r8d, eax
mov eax, r9d
shr rax, 8
movzx ecx, al
shl r8d, 8
movzx eax, byte [rcx + rbx]
or r8d, eax
movzx eax, r9b
shl r8d, 8
movzx ecx, byte [rax + rbx]
or r8d, ecx
mov eax, r10d
shr rax, 0x10
movzx ecx, al
mov dword [rbp - 0xc], r8d
mov eax, r10d
shr rax, 0x18
movzx r8d, byte [rcx + rbx]
movzx eax, byte [rax + rbx]
shl eax, 8
or r8d, eax
mov eax, r10d
shr rax, 8
movzx ecx, al
shl r8d, 8
movzx eax, byte [rcx + rbx]
or r8d, eax
movzx eax, r10b
shl r8d, 8
movzx ecx, byte [rax + rbx]
or r8d, ecx
mov eax, r11d
shr rax, 0x10
movzx ecx, al
mov dword [rbp - 8], r8d
mov eax, r11d
shr rax, 0x18
movzx r8d, byte [rcx + rbx]
movzx eax, byte [rax + rbx]
shl eax, 8
or r8d, eax
mov eax, r11d
shr rax, 8
movzx ecx, al
shl r8d, 8
movzx eax, byte [rcx + rbx]
or r8d, eax
movzx eax, r11b
shl r8d, 8
movzx ecx, byte [rax + rbx]
or r8d, ecx
mov dword [rbp - 4], r8d
lea rcx, [rbp - 0x10]
call fcn.14005dd50
mov r8d, dword [rbp - 0x10]
xor r8d, dword [r15 - 0x10]
mov edx, dword [rbp - 0xc]
xor edx, dword [r15 - 0xc]
mov ecx, dword [rbp - 8]
xor ecx, dword [r15 - 8]
mov eax, dword [rbp - 4]
xor eax, dword [r15 - 4]
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x60]
mov dword [r12 + 0xc], eax
mov dword [r12], r8d
mov dword [r12 + 4], edx
mov dword [r12 + 8], ecx
mov r12, qword [rsp + 0x68]
add rsp, 0x30
pop r15
pop r14
pop rbp
ret
Function at 0x140061330
Capabilities:
Connect socket
Convert ip address from string
Encode data using xor
Initialize winsock library

Disassembly:
push rbx
sub rsp, 0x40
mov rbx, qword [0x1401a6268]
mov ecx, 0x202
lea rdx, [rbx + 0x58]
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x14006135b
mov eax, 0xffffffff
add rsp, 0x40
pop rbx
ret
xor r8d, r8d
mov qword [rsp + 0x50], rdi
mov edi, 2
mov ecx, edi
lea edx, [r8 + 1]
call qword [sym.imp.WS2_32.dll_socket]
mov qword [rbx + 0x1f0], rax
cmp rax, 0xffffffffffffffff
je 0x140061549
mov eax, dword [0x1400c6290]
xor ecx, ecx
cmp dword [0x1400e2088], edi
movsd xmm0, qword [0x1400c6288]
mov dword [rsp + 0x28], eax
movzx eax, byte [0x1400c6294]
mov byte [rsp + 0x2c], al
movsd qword [rsp + 0x20], xmm0
jl 0x1400614b1
movdqa xmm2, xmmword [0x1400ced20]
mov ecx, 8
movdqa xmm4, xmmword [0x1400cee50]
movdqa xmm1, xmm2
movdqa xmm3, xmmword [0x1400ced30]
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1400cedb0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, dword [0x1400c6288]
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x1400cee40]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x1400cee60]
xorps xmm2, xmm0
punpckldq xmm1, xmm3
movd dword [rsp + 0x20], xmm2
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1400cedb0]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, dword [rsp + 0x24]
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1400cee40]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x1400cee60]
xorps xmm2, xmm0
movd dword [rsp + 0x24], xmm2
movsxd rax, ecx
lea r8, [rsp + 0x20]
add r8, rax
nop dword [rax]
mov eax, 0x94f2095
lea r8, [r8 + 1]
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x37
movzx eax, cl
inc ecx
sub al, dl
add al, 0x34
xor byte [r8 - 1], al
cmp ecx, 0xd
jl 0x1400614c0
xorps xmm0, xmm0
mov ecx, 0x1f9a
movups xmmword [rsp + 0x30], xmm0
mov word [rsp + 0x30], di
call qword [sym.imp.WS2_32.dll_htons]
lea r8, [rsp + 0x34]
mov ecx, edi
lea rdx, [rsp + 0x20]
mov word [rsp + 0x32], ax
call qword [sym.imp.WS2_32.dll_inet_pton]
mov rcx, qword [rbx + 0x1f0]
test eax, eax
jle 0x140061543
mov r8d, reloc.WS2_32.dll_recv
lea rdx, [rsp + 0x30]
call qword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x14006155f
mov rcx, qword [rbx + 0x1f0]
call qword [sym.imp.WS2_32.dll_closesocket]
call qword [sym.imp.WS2_32.dll_WSACleanup]
mov rdi, qword [rsp + 0x50]
mov eax, 0xffffffff
add rsp, 0x40
pop rbx
ret
mov rdi, qword [rsp + 0x50]
mov eax, 1
add rsp, 0x40
pop rbx
ret
Function at 0x140062b20
Capabilities:
Enumerate process modules

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x260
mov rdi, rdx
mov edx, ecx
mov ecx, 0x18
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140062b8d
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x238
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Module32First]
test eax, eax
je 0x140062b84
mov rdx, rdi
lea rcx, [rsp + 0x50]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
mov rcx, rbx
test eax, eax
je 0x140062ba0
lea rdx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_Module32Next]
test eax, eax
jne 0x140062b60
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov rbx, qword [rsp + 0x270]
add rsp, 0x260
pop rdi
ret
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x270]
add rsp, 0x260
pop rdi
ret

Function at 0x140062bc0
Capabilities:
Enumerate process modules

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rdi
sub rsp, 0x20
mov rbx, rcx
mov rbp, r8
mov ecx, 0x18
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x140062c4c
mov rdx, rbx
mov dword [rbx], 0x238
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Module32First]
test eax, eax
je 0x140062c4c
mov qword [rsp + 0x30], rsi
lea rsi, [rbx + 0x30]
nop dword [rax + rax]
mov r8, rbp
mov rax, rsi
sub r8, rsi
nop dword [rax]
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x140062c33
inc rax
test ecx, ecx
jne 0x140062c20
test edx, edx
je 0x140062c47
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Module32Next]
test eax, eax
jne 0x140062c10
mov rsi, qword [rsp + 0x30]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbp, qword [rsp + 0x40]
mov rax, rbx
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x140069280
Capabilities:
Create directory

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x140
mov rbx, rcx
cmp qword [rcx + 0x18], 0xf
jbe 0x14006929f
mov rcx, qword [rcx]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x140069426
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x140069426
mov rcx, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x1400692cd
mov rcx, qword [rbx]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x14006947d
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 3
jne 0x14006947d
mov rsi, qword [rbx + 0x10]
mov rdi, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x1400692fd
mov rdi, qword [rbx]
test rsi, rsi
je 0x140069378
xor edx, edx
mov r8d, pe_nt_image_headers64
lea rcx, [rsp + 0x40]
call sub.VCRUNTIME140.dll_memset
lea rcx, [0x1400c8320]
lea rdx, [0x1400c8322]
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [rcx]
mov byte [rsp + rax + 0x40], 1
inc rcx
cmp rcx, rdx
jne 0x140069330
lea rax, [rsi - 1]
mov r8, 0xffffffffffffffff
cmp rax, r8
cmovb r8, rax
add r8, rdi
movzx eax, byte [r8]
cmp byte [rsp + rax + 0x40], 0
jne 0x140069373
cmp r8, rdi
je 0x140069378
dec r8
movzx eax, byte [r8]
cmp byte [rsp + rax + 0x40], 0
je 0x140069360
sub r8, rdi
jmp 0x14006937f
mov r8, 0xffffffffffffffff
cmp r8, 0xffffffffffffffff
je 0x14006947d
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x30], xmm1
cmp rsi, r8
cmovb r8, rsi
mov rdx, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x1400693ae
mov rdx, qword [rbx]
lea rcx, [rsp + 0x20]
call fcn.140055ec0
nop
lea rcx, [rsp + 0x20]
call fcn.140069280
test al, al
je 0x14006943d
cmp qword [rbx + 0x18], 0xf
jbe 0x1400693d1
mov rbx, qword [rbx]
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x1400693ed
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x14006943d
mov rdx, qword [rsp + 0x38]
cmp rdx, 0xf
jbe 0x140069426
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140069421
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140069471
call fcn.1400b0be8
mov al, 1
lea r11, [rsp + 0x140]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
mov rdx, qword [rsp + 0x38]
cmp rdx, 0xf
jbe 0x14006947d
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140069478
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140069478
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400b0be8
xor al, al
jmp 0x140069428
Function at 0x1400765f0
Capabilities:
Log keystrokes via polling

Disassembly:
sub rsp, 0x48
mov ecx, 1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jne 0x140076618
mov ecx, 2
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x140076872
mov rax, qword [0x140180380]
mov r9d, dword [0x14017e3c0]
movaps xmmword [rsp + 0x30], xmm7
test eax, eax
je 0x140076661
mov edx, dword [0x140180384]
test edx, edx
je 0x140076661
xorps xmm2, xmm2
mov ecx, eax
xorps xmm0, xmm0
movd xmm1, r9d
cvtsi2ss xmm0, rdx
cvtsi2ss xmm2, rcx
cvtdq2ps xmm1, xmm1
divss xmm2, xmm0
mulss xmm2, xmm1
cvttss2si eax, xmm2
jmp 0x140076663
xor eax, eax
movss xmm1, dword [0x1401a5d98]
movd xmm2, eax
movaps xmm0, xmm1
cvtdq2ps xmm2, xmm2
subss xmm0, xmm2
andps xmm0, xmmword [0x1400cef90]
comiss xmm0, dword [0x1400ce838]
jbe 0x1400766bd
comiss xmm2, xmm1
jbe 0x14007669b
addss xmm1, dword [0x1400ce8a0]
comiss xmm1, xmm2
jmp 0x1400766ab
comiss xmm1, xmm2
jbe 0x1400766bd
addss xmm1, dword [0x1400ceae8]
comiss xmm2, xmm1
movss dword [0x1401a5d98], xmm1
jbe 0x1400766bd
movss dword [0x1401a5d98], xmm2
movss xmm0, dword [0x1401a62fc]
mov eax, r9d
addss xmm0, dword [0x1400ce9e4]
movss xmm1, dword [0x1401a62f8]
cdq
sub eax, edx
mov dword [rsp + 0x28], 0
sar eax, 1
lea rdx, [rsp + 0x58]
xorps xmm7, xmm7
cvttss2si r8d, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rsp + 0x20], xmm7
subss xmm1, xmm0
cvttss2si ecx, xmm1
lea eax, [r9 + rcx]
mov r9d, 0xff1c1a1a
movd xmm0, eax
lea eax, [r8 + 5]
cvtdq2ps xmm0, xmm0
movd xmm1, eax
cvtdq2ps xmm1, xmm1
movss dword [rsp + 0x50], xmm0
movss dword [rsp + 0x54], xmm1
movd xmm1, r8d
lea r8, [rsp + 0x50]
movd xmm0, ecx
mov rcx, qword [0x140180370]
cvtdq2ps xmm1, xmm1
cvtdq2ps xmm0, xmm0
movss dword [rsp + 0x5c], xmm1
movss dword [rsp + 0x58], xmm0
call fcn.140032e50
movss xmm3, dword [0x1401a5d98]
comiss xmm3, xmm7
jbe 0x14007686d
movss xmm2, dword [0x1400cea78]
movss xmm0, dword [0x14017e410]
movss xmm1, dword [0x14017e408]
mov eax, dword [0x14017e3c0]
mulss xmm0, xmm2
cdq
sub eax, edx
mov dword [rsp + 0x28], 0
mulss xmm1, xmm2
sar eax, 1
cvttss2si r9d, xmm0
movss xmm0, dword [0x14017e40c]
mulss xmm0, xmm2
movzx r9d, r9b
cvttss2si r11d, xmm1
or r9d, 0xffffff00
shl r9d, 8
movss xmm1, dword [0x1401a62f8]
cvttss2si r10d, xmm0
movss xmm0, dword [0x1401a62fc]
addss xmm0, dword [0x1400ce9e8]
cvttss2si ecx, xmm3
cvttss2si r8d, xmm0
add ecx, 0xfffffffe
movd xmm0, eax
cvtdq2ps xmm0, xmm0
lea eax, [r8 + 3]
movss dword [rsp + 0x20], xmm7
subss xmm1, xmm0
addss xmm1, dword [0x1400ce8a0]
cvttss2si edx, xmm1
movd xmm1, eax
add ecx, edx
movzx eax, r10b
cvtdq2ps xmm1, xmm1
or r9d, eax
movzx eax, r11b
shl r9d, 8
or r9d, eax
movd xmm0, ecx
mov rcx, qword [0x140180370]
cvtdq2ps xmm0, xmm0
movss dword [rsp + 0x54], xmm1
movss dword [rsp + 0x50], xmm0
movd xmm0, edx
lea rdx, [rsp + 0x58]
movd xmm1, r8d
lea r8, [rsp + 0x50]
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm1, xmm1
movss dword [rsp + 0x58], xmm0
movss dword [rsp + 0x5c], xmm1
call fcn.140032e50
movaps xmm7, xmmword [rsp + 0x30]
add rsp, 0x48
ret
Function at 0x140088fd0
Capabilities:
Write file on windows

Disassembly:
push rbx
push rdi
push r15
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov rbx, r8
mov r15, rdx
mov rdi, rcx
je case.default.0x140088ff1
add rsp, 0x20
pop r15
pop rdi
pop rbx
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x40]
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], rsi
mov rsi, rbx
mov qword [rsp + 0x58], r14
mov r9, qword [rax]
test r9, r9
je 0x14008901e
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x140089020
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x140089079
test ecx, ecx
jle 0x140089059
cmp rbx, rbp
mov rcx, r9
cmovl rbp, rbx
mov r8, rbp
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rdi + 0x58]
add r15, rbp
sub rbx, rbp
sub dword [rax], ebp
mov rcx, qword [rdi + 0x40]
movsxd rax, ebp
add qword [rcx], rax
test rbx, rbx
jle 0x140089079
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x140089079
mov r8, rbx
mov edx, 1
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
sub rbx, rax
mov r14, qword [rsp + 0x58]
sub rsi, rbx
mov rbp, qword [rsp + 0x40]
mov rax, rsi
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r15
pop rdi
pop rbx
ret
Function at 0x1400890a0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push r14
sub rsp, 0x20
mov rbp, r8
mov r14, rdx
mov rsi, rcx
test r8, r8
jg 0x1400890d1
xor eax, eax
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
cmp qword [rcx + 0x68], 0
je case.default.0x1400890e8
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsgetn_char____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x38]
mov qword [rsp + 0x30], rbx
mov rbx, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x14008910b
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x14008910d
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x140089149
mov qword [rsp + 0x38], rdi
cmp rax, rbp
mov rdi, rbp
mov rcx, r14
cmovb rdi, rax
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rsi + 0x50]
add r14, rdi
sub rbx, rdi
sub dword [rax], edi
mov rcx, qword [rsi + 0x38]
movsxd rax, edi
mov rdi, qword [rsp + 0x38]
add qword [rcx], rax
cmp qword [rsi + 0x80], 0
je 0x1400891de
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x140089184
mov rcx, qword [rsi + 0x88]
mov rdx, qword [rsi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rsi + 0x38]
mov qword [rax], rcx
mov rax, qword [rsi + 0x50]
mov dword [rax], edx
cmp rbx, 0xfff
jbe 0x1400891be
nop dword [rax]
mov r9, qword [rsi + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add r14, rax
sub rbx, rax
cmp rax, 0xfff
jne 0x1400891de
cmp rbx, rax
ja 0x140089190
test rbx, rbx
je 0x1400891de
mov r9, qword [rsi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
sub rbx, rax
mov rsi, qword [rsp + 0x48]
sub rbp, rbx
mov rbx, qword [rsp + 0x30]
mov rax, rbp
mov rbp, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
Function at 0x1400895f0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x70
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x140089614
xor eax, eax
mov rbx, qword [rsp + 0x88]
add rsp, 0x70
pop rdi
ret
mov rax, qword [rcx + 0x40]
mov rcx, qword [rax]
test rcx, rcx
je 0x140089657
mov rdx, qword [rbx + 0x58]
movsxd r8, dword [rdx]
lea rax, [rcx + r8]
cmp rcx, rax
jae 0x140089657
lea eax, [r8 - 1]
mov dword [rdx], eax
mov rcx, qword [rbx + 0x40]
mov rdx, qword [rcx]
lea rax, [rdx + 1]
mov qword [rcx], rax
mov eax, edi
mov byte [rdx], dil
mov rbx, qword [rsp + 0x88]
add rsp, 0x70
pop rdi
ret
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0x80], rsi
je 0x140089788
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x14008969a
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
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x1400896c5
mov rdx, qword [rbx + 0x80]
movsx ecx, dil
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmove edi, ecx
mov eax, edi
jmp 0x14008978d
lea rax, [rsp + 0x90]
mov byte [rsp + 0x40], dil
mov qword [rsp + 0x38], rax
lea rdx, [rbx + 0x74]
lea rax, [rsp + 0x68]
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x41]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x40]
lea rax, [rsp + 0x98]
mov qword [rsp + 0x20], rax
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::out_struct__Mbstatet____ptr64__char_const____ptr64__char_const____ptr64__char_const____ptr64____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x14008973a
sub eax, 1
je 0x14008973a
cmp eax, 2
jne 0x140089788
movsx ecx, byte [rsp + 0x40]
mov rdx, qword [rbx + 0x80]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmove edi, ecx
mov eax, edi
jmp 0x14008978d
mov rsi, qword [rsp + 0x90]
lea rax, [rsp + 0x48]
sub rsi, rax
je 0x14008976b
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x48]
mov r8, rsi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rsi, rax
jne 0x140089788
lea rax, [rsp + 0x40]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x98], rax
mov ecx, 0xffffffff
cmovne ecx, edi
mov eax, ecx
jmp 0x14008978d
mov eax, 0xffffffff
mov rsi, qword [rsp + 0x80]
mov rbx, qword [rsp + 0x88]
add rsp, 0x70
pop rdi
ret

Function at 0x14008a930
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
movabs rax, 0xcbf29ce484222325
mov r9d, 0
sub r8, rdx
je 0x14008a964
movabs r10, 0x100000001b3
nop
movzx ecx, byte [rdx + r9]
inc r9
xor rax, rcx
imul rax, r10
cmp r9, r8
jb 0x14008a950
ret