joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140024c30
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
push rdi
sub rsp, 0xb0
mov edi, dword [reloc.WS2_32.dll_accept]
movaps xmmword [rax - 0x18], xmm6
movdqa xmm6, xmmword [0x1401d8350]
movaps xmmword [rax - 0x28], xmm7
movdqa xmm7, xmmword [0x1401d7fc0]
movaps xmmword [rax - 0x38], xmm8
movdqa xmm8, xmmword [0x1401d7f20]
movaps xmmword [rax - 0x48], xmm9
movdqa xmm9, xmmword [0x1401d7ec0]
movaps xmmword [rax - 0x58], xmm10
movdqa xmm10, xmmword [0x1401d7e10]
nop word [rax + rax]
movups xmm0, xmmword [0x140193e60]
mov eax, dword [0x140193e80]
xor ecx, ecx
mov dword [rsp + 0x50], eax
movups xmm1, xmmword [0x140193e70]
movups xmmword [rsp + 0x30], xmm0
movups xmmword [rsp + 0x40], xmm1
cmp edi, 2
jl 0x140024dc4
movdqa xmmword [rsp + 0x20], xmm7
lea rdx, [rsp + 0x34]
mov r8d, dword [rsp + 0x20]
nop dword [rax]
movd xmm2, ecx
lea eax, [rcx + 4]
pshufd xmm2, xmm2, 0
lea rdx, [rdx + 8]
paddd xmm2, xmm10
add ecx, 8
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm6
pmuldq xmm1, xmm6
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm9
psubd xmm2, xmm0
movd xmm0, r8d
andps xmm2, xmm8
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rdx - 0xc]
xorps xmm2, xmm0
movd dword [rdx - 0xc], xmm2
movd xmm2, eax
pshufd xmm2, xmm2, 0
paddd xmm2, xmm10
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm6
pmuldq xmm1, xmm6
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm9
psubd xmm2, xmm0
movd xmm0, r8d
andps xmm2, xmm8
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rdx - 8]
xorps xmm2, xmm0
movd dword [rdx - 8], xmm2
cmp ecx, 0x20
jl 0x140024cd0
cmp ecx, 0x24
jge 0x140024dff
movsxd rax, ecx
lea r8, [rsp + 0x30]
add r8, rax
nop
mov eax, 0x8d3dcb09
lea r8, [r8 + 1]
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x3a
movzx eax, cl
inc ecx
sub al, dl
add al, 0x34
xor byte [r8 - 1], al
cmp ecx, 0x24
jl 0x140024dd0
lea rdx, [rsp + 0x30]
xor ecx, ecx
call qword [sym.imp.USER32.dll_FindWindowA]
mov ecx, 0x64
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_Sleep]
test rbx, rbx
je 0x140024c90
xor r9d, r9d
mov edx, 0x102
mov r8d, 0x59
mov rcx, rbx
call qword [sym.imp.USER32.dll_PostMessageA]
xor r9d, r9d
mov edx, 0x102
mov r8d, reloc.WS2_32.dll_listen
mov rcx, rbx
call qword [sym.imp.USER32.dll_PostMessageA]
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x10]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
movaps xmm10, xmmword [r11 - 0x50]
mov rsp, r11
pop rdi
ret
Function at 0x1400263b0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
sub rsp, 8
mov r9, rcx
mov r10d, 0x270
mov ecx, dword [rcx]
cmp ecx, r10d
jne 0x140026411
lea r8, [r9 + 8]
nop dword [rax + rax]
mov edx, dword [r8 - 4]
xor edx, dword [r8]
lea r8, [r8 + 4]
btr edx, 0x1f
xor edx, dword [r8 - 8]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x62c]
xor ecx, edx
mov dword [r8 + 0x9b8], ecx
sub r10, 1
jne 0x1400263d0
mov ecx, dword [r9]
jmp 0x1400264fb
cmp ecx, 0x4e0
jb 0x1400264fb
lea r10, [r9 + 0x9c4]
mov qword [rsp], rbx
mov r11d, dword [r10]
mov ebx, 0xe3
mov eax, r11d
mov r8, r10
mov r11d, dword [r10 + 4]
add r10, 4
mov edx, r11d
xor edx, eax
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x634]
xor ecx, edx
mov dword [r8 - 0x9c0], ecx
sub rbx, 1
jne 0x140026430
lea r10, [r9 + 0xd50]
mov ebx, 0x18c
mov r11d, dword [r10]
nop
mov eax, r11d
mov r8, r10
mov r11d, dword [r10 + 4]
mov edx, eax
xor edx, r11d
add r10, 4
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 - 0xd4c]
xor ecx, edx
mov dword [r8 - 0x9c0], ecx
sub rbx, 1
jne 0x140026480
mov eax, dword [r9 + 0x1380]
mov edx, eax
xor edx, dword [r9 + 4]
mov rbx, qword [rsp]
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r9 + 0x634]
xor ecx, edx
mov dword [r9 + 0x9c0], ecx
xor ecx, ecx
mov dword [r9], ecx
mov eax, ecx
mov edx, dword [r9 + rax*4 + 4]
lea eax, [rcx + 1]
mov dword [r9], eax
mov ecx, edx
mov eax, dword [r9 + 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
add rsp, 8
ret

Function at 0x14002edc0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x1401f6080]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rbx, rdx
mov rdi, rcx
mov ecx, 8
call fcn.140175120
mov r9, rax
mov rax, qword [rbx]
mov qword [r9], rax
mov qword [rsp + 0x30], r9
lea rbx, [rdi + 8]
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], 0
lea r8, [0x14002ee50]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rdi], rax
test rax, rax
je 0x14002ee3c
mov rax, rdi
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140175100
mov rbx, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
mov dword [rbx], 0
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
Function at 0x140043990
Capabilities:
Get geographical location
Get keyboard layout

Disassembly:
mov qword [rsp + 0x18], rbp
push rsi
sub rsp, 0x70
mov rax, qword [0x1401f6080]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov rsi, qword [0x141672ce0]
mov rbp, rcx
lea rcx, [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x140043b4e
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x140043b4e
mov qword [rsp + 0x80], rbx
mov ecx, 0x50
mov qword [rsp + 0x88], rdi
call fcn.14004b2d0
xor ebx, ebx
mov qword [rsp + 0x28], rax
mov rdi, rax
test rax, rax
je 0x140043a1a
xorps xmm0, xmm0
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
movups xmmword [rax + 0x20], xmm0
movups xmmword [rax + 0x30], xmm0
movups xmmword [rax + 0x40], xmm0
jmp 0x140043a1d
mov rdi, rbx
or dword [rsi + 0xc], 6
lea rax, [0x1401c49a8]
mov qword [rsi + 0x80], rax
mov qword [rsi + 0x90], rdi
mov qword [rdi], rbp
mov rax, qword [rsp + 0x58]
mov qword [rdi + 0x20], rax
mov rax, qword [rsp + 0x60]
mov qword [rdi + 0x18], rax
mov rax, qword [0x141672ce0]
mov dword [rdi + 0x28], 9
test rax, rax
je 0x140043a67
mov rsi, qword [rax + 0x90]
jmp 0x140043a6a
mov rsi, rbx
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetKeyboardLayout]
shr rax, 0x10
mov r9d, 4
movzx ecx, ax
lea r8, [rsi + 0x2c]
mov edx, 0x20001004
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jne 0x140043a95
mov dword [rsi + 0x2c], ebx
mov rax, qword [0x141672ce0]
mov rcx, qword [rax + 0x4ae0]
mov rax, qword [rcx]
mov qword [rax + 0x28], rbp
lea rax, str.xinput1_4.dll
mov qword [rsp + 0x30], rax
lea rax, str.xinput1_3.dll
mov qword [rsp + 0x38], rax
lea rax, str.xinput9_1_0.dll
mov qword [rsp + 0x40], rax
lea rax, str.xinput1_2.dll
mov qword [rsp + 0x48], rax
lea rax, str.xinput1_1.dll
mov qword [rsp + 0x50], rax
mov byte [rdi + 0x31], 1
nop word [rax + rax]
mov rcx, qword [rsp + rbx*8 + 0x30]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
jne 0x140043b0e
inc rbx
cmp rbx, 5
jl 0x140043af0
jmp 0x140043b3a
lea rdx, str.XInputGetCapabilities
mov qword [rdi + 0x38], rsi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.XInputGetState
mov rcx, rsi
mov qword [rdi + 0x40], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi + 0x48], rax
mov rdi, qword [rsp + 0x88]
mov al, 1
mov rbx, qword [rsp + 0x80]
jmp 0x140043b50
xor al, al
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.140175100
mov rbp, qword [rsp + 0x90]
add rsp, 0x70
pop rsi
ret
Function at 0x1400476e0
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 0x14004773d
lea rbx, [0x1401c5da0]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x140047724
cmp r10, 2
jb 0x140047724
cmp byte [r9], r8b
jne 0x140047724
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 0x140047700
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x14004777f
lea rbx, [0x1401c5da0]
cmp r8b, 0x23
jne 0x140047763
cmp byte [r9], r8b
jne 0x140047763
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 0x140047750
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x140047880
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 0x14004789e
mov qword [r8], r14
lea rdx, [0x1401c58b0]
call fcn.140047790
mov rbx, rax
test rax, rax
jne 0x1400478c3
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 0x1400479ef
xor edx, edx
mov r8d, 2
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x1400479ef
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x1400479ef
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 0x1400479ef
cmp rdi, 0xffffffffffffffff
je 0x1400479ef
mov rcx, rdi
call fcn.14004b2d0
mov rbp, rax
test rax, rax
je 0x1400479ef
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 0x1400479dc
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov r8, qword [0x141672ce0]
test r8, r8
je 0x1400479d1
movsx rdx, word [r8 + 0x6040]
lea rcx, [r8 + 0x6044]
mov r9d, dword [r8 + 0x3f70]
lea rcx, [rcx + rdx*8]
cmp dword [rcx], r9d
je 0x1400479c6
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 + 0x6040], cx
movsx rax, cx
lea rcx, [r8 + 0x6044]
lea rcx, [rcx + rax*8]
mov dword [rcx], r9d
mov dword [rcx + 4], r14d
inc word [rcx + 6]
inc dword [r8 + 0x603c]
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x1400479f8
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test rsi, rsi
je 0x1400479ea
mov qword [rsi], rdi
mov rax, rbp
jmp 0x1400479fa
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 0x14004aa60
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x20
mov r11, rcx
lea rdi, [0x1401c5da0]
movsxd rcx, dword [rcx + 0xf0]
mov r10d, edx
shr r10d, 0x18
mov r8d, edx
shr r8d, 8
mov r9d, edx
mov rax, qword [r11 + 0xf8]
shr r9d, 0x10
mov ebx, dword [rax + rcx*4 - 4]
not ebx
movzx eax, dl
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, r8b
xor ebx, dword [rdi + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, r9b
xor ebx, dword [rdi + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
xor ebx, dword [rdi + rcx*4]
movzx ecx, bl
xor rcx, r10
shr ebx, 8
xor ebx, dword [rdi + rcx*4]
mov rcx, qword [r11]
not ebx
cmp dword [rcx + 0x4060], ebx
jne 0x14004aaf4
movsxd r8, edx
mov ecx, ebx
mov edx, 4
call fcn.14005e380
mov eax, ebx
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x14004ab10
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 0x18
movss xmm0, dword [rcx + 0x110]
lea r10, [0x1401c5da0]
mov rax, qword [rcx + 0xf8]
movss xmm1, dword [rcx + 0x114]
movss xmm2, dword [rdx]
movss xmm4, dword [rdx + 8]
subss xmm2, xmm0
movss xmm3, dword [rdx + 4]
subss xmm4, xmm0
movss xmm0, dword [rdx + 0xc]
subss xmm3, xmm1
movsxd rcx, dword [rcx + 0xf0]
subss xmm0, xmm1
movd r8d, xmm2
movss dword [rsp], xmm2
mov r9d, dword [rax + rcx*4 - 4]
movzx eax, byte [rsp]
not r9d
movzx ecx, r9b
xor rcx, rax
shr r9d, 8
mov eax, r8d
movss dword [rsp + 4], xmm3
shr eax, 8
movzx edx, al
mov eax, r8d
xor r9d, dword [r10 + rcx*4]
movzx ecx, r9b
xor rdx, rcx
shr r9d, 8
shr eax, 0x10
movss dword [rsp + 8], xmm4
movss dword [rsp + 0xc], xmm0
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
movzx edx, al
movzx eax, byte [rsp + 4]
xor rdx, rcx
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
mov edx, r8d
shr rdx, 0x18
xor rdx, rcx
movd r8d, xmm3
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
xor rcx, rax
shr r9d, 8
mov eax, r8d
shr eax, 8
movzx edx, al
mov eax, r8d
xor r9d, dword [r10 + rcx*4]
movzx ecx, r9b
xor rdx, rcx
shr r9d, 8
shr eax, 0x10
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
movzx edx, al
movzx eax, byte [rsp + 8]
xor rdx, rcx
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
mov edx, r8d
shr rdx, 0x18
xor rdx, rcx
movd r8d, xmm4
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
xor rcx, rax
shr r9d, 8
mov eax, r8d
xor r9d, dword [r10 + rcx*4]
shr eax, 8
movzx edx, al
movzx ecx, r9b
xor rdx, rcx
shr r9d, 8
mov eax, r8d
shr eax, 0x10
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
movzx edx, al
movzx eax, byte [rsp + 0xc]
xor rdx, rcx
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
mov edx, r8d
shr rdx, 0x18
xor rdx, rcx
movd r8d, xmm0
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
xor rcx, rax
shr r9d, 8
mov eax, r8d
shr eax, 8
movzx edx, al
mov eax, r8d
xor r9d, dword [r10 + rcx*4]
movzx ecx, r9b
xor rdx, rcx
shr r9d, 8
shr eax, 0x10
shr r8, 0x18
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
movzx edx, al
xor rdx, rcx
xor r9d, dword [r10 + rdx*4]
movzx edx, r9b
shr r9d, 8
xor r8, rdx
xor r9d, dword [r10 + r8*4]
not r9d
mov eax, r9d
add rsp, 0x18
ret
Function at 0x14004e260
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x40
mov rdi, qword [0x141672ce0]
movzx esi, r9b
mov r15d, dword [rsp + 0x80]
mov r14d, edx
movaps xmmword [rsp + 0x30], xmm6
mov rbx, qword [rdi + 0x4018]
mov eax, dword [rbx + 0x14]
and eax, 4
or eax, 0x1000103
or r15d, eax
cmp qword [rbx + 0x1a8], 0
jne 0x14004e2c3
cmp qword [rdi + 0x4db8], 0
lea rax, [rbx + 0x250]
je 0x14004e2ca
lea rax, [rbx + 0x220]
movss xmm3, dword [rax]
xorps xmm5, xmm5
movss xmm2, dword [rax + 4]
cvttss2si eax, dword [r8]
subss xmm3, dword [rbx + 0x100]
subss xmm2, dword [rbx + 0x104]
movss xmm4, dword [0x1401d7c08]
movd xmm1, eax
cvttss2si eax, dword [r8 + 4]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
comiss xmm5, xmm1
cvtdq2ps xmm0, xmm0
jb 0x14004e317
addss xmm3, xmm1
movaps xmm1, xmm3
maxss xmm1, xmm4
comiss xmm5, xmm0
jb 0x14004e327
addss xmm2, xmm0
movaps xmm0, xmm2
maxss xmm0, xmm4
or dword [rdi + 0x49c8], 2
xor edx, edx
movss dword [rdi + 0x49e8], xmm1
movss dword [rdi + 0x49ec], xmm0
mov dword [rdi + 0x49d0], 1
mov r9, qword [rbx + 8]
test rcx, rcx
je 0x14004e370
mov dword [rsp + 0x28], r14d
lea r8, str._s__s__08X
mov qword [rsp + 0x20], rcx
lea rcx, [rsp + 0x60]
call fcn.140047570
jmp 0x14004e386
lea r8, str._s__08X
mov dword [rsp + 0x20], r14d
lea rcx, [rsp + 0x60]
call fcn.140047570
movss xmm6, dword [rdi + 0x3920]
test sil, sil
jne 0x14004e39d
mov dword [rdi + 0x3920], 0
mov rcx, qword [rsp + 0x60]
mov r8d, r15d
xor edx, edx
call fcn.140050f00
mov rsi, qword [rdi + 0x4018]
movzx ebp, al
movss dword [rdi + 0x3920], xmm6
cmp word [rsi + 0xc2], 1
mov dword [rsi + 0x80], r14d
jne 0x14004e3dc
movsd xmm0, qword [rsi + 0x20]
movsd qword [rbx + 0x100], xmm0
mov r9d, r14d
lea rdx, [0x1401c4d31]
not r9d
lea r10, [0x1401c5da0]
mov ebx, r9d
mov r8b, reloc.WLDAP32.dll_Ordinal_35
cmp r8b, 0x23
jne 0x14004e409
cmp byte [rdx], r8b
jne 0x14004e409
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 0x14004e3f6
not ebx
cmp dword [rdi + 0x4078], ebx
jne 0x14004e439
xor edx, edx
xor ecx, ecx
call fcn.14004ad00
cmp dword [rdi + 0x4af8], r14d
jne 0x14004e486
bt r15d, 0x17
jb 0x14004e486
cmp word [rsi + 0x15c], 0
jne 0x14004e45c
cmp byte [rsi + 0x162], 0
je 0x14004e486
xor edx, edx
mov rcx, rsi
call fcn.1400537a0
xor edx, edx
mov rcx, rsi
call fcn.1400597f0
mov rdx, rsi
mov ecx, ebx
call fcn.14004ad00
mov eax, dword [rdi + 0x4b1c]
mov dword [rdi + 0x40a0], eax
mov rbx, qword [rsp + 0x68]
movzx eax, bpl
mov rbp, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
movaps xmm6, xmmword [rsp + 0x30]
add rsp, 0x40
pop r15
pop r14
pop rdi
ret
Function at 0x140057a50
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x1401f6080]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x141672ce0]
mov edi, ecx
cmp byte [rbx + 0x4d01], 0
jne 0x140057ab1
cmp byte [rbx + 0x4d02], 0
jne 0x140057ab1
movsx r9d, word [rbx + 0x5e34]
lea r8, str.Tooltip__02d
mov edx, reloc.WS2_32.dll_recv
lea rcx, [rsp + 0x20]
call fcn.1400474f0
test dil, 2
je 0x140057bdf
jmp 0x140057b3c
movss xmm1, dword [rbx + 0x39c4]
lea r8, str.Tooltip__02d
movsx r9d, word [rbx + 0x5e34]
lea rcx, [rsp + 0x20]
movaps xmm0, xmm1
xor eax, eax
mulss xmm0, dword [0x1401d7c44]
mov edx, reloc.WS2_32.dll_recv
mulss xmm1, dword [0x1401d7c2c]
addss xmm0, dword [rbx + 0xe48]
addss xmm1, dword [rbx + 0xe4c]
mov qword [rbx + 0x49e0], rax
mov dword [rbx + 0x49cc], 1
movss dword [rbx + 0x49d8], xmm0
movss dword [rbx + 0x49dc], xmm1
movss xmm0, dword [rbx + 0x3a30]
mulss xmm0, dword [0x1401d7ba0]
or dword [rbx + 0x49c8], 0x41
movss dword [rbx + 0x4a28], xmm0
call fcn.1400474f0
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x140057b90
lea r11, [0x1401c5da0]
nop dword [rax]
cmp r9b, 0x23
jne 0x140057b73
cmp byte [r8], r9b
jne 0x140057b73
cmp byte [r8 + 1], r9b
cmove ecx, r10d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [r11 + rdx*4]
test r9b, r9b
jne 0x140057b60
not ecx
call fcn.14004e790
test rax, rax
je 0x140057bdf
cmp byte [rax + 0xb6], 0
je 0x140057bdf
mov byte [rax + 0xbb], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xbd], 1
lea rcx, [rsp + 0x20]
mov byte [rax + 0xd8], 1
mov edx, reloc.WS2_32.dll_recv
inc word [rbx + 0x5e34]
movsx r9d, word [rbx + 0x5e34]
call fcn.1400474f0
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x20c0347
call fcn.140050f00
mov al, 1
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140175100
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x14005ce00
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x5f88], 0
lea rbx, [rcx + 0x5f90]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x14005cea7
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x14005ce5a
mov eax, r9d
mov rcx, rbx
cdq
sub eax, edx
mov edx, r14d
sar eax, 1
add eax, r9d
test eax, eax
cmovg edx, eax
call fcn.14005ee20
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.140047e00
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x5f88]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x5f98]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x141672cd8]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x14005ceaf
mov rcx, rbx
call fcn.140047e00
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x14005d110
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
mov rbx, qword [0x141672ce0]
xor ebp, ebp
cmp byte [rbx + 0x5ee0], bpl
jne 0x14005d1ef
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x14005d1e8
lea r8, [rsp + 0x30]
mov qword [rsp + 0x30], rbp
call fcn.140047880
mov rsi, rax
test rax, rax
je 0x14005d1e8
mov rdx, qword [rsp + 0x30]
test rdx, rdx
je 0x14005d174
mov rcx, rax
call fcn.14005d340
mov r8, qword [0x141672ce0]
test r8, r8
je 0x14005d1df
movsx rdx, word [r8 + 0x6040]
lea rcx, [r8 + 0x6044]
mov r9d, dword [r8 + 0x3f70]
lea rcx, [rcx + rdx*8]
cmp dword [rcx], r9d
je 0x14005d1d4
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 + 0x6040], cx
movsx rax, cx
lea rcx, [r8 + 0x6044]
lea rcx, [rcx + rax*8]
mov dword [rcx], r9d
mov dword [rcx + 4], ebp
inc word [rcx + 6]
inc dword [r8 + 0x603c]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov byte [rbx + 0x5ee0], 1
movss xmm0, dword [rbx + 0x5ee4]
xorps xmm1, xmm1
comiss xmm0, xmm1
jbe 0x14005d27e
subss xmm0, dword [rbx + 0x18]
comiss xmm1, xmm0
movss dword [rbx + 0x5ee4], xmm0
jb 0x14005d27e
mov rdi, qword [rbx + 0x20]
test rdi, rdi
je 0x14005d271
mov rax, qword [0x141672ce0]
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x30], rbp
mov dword [rax + 0x5ee4], ebp
call fcn.14005d5a0
lea rdx, [0x1401c58b4]
mov rcx, rdi
mov rsi, rax
call fcn.140047790
mov rdi, rax
test rax, rax
je 0x14005d278
mov r8, qword [rsp + 0x30]
mov r9, rax
mov edx, 1
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
jmp 0x14005d278
mov byte [rbx + 0xce], 1
mov dword [rbx + 0x5ee4], ebp
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x14005d2a0
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x141672ce0]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x14005d303
mov qword [rsp], rbx
lea rbx, [0x1401c5da0]
nop dword [rax]
cmp r9b, 0x23
jne 0x14005d2e3
cmp byte [r8], r9b
jne 0x14005d2e3
cmp byte [r8 + 1], r9b
cmove eax, r11d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [rbx + rdx*4]
test r9b, r9b
jne 0x14005d2d0
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x5ef8]
not eax
mov r8, qword [r10 + 0x5f00]
lea rdx, [rcx + rcx*8]
lea rcx, [r8 + rdx*8]
cmp r8, rcx
je 0x14005d32f
cmp dword [r8 + 8], eax
je 0x14005d336
add r8, 0x48
cmp r8, rcx
jne 0x14005d320
xor eax, eax
add rsp, 8
ret
mov rax, r8
add rsp, 8
ret