joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140003640
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x140009040]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x140003713
cmp byte [rcx + 0x71], 0
je 0x140003713
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x14000370f
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 0x1400036d4
sub eax, 1
je 0x1400036d8
cmp eax, 2
jne 0x14000370f
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140004110
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x140003706
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 0x14000370f
cmp byte [rbx + 0x71], 0
sete al
jmp 0x1400036bc
xor al, al
jmp 0x1400036bc
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140004110
add rsp, 0x60
pop rbx
ret

Function at 0x140004a90
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140004ada
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140004ada
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140004ada
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140004ada
cmp dword [rcx + 0x84], 0xe
jbe 0x140004ada
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140004adc
xor al, al
add rsp, 0x28
ret
Function at 0x140002f60
Capabilities:
Contain obfuscated stackstrings
Create thread
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
mov rbp, rsp
sub rsp, 0x70
mov rax, qword [0x1400e5080]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov edi, dword [0x14019e5e8]
movsxd rax, dword [reloc.WS2_32.dll_bind]
xor edx, edx
cmp eax, 0x7b
ja 0x140002f9f
lea rdx, [0x140199dd0]
mov rdx, qword [rdx + rax*8]
xorps xmm0, xmm0
movups xmmword [rbp - 0x30], xmm0
movdqa xmm1, xmmword [0x1400d34b0]
movdqu xmmword [rbp - 0x20], xmm1
mov byte [rbp - 0x30], 0
test rdx, rdx
jne 0x140003012
mov dword [rbp - 0x40], 0x6d6b6356
mov dword [rbp - 0x3c], 0x472b7e6a
mov dword [rbp - 0x38], 0x1007768
xor ecx, ecx
nop dword [rax]
nop word [rax + rax]
lea eax, [rcx + 5]
xor byte [rbp + rcx - 0x40], al
inc rcx
cmp rcx, 0xa
jb 0x140002fe0
mov byte [rbp - 0x35], 0
lea rax, [rbp - 0x40]
mov rbx, 0xffffffffffffffff
mov r8, rbx
inc r8
cmp byte [rax + r8], 0
jne 0x140003002
lea rdx, [rbp - 0x40]
jmp 0x14000302a
mov rbx, 0xffffffffffffffff
mov r8, rbx
nop dword [rax]
inc r8
cmp byte [rdx + r8], 0
jne 0x140003020
lea rcx, [rbp - 0x30]
call fcn.140013260
cmp edi, 1
jne 0x140003099
mov dword [rbp - 0x40], 0x7b627455
mov dword [rbp - 0x3c], 0x647f2a7a
mov dword [rbp - 0x38], 0x75642e68
mov word [rbp - 0x34], 0x68
mov byte [rbp - 0x32], dil
xor ecx, ecx
nop dword [rax]
lea eax, [rcx + 5]
xor byte [rbp + rcx - 0x40], al
inc rcx
cmp rcx, 0xd
jb 0x140003060
mov byte [rbp - 0x32], 0
lea rax, [rbp - 0x40]
nop dword [rax + rax]
inc rbx
cmp byte [rax + rbx], 0
jne 0x140003080
mov r8, rbx
lea rdx, [rbp - 0x40]
lea rcx, [rbp - 0x30]
call fcn.140013260
movss xmm0, dword [0x1400d33b8]
movss dword [rbp - 0x40], xmm0
movss xmm1, dword [0x1400d3390]
movss dword [rbp - 0x3c], xmm1
lea rcx, [rbp - 0x30]
cmp qword [rbp - 0x18], 0x10
cmovae rcx, qword [rbp - 0x30]
lea rdx, [rbp - 0x40]
call fcn.14003e1f0
test al, al
je 0x1400030f4
test edi, edi
jne 0x1400030f4
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], edi
xor r9d, r9d
lea r8, [0x140002f10]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
nop
mov rdx, qword [rbp - 0x18]
cmp rdx, 0x10
jb 0x140003132
inc rdx
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000312d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000312d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400ba040
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1400ba020
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
Function at 0x1400038e0
Capabilities:
Log keystrokes via polling

Disassembly:
sub rsp, 0x28
cmp byte [0x14019dd24], 0
jne 0x14000393a
cmp byte [0x140199c24], 0
jne 0x14000390d
mov ecx, dword [reloc.WS2_32.dll_bind]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
setne al
add rsp, 0x28
ret
cmp byte [0x140199d29], 0
je 0x1400038f6
cmp byte [0x140199cd2], 0
je 0x1400039f4
mov ecx, dword [0x14019dde4]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
setne al
add rsp, 0x28
ret
cmp byte [0x14019dd25], 0
je 0x14000397b
call fcn.140053c90
xor ecx, ecx
call fcn.140053c70
test al, al
je 0x1400039f4
xor ecx, ecx
cmp byte [0x14019dd26], cl
je 0x14000396d
lea edx, [rcx + 6]
add rsp, 0x28
jmp 0x140053c40
mov edx, 7
add rsp, 0x28
jmp 0x140053c40
cmp byte [0x14019dd44], 0
je 0x1400039f4
mov rax, qword [0x14019de18]
xorps xmm0, xmm0
mov rdx, rax
movups xmmword [rax], xmm0
mov ecx, dword [rax + 0x10]
call qword [sym.imp.XINPUT1_4.dll_Ordinal_2]
test eax, eax
jne 0x1400039f4
cmp byte [0x14019dd26], al
xorps xmm0, xmm0
mov qword [rsp + 0x20], rbx
mov rbx, qword [0x14019de18]
mov rdx, rbx
movups xmmword [rbx], xmm0
mov ecx, dword [rbx + 0x10]
je 0x1400039dd
call qword [sym.imp.XINPUT1_4.dll_Ordinal_2]
mov rax, qword [rbx]
mov rbx, qword [rsp + 0x20]
shr rax, 0x30
test al, al
setne al
add rsp, 0x28
ret
call qword [sym.imp.XINPUT1_4.dll_Ordinal_2]
mov rax, qword [rbx]
mov rbx, qword [rsp + 0x20]
shr rax, 0x38
test al, al
setne al
add rsp, 0x28
ret
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov edi, edx
mov ebx, ecx
call fcn.140053d80
mov rcx, rax
mov edx, ebx
call fcn.140053e30
mov rbx, qword [rsp + 0x30]
movzx eax, byte [rax + rdi + 0x24]
add rsp, 0x20
pop rdi
ret
Function at 0x1400092f0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 5], 0
je 0x140009313
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 5]
xor byte [rax + rcx], dl
inc rax
cmp rax, 4
jb 0x140009300
mov byte [rcx + 5], 0
mov rax, rcx
ret
Function at 0x140010ef0
Capabilities:
Contain obfuscated stackstrings
Encode data using xor
Resume thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x4a0]
sub rsp, 0x5a0
mov rax, qword [0x1400e5080]
xor rax, rsp
mov qword [rbp + 0x498], rax
movdqa xmm0, xmmword [0x1400d3aa0]
xor r14d, r14d
movdqu xmmword [rbp - 0x60], xmm0
mov edx, r14d
mov word [rbp - 0x50], 0x100
mov rsi, rcx
nop word [rax + rax]
lea eax, [rdx + 5]
xor byte [rbp + rdx - 0x60], al
inc rdx
cmp rdx, 0x10
jb 0x140010f40
mov byte [rbp - 0x4f], r14b
mov rax, r14
mov dword [rsp + 0x60], 0x6463726b
mov dword [rsp + 0x64], 0x606f2465
mov word [rsp + 0x68], 0x61
mov byte [rsp + 0x6a], 1
nop dword [rax]
nop word [rax + rax]
lea ecx, [rax + 5]
xor byte [rsp + rax + 0x60], cl
inc rax
cmp rax, 9
jb 0x140010f80
lea rcx, [rsp + 0x60]
mov byte [rsp + 0x6a], r14b
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, [rbp - 0x60]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
movdqa xmm0, xmmword [0x1400d39b0]
mov rcx, r14
movdqu xmmword [rbp - 0x80], xmm0
mov rbx, rax
mov dword [rbp - 0x70], 0x5b665f5f
mov dword [rbp - 0x6c], 0x53575046
mov word [rbp - 0x68], 0x100
nop dword [rax]
nop dword [rax + rax]
lea eax, [rcx + 0x20]
xor byte [rbp + rcx - 0x80], al
inc rcx
cmp rcx, 0x18
jb 0x140010fe0
mov byte [rbp - 0x67], r14b
mov rcx, r14
mov dword [rsp + 0x70], 0x6463726b
mov dword [rsp + 0x74], 0x606f2465
mov word [rsp + 0x78], 0x61
mov byte [rsp + 0x7a], 1
nop dword [rax]
nop word [rax + rax]
lea eax, [rcx + 5]
xor byte [rsp + rcx + 0x70], al
inc rcx
cmp rcx, 9
jb 0x140011020
lea rcx, [rsp + 0x70]
mov byte [rsp + 0x7a], r14b
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdi, rax
mov qword [rbp - 0x48], 0xffffffffffffffff
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov qword [rsp + 0x50], r14
lea rcx, [rbp - 0x48]
mov qword [rsp + 0x48], r14
mov r9, rax
mov qword [rsp + 0x40], r14
xor r8d, r8d
mov qword [rsp + 0x38], r14
mov edx, 0x1fffff
mov dword [rsp + 0x30], 1
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r14
call rbx
mov rcx, qword [rbp - 0x48]
lea rdx, [rbp - 0x40]
mov dword [rbp - 0x10], 0x10001f
call qword [sym.imp.KERNEL32.dll_GetThreadContext]
mov rcx, qword [rbp - 0x48]
lea rdx, [rbp - 0x40]
mov qword [rbp + 0x40], rsi
call qword [sym.imp.KERNEL32.dll_SetThreadContext]
mov rcx, qword [rbp - 0x48]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rbx, rax
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
xor edx, edx
mov qword [rsp + 0x20], r14
cdqe
lea r8, [rbp + 0x490]
mov ecx, 0x77778000
mov r9d, 8
sub rcx, rbx
div rcx
mov rcx, qword [rbp - 0x48]
lea eax, [rbx + rdx]
cdqe
lea edx, [r9 + 1]
mov qword [rbp + 0x490], rax
call rdi
mov rcx, qword [rbp - 0x48]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rbp + 0x40]
mov rcx, qword [rbp + 0x498]
xor rcx, rsp
call fcn.1400ba020
lea r11, [rsp + 0x5a0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x140012290
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0xf], 0
je 0x1400122b3
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 5]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0xe
jb 0x1400122a0
mov byte [rcx + 0xf], 0
ret

Function at 0x1400122c0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0xd], 0
je 0x1400122e3
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 5]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0xc
jb 0x1400122d0
mov byte [rcx + 0xd], 0
ret

Function at 0x1400122f0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 6], 0
je 0x140012313
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 5]
xor byte [rax + rcx], dl
inc rax
cmp rax, 5
jb 0x140012300
mov byte [rcx + 6], 0
ret

Function at 0x140012320
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 7], 0
je 0x140012343
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 5]
xor byte [rax + rcx], dl
inc rax
cmp rax, 6
jb 0x140012330
mov byte [rcx + 7], 0
ret

Function at 0x140012350
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 8], 0
je 0x140012373
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 5]
xor byte [rax + rcx], dl
inc rax
cmp rax, 7
jb 0x140012360
mov byte [rcx + 8], 0
ret

Function at 0x140012380
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x10], 0
je 0x1400123a3
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 5]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0xf
jb 0x140012390
mov byte [rcx + 0x10], 0
ret

Function at 0x1400123c0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 9], 0
je 0x1400123e3
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 5]
xor byte [rax + rcx], dl
inc rax
cmp rax, 8
jb 0x1400123d0
mov byte [rcx + 9], 0
ret

Function at 0x1400123f0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0xa], 0
je 0x140012413
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 5]
xor byte [rax + rcx], dl
inc rax
cmp rax, 9
jb 0x140012400
mov byte [rcx + 0xa], 0
ret

Function at 0x140016820
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 0x14001687d
lea rbx, [0x1400ce910]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x140016864
cmp r10, 2
jb 0x140016864
cmp byte [r9], r8b
jne 0x140016864
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 0x140016840
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x1400168bf
lea rbx, [0x1400ce910]
cmp r8b, 0x23
jne 0x1400168a3
cmp byte [r9], r8b
jne 0x1400168a3
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 0x140016890
mov rbx, qword [rsp + 8]
not eax
ret
Function at 0x140016a00
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x140016a1a
mov qword [r8], 0
lea rdx, [0x1400d2a08]
call fcn.1400168d0
mov rbx, rax
test rax, rax
jne 0x140016a3a
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
mov qword [rsp + 0x30], rsi
mov rcx, rbx
mov qword [rsp + 0x38], rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov esi, eax
cmp eax, 0xffffffff
je 0x140016b11
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 0x140016b11
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x140016b11
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 0x140016b11
cmp rdi, 0xffffffffffffffff
je 0x140016b11
mov rax, qword [0x14019de08]
test rax, rax
je 0x140016aae
inc dword [rax + 0x3b4]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
je 0x140016b11
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 0x140016afe
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x14019de08]
test rax, rax
je 0x140016af3
dec dword [rax + 0x3b4]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x140016b1a
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x140016b0c
mov qword [r14], rdi
mov rax, rsi
jmp 0x140016b1c
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
Function at 0x140018b10
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r14
push r15
mov rbp, rsp
sub rsp, 0x78
mov rax, qword [0x14019de08]
test rax, rax
je 0x140018b36
inc dword [rax + 0x3b4]
mov ecx, 0x3f80
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [rbp + 0x40], rax
lea rcx, [rbp + 0x38]
mov qword [rbp + 0x48], rcx
mov qword [rbp + 0x50], rax
xor r14d, r14d
test rax, rax
je 0x140018b68
xor edx, edx
mov rcx, rax
call fcn.140015330
mov rbx, rax
jmp 0x140018b6b
mov rbx, r14
mov rax, qword [0x14019de08]
test rax, rax
cmove rax, rbx
mov qword [0x14019de08], rax
mov dword [rbp - 0x4c], r14d
mov qword [rbp - 0x40], r14
mov qword [rbp - 0x18], r14
lea rax, str.Window
mov qword [rbp - 0x58], rax
mov esi, 0xffffffff
mov edx, esi
lea r8, [0x1400d2935]
mov r9b, 0x57
lea r15, [0x1400ce910]
nop
cmp r9b, 0x23
jne 0x140018bc2
cmp byte [r8], r9b
jne 0x140018bc2
cmp byte [r8 + 1], r9b
cmove edx, esi
movzx ecx, dl
movzx eax, r9b
xor rcx, rax
shr edx, 8
xor edx, dword [r15 + rcx*4]
movzx r9d, byte [r8]
inc r8
test r9b, r9b
jne 0x140018bb0
not edx
mov dword [rbp - 0x50], edx
lea rax, [0x140028780]
mov qword [rbp - 0x48], rax
lea rax, [0x140028810]
mov qword [rbp - 0x38], rax
lea rax, [0x1400288e0]
mov qword [rbp - 0x30], rax
lea rax, [0x1400289c0]
mov qword [rbp - 0x28], rax
lea rax, [0x140028b10]
mov qword [rbp - 0x20], rax
lea rdx, [rbp - 0x58]
lea rcx, [rbx + 0x30f8]
call fcn.140029090
mov dword [rbp - 0x4c], r14d
mov qword [rbp - 0x40], r14
mov qword [rbp - 0x18], r14
lea rax, str.Table
mov qword [rbp - 0x58], rax
mov eax, esi
lea r8, [0x1400d2ba1]
mov r9b, 0x54
nop
cmp r9b, 0x23
jne 0x140018c62
cmp byte [r8], r9b
jne 0x140018c62
cmp byte [r8 + 1], r9b
cmove eax, esi
movzx edx, al
movzx ecx, r9b
xor rdx, rcx
shr eax, 8
xor eax, dword [r15 + rdx*4]
movzx r9d, byte [r8]
inc r8
test r9b, r9b
jne 0x140018c50
not eax
mov dword [rbp - 0x50], eax
lea rax, [0x14003bd50]
mov qword [rbp - 0x48], rax
lea rax, [0x14003be20]
mov qword [rbp - 0x38], rax
lea rax, [0x14003bf20]
mov qword [rbp - 0x30], rax
lea rax, [0x14003bde0]
mov qword [rbp - 0x28], rax
lea rax, [0x14003c1a0]
mov qword [rbp - 0x20], rax
lea rdx, [rbp - 0x58]
lea rcx, [rbx + 0x30f8]
call fcn.140029090
mov byte [rbx], 1
mov rax, rbx
add rsp, 0x78
pop r15
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x140022040
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 [0x14019de08]
lea rdx, [0x1400ce910]
mov r8, rcx
mov rbx, qword [rax + 0x1ae0]
add rbx, 0xc0
movsxd r9, dword [rbx]
mov rax, qword [rbx + 8]
mov edi, dword [rax + r9*4 - 4]
not edi
movzx eax, r8b
mov r8d, dword [rbx + 4]
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [r11 + 9]
xor edi, dword [rdx + rcx*4]
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [r11 + 0xa]
xor edi, dword [rdx + rcx*4]
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [r11 + 0xb]
xor edi, dword [rdx + rcx*4]
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [r11 + 0xc]
xor edi, dword [rdx + rcx*4]
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [r11 + 0xd]
xor edi, dword [rdx + rcx*4]
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [r11 + 0xe]
xor edi, dword [rdx + rcx*4]
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [r11 + 0xf]
xor edi, dword [rdx + rcx*4]
movzx ecx, dil
shr edi, 8
xor rcx, rax
xor edi, dword [rdx + rcx*4]
not edi
cmp r9d, r8d
jne 0x140022141
lea ecx, [r9 + 1]
test r8d, r8d
je 0x14002212d
mov eax, r8d
cdq
sub eax, edx
sar eax, 1
add eax, r8d
jmp 0x140022132
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
mov edx, ecx
mov rcx, rbx
call fcn.140029ed0
movsxd rcx, dword [rbx]
mov rax, qword [rbx + 8]
mov dword [rax + rcx*4], edi
inc dword [rbx]
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x140022160
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x10], rbx
mov dword [rsp + 8], ecx
push rdi
sub rsp, 0x20
mov rax, qword [0x14019de08]
lea rdx, [0x1400ce910]
mov r8d, ecx
mov rbx, qword [rax + 0x1ae0]
add rbx, 0xc0
movsxd r9, dword [rbx]
mov rax, qword [rbx + 8]
mov edi, dword [rax + r9*4 - 4]
not edi
movzx eax, r8b
mov r8d, dword [rbx + 4]
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [rsp + 0x31]
xor edi, dword [rdx + rcx*4]
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [rsp + 0x32]
xor edi, dword [rdx + rcx*4]
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [rsp + 0x33]
xor edi, dword [rdx + rcx*4]
movzx ecx, dil
shr edi, 8
xor rcx, rax
xor edi, dword [rdx + rcx*4]
not edi
cmp r9d, r8d
jne 0x140022217
lea ecx, [r9 + 1]
test r8d, r8d
je 0x140022203
mov eax, r8d
cdq
sub eax, edx
sar eax, 1
add eax, r8d
jmp 0x140022208
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
mov edx, ecx
mov rcx, rbx
call fcn.140029ed0
movsxd rcx, dword [rbx]
mov rax, qword [rbx + 8]
mov dword [rax + rcx*4], edi
inc dword [rbx]
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x1400230a0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x1400e5080]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x14019de08]
mov edi, edx
cmp byte [rbx + 0x2005], 0
jne 0x140023100
cmp byte [rbx + 0x2006], 0
jne 0x140023100
mov r9d, dword [rbx + 0x30a8]
lea r8, str.Tooltip__02d
mov edx, reloc.WS2_32.dll_recv
lea rcx, [rsp + 0x20]
call fcn.1400167a0
test dil, 1
je 0x14002321e
jmp 0x140023188
movss xmm1, dword [rbx + 0x1614]
lea r8, str.Tooltip__02d
mov r9d, dword [rbx + 0x30a8]
lea rcx, [rsp + 0x20]
movaps xmm0, xmm1
xor eax, eax
mulss xmm0, dword [0x1400d3384]
mulss xmm1, dword [0x1400d336c]
lea edx, [rax + 0x10]
addss xmm0, dword [rbx + 0x128]
addss xmm1, dword [rbx + 0x12c]
mov qword [rbx + 0x1ba0], rax
mov dword [rbx + 0x1b8c], 1
movss dword [rbx + 0x1b98], xmm0
movss dword [rbx + 0x1b9c], xmm1
movss xmm0, dword [rbx + 0x1670]
mulss xmm0, dword [0x1400d3274]
or dword [rbx + 0x1b88], 0x41
movss dword [rbx + 0x1be8], xmm0
call fcn.1400167a0
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x1400231d8
lea r11, [0x1400ce910]
cmp r9b, 0x23
jne 0x1400231bb
cmp byte [r8], r9b
jne 0x1400231bb
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 0x1400231a8
not ecx
call fcn.14001cc70
test rax, rax
je 0x14002321e
cmp byte [rax + 0x86], 0
je 0x14002321e
mov byte [rax + 0x8d], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xa4], 1
lea rcx, [rsp + 0x20]
inc dword [rbx + 0x30a8]
mov edx, reloc.WS2_32.dll_recv
mov r9d, dword [rbx + 0x30a8]
call fcn.1400167a0
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x20c0347
call fcn.14001f340
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1400ba020
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x140027ec0
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 [0x14019de08]
cmp byte [rbx + 0x3138], 0
je 0x140027fac
cmp qword [rbx + 0x3140], 0
mov qword [rax - 0x18], rsi
lea rsi, [rax + 0x10]
mov qword [rax - 0x20], rdi
lea rdi, [rbx + 0x3148]
je 0x140027f94
mov r9d, dword [rdi + 4]
mov qword [rax - 0x10], rbp
xor ebp, ebp
test r9d, r9d
jns 0x140027f3b
mov eax, r9d
mov rcx, rdi
cdq
sub eax, edx
mov edx, ebp
sar eax, 1
add eax, r9d
test eax, eax
cmovg edx, eax
call fcn.140029c50
mov rcx, qword [rsp + 0x50]
mov rdx, rcx
mov dword [rdi], ebp
mov rcx, rdi
mov r8, rsi
call fcn.140017040
mov eax, dword [rdi]
mov edx, 1
mov r9, qword [rbx + 0x3140]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rbx + 0x3150]
cmove ecx, ebp
test rax, rax
movsxd r8, ecx
lea rcx, [0x14019dd45]
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.140017040
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x28]
add rsp, 0x40
pop rbx
ret