joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14001b8b0
Capabilities:
Log keystrokes via polling

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push rbp
lea rbp, [rax - 0xe8]
sub rsp, 0x1e0
movaps xmmword [rax - 0x18], xmm6
mov rax, qword [0x1403d3080]
xor rax, rsp
mov qword [rbp + 0xc0], rax
cmp byte [0x1403de1d0], 0
jne 0x14001bae3
movabs rsi, 0x7fffffffffffffff
mov r14d, 0xff
mov edi, dword [rsp + 0x48]
movsd xmm6, qword [rsp + 0x40]
nop
mov eax, dword [0x1403de1e0]
inc eax
movsxd rbx, eax
lea rcx, [rsp + 0x50]
call fcn.140001c50
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x30], rax
test rbx, rbx
je 0x14001b965
js 0x14001b965
imul r8, rbx, 0xf4240
mov rdx, rsi
sub rdx, r8
cmp rax, rdx
je 0x14001b960
mov ecx, 1
cmovl ecx, r14d
test cl, cl
jns 0x14001b960
lea rcx, [r8 + rax]
mov qword [rsp + 0x30], rcx
jmp 0x14001b965
mov qword [rsp + 0x30], rsi
lea rcx, [rsp + 0x30]
call fcn.140004c20
cmp byte [0x1403de0b4], 0
je 0x14001bad6
cmp qword [0x140416008], 0
je 0x14001bad6
lea rcx, [rbp + 0x20]
call fcn.14001aa30
mov qword [rbp + 0xb4], 0
movd xmm1, dword [0x1403de0b8]
cvtdq2ps xmm1, xmm1
lea rax, [rbp + 0x20]
mov qword [rsp + 0x20], rax
movzx r9d, byte [0x1403de0c0]
mov r8d, dword [0x1403de0c4]
call fcn.14002a050
test al, al
je 0x14001baaf
mov ecx, dword [0x1403de0bc]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x14001baaf
cmp byte [rbp + 0x60], 0
jne 0x14001bac4
mov ecx, dword [0x1403de0c8]
test ecx, ecx
je 0x14001ba39
sub ecx, 1
je 0x14001ba1f
cmp ecx, 1
jne 0x14001ba92
lea rdx, [rbp + 0x20]
lea rcx, [rsp + 0x58]
call fcn.14001ab20
mov r9d, 0x60f2
lea rdx, [rbp - 8]
jmp 0x14001ba51
lea rdx, [rbp + 0x20]
lea rcx, [rsp + 0x58]
call fcn.14001ab20
mov r9d, 0x9995
lea rdx, [rbp + 4]
jmp 0x14001ba51
lea rdx, [rbp + 0x20]
lea rcx, [rsp + 0x58]
call fcn.14001ab20
mov r9d, 0x796e
lea rdx, [rbp + 0x10]
movsd xmm0, qword [rbp + 0xa8]
movsd qword [rbp - 0x20], xmm0
mov eax, dword [rbp + 0xb0]
movss xmm0, dword [rbp + 0xb4]
movss xmm1, dword [rbp + 0xb8]
mov dword [rbp - 0x18], eax
movss dword [rbp - 0x14], xmm0
movss dword [rbp - 0x10], xmm1
lea r8, [rsp + 0x58]
call fcn.1400296e0
movsd xmm6, qword [rax]
mov edi, dword [rax + 8]
movsd qword [rsp + 0x40], xmm6
mov dword [rsp + 0x48], edi
lea rcx, [rsp + 0x40]
call fcn.14001b550
mov byte [0x1404156d8], 1
jmp 0x14001bac4
cmp byte [0x1404156d8], 0
je 0x14001bac4
call fcn.14001b360
mov byte [0x1404156d8], 0
lea rcx, [rbp + 0x68]
call fcn.140005180
lea rcx, [rbp + 0x38]
call fcn.140003520
cmp byte [0x1403de1d0], 0
je 0x14001b910
mov rcx, qword [rbp + 0xc0]
xor rcx, rsp
call fcn.1401617c0
lea r11, [rsp + 0x1e0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop rbp
ret
Function at 0x1400296e0
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x10]
sub rsp, 0x110
mov rax, qword [0x1403d3080]
xor rax, rsp
mov qword [rbp], rax
mov edi, r9d
mov rbx, r8
mov rsi, rdx
mov qword [rbp - 0x30], rbx
mov dword [rbp - 0x28], r9d
mov rdx, qword [0x140415710]
add rdx, qword [r8]
xor r15d, r15d
mov rcx, qword [0x140415820]
test rcx, rcx
je 0x140029756
cmp dword [0x14041578c], r15d
je 0x140029756
mov qword [rsp + 0x20], r15
lea r9d, [r15 + 8]
lea r8, [rbp - 0x20]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rcx, qword [0x140415820]
mov edi, dword [rbp - 0x28]
mov rdx, qword [rbp - 0x20]
test rdx, rdx
je 0x1400298dd
test rcx, rcx
je 0x1400297c5
cmp dword [0x14041578c], r15d
je 0x140029794
add rdx, 0x68
mov qword [rsp + 0x20], r15
mov r9d, 8
lea r8, [rbp - 0x18]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rcx, qword [0x140415820]
mov edi, dword [rbp - 0x28]
test rcx, rcx
je 0x1400297c5
cmp dword [0x14041578c], r15d
je 0x1400297c5
mov rdx, qword [rbp - 0x18]
add rdx, 0x178
mov qword [rsp + 0x20], r15
mov r9d, 8
lea r8, [rbp - 0x10]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov edi, dword [rbp - 0x28]
mov r9, qword [rbp - 0x10]
mov qword [rbx + 0x38], r9
movzx ecx, dil
movabs rax, 0xcbf29ce484222325
xor rcx, rax
movabs rdx, 0x100000001b3
imul rcx, rdx
movzx eax, byte [rbp - 0x27]
xor rcx, rax
imul rcx, rdx
movzx eax, byte [rbp - 0x26]
xor rcx, rax
imul rcx, rdx
movzx eax, byte [rbp - 0x25]
xor rcx, rax
imul rcx, rdx
mov rax, qword [rbx + 0x78]
and rax, rcx
add rax, rax
mov rcx, qword [rbx + 0x60]
mov r8, qword [rcx + rax*8 + 8]
mov rdx, qword [rbx + 0x50]
cmp r8, rdx
je 0x140029844
mov rax, qword [rcx + rax*8]
cmp edi, dword [r8 + 0x10]
je 0x140029847
cmp r8, rax
je 0x140029844
mov r8, qword [r8 + 8]
cmp edi, dword [r8 + 0x10]
jne 0x140029833
jmp 0x140029847
mov r8, r15
test r8, r8
je 0x140029865
cmp r8, rdx
je 0x140029865
mov r8d, dword [r8 + 0x14]
mov rdx, r9
mov rcx, rsi
call fcn.1400294b0
jmp 0x1400298e4
mov dword [rbp - 0x20], r15d
mov rdx, rbx
lea rcx, [rsp + 0x30]
call fcn.14001ab20
movsd xmm0, qword [rbx + 0x88]
movsd qword [rbp - 0x48], xmm0
mov eax, dword [rbx + 0x90]
mov dword [rbp - 0x40], eax
movsd xmm0, qword [rbx + 0x94]
movsd qword [rbp - 0x3c], xmm0
lea r9, [rbp - 0x20]
mov r8d, edi
lea rdx, [rsp + 0x30]
call fcn.140029920
test al, al
je 0x1400298dd
mov edi, dword [rbp - 0x20]
test edi, edi
je 0x1400298dd
lea r8, [rbp - 0x28]
lea rdx, [rbp - 0x10]
lea rcx, [rbx + 0x48]
call fcn.14002da50
mov rcx, qword [rax]
mov dword [rcx + 0x14], edi
mov r8d, edi
mov rdx, qword [rbx + 0x38]
mov rcx, rsi
call fcn.1400294b0
jmp 0x1400298e4
mov qword [rsi], r15
mov dword [rsi + 8], r15d
lea rcx, [rbx + 0x48]
call fcn.140005180
lea rcx, [rbx + 0x18]
call fcn.140003520
mov rax, rsi
mov rcx, qword [rbp]
xor rcx, rsp
call fcn.1401617c0
mov rbx, qword [rsp + 0x140]
add rsp, 0x110
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x14002c820
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x1403d3080]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x14002c8f3
cmp byte [rcx + 0x71], 0
je 0x14002c8f3
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + Ordinal_26]
cmp eax, 0xffffffff
je 0x14002c8ef
mov rcx, qword [rbx + 0x68]
lea rax, [rsp + 0x30]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x38]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x14002c8b4
sub eax, 1
je 0x14002c8b8
cmp eax, 2
jne 0x14002c8ef
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1401617c0
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x14002c8e6
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x38]
mov r8, rdi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rdi, rax
jne 0x14002c8ef
cmp byte [rbx + 0x71], 0
sete al
jmp 0x14002c89c
xor al, al
jmp 0x14002c89c
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1401617c0
add rsp, 0x60
pop rbx
ret
Function at 0x14002da50
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov r12, r8
mov r14, rdx
mov rsi, rcx
movzx r13d, byte [r8]
movabs rax, 0xcbf29ce484222325
xor r13, rax
movabs rcx, 0x100000001b3
imul r13, rcx
movzx eax, byte [r8 + 1]
xor r13, rax
imul r13, rcx
movzx eax, byte [r8 + 2]
xor r13, rax
imul r13, rcx
movzx eax, byte [r8 + 3]
xor r13, rax
imul r13, rcx
mov rcx, qword [rsi + 0x30]
and rcx, r13
add rcx, rcx
mov rax, qword [rsi + 0x18]
mov rbx, qword [rax + rcx*8 + 8]
lea rdx, [rsi + 8]
mov r15, qword [rdx]
cmp rbx, r15
jne 0x14002dad7
mov rbx, r15
mov rbp, r15
jmp 0x14002db1a
mov rcx, qword [rax + rcx*8]
mov eax, dword [r8]
cmp eax, dword [rbx + 0x10]
je 0x14002daf1
cmp rbx, rcx
je 0x14002db14
mov rbx, qword [rbx + 8]
cmp eax, dword [rbx + 0x10]
jne 0x14002dae3
mov qword [r14], rbx
mov byte [r14 + 8], 0
mov rax, r14
mov rbx, qword [rsp + 0x88]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov r15, rbx
mov rbp, rbx
movabs rax, 0xaaaaaaaaaaaaaaa
cmp qword [rsi + 0x10], rax
jne 0x14002db38
lea rcx, [0x1401bb370]
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
mov qword [rsp + 0x20], rdx
mov qword [rsp + 0x28], 0
mov ecx, Ordinal_26
call fcn.1401617e0
mov rdi, rax
mov qword [rsp + 0x28], rax
mov eax, dword [r12]
mov dword [rdi + 0x10], eax
xor r12d, r12d
mov dword [rdi + 0x14], r12d
mov rdx, qword [rsi + 0x10]
add rdx, 1
xorps xmm0, xmm0
js 0x14002db7a
cvtsi2ss xmm0, rdx
jmp 0x14002db92
mov rcx, rdx
shr rcx, 1
mov rax, rdx
and eax, 1
or rcx, rax
cvtsi2ss xmm0, rcx
addss xmm0, xmm0
mov rcx, qword [rsi + 0x38]
xorps xmm1, xmm1
test rcx, rcx
js 0x14002dba5
cvtsi2ss xmm1, rcx
jmp 0x14002dbba
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm1, rax
addss xmm1, xmm1
divss xmm0, xmm1
comiss xmm0, dword [rsi]
seta al
test al, al
je 0x14002dc24
mov rcx, rsi
call fcn.14001b020
mov rdx, rax
mov rcx, rsi
call fcn.14001ae70
mov rdx, qword [rsi + 0x30]
and rdx, r13
add rdx, rdx
mov rcx, qword [rsi + 0x18]
mov rax, qword [rcx + rdx*8 + 8]
mov rbx, qword [rsi + 8]
cmp rax, rbx
je 0x14002dc17
mov rdx, qword [rcx + rdx*8]
mov ecx, dword [rdi + 0x10]
cmp ecx, dword [rax + 0x10]
je 0x14002dc14
mov rbx, rax
cmp rax, rdx
je 0x14002dc58
mov rax, qword [rax + 8]
cmp ecx, dword [rax + 0x10]
jne 0x14002dc03
mov rbx, qword [rax]
mov qword [rsp + 0x20], rbx
mov rbp, rbx
mov r15, qword [rsp + 0x20]
mov rdx, qword [rbx + 8]
inc qword [rsi + 0x10]
mov qword [rdi], r15
mov qword [rdi + 8], rdx
mov qword [rdx], rdi
mov qword [rbx + 8], rdi
mov rcx, qword [rsi + 0x18]
mov rax, qword [rsi + 0x30]
and rax, r13
add rax, rax
mov r8, qword [rcx + rax*8]
cmp r8, qword [rsi + 8]
jne 0x14002dc5f
mov qword [rcx + rax*8], rdi
jmp 0x14002dc71
mov qword [rsp + 0x20], rax
jmp 0x14002dc1c
cmp r8, rbp
jne 0x14002dc6a
mov qword [rcx + rax*8], rdi
jmp 0x14002dc76
cmp qword [rcx + rax*8 + 8], rdx
jne 0x14002dc76
mov qword [rcx + rax*8 + 8], rdi
mov qword [r14], rdi
mov byte [r14 + 8], 1
jmp 0x14002daf9
Function at 0x14002e4c0
Capabilities:
Hash data using fnv

Disassembly:
push rsi
push rdi
sub rsp, 0x28
movabs rax, 0xfffffffffffffff
mov rsi, rcx
bsr rcx, rax
mov edi, 1
mov eax, edi
shl rax, cl
cmp rdx, rax
jbe 0x14002e4f5
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 + 0x50], rbx
mov rbx, qword [rsi + 8]
or rax, rdi
bsr rcx, rax
mov r8, rbx
mov qword [rsp + 0x20], r14
inc ecx
shl rdi, cl
lea rcx, [rsi + 0x18]
lea rdx, [rdi + rdi]
call fcn.140003730
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 0x14002e664
mov qword [rsp + 0x58], rbp
movabs rdi, 0x100000001b3
movabs rbp, 0xcbf29ce484222325
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
movzx edx, byte [rax + 0x14]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x15]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x16]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x17]
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 0x14002e5dc
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x14002e653
mov rdx, qword [r11 + 8]
mov r8, qword [rax + 0x10]
cmp r8, qword [rdx + 0x10]
jne 0x14002e619
mov r10, qword [rdx]
cmp r10, rax
je 0x14002e613
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 0x14002e653
cmp r9, rdx
je 0x14002e62f
nop
mov rdx, qword [rdx + 8]
cmp r8, qword [rdx + 0x10]
je 0x14002e675
cmp r9, rdx
jne 0x14002e620
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 0x14002e560
mov rbp, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x50]
mov r14, qword [rsp + 0x20]
add rsp, 0x28
pop rdi
pop rsi
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 0x14002e653
Function at 0x140035470
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x1403d3080]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rbx, rcx
mov ecx, 1
call fcn.1401617e0
mov qword [rsp + 0x30], rax
lea rdi, [rbx + 8]
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], 0
mov r9, rax
lea r8, [0x1400374f0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbx], rax
test rax, rax
je 0x1400354e0
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1401617c0
mov rbx, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
mov dword [rdi], 0
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3

Function at 0x140035500
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x1403d3080]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rbx, rcx
mov ecx, 1
call fcn.1401617e0
mov qword [rsp + 0x30], rax
lea rdi, [rbx + 8]
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], 0
mov r9, rax
lea r8, [0x1400376f0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbx], rax
test rax, rax
je 0x140035570
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1401617c0
mov rbx, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
mov dword [rdi], 0
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3

Function at 0x140039810
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 0x14003986d
lea rbx, [0x1401bb980]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x140039854
cmp r10, 2
jb 0x140039854
cmp byte [r9], r8b
jne 0x140039854
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 0x140039830
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x1400398af
lea rbx, [0x1401bb980]
cmp r8b, 0x23
jne 0x140039893
cmp byte [r9], r8b
jne 0x140039893
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 0x140039880
mov rbx, qword [rsp + 8]
not eax
ret
Function at 0x140039a70
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push r14
sub rsp, 0x20
xor r14d, r14d
mov rsi, r8
test r8, r8
je 0x140039a8e
mov qword [r8], r14
lea rdx, [0x1403ae588]
call fcn.1400398c0
mov rbx, rax
test rax, rax
jne 0x140039ab3
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
mov qword [rsp + 0x30], rbp
mov rcx, rbx
mov qword [rsp + 0x38], rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov ebp, eax
cmp eax, 0xffffffff
je 0x140039bdd
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140039bdd
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x140039bdd
xor r8d, r8d
mov edx, ebp
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140039bdd
cmp rdi, 0xffffffffffffffff
je 0x140039bdd
mov rcx, rdi
call fcn.14003dbf0
mov rbp, rax
test rax, rax
je 0x140039bdd
mov r9, rbx
mov r8, rdi
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, rbx
cmp rax, rdi
je 0x140039bca
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov r8, qword [0x140415778]
test r8, r8
je 0x140039bbf
movsx rdx, word [r8 + 0x60f0]
lea rcx, [r8 + 0x60f4]
mov r9d, dword [r8 + 0x3f58]
lea rcx, [rcx + rdx*8]
cmp dword [rcx], r9d
je 0x140039bb4
lea ecx, [rdx + 1]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
add eax, eax
sub ecx, eax
mov word [r8 + 0x60f0], cx
movsx rax, cx
lea rcx, [r8 + 0x60f4]
lea rcx, [rcx + rax*8]
mov dword [rcx], r9d
mov dword [rcx + 4], r14d
inc word [rcx + 6]
inc dword [r8 + 0x60ec]
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x140039be6
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test rsi, rsi
je 0x140039bd8
mov qword [rsi], rdi
mov rax, rbp
jmp 0x140039be8
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rbp, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x140040d80
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x50
movaps xmmword [rsp + 0x40], xmm6
mov rax, qword [0x1403d3080]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rsi, qword [0x140415778]
mov r11d, 1
mov r15d, dword [rsp + 0x90]
mov r14d, edx
mov r9d, r15d
mov r10, rcx
mov rbx, qword [rsi + 0x4000]
mov eax, dword [rbx + 0x14]
and eax, 4
or eax, 0x1000103
or r15d, eax
mov eax, 3
bt r9d, 0x1e
mov r9d, dword [rsi + 0x4a00]
cmovae eax, r11d
bts r9d, 8
mov dword [rsi + 0x4a00], r9d
mov dword [rsi + 0x4a38], eax
cmp qword [rbx + 0x1b8], 0
jne 0x140040e1f
cmp qword [rsi + 0x4e18], 0
mov eax, 0x260
je 0x140040e24
mov eax, 0x230
movss xmm2, dword [rbx + rax]
lea rcx, [rsp + 0x30]
movss xmm3, dword [rbx + rax + 4]
subss xmm3, dword [rbx + 0x114]
subss xmm2, dword [rbx + 0x110]
mov rdx, qword [r8]
call fcn.14004a280
movsd xmm0, qword [rsp + 0x30]
lea rcx, [rsp + 0x30]
or r9d, 2
movsd qword [rsi + 0x4a20], xmm0
xor edx, edx
mov dword [rsi + 0x4a00], r9d
mov dword [rsi + 0x4a08], r11d
mov r9, qword [rbx + 8]
test r10, r10
je 0x140040e94
mov dword [rsp + 0x28], r14d
lea r8, str._s__s__08X
mov qword [rsp + 0x20], r10
call fcn.140039670
jmp 0x140040ea5
lea r8, str._s__08X
mov dword [rsp + 0x20], r14d
call fcn.140039670
mov rcx, qword [rsp + 0x30]
mov r8d, r15d
movss xmm6, dword [rsi + 0x3918]
xor edx, edx
call fcn.140043dc0
mov rdi, qword [rsi + 0x4000]
movzx ebp, al
movss dword [rsi + 0x3918], xmm6
cmp word [rdi + 0xcc], 1
mov dword [rdi + 0x88], r14d
jne 0x140040eec
movsd xmm0, qword [rdi + 0x28]
movsd qword [rbx + 0x110], xmm0
mov r9d, r14d
lea rdx, [0x1403ad911]
not r9d
lea r10, [0x1401bb980]
mov ebx, r9d
mov r8b, reloc.WLDAP32.dll_Ordinal_35
cmp r8b, 0x23
jne 0x140040f19
cmp byte [rdx], r8b
jne 0x140040f19
cmp byte [rdx + 1], r8b
cmove ebx, r9d
movzx ecx, bl
movzx eax, r8b
movzx r8d, byte [rdx]
xor rcx, rax
shr ebx, 8
inc rdx
xor ebx, dword [r10 + rcx*4]
test r8b, r8b
jne 0x140040f06
not ebx
cmp dword [rsi + 0x4064], ebx
jne 0x140040f49
xor edx, edx
xor ecx, ecx
call fcn.14003d610
cmp dword [rsi + 0x4b38], r14d
jne 0x140040f96
bt r15d, 0x17
jb 0x140040f96
cmp word [rdi + 0x16c], 0
jne 0x140040f6c
cmp byte [rdi + 0x172], 0
je 0x140040f96
xor edx, edx
mov rcx, rdi
call fcn.140046330
xor edx, edx
mov rcx, rdi
call fcn.14004c9f0
mov rdx, rdi
mov ecx, ebx
call fcn.14003d610
mov eax, dword [rsi + 0x4b64]
mov dword [rsi + 0x4090], eax
movzx eax, bpl
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1401617c0
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x80]
movaps xmm6, xmmword [rsp + 0x40]
add rsp, 0x50
pop r15
pop r14
pop rdi
ret
Function at 0x1400412b0
Capabilities:
Hash data with crc32

Disassembly:
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10d, 0xffffffff
mov edx, r10d
test r9b, r9b
je 0x140041300
lea r11, [0x1401bb980]
nop dword [rax]
cmp r9b, 0x23
jne 0x1400412e3
cmp byte [r8], r9b
jne 0x1400412e3
cmp byte [r8 + 1], r9b
cmove edx, r10d
movzx ecx, dl
movzx eax, r9b
movzx r9d, byte [r8]
xor rcx, rax
shr edx, 8
inc r8
xor edx, dword [r11 + rcx*4]
test r9b, r9b
jne 0x1400412d0
mov rcx, qword [0x140415778]
not edx
add rcx, 0x3fe0
jmp fcn.14003a0f0

Function at 0x140046ea0
Capabilities:
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x20
movsxd r8, dword [rcx + 0x100]
lea r11, [0x1401bb980]
mov rax, qword [rcx + 0x108]
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 + 0x404c], ebx
jne 0x140046f36
mov r8, r10
mov edx, 4
mov ecx, ebx
call fcn.140051480
mov eax, ebx
add rsp, 0x20
pop rbx
ret
Function at 0x140046f40
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 0x18
mov rax, qword [rcx + 0x108]
lea r9, [0x1401bb980]
movss xmm2, dword [rcx + 0x120]
movss xmm3, dword [rcx + 0x124]
movsxd rcx, dword [rcx + 0x100]
movss xmm0, dword [rdx]
movss xmm1, dword [rdx + 4]
subss xmm0, xmm2
subss xmm1, xmm3
mov r8d, dword [rax + rcx*4 - 4]
not r8d
movzx ecx, r8b
shr r8d, 8
movss dword [rsp], xmm0
movzx eax, byte [rsp]
xor rcx, rax
movss xmm0, dword [rdx + 8]
movzx eax, byte [rsp + 1]
subss xmm0, xmm2
movss dword [rsp + 4], xmm1
movss xmm1, dword [rdx + 0xc]
xor r8d, dword [r9 + rcx*4]
subss xmm1, xmm3
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 2]
movss dword [rsp + 8], xmm0
movss dword [rsp + 0xc], xmm1
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 3]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 4]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 5]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 6]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 7]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 8]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 9]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xa]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xb]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xc]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xd]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xe]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
xor r8d, dword [r9 + rcx*4]
movzx ecx, byte [rsp + 0xf]
movzx edx, r8b
shr r8d, 8
xor rdx, rcx
xor r8d, dword [r9 + rdx*4]
not r8d
mov eax, r8d
add rsp, 0x18
ret