joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400295f0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x28
lea rbp, [rsp + 0x20]
mov rdi, r8
mov rsi, rcx
mov rcx, qword [rcx + 8]
mov rbx, qword [rsi + 0x10]
xor r14d, r14d
mov eax, 0
cmp rbx, 3
jb 0x14002965c
movzx r8d, byte [rbx + rcx - 2]
mov r9d, r8d
and r9b, 0xf0
xor r14d, r14d
cmp r9b, 0xa0
jne 0x14002965c
xor r14d, r14d
cmp byte [rbx + rcx - 3], 0xed
jne 0x14002965c
movzx r14d, byte [rbx + rcx - 1]
and r8d, 0xf
and r14d, 0x3f
shl r8d, 0x10
shl r14d, 0xa
or r14d, r8d
mov al, 1
cmp rdi, 3
jb 0x140029708
cmp byte [rdx], 0xed
jne 0x140029711
movzx r12d, byte [rdx + 1]
mov r8d, r12d
and r8b, 0xf0
cmp r8b, 0xb0
setne r8b
xor al, 1
or al, r8b
jne 0x140029711
movzx r13d, byte [rdx + 2]
cmp rbx, 3
jb 0x1400296a1
add rbx, 0xfffffffffffffffd
mov qword [rsi + 0x10], rbx
and r13d, 0x3f
shl r12d, 6
lea r8, [rdi + 1]
mov rax, qword [rsi]
sub rax, rbx
cmp rax, r8
jb 0x1400297fb
add rdx, 3
mov r15, rdx
and r12d, 0x3c0
or r14d, r13d
or r14d, r12d
add r14d, 0x10000
mov rcx, rsi
mov edx, r14d
call fcn.14001b9c0
add rdi, 0xfffffffffffffffd
mov rax, qword [rsi]
mov rbx, qword [rsi + 0x10]
sub rax, rbx
cmp rax, rdi
jb 0x140029820
mov rcx, qword [rsi + 8]
add rcx, rbx
mov rdx, r15
jmp 0x1400297ae
test rdi, rdi
je 0x1400297a0
lea rax, [rdx + rdi]
mov r9, rdx
jmp 0x140029738
add r9, 2
cmp r8, rax
cmovne r8, r9
nop word cs:[rax + rax]
mov r9, r8
cmp r8, rax
je 0x1400297a0
lea r8, [r9 + 1]
movzx r10d, byte [r9]
test r10b, r10b
jns 0x140029730
cmp r10b, 0xe0
jb 0x14002971a
cmp r10b, 0xed
jne 0x14002976f
cmp r8, rax
je 0x1400297a0
lea r8, [r9 + 2]
cmp r8, rax
je 0x1400297a0
cmp byte [r9 + 1], 0x9f
ja 0x14002979c
add r9, 3
mov r8, r9
jmp 0x140029730
add r9, 2
cmp r8, rax
cmove r9, r8
xor r8d, r8d
cmp r9, rax
setne r8b
add r8, r9
cmp r10b, 0xf0
jb 0x140029730
xor r9d, r9d
cmp r8, rax
setne r9b
add r8, r9
jmp 0x140029730
mov byte [rsi + 0x18], 0
mov rax, qword [rsi]
sub rax, rbx
cmp rax, rdi
jb 0x1400297ce
add rcx, rbx
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
add rbx, rdi
mov qword [rsi + 0x10], rbx
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
mov qword [rsp + 0x20], 1
mov r9d, 1
mov rcx, rsi
mov r14, rdx
mov rdx, rbx
mov r8, rdi
call fcn.140037ec0
mov rdx, r14
mov rcx, qword [rsi + 8]
mov rbx, qword [rsi + 0x10]
jmp 0x1400297ab
mov qword [rsp + 0x20], 1
mov r9d, 1
mov rcx, rsi
mov r15, rdx
mov rdx, rbx
call fcn.140037ec0
mov rdx, r15
jmp 0x1400296bc
mov qword [rsp + 0x20], 1
mov r9d, 1
mov rcx, rsi
mov rdx, rbx
mov r8, rdi
call fcn.140037ec0
mov rbx, qword [rsi + 0x10]
jmp 0x1400296f9
Function at 0x1400376f8
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140037742
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140037742
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140037742
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140037742
cmp dword [rcx + 0x84], 0xe
jbe 0x140037742
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140037744
xor al, al
add rsp, 0x28
ret
Function at 0x140002c70
Capabilities:
Enumerate processes

Disassembly:
push rsi
sub rsp, 0x160
mov rax, qword [0x1400d5080]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov rsi, rcx
test rcx, rcx
jne 0x140002c9a
xor eax, eax
jmp 0x140002d3c
mov qword [rsp + 0x178], rbx
xor edx, edx
mov qword [rsp + 0x180], rbp
mov ecx, 2
mov qword [rsp + 0x188], rdi
xor edi, edi
mov ebx, edi
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x130
mov rcx, rax
mov rbp, rax
call qword [sym.imp.KERNEL32.dll_Process32First]
lea rdx, [rsp + 0x20]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
je 0x140002d22
nop
mov rdx, rsi
lea rcx, [rsp + 0x4c]
call qword [sym.imp.api_ms_win_crt_multibyte_l1_1_0.dll__mbsicmp]
test eax, eax
jne 0x140002d10
mov eax, dword [rsp + 0x3c]
cmp eax, ebx
jbe 0x140002d10
mov edi, dword [rsp + 0x28]
mov ebx, eax
lea rdx, [rsp + 0x20]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x140002cf0
mov rbp, qword [rsp + 0x180]
mov eax, edi
mov rdi, qword [rsp + 0x188]
mov rbx, qword [rsp + 0x178]
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.1400ab0f0
add rsp, 0x160
pop rsi
ret

Function at 0x140002d60
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r14
sub rsp, 0x60
mov rax, qword [0x1400d5080]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rdi, r9
mov rbp, qword [rsp + 0xa0]
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll__msize]
mov rbx, rax
test eax, eax
jg 0x140002da3
xor al, al
jmp 0x140002e9b
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x30], xmm1
xor r14d, r14d
mov qword [rsp + 0x40], r14
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov r9, rdi
call fcn.140004e80
mov r8, qword [rsp + 0x30]
mov rax, qword [rsp + 0x38]
cmp r8, rax
jne 0x140002ddc
xor bl, bl
jmp 0x140002e57
mov edi, r14d
sub rax, r8
sar rax, 3
test rax, rax
je 0x140002e55
movsxd rsi, ebx
mov rbx, r14
mov edx, dword [rbx + r8]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
mov r9d, 0x40
mov r8, rsi
mov rcx, qword [0x140121d08]
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x20], r14
mov r9, rsi
mov r8, rbp
mov rdx, qword [rbx + rax]
mov rcx, qword [0x140121d08]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
inc edi
lea rbx, [rbx + 8]
mov rcx, qword [rsp + 0x38]
mov r8, qword [rsp + 0x30]
sub rcx, r8
sar rcx, 3
movsxd rax, edi
cmp rax, rcx
jb 0x140002df1
mov bl, 1
test r8, r8
je 0x140002e98
mov rdx, qword [rsp + 0x40]
sub rdx, r8
and rdx, 0xfffffffffffffff8
mov rax, r8
cmp rdx, 0x1000
jb 0x140002e90
add rdx, 0x27
mov r8, qword [r8 - 8]
sub rax, r8
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002e90
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r8
call fcn.1400ab394
movzx eax, bl
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1400ab0f0
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x140007ff0
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xd0
mov rax, qword [0x1400d5080]
xor rax, rsp
mov qword [rbp + 0x4f], rax
lea rcx, [rbp - 0x11]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
lea rcx, str.HD_Player.exe
call fcn.140002c70
test eax, eax
jne 0x14000802e
xor ecx, ecx
jmp 0x140008053
mov dword [0x140121d00], eax
mov r8d, eax
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [0x140121d08], rax
xor ecx, ecx
test rax, rax
setne cl
test ecx, ecx
je 0x14000820d
xorps xmm0, xmm0
xor eax, eax
mov dword [rbp - 0x39], 0x47ae3f81
mov dword [rbp - 0x35], 0x47ae3f81
mov dword [rbp - 0x31], 0x47ae3f81
mov dword [rbp - 0x2d], 0x1a003f81
mov dword [rbp - 0x29], 0x3adceeb7
mov dword [rbp - 0x25], 0x30ed9f
mov dword [rbp - 0x21], 0x2a43e24f
mov dword [rbp - 0x1d], 0xaefeeb0
mov dword [rbp - 0x19], 0x6a43f460
mov word [rbp - 0x15], 0xeef0
movdqu xmmword [rbp + 0x37], xmm0
mov qword [rbp + 0x47], rax
mov edx, Ordinal_41
lea rcx, [rbp + 0x37]
call fcn.140002100
mov rbx, qword [rbp + 0x37]
mov r8d, Ordinal_41
lea rdx, [rbp - 0x39]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
lea rax, [rbx + 0x26]
mov qword [rbp + 0x3f], rax
xorps xmm0, xmm0
xor eax, eax
mov dword [rbp - 0x49], 0x332ac181
mov dword [rbp - 0x45], 0x66cd3f3c
mov dword [rbp - 0x41], 0x472a3f3c
mov dword [rbp - 0x3d], 0x1a003f81
movdqu xmmword [rbp + 0x1f], xmm0
mov qword [rbp + 0x2f], rax
mov edx, reloc.WS2_32.dll_recv
lea rcx, [rbp + 0x1f]
call fcn.140002100
mov rbx, qword [rbp + 0x1f]
mov r8d, reloc.WS2_32.dll_recv
lea rdx, [rbp - 0x49]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
lea rax, [rbx + 0x10]
mov qword [rbp + 0x27], rax
lea rax, [0x140122800]
mov qword [rsp + 0x28], rax
cmp byte [0x140121bc3], 0
je 0x140008163
mov rax, qword [rbp + 0x1f]
mov qword [rsp + 0x20], rax
mov r9, qword [rbp + 0x37]
call fcn.140002ec0
mov edx, 0x190
mov ecx, reloc.WLDAP32.dll_Ordinal_200
jmp 0x14000817c
mov rax, qword [rbp + 0x37]
mov qword [rsp + 0x20], rax
mov r9, qword [rbp + 0x1f]
call fcn.140002ec0
mov edx, 0x1f4
mov ecx, edx
call qword [sym.imp.KERNEL32.dll_Beep]
nop
mov rcx, qword [rbp + 0x1f]
test rcx, rcx
je 0x1400081d0
mov rdx, qword [rbp + 0x2f]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400081bb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400081bb
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400ab394
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x1f], xmm0
mov qword [rbp + 0x2f], 0
mov rcx, qword [rbp + 0x37]
test rcx, rcx
je 0x14000820d
mov rdx, qword [rbp + 0x47]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140008208
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140008208
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400ab394
mov rcx, qword [rbp + 0x4f]
xor rcx, rsp
call fcn.1400ab0f0
mov rbx, qword [rsp + 0xe0]
add rsp, 0xd0
pop rbp
ret
Function at 0x140008230
Capabilities:
Get system information on windows

Disassembly:
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xb0
mov rax, qword [0x1400d5080]
xor rax, rsp
mov qword [rbp + 0x47], rax
lea rcx, [rbp - 0x19]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
lea rcx, str.HD_Player.exe
call fcn.140002c70
test eax, eax
jne 0x14000826a
xor ecx, ecx
jmp 0x14000828f
mov dword [0x140121d00], eax
mov r8d, eax
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [0x140121d08], rax
xor ecx, ecx
test rax, rax
setne cl
test ecx, ecx
je 0x1400083ee
xorps xmm0, xmm0
xor eax, eax
mov dword [rbp - 0x29], 1
mov dword [rbp - 0x25], 0x3d072b02
movdqu xmmword [rbp + 0x2f], xmm0
mov qword [rbp + 0x3f], rax
mov edx, 8
lea rcx, [rbp + 0x2f]
call fcn.140002100
mov rcx, qword [rbp + 0x2f]
mov rax, qword [rbp - 0x29]
mov qword [rcx], rax
lea rax, [rcx + 8]
mov qword [rbp + 0x37], rax
xorps xmm0, xmm0
xor eax, eax
mov dword [rbp - 0x21], 1
mov dword [rbp - 0x1d], 0x3d68e468
movdqu xmmword [rbp + 0x17], xmm0
mov qword [rbp + 0x27], rax
mov edx, 8
lea rcx, [rbp + 0x17]
call fcn.140002100
mov rcx, qword [rbp + 0x17]
mov rax, qword [rbp - 0x21]
mov qword [rcx], rax
lea rax, [rcx + 8]
mov qword [rbp + 0x1f], rax
lea rax, [0x140122818]
mov qword [rsp + 0x28], rax
cmp byte [0x140121bc4], 0
je 0x140008344
mov rax, qword [rbp + 0x17]
mov qword [rsp + 0x20], rax
mov r9, qword [rbp + 0x2f]
call fcn.140002ec0
mov edx, 0x190
mov ecx, reloc.WLDAP32.dll_Ordinal_200
jmp 0x14000835d
mov rax, qword [rbp + 0x2f]
mov qword [rsp + 0x20], rax
mov r9, qword [rbp + 0x17]
call fcn.140002ec0
mov edx, 0x1f4
mov ecx, edx
call qword [sym.imp.KERNEL32.dll_Beep]
nop
mov rcx, qword [rbp + 0x17]
test rcx, rcx
je 0x1400083b1
mov rdx, qword [rbp + 0x27]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000839c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000839c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400ab394
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x17], xmm0
mov qword [rbp + 0x27], 0
mov rcx, qword [rbp + 0x2f]
test rcx, rcx
je 0x1400083ee
mov rdx, qword [rbp + 0x3f]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400083e9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400083e9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400ab394
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.1400ab0f0
add rsp, 0xb0
pop rbp
ret
Function at 0x140008aa0
Capabilities:
Enumerate processes

Disassembly:
push rsi
sub rsp, 0x160
mov rax, qword [0x1400d5080]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov rsi, rcx
test rcx, rcx
jne 0x140008aca
xor eax, eax
jmp 0x140008b6c
mov qword [rsp + 0x178], rbx
xor edx, edx
mov qword [rsp + 0x180], rbp
mov ecx, 2
mov qword [rsp + 0x188], rdi
xor edi, edi
mov ebx, edi
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x130
mov rcx, rax
mov rbp, rax
call qword [sym.imp.KERNEL32.dll_Process32First]
lea rdx, [rsp + 0x20]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
je 0x140008b52
nop
mov rdx, rsi
lea rcx, [rsp + 0x4c]
call qword [sym.imp.api_ms_win_crt_multibyte_l1_1_0.dll__mbsicmp]
test eax, eax
jne 0x140008b40
mov eax, dword [rsp + 0x3c]
cmp eax, ebx
jbe 0x140008b40
mov edi, dword [rsp + 0x28]
mov ebx, eax
lea rdx, [rsp + 0x20]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x140008b20
mov rbp, qword [rsp + 0x180]
mov eax, edi
mov rdi, qword [rsp + 0x188]
mov rbx, qword [rsp + 0x178]
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.1400ab0f0
add rsp, 0x160
pop rsi
ret
Function at 0x14000fed0
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 0x14000ff2d
lea rbx, [0x1400bf7e0]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x14000ff14
cmp r10, 2
jb 0x14000ff14
cmp byte [r9], r8b
jne 0x14000ff14
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 0x14000fef0
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x14000ff6f
lea rbx, [0x1400bf7e0]
cmp r8b, 0x23
jne 0x14000ff53
cmp byte [r9], r8b
jne 0x14000ff53
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 0x14000ff40
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x1400100b0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x1400100ca
mov qword [r8], 0
lea rdx, [0x1400c4a5c]
call fcn.14000ff80
mov rbx, rax
test rax, rax
jne 0x1400100ea
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
clc
dec dword [rdi]
invalid
invalid
add byte [rax], al
invalid
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 0x1400101c3
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x1400101c3
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 0x1400101c3
cmp rdi, 0xffffffffffffffff
je 0x1400101c3
mov rax, qword [0x140121ce8]
test rax, rax
je 0x140010160
inc dword [rax + 0xf4]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
je 0x1400101c3
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 0x1400101b0
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x140121ce8]
test rax, rax
je 0x1400101a5
dec dword [rax + 0xf4]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x1400101cc
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x1400101be
mov qword [r14], rdi
mov rax, rsi
jmp 0x1400101ce
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 0x1400133e0
Capabilities:
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x20
mov rax, qword [rcx + 0xf0]
lea r8, [0x1400bf7e0]
movsxd rcx, dword [rcx + 0xe8]
mov r11d, edx
shr r11d, 0x18
mov r9d, edx
shr r9d, 8
mov r10d, edx
shr r10d, 0x10
mov ebx, dword [rax + rcx*4 - 4]
not ebx
movzx eax, dl
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, r9b
xor ebx, dword [r8 + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, r10b
xor ebx, dword [r8 + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
xor ebx, dword [r8 + rcx*4]
movzx ecx, bl
xor rcx, r11
shr ebx, 8
xor ebx, dword [r8 + rcx*4]
mov rcx, qword [0x140121ce8]
not ebx
cmp dword [rcx + 0x3f18], ebx
jne 0x140013475
movsxd r8, edx
mov ecx, ebx
mov edx, 4
call fcn.140026510
mov eax, ebx
add rsp, 0x20
pop rbx
ret

Function at 0x140013480
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 0x18
movss xmm0, dword [rcx + 0x108]
lea r10, [0x1400bf7e0]
mov rax, qword [rcx + 0xf0]
movss xmm1, dword [rcx + 0x10c]
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 + 0xe8]
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 0x1400204c0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x1400d5080]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x140121ce8]
mov edi, ecx
cmp byte [rbx + 0x4a5d], 0
jne 0x140020521
cmp byte [rbx + 0x4a5e], 0
jne 0x140020521
movsx r9d, word [rbx + 0x5b5a]
lea r8, str.Tooltip__02d
mov edx, reloc.WS2_32.dll_recv
lea rcx, [rsp + 0x20]
call fcn.14000fd90
test dil, 1
je 0x140020648
jmp 0x1400205ac
movss xmm1, dword [rbx + 0x3898]
lea r8, str.Tooltip__02d
movsx r9d, word [rbx + 0x5b5a]
lea rcx, [rsp + 0x20]
movaps xmm0, xmm1
xor eax, eax
mulss xmm0, dword [0x1400c550c]
mov edx, reloc.WS2_32.dll_recv
mulss xmm1, dword [0x1400c54f8]
addss xmm0, dword [rbx + 0xdfc]
addss xmm1, dword [rbx + 0xe00]
mov qword [rbx + 0x47c0], rax
mov dword [rbx + 0x47ac], 1
movss dword [rbx + 0x47b8], xmm0
movss dword [rbx + 0x47bc], xmm1
movss xmm0, dword [rbx + 0x3900]
mulss xmm0, dword [0x1400c5480]
or dword [rbx + 0x47a8], 0x41
movss dword [rbx + 0x4808], xmm0
call fcn.14000fd90
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x140020600
lea r11, [0x1400bf7e0]
nop dword [rax]
cmp r9b, 0x23
jne 0x1400205e3
cmp byte [r8], r9b
jne 0x1400205e3
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 0x1400205d0
not ecx
call fcn.140017460
test rax, rax
je 0x140020648
cmp byte [rax + 0xae], 0
je 0x140020648
mov byte [rax + 0xb5], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xd0], 1
lea rcx, [rsp + 0x20]
inc word [rbx + 0x5b5a]
mov edx, reloc.WS2_32.dll_recv
movsx r9d, word [rbx + 0x5b5a]
call fcn.14000fd90
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x20c0347
call fcn.140019cc0
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1400ab0f0
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x140024ea0
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 + 0x5c40], 0
lea rbx, [rcx + 0x5c48]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x140024f47
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x140024efa
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.140027180
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.1400105d0
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x5c40]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x5c50]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x140121ce1]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x140024f4f
mov rcx, rbx
call fcn.1400105d0
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x1400253d0
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x140121ce8]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x140025433
mov qword [rsp], rbx
lea rbx, [0x1400bf7e0]
nop dword [rax]
cmp r9b, 0x23
jne 0x140025413
cmp byte [r8], r9b
jne 0x140025413
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 0x140025400
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x5bb8]
xor r8d, r8d
not eax
test ecx, ecx
jle 0x140025467
mov r10, qword [r10 + 0x5bc0]
mov r9, rcx
mov edx, r8d
lea rcx, [r10 + 8]
cmp dword [rcx], eax
je 0x14002546e
inc r8d
inc rdx
add rcx, 0x48
cmp rdx, r9
jl 0x140025454
xor eax, eax
add rsp, 8
ret
movsxd rax, r8d
lea rcx, [rax + rax*8]
lea rax, [r10 + rcx*8]
add rsp, 8
ret