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

Disassembly:
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0x90
movups xmm0, xmmword [str.BpP_xywx_5]
mov eax, dword [0x1400548f0]
xor ecx, ecx
cmp dword [0x14005f4f8], 2
movups xmm1, xmmword [0x1400548d8]
mov dword [rbp + 0x1f], eax
movups xmmword [rbp - 9], xmm0
movsd xmm0, qword [0x1400548e8]
movsd qword [rbp + 0x17], xmm0
movups xmmword [rbp + 7], xmm1
jl 0x140001fa9
movdqa xmm0, xmmword [str.5555555555555555]
lea rdx, [rbp - 5]
movdqa xmm5, xmmword [0x140054910]
mov eax, 4
movdqa xmm4, xmmword [0x140054950]
movaps xmmword [rsp + 0x80], xmm6
movaps xmmword [rsp + 0x70], xmm7
movdqa xmm7, xmmword [str.2222]
movd xmm6, eax
mov eax, 0x1f
movaps xmmword [rsp + 0x60], xmm8
movdqa xmmword [rbp - 0x19], xmm0
mov r8d, dword [rbp - 0x19]
movd xmm8, eax
nop dword [rax]
movd xmm2, ecx
lea eax, [rcx + 4]
pshufd xmm2, xmm2, 0
lea rdx, [rdx + 8]
paddd xmm2, xmm5
movd xmm3, eax
movdqa xmm1, xmm2
pshufd xmm3, xmm3, 0
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
paddd xmm3, xmm5
pmuldq xmm0, xmm4
add ecx, 8
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
pand xmm2, xmmword [0x140054930]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx - 0xc]
pxor xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rdx - 0xc], xmm2
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, r8d
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x140054930]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rdx - 8]
pxor xmm2, xmm0
movd dword [rdx - 8], xmm2
cmp ecx, 0x28
jl 0x140001e90
movaps xmm8, xmmword [rsp + 0x60]
movaps xmm7, xmmword [rsp + 0x70]
movaps xmm6, xmmword [rsp + 0x80]
cmp ecx, 0x2c
jge 0x140001fed
movsxd rax, ecx
lea r8, [rbp - 9]
add r8, rax
nop dword [rax]
nop word [rax + rax]
mov eax, 0x51eb851f
lea r8, [r8 + 1]
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x32
movzx eax, cl
inc ecx
sub al, dl
add al, 0x35
xor byte [r8 - 1], al
cmp ecx, 0x2c
jl 0x140001fc0
movzx eax, word [0x140054900]
lea rcx, [rbp - 0x19]
movsd xmm0, qword [str.B_Y_v_vO]
movsd qword [rbp - 0x19], xmm0
xor byte [rbp - 0x18], 0x36
xor byte [rbp - 0x17], 0x37
xor byte [rbp - 0x16], 0x38
xor byte [rbp - 0x15], 0x39
xor byte [rbp - 0x14], 0x3a
xor byte [rbp - 0x13], 0x3b
xor byte [rbp - 0x12], 0x3c
mov word [rbp - 0x11], ax
movzx eax, byte [0x140054902]
xor byte [rbp - 0x11], 0x3d
xor al, 0x3f
xor byte [rbp - 0x10], 0x3e
mov byte [rbp - 0xf], al
mov byte [rbp - 0x19], 0x77
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, [rbp - 9]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
add rsp, 0x90
pop rbp
ret
Function at 0x14000d740
Capabilities:
Log keystrokes via polling

Disassembly:
test dl, dl
je 0x14000d7d8
push rbx
sub rsp, 0x30
mov rbx, rcx
mov ecx, 0x20
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x14000d7d3
lea rcx, [rbx + 0x4e8]
call fcn.1400029d0
movss xmm1, dword [0x14004f0d4]
lea rdx, [rsp + 0x20]
mov r8d, 0xc
movss dword [rsp + 0x24], xmm1
mov rbx, rax
mov dword [rsp + 0x20], 0
lea rcx, [rax + 0xc8]
mov dword [rsp + 0x28], 0
call fcn.140004af0
lea rcx, [rbx + 0xc4]
mov dword [rsp + 0x20], 0x4cbebc20
mov r8d, 0xc
mov dword [rsp + 0x24], 0x4cbebc20
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x28], 0x4cbebc20
call fcn.140004af0
add rsp, 0x30
pop rbx
ret

Function at 0x14000d850
Capabilities:
Log keystrokes via polling

Disassembly:
push rbx
sub rsp, 0x40
mov rax, qword [0x14005f4e8]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov ecx, r9d
movss dword [rsp + 0x28], xmm1
movzx ebx, r8b
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x14000d8b5
test bl, bl
je 0x14000d8b5
mov rcx, qword [0x14005f8d0]
add rcx, 0x3110720
call fcn.1400029d0
lea rcx, [rax + 0xb8]
call fcn.1400029d0
movss xmm0, dword [0x14004f04c]
lea rdx, [rsp + 0x20]
movss dword [rsp + 0x20], xmm0
jmp 0x14000d8d9
mov rcx, qword [0x14005f8d0]
add rcx, 0x3110720
call fcn.1400029d0
lea rcx, [rax + 0xb8]
call fcn.1400029d0
lea rdx, [rsp + 0x28]
mov r8d, 4
lea rcx, [rax + 0x18]
call fcn.140004af0
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.14004c030
add rsp, 0x40
pop rbx
ret

Function at 0x14000e000
Capabilities:
Log keystrokes via application hook

Disassembly:
sub rsp, 0x68
mov rax, qword [0x14005f4e8]
xor rax, rsp
mov qword [rsp + 0x50], rax
xor r9d, r9d
lea rdx, [0x14000e080]
xor r8d, r8d
lea ecx, [r9 + 0xd]
call qword [sym.imp.USER32.dll_SetWindowsHookExA]
xor r9d, r9d
lea rcx, [rsp + 0x20]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
jne 0x14000e06e
lea rcx, [rsp + 0x20]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rsp + 0x20]
call qword [sym.imp.USER32.dll_DispatchMessageA]
xor r9d, r9d
lea rcx, [rsp + 0x20]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
je 0x14000e041
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.14004c030
add rsp, 0x68
ret
Function at 0x140014910
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
mov rax, qword [0x14005f4e8]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x14005fba0]
mov esi, edx
mov edi, ecx
cmp byte [rbx + 0x200d], 0
jne 0x140014977
cmp byte [rbx + 0x200e], 0
jne 0x140014977
mov r9d, dword [rbx + 0x304c]
lea r8, str.Tooltip__02d
mov edx, 0x10
lea rcx, [rsp + 0x20]
call fcn.140019020
test sil, 1
je 0x140014aa6
jmp 0x140014a0f
movss xmm1, dword [rbx + 0x1654]
lea r8, str.Tooltip__02d
movaps xmm0, xmm1
lea rcx, [rsp + 0x20]
mulss xmm0, dword [0x14004fa6c]
xor eax, eax
mov edx, 0x10
mulss xmm1, dword [0x14004f044]
addss xmm0, dword [rbx + 0x170]
addss xmm1, dword [rbx + 0x174]
or dword [rbx + 0x1b90], 1
mov qword [rbx + 0x1ba8], rax
movss dword [rbx + 0x1ba0], xmm0
mov dword [rbx + 0x1b94], 1
movss dword [rbx + 0x1ba4], xmm1
movss xmm0, dword [rbx + 0x16c0]
mov rax, qword [0x14005fba0]
mulss xmm0, dword [0x14004fa48]
or dword [rax + 0x1b90], 0x40
movss dword [rax + 0x1bf0], xmm0
mov r9d, dword [rbx + 0x304c]
call fcn.140019020
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x140014a60
lea r11, [0x14004f2c0]
nop
cmp r9b, 0x23
jne 0x140014a43
cmp byte [r8], r9b
jne 0x140014a43
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 0x140014a30
not ecx
call fcn.140017950
test rax, rax
je 0x140014aa6
cmp byte [rax + 0x7e], 0
je 0x140014aa6
mov byte [rax + 0x85], 1
lea r8, str.Tooltip__02d
mov dword [rax + 0x9c], 1
lea rcx, [rsp + 0x20]
inc dword [rbx + 0x304c]
mov edx, 0x10
mov r9d, dword [rbx + 0x304c]
call fcn.140019020
or edi, 0x20c0347
lea rcx, [rsp + 0x20]
mov r8d, edi
xor edx, edx
call fcn.140011bc0
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.14004c030
mov rbx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret

Function at 0x1400179e0
Capabilities:
Hash data with crc32

Disassembly:
mov rax, rcx
mov r10d, 0xffffffff
mov ecx, r10d
movzx r9d, byte [rax]
lea r8, [rax + 1]
test r9b, r9b
je 0x140017a30
lea r11, [0x14004f2c0]
cmp r9b, 0x23
jne 0x140017a13
cmp byte [r8], r9b
jne 0x140017a13
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 0x140017a00
not ecx
jmp fcn.140017950

Function at 0x140018610
Capabilities:
Hash data with crc32

Disassembly:
mov rax, qword [rcx + 0xc8]
mov r9, r8
movsxd r8, dword [rcx + 0xc0]
mov r10, rdx
xor ecx, ecx
mov rdx, r9
sub rdx, r10
test r9, r9
mov r8d, dword [rax + r8*4 - 4]
cmove rdx, rcx
mov rcx, r10
jmp fcn.140019130
Function at 0x140018d70
Capabilities:
Read file on windows

Disassembly:
push rbx
push rbp
push r14
sub rsp, 0x20
movsxd rbp, r9d
mov r14, r8
test r8, r8
je 0x140018d8b
mov qword [r8], 0
call fcn.140018ed0
mov rbx, rax
test rax, rax
jne 0x140018da1
add rsp, 0x20
pop r14
pop rbp
pop rbx
ret
mov qword [rsp + 0x40], rsi
mov rcx, rbx
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x50], r15
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov esi, eax
cmp eax, 0xffffffff
je 0x140018ea9
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 0x140018ea9
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x140018ea9
xor r8d, r8d
mov edx, esi
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140018ea9
cmp rdi, 0xffffffffffffffff
je 0x140018ea9
mov rax, qword [0x14005fba0]
test rax, rax
je 0x140018e22
inc dword [rax + 0x3fc]
mov rdx, qword [0x14005fbb0]
lea rcx, [rdi + rbp]
call qword [0x14005f220]
mov rsi, rax
test rax, rax
je 0x140018ea9
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]
cmp rax, rdi
je 0x140018e81
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x14005fba0]
test rax, rax
je 0x140018e6f
dec dword [rax + 0x3fc]
mov rdx, qword [0x14005fbb0]
mov rcx, rsi
call qword [0x14005f228]
jmp 0x140018eb2
test ebp, ebp
jle 0x140018e93
lea rcx, [rsi + rdi]
mov r8, rbp
xor edx, edx
call sub.VCRUNTIME140.dll_memset
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x140018ea4
mov qword [r14], rdi
mov rax, rsi
jmp 0x140018eb4
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rdi, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x40]
mov r15, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rbp
pop rbx
ret

Function at 0x140019130
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 0x14001918d
lea rbx, [0x14004f2c0]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x140019174
cmp r10, 2
jb 0x140019174
cmp byte [r9], r8b
jne 0x140019174
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 0x140019150
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x1400191cf
lea rbx, [0x14004f2c0]
cmp r8b, 0x23
jne 0x1400191b3
cmp byte [r9], r8b
jne 0x1400191b3
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 0x1400191a0
mov rbx, qword [rsp + 8]
not eax
ret
Function at 0x14001a020
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x70
xor eax, eax
lea r8, [0x14004f89d]
mov dword [rsp + 0x2c], eax
lea r11, [0x14004f2c0]
mov qword [rsp + 0x38], rax
mov r10d, 0xffffffff
mov qword [rsp + 0x60], rax
mov rbx, rcx
lea rax, str.Window
mov edx, r10d
mov qword [rsp + 0x20], rax
mov r9b, 0x57
cmp r9b, 0x23
jne 0x14001a076
cmp byte [r8], r9b
jne 0x14001a076
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 0x14001a063
mov ecx, dword [rbx + 0x309c]
lea rax, [0x140025bf0]
mov edi, dword [rbx + 0x3098]
not edx
mov qword [rsp + 0x30], rax
lea rax, [0x140025d60]
mov qword [rsp + 0x40], rax
lea rax, [0x140025c80]
mov qword [rsp + 0x48], rax
lea rax, [0x140025b10]
mov qword [rsp + 0x50], rax
lea rax, [0x140025e50]
mov qword [rsp + 0x58], rax
mov dword [rsp + 0x28], edx
cmp edi, ecx
jne 0x14001a1a4
inc edi
test ecx, ecx
je 0x14001a0fa
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x14001a0ff
mov eax, 8
cmp eax, edi
cmovg edi, eax
cmp edi, ecx
jle 0x14001a1a4
mov rax, qword [0x14005fba0]
mov qword [rsp + 0x80], rsi
test rax, rax
je 0x14001a126
inc dword [rax + 0x3fc]
mov rdx, qword [0x14005fbb0]
movsxd rax, edi
lea rcx, [rax + rax*8]
shl rcx, 3
call qword [0x14005f220]
mov rdx, qword [rbx + 0x30a0]
mov rsi, rax
test rdx, rdx
je 0x14001a18f
movsxd rcx, dword [rbx + 0x3098]
lea r8, [rcx + rcx*8]
mov rcx, rax
shl r8, 3
call sub.VCRUNTIME140.dll_memcpy
mov rcx, qword [rbx + 0x30a0]
test rcx, rcx
je 0x14001a182
mov rax, qword [0x14005fba0]
test rax, rax
je 0x14001a182
dec dword [rax + 0x3fc]
mov rdx, qword [0x14005fbb0]
call qword [0x14005f228]
mov qword [rbx + 0x30a0], rsi
mov rsi, qword [rsp + 0x80]
mov dword [rbx + 0x309c], edi
movsxd rax, dword [rbx + 0x3098]
movaps xmm0, xmmword [rsp + 0x20]
movaps xmm1, xmmword [rsp + 0x30]
lea rcx, [rax + rax*8]
mov rax, qword [rbx + 0x30a0]
movups xmmword [rax + rcx*8], xmm0
movaps xmm0, xmmword [rsp + 0x40]
movups xmmword [rax + rcx*8 + 0x10], xmm1
movaps xmm1, xmmword [rsp + 0x50]
movups xmmword [rax + rcx*8 + 0x20], xmm0
movsd xmm0, qword [rsp + 0x60]
movups xmmword [rax + rcx*8 + 0x30], xmm1
movsd qword [rax + rcx*8 + 0x40], xmm0
inc dword [rbx + 0x3098]
mov byte [rbx], 1
mov rbx, qword [rsp + 0x88]
add rsp, 0x70
pop rdi
ret
Function at 0x14001b050
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
mov qword [rax + 0x10], rdx
mov qword [rax + 0x18], r8
mov qword [rax + 0x20], r9
push rbx
sub rsp, 0x40
mov rbx, qword [0x14005fba0]
cmp byte [rbx + 0x30b8], 0
je 0x14001b135
cmp qword [rbx + 0x30c0], 0
mov qword [rax - 0x18], rsi
lea rsi, [rax + 0x10]
mov qword [rax - 0x20], rdi
lea rdi, [rbx + 0x30c8]
je 0x14001b11d
mov ecx, dword [rdi + 4]
mov qword [rax - 0x10], rbp
xor ebp, ebp
test ecx, ecx
jns 0x14001b0c2
mov eax, ecx
cdq
sub eax, edx
mov edx, ebp
sar eax, 1
add eax, ecx
mov rcx, rdi
test eax, eax
cmovg edx, eax
call fcn.140026640
mov dword [rdi], ebp
mov r8, rsi
mov rdx, qword [rsp + 0x50]
mov rcx, rdi
call fcn.140026110
mov eax, dword [rdi]
mov edx, 1
mov r9, qword [rbx + 0x30c0]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rbx + 0x30d0]
cmove ecx, ebp
test rax, rax
movsxd r8, ecx
lea rcx, [0x14005fba8]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x28]
add rsp, 0x40
pop rbx
ret
mov rdx, rcx
mov r8, rsi
mov rcx, rdi
call fcn.140026110
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x28]
add rsp, 0x40
pop rbx
ret
Function at 0x14001fee0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x10], rbx
mov dword [rsp + 8], ecx
push rdi
sub rsp, 0x20
mov rax, qword [0x14005fba0]
mov r8d, ecx
mov rbx, qword [rax + 0x1af0]
add rbx, 0xc0
movzx eax, r8b
lea r8, [0x14004f2c0]
movsxd rdx, dword [rbx]
mov r9, qword [rbx + 8]
mov edi, dword [r9 + rdx*4 - 4]
not edi
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [rsp + 0x31]
xor edi, dword [r8 + rcx*4]
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [rsp + 0x32]
xor edi, dword [r8 + rcx*4]
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [rsp + 0x33]
xor edi, dword [r8 + rcx*4]
movzx ecx, dil
shr edi, 8
xor rcx, rax
xor edi, dword [r8 + rcx*4]
mov r8d, dword [rbx + 4]
not edi
cmp edx, r8d
jne 0x14001ffa0
lea ecx, [rdx + 1]
test r8d, r8d
je 0x14001ff86
mov eax, r8d
cdq
sub eax, edx
sar eax, 1
add eax, r8d
jmp 0x14001ff8b
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
mov edx, ecx
mov rcx, rbx
call fcn.140026780
mov edx, dword [rbx]
mov r9, qword [rbx + 8]
movsxd rax, edx
mov dword [r9 + rax*4], edi
inc dword [rbx]
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x140020060
Capabilities:
Hash data with crc32

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 8], rcx
push rdi
sub rsp, 0x20
mov rax, qword [0x14005fba0]
mov r8, rcx
mov rbx, qword [rax + 0x1af0]
add rbx, 0xc0
movzx eax, r8b
lea r8, [0x14004f2c0]
movsxd rdx, dword [rbx]
mov r9, qword [rbx + 8]
mov edi, dword [r9 + rdx*4 - 4]
not edi
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [r11 + 9]
xor edi, dword [r8 + rcx*4]
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [r11 + 0xa]
xor edi, dword [r8 + rcx*4]
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [r11 + 0xb]
xor edi, dword [r8 + rcx*4]
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [r11 + 0xc]
xor edi, dword [r8 + rcx*4]
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [r11 + 0xd]
xor edi, dword [r8 + rcx*4]
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [r11 + 0xe]
xor edi, dword [r8 + rcx*4]
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [r11 + 0xf]
xor edi, dword [r8 + rcx*4]
movzx ecx, dil
shr edi, 8
xor rcx, rax
xor edi, dword [r8 + rcx*4]
mov r8d, dword [rbx + 4]
not edi
cmp edx, r8d
jne 0x14002016e
lea ecx, [rdx + 1]
test r8d, r8d
je 0x140020154
mov eax, r8d
cdq
sub eax, edx
sar eax, 1
add eax, r8d
jmp 0x140020159
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
mov edx, ecx
mov rcx, rbx
call fcn.140026780
mov edx, dword [rbx]
mov r9, qword [rbx + 8]
movsxd rax, edx
mov dword [r9 + rax*4], edi
inc dword [rbx]
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x140022a50
Capabilities:
Write file on windows

Disassembly:
push r14
push r15
sub rsp, 0x28
mov rax, qword [0x14005fba0]
xor r15d, r15d
mov r14, rcx
mov dword [rax + 0x3084], r15d
test rcx, rcx
je 0x140022b90
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rbp
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x20], rdi
mov rdi, qword [0x14005fba0]
lea rbx, [rdi + 0x3088]
mov dword [rdi + 0x3084], r15d
mov r8d, dword [rbx + 4]
test r8d, r8d
jns 0x140022ac2
mov eax, r8d
mov rcx, rbx
cdq
sub eax, edx
mov edx, r15d
sar eax, 1
add eax, r8d
test eax, eax
cmovg edx, eax
call fcn.140026640
mov eax, r15d
mov dword [rbx], r15d
cmp dword [rbx + 4], eax
jne 0x140022adc
mov edx, 8
mov rcx, rbx
call fcn.140026640
mov eax, dword [rbx]
movsxd rcx, eax
mov ebp, r15d
mov rax, qword [rbx + 8]
mov byte [rcx + rax], r15b
inc dword [rbx]
mov ecx, dword [rbx]
cmp dword [rdi + 0x3098], r15d
jle 0x140022b27
mov rsi, r15
nop word [rax + rax]
mov r9, qword [rdi + 0x30a0]
mov r8, rbx
add r9, rsi
mov rcx, rdi
mov rdx, r9
call qword [r9 + 0x38]
inc ebp
add rsi, 0x48
cmp ebp, dword [rdi + 0x3098]
jl 0x140022b00
mov ecx, dword [rbx]
test ecx, ecx
lea eax, [rcx - 1]
lea rdx, [0x14004f9ac]
mov rcx, r14
cmove eax, r15d
movsxd rsi, eax
mov rax, qword [rdi + 0x3090]
lea rdi, [0x14005fba8]
test rax, rax
cmovne rdi, rax
call fcn.140018ed0
mov rbp, qword [rsp + 0x48]
mov rbx, rax
test rax, rax
je 0x140022b81
mov r9, rax
mov r8, rsi
mov edx, 1
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rsi, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x20]
add rsp, 0x28
pop r15
pop r14
ret
Function at 0x140024f00
Capabilities:
Read file on windows

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, qword [0x14005fba0]
cmp byte [rbx + 0x3080], 0
jne 0x140025053
mov rcx, qword [rbx + 0x60]
test rcx, rcx
je 0x14002504c
lea rdx, [0x14004f9a8]
mov qword [rsp + 0x40], rdi
call fcn.140018ed0
mov rdi, rax
test rax, rax
je 0x140025047
mov qword [rsp + 0x30], rbp
mov rcx, rax
mov qword [rsp + 0x38], rsi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov ebp, eax
cmp eax, 0xffffffff
je 0x140025034
xor edx, edx
mov rcx, rdi
lea r8d, [rdx + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140025034
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rsi, eax
cmp esi, 0xffffffff
je 0x140025034
xor r8d, r8d
mov edx, ebp
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140025034
mov rbp, rsi
cmp rsi, 0xffffffffffffffff
je 0x140025034
mov rax, qword [0x14005fba0]
test rax, rax
je 0x140024fc3
inc dword [rax + 0x3fc]
mov rdx, qword [0x14005fbb0]
mov rcx, rbp
call qword [0x14005f220]
mov rsi, rax
test rax, rax
je 0x140025034
mov r9, rdi
mov r8, rbp
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, rdi
cmp rax, rbp
je 0x140024fff
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
jmp 0x140025010
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rdx, rbp
mov rcx, rsi
call fcn.14001ab50
mov rax, qword [0x14005fba0]
test rax, rax
je 0x140025022
dec dword [rax + 0x3fc]
mov rdx, qword [0x14005fbb0]
mov rcx, rsi
call qword [0x14005f228]
jmp 0x14002503d
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rsi, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x40]
mov byte [rbx + 0x3080], 1
movss xmm0, dword [rbx + 0x3084]
xorps xmm1, xmm1
comiss xmm0, xmm1
jbe 0x1400250a4
subss xmm0, dword [rbx + 0x58]
comiss xmm1, xmm0
movss dword [rbx + 0x3084], xmm0
jb 0x1400250a4
mov rcx, qword [rbx + 0x60]
test rcx, rcx
je 0x140025093
call fcn.140022a50
mov dword [rbx + 0x3084], 0
add rsp, 0x20
pop rbx
ret
mov byte [rbx + 0x3e4], 1
mov dword [rbx + 0x3084], 0
add rsp, 0x20
pop rbx
ret
Function at 0x140029b00
Capabilities:
Resolve function by parsing pe exports

Disassembly:
test r9d, 0xff000000
je 0x140029c91
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
movss xmm3, dword [rsp + 0x70]
xorps xmm0, xmm0
comiss xmm3, xmm0
mov edi, r9d
mov rsi, r8
mov rbp, rdx
mov rbx, rcx
jbe 0x140029b70
mov eax, dword [rsp + 0x78]
mov dword [rsp + 0x20], eax
call fcn.14002d300
mov r8d, dword [rbx + 0x80]
mov r9d, edi
mov rdx, qword [rbx + 0x88]
mov rcx, rbx
call fcn.1400271e0
mov dword [rbx + 0x80], 0
jmp 0x140029c7d
mov edx, 6
movaps xmmword [rsp + 0x30], xmm6
lea r8d, [rdx - 2]
call fcn.14002d840
movzx edx, word [rbx + 0x48]
mov rax, qword [rbx + 0x38]
movss xmm1, dword [rsi]
movss xmm2, dword [rbp + 4]
movss xmm3, dword [rbp]
lea ecx, [rdx + 1]
movss xmm6, dword [rax + 4]
movss xmm5, dword [rax]
movss xmm4, dword [rsi + 4]
mov rax, qword [rbx + 0x58]
mov word [rax], dx
mov rax, qword [rbx + 0x58]
mov word [rax + 2], cx
lea ecx, [rdx + 2]
mov rax, qword [rbx + 0x58]
mov word [rax + 4], cx
mov rax, qword [rbx + 0x58]
mov word [rax + 6], dx
add dx, 3
mov rax, qword [rbx + 0x58]
mov word [rax + 8], cx
mov rax, qword [rbx + 0x58]
mov word [rax + 0xa], dx
movsd xmm0, qword [rbp]
mov rax, qword [rbx + 0x50]
movsd qword [rax], xmm0
mov rax, qword [rbx + 0x50]
movss dword [rax + 8], xmm5
movss dword [rax + 0xc], xmm6
mov rax, qword [rbx + 0x50]
mov dword [rax + 0x10], edi
mov rax, qword [rbx + 0x50]
movss dword [rax + 0x14], xmm1
movss dword [rax + 0x18], xmm2
mov rax, qword [rbx + 0x50]
movss dword [rax + 0x1c], xmm5
movss dword [rax + 0x20], xmm6
mov rax, qword [rbx + 0x50]
mov dword [rax + 0x24], edi
movsd xmm0, qword [rsi]
mov rax, qword [rbx + 0x50]
movsd qword [rax + 0x28], xmm0
mov rax, qword [rbx + 0x50]
movss dword [rax + 0x30], xmm5
movss dword [rax + 0x34], xmm6
mov rax, qword [rbx + 0x50]
mov dword [rax + 0x38], edi
mov rax, qword [rbx + 0x50]
movss dword [rax + 0x3c], xmm3
movss dword [rax + 0x40], xmm4
mov rax, qword [rbx + 0x50]
movss dword [rax + 0x44], xmm5
movss dword [rax + 0x48], xmm6
mov rax, qword [rbx + 0x50]
movaps xmm6, xmmword [rsp + 0x30]
mov dword [rax + 0x4c], edi
add qword [rbx + 0x50], 0x50
add dword [rbx + 0x48], 4
add qword [rbx + 0x58], 0xc
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret