joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14002e0b0
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 0x14002e10d
lea rbx, [0x140524d00]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x14002e0f4
cmp r10, 2
jb 0x14002e0f4
cmp byte [r9], r8b
jne 0x14002e0f4
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 0x14002e0d0
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x14002e14f
lea rbx, [0x140524d00]
cmp r8b, 0x23
jne 0x14002e133
cmp byte [r9], r8b
jne 0x14002e133
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 0x14002e120
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x14002e290
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x14002e2aa
mov qword [r8], 0
lea rdx, [0x1405311cc]
call fcn.14002e160
mov rbx, rax
test rax, rax
jne 0x14002e2ca
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 0x14002e3a1
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 0x14002e3a1
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x14002e3a1
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 0x14002e3a1
cmp rdi, 0xffffffffffffffff
je 0x14002e3a1
mov rax, qword [0x1407065c0]
test rax, rax
je 0x14002e33e
inc dword [rax + 0x3b0]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
je 0x14002e3a1
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 0x14002e38e
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x1407065c0]
test rax, rax
je 0x14002e383
dec dword [rax + 0x3b0]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x14002e3aa
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x14002e39c
mov qword [r14], rdi
mov rax, rsi
jmp 0x14002e3ac
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 0x14003d930
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x10], rbx
mov dword [rsp + 8], ecx
push rdi
sub rsp, 0x20
mov rax, qword [0x1407065c0]
lea rdx, [0x140524d00]
mov r8d, ecx
mov rbx, qword [rax + 0x1d18]
add rbx, 0x108
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 0x14003d9e7
lea ecx, [r9 + 1]
test r8d, r8d
je 0x14003d9d3
mov eax, r8d
cdq
sub eax, edx
sar eax, 1
add eax, r8d
jmp 0x14003d9d8
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
mov edx, ecx
mov rcx, rbx
call fcn.14004f2b0
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 0x14003e830
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x140554040]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x1407065c0]
mov edi, edx
cmp byte [rbx + 0x20dd], 0
jne 0x14003e890
cmp byte [rbx + 0x20de], 0
jne 0x14003e890
mov r9d, dword [rbx + 0x3970]
lea r8, str.Tooltip__02d
mov edx, reloc.WS2_32.dll_recv
lea rcx, [rsp + 0x20]
call fcn.14002e030
test dil, 1
je 0x14003e9c4
jmp 0x14003e91f
movss xmm1, dword [rbx + 0x16ec]
lea r8, str.Tooltip__02d
mov r9d, dword [rbx + 0x3970]
lea rcx, [rsp + 0x20]
movaps xmm0, xmm1
xor eax, eax
mulss xmm0, dword [0x140534040]
mulss xmm1, dword [0x14053402c]
lea edx, [rax + 0x10]
addss xmm0, dword [rbx + 0x120]
addss xmm1, dword [rbx + 0x124]
mov qword [rbx + 0x1de0], rax
mov dword [rbx + 0x1dc4], 1
movss dword [rbx + 0x1dd8], xmm0
mov byte [rbx + 0x1e00], 1
movss dword [rbx + 0x1ddc], xmm1
movss xmm0, dword [rbx + 0x1748]
mulss xmm0, dword [0x140533f58]
or dword [rbx + 0x1dc0], 0x41
movss dword [rbx + 0x1e28], xmm0
call fcn.14002e030
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov edx, r10d
test r9b, r9b
je 0x14003e970
lea r11, [0x140524d00]
nop
cmp r9b, 0x23
jne 0x14003e953
cmp byte [r8], r9b
jne 0x14003e953
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 0x14003e940
mov rcx, qword [0x1407065c0]
not edx
add rcx, 0x1cf8
call fcn.14002e6a0
test rax, rax
je 0x14003e9c4
cmp byte [rax + 0xcf], 0
je 0x14003e9c4
mov byte [rax + 0xd6], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xf0], 1
lea rcx, [rsp + 0x20]
inc dword [rbx + 0x3970]
mov edx, reloc.WS2_32.dll_recv
mov r9d, dword [rbx + 0x3970]
call fcn.14002e030
xor r9d, r9d
lea rcx, [rsp + 0x20]
xor edx, edx
mov r8d, 0x22c0347
call fcn.140039d80
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1400e9c90
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x1400435e0
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 + 0x3a58], 0
lea rbx, [rcx + 0x3a60]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x140043687
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x14004363a
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.14004f0c0
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.14002ea30
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x3a58]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x3a68]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x1407065a3]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x14004368f
mov rcx, rbx
call fcn.14002ea30
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x140043ad0
Capabilities:
Hash data with crc32

Disassembly:
push rbx
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10d, 0xffffffff
mov rbx, rcx
mov eax, r10d
test r9b, r9b
je 0x140043b22
lea r11, [0x140524d00]
cmp r9b, 0x23
jne 0x140043b05
cmp byte [r8], r9b
jne 0x140043b05
cmp byte [r8 + 1], r9b
cmove eax, r10d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [r11 + rdx*4]
test r9b, r9b
jne 0x140043af2
mov r11, qword [0x1407065c0]
mov r10, qword [r11 + 0x3a20]
test r10, r10
je 0x140043b69
lea r9, [r10 + 4]
test r9, r9
je 0x140043b69
not eax
cmp dword [r9], eax
je 0x140043b72
movsxd r8, dword [r9 - 4]
movsxd rdx, dword [r11 + 0x3a18]
add r8, r9
add rdx, 4
xor r9d, r9d
add rdx, r10
cmp r8, rdx
cmovne r9, r8
test r9, r9
jne 0x140043b40
mov rcx, rbx
pop rbx
jmp fcn.1400439e0
mov rax, r9
pop rbx
ret
Function at 0x140046d70
Capabilities:
Hash data with crc32

Disassembly:
test r8d, r8d
jle 0x140046f6c
mov r11, rsp
push rbp
push rsi
sub rsp, 0x58
mov rax, qword [0x140554040]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov qword [r11 - 0x18], rdi
mov rbp, rcx
mov qword [r11 - 0x20], r14
lea rdi, [rdx + 0x18]
mov qword [r11 - 0x28], r15
mov r14d, 0xffffffff
lea r15, [0x140524d00]
mov qword [r11 + 0x18], rbx
movsxd rsi, r8d
nop dword [rax + rax]
mov edx, dword [rdi - 0x18]
test edx, edx
je 0x140046f34
mov rcx, rbp
call fcn.1400466c0
mov edx, dword [rdi - 0x14]
mov rbx, rax
test edx, edx
je 0x140046dee
lea rcx, [rbp + 0x39b8]
call fcn.14002e6a0
mov r11, rax
jmp 0x140046df1
xor r11d, r11d
mov qword [rbx + 0x10], r11
movsx eax, word [rdi]
movd xmm1, eax
movsx eax, word [rdi + 2]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
movss dword [rbx + 0x40], xmm1
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0x44], xmm0
movsx eax, word [rdi + 4]
movd xmm1, eax
movsx eax, word [rdi + 6]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
movss dword [rbx + 0x48], xmm1
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0x4c], xmm0
movsx eax, word [rdi + 8]
movd xmm1, eax
movsx eax, word [rdi + 0xa]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
mov eax, dword [rbx + 0xb8]
and eax, 0xfffffe49
movss dword [rbx + 0x50], xmm1
or eax, 0x49
mov dword [rbx + 0xb8], eax
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0x54], xmm0
test r11, r11
je 0x140046e85
cmp qword [r11 + 0x18], 0
jne 0x140046e7a
mov qword [r11 + 0x18], rbx
jmp 0x140046e85
cmp qword [r11 + 0x20], 0
jne 0x140046e85
mov qword [r11 + 0x20], rbx
mov eax, dword [rdi - 0xc]
mov r9, rbx
mov dword [rbx + 0xb0], eax
movsx eax, byte [rdi - 8]
mov dword [rbx + 0x58], eax
mov eax, dword [rdi - 4]
and eax, 0x61fc20
or dword [rbx + 8], eax
mov rax, qword [rbx + 0x10]
test rax, rax
je 0x140046ebc
nop dword [rax]
mov r9, rax
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x140046eb0
mov r9d, dword [r9]
lea r8, str.DockNode__02X
mov edx, reloc.WS2_32.dll_sendto
lea rcx, [rsp + 0x20]
call fcn.14002e030
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov edx, r14d
test r9b, r9b
je 0x140046f18
cmp r9b, 0x23
jne 0x140046efb
cmp byte [r8], r9b
jne 0x140046efb
cmp byte [r8 + 1], r9b
cmove edx, r14d
movzx ecx, dl
movzx eax, r9b
movzx r9d, byte [r8]
xor rcx, rax
shr edx, 8
inc r8
xor edx, dword [r15 + rcx*4]
test r9b, r9b
jne 0x140046ee8
mov rcx, qword [0x1407065c0]
not edx
add rcx, 0x1cf8
call fcn.14002e6a0
mov qword [rbx + 0x80], rax
add rdi, 0x24
sub rsi, 1
jne 0x140046dc0
mov r15, qword [rsp + 0x40]
mov r14, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1400e9c90
add rsp, 0x58
pop rsi
pop rbp
ret
Function at 0x14005d9b0
Capabilities:
Log keystrokes via polling

Disassembly:
sub rsp, 0x48
mov rax, qword [0x140554040]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rcx, qword [0x1407070f8]
lea rdx, [rsp + 0x20]
xorps xmm0, xmm0
mov qword [rsp + 0x40], rdi
mov rdi, qword [0x1407065c0]
movdqu xmmword [rsp + 0x20], xmm0
call qword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [rsp + 0x28]
sub eax, dword [rsp + 0x20]
movd xmm1, eax
mov eax, dword [rsp + 0x2c]
sub eax, dword [rsp + 0x24]
cmp byte [0x140704af9], 0
cvtdq2ps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rdi + 0x10], xmm1
movss dword [rdi + 0x14], xmm0
je 0x14005da77
mov qword [rsp + 0x50], rbx
mov rbx, qword [0x1407065c0]
mov ecx, dword [rbx + 0x161c]
test ecx, ecx
jns 0x14005da4d
mov eax, ecx
cdq
sub eax, edx
xor edx, edx
sar eax, 1
add eax, ecx
lea rcx, [rbx + 0x1618]
test eax, eax
cmovg edx, eax
call fcn.14004ecd0
xor r9d, r9d
mov dword [rbx + 0x1618], 0
lea r8, [0x14005d720]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.USER32.dll_EnumDisplayMonitors]
mov rbx, qword [rsp + 0x50]
mov byte [0x140704af9], 0
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x30], 0
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rcx, qword [rsp + 0x30]
xorps xmm1, xmm1
mov rax, rcx
xorps xmm0, xmm0
sub rax, qword [0x140707100]
cvtsi2ss xmm0, qword [0x140707108]
cvtsi2ss xmm1, rax
divss xmm1, xmm0
movss dword [rdi + 0x18], xmm1
mov qword [0x140707100], rcx
mov ecx, reloc.WS2_32.dll_recvfrom
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov ecx, reloc.WS2_32.dll_recv
and al, 1
mov byte [rdi + 0x13c], al
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov ecx, send
and al, 1
mov byte [rdi + 0x13d], al
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
mov byte [rdi + 0x13f], 0
mov byte [rdi + 0x13e], al
call fcn.14005d230
cmp byte [rdi + 0xcf], 0
mov rdi, qword [rsp + 0x40]
je 0x14005db21
mov eax, 0xffffffff
jmp 0x14005db2e
mov rax, qword [0x1407065c0]
mov eax, dword [rax + 0x20d8]
cmp dword [reloc.WS2_32.dll_htons], eax
je 0x14005db41
mov dword [reloc.WS2_32.dll_htons], eax
call fcn.14005d0b0
call fcn.14005d440
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1400e9c90
add rsp, 0x48
ret
Function at 0x1400728f0
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x160
mov rax, qword [0x140554040]
xor rax, rsp
mov qword [rsp + 0x150], rax
xor edx, edx
mov dword [rsp + 0x20], pe_nt_image_headers64
mov rbx, rcx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x1400729a7
lea rdx, [rsp + 0x20]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32First]
cmp qword [rbx + 0x18], 0xf
mov rcx, rbx
jbe 0x140072949
mov rcx, qword [rbx]
lea rdx, [rsp + 0x4c]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
test eax, eax
je 0x1400729ab
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
je 0x14007299e
nop word [rax + rax]
cmp qword [rbx + 0x18], 0xf
mov rcx, rbx
jbe 0x14007297d
mov rcx, qword [rbx]
lea rdx, [rsp + 0x4c]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
test eax, eax
je 0x1400729ab
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x140072970
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x1400729b8
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rsp + 0x28]
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.1400e9c90
mov rbx, qword [rsp + 0x178]
add rsp, 0x160
pop rdi
ret

Function at 0x1400733f0
Capabilities:
Hash data with md5

Disassembly:
mov r11, rsp
mov qword [r11 + 0x20], rbx
push rdi
sub rsp, 0xe0
mov rax, qword [0x140554040]
xor rax, rsp
mov qword [rsp + 0xd0], rax
xor edi, edi
mov dword [r11 - 0x3c], 0x67452301
mov qword [r11 - 0x28], rdi
mov rbx, r8
mov dword [r11 - 0x38], 0xefcdab89
mov r8d, edx
mov dword [r11 - 0x34], 0x98badcfe
mov rdx, rcx
mov dword [r11 - 0x30], 0x10325476
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x60], rdi
mov dword [rsp + 0x68], edi
call fcn.1400dcfa0
test eax, eax
jne 0x140073466
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x60]
call fcn.1400dd110
mov dword [rbx], eax
test eax, eax
jne 0x140073491
movzx eax, byte [rsp + 0x21]
movzx ecx, byte [rsp + 0x20]
shl ecx, 8
or ecx, eax
movzx eax, byte [rsp + 0x22]
shl ecx, 8
or ecx, eax
movzx eax, byte [rsp + 0x23]
shl ecx, 8
or eax, ecx
jmp 0x140073493
mov eax, edi
mov rcx, qword [rsp + 0xd0]
xor rcx, rsp
call fcn.1400e9c90
mov rbx, qword [rsp + 0x108]
add rsp, 0xe0
pop rdi
ret
Function at 0x1400782d0
Capabilities:
Read file on windows

Disassembly:
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x480
mov rax, qword [0x140554040]
xor rax, rsp
mov qword [rsp + 0x460], rax
mov r13, rcx
lea rdi, [rsp + 0x60]
mov rcx, qword [rsp + 0x4e0]
xor r15d, r15d
mov qword [rsp + 0x50], rcx
mov r14d, r9d
mov rcx, qword [rsp + 0x4f0]
mov r12d, r8d
mov qword [rsp + 0x58], rcx
mov rax, rdx
test rdx, rdx
je 0x1400784ed
lea rdx, [0x1405311cc]
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
mov rsi, rax
test rax, rax
je 0x1400784ed
xor edx, edx
mov qword [rsp + 0x478], rbp
lea r8d, [r15 + 2]
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x1400784dd
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
xor r8d, r8d
xor edx, edx
mov rcx, rsi
movsxd rbp, eax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x1400784dd
lea ecx, [rbp - 1]
cmp ecx, 0x3fffff
ja 0x1400784dd
cmp ebp, 0x400
jle 0x1400783cb
mov rax, qword [0x140706608]
mov rcx, rbp
test rax, rax
je 0x1400783b3
call rax
jmp 0x1400783b9
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rdi, rax
test rax, rax
je 0x1400784dd
mov r15d, 1
mov r9, rsi
mov r8, rbp
mov edx, 1
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
cmp rax, rbp
je 0x1400783ee
mov ebx, 0xfffffffc
jmp 0x140078484
cmp r14d, 5
je 0x1400783fa
cmp r14d, 0xf
jne 0x14007842d
cmp r12d, 1
jne 0x14007842d
mov eax, dword [rsp + 0x4f8]
mov r9d, r12d
mov dword [rsp + 0x30], eax
mov r8d, ebp
mov rax, qword [rsp + 0x50]
mov rdx, rdi
mov qword [rsp + 0x28], rax
mov rcx, r13
mov dword [rsp + 0x20], r14d
call fcn.1400781a0
jmp 0x140078482
mov eax, dword [rsp + 0x4f8]
mov r9d, r12d
mov r8d, ebp
mov rdx, rdi
cmp r14d, 4
jne 0x140078453
mov rcx, qword [rsp + 0x58]
mov dword [rsp + 0x20], eax
call fcn.1400e0980
jmp 0x140078482
mov dword [rsp + 0x40], eax
mov rcx, r13
mov eax, dword [rsp + 0x4e8]
mov dword [rsp + 0x38], eax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r14d
call fcn.140076d80
mov ebx, eax
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r15d, r15d
je 0x1400784b0
test rdi, rdi
je 0x1400784b0
mov rax, qword [0x1407065f8]
mov rcx, rdi
test rax, rax
je 0x1400784aa
call rax
jmp 0x1400784b0
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov eax, ebx
mov rbp, qword [rsp + 0x478]
mov rcx, qword [rsp + 0x460]
xor rcx, rsp
call fcn.1400e9c90
add rsp, 0x480
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov eax, 0xfffffffc
jmp 0x1400784b2
mov eax, 0xfffffffc
jmp 0x1400784ba
Function at 0x140078a10
Capabilities:
Generate random numbers via winapi

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
test rcx, rcx
jne 0x140078a29
mov eax, 0xffffff53
add rsp, 0x20
pop rbx
ret
mov eax, dword [rcx + 0x2b8]
cmp eax, 0xe
je 0x140078ac7
mov rcx, qword [rcx + 0x2b0]
test rcx, rcx
je 0x140078a7e
test eax, eax
je 0x140078a5c
nop dword [rax + rax]
mov byte [rcx], 0
lea rcx, [rcx + 1]
add eax, 0xffffffff
jne 0x140078a50
mov rcx, qword [rbx + 0x2b0]
test rcx, rcx
je 0x140078a7e
mov rax, qword [0x1407065f8]
test rax, rax
je 0x140078a78
call rax
jmp 0x140078a7e
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rax, qword [0x140706608]
mov ecx, reloc.WS2_32.dll_ntohl
test rax, rax
je 0x140078a93
call rax
jmp 0x140078a99
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
test rax, rax
jne 0x140078ab6
mov qword [rbx + 0x2b0], rax
mov dword [rbx + 0x2b8], eax
mov eax, 0xfffffed1
add rsp, 0x20
pop rbx
ret
mov qword [rbx + 0x2b0], rax
mov dword [rbx + 0x2b8], reloc.WS2_32.dll_ntohl
mov rdx, qword [rbx + 0x2b0]
mov r8d, reloc.WS2_32.dll_ntohl
mov rcx, qword [rbx + 0x98]
add rsp, 0x20
pop rbx
jmp fcn.1400df7a0
Function at 0x1400856c0
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 8
xor eax, eax
mov r10, rcx
mov r9d, eax
test r8d, r8d
jle 0x140085792
cmp r8d, 8
jb 0x140085792
mov qword [rsp + 0x10], rbx
lea r11, [rdx + 4]
mov qword [rsp], rdi
sub rcx, rdx
movsxd rbx, r8d
mov rdi, 0xfffffffffffffffc
and rbx, 0xfffffffffffffff8
xorps xmm4, xmm4
sub rdi, rdx
xorps xmm3, xmm3
nop word [rax + rax]
movd xmm2, dword [rcx + r11 - 4]
xorps xmm0, xmm0
movd xmm1, dword [r11 - 4]
lea r11, [r11 + 8]
punpcklbw xmm2, xmm0
lea rax, [rdi + r11]
punpcklwd xmm2, xmm0
add r9d, 8
punpcklbw xmm1, xmm0
punpcklwd xmm1, xmm0
xorps xmm2, xmm1
movd xmm1, dword [r11 - 8]
punpcklbw xmm1, xmm0
orps xmm4, xmm2
movd xmm2, dword [rcx + r11 - 8]
punpcklbw xmm2, xmm0
punpcklwd xmm2, xmm0
punpcklwd xmm1, xmm0
xorps xmm2, xmm1
orps xmm3, xmm2
cmp rax, rbx
jl 0x140085710
mov rdi, qword [rsp]
orps xmm3, xmm4
mov rbx, qword [rsp + 0x10]
movdqa xmm0, xmm3
psrldq xmm0, 8
orps xmm3, xmm0
movdqa xmm0, xmm3
psrldq xmm0, 4
orps xmm3, xmm0
movd eax, xmm3
movsxd r11, r9d
movsxd r9, r8d
cmp r11, r9
jge 0x1400857c8
sub r10, rdx
lea rcx, [r11 + rdx]
sub r9, r11
nop word [rax + rax]
movzx r8d, byte [rcx + r10]
movzx edx, byte [rcx]
lea rcx, [rcx + 1]
xor r8d, edx
or eax, r8d
sub r9, 1
jne 0x1400857b0
add rsp, 8
ret
Function at 0x140088150
Capabilities:
Hash data using sha1
Hash data using sha256
Hash data using sha384
Hash data using sha512

Disassembly:
push rbx
sub rsp, 0x20
cmp qword [rcx + 0x80], 0
mov rbx, rcx
je 0x140088168
call fcn.140088400
mov rax, qword [0x140706608]
mov ecx, 0x470
test rax, rax
je 0x14008817d
call rax
jmp 0x140088183
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [rbx + 0x80], rax
test rax, rax
jne 0x14008819a
mov eax, 0xffffff83
add rsp, 0x20
pop rbx
ret
xor edx, edx
mov r8d, 0x470
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
mov rcx, qword [rbx + 0x80]
add rcx, 0x1d0
je 0x1400883f4
mov rax, qword [rbx + 0xb0]
xor r8d, r8d
mov qword [rcx + 0x60], rax
mov qword [rcx], r8
mov dword [rcx + 8], r8d
mov dword [rcx + 0x4c], 0x67452301
mov dword [rcx + 0x50], 0xefcdab89
mov dword [rcx + 0x54], 0x98badcfe
mov dword [rcx + 0x58], 0x10325476
mov rcx, qword [rbx + 0x80]
add rcx, 0x168
je 0x1400883f4
mov rax, qword [rbx + 0xb0]
mov qword [rcx + 0x60], rax
mov dword [rcx + 0x4c], 0x67452301
mov dword [rcx + 0x50], 0xefcdab89
mov dword [rcx + 0x54], 0x98badcfe
mov dword [rcx + 0x58], 0x10325476
mov dword [rcx + 0x5c], 0xc3d2e1f0
mov qword [rcx], r8
mov dword [rcx + 8], r8d
mov rax, qword [rbx + 0x80]
mov rcx, qword [rbx + 0xb0]
add rax, 0x238
je 0x1400883f4
xorps xmm0, xmm0
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
mov qword [rax + 0x70], rcx
mov dword [rax], 0x6a09e667
mov dword [rax + 4], 0xbb67ae85
mov dword [rax + 8], 0x3c6ef372
mov dword [rax + 0xc], 0xa54ff53a
mov dword [rax + 0x10], 0x510e527f
mov dword [rax + 0x14], 0x9b05688c
mov dword [rax + 0x18], 0x1f83d9ab
mov dword [rax + 0x1c], 0x5be0cd19
mov qword [rax + 0x60], r8
mov dword [rax + 0x68], r8d
mov rcx, qword [rbx + 0x80]
add rcx, 0x2b0
je 0x1400883f4
mov rax, qword [rbx + 0xb0]
mov qword [rcx + 0xd8], rax
movabs rax, 0xcbbb9d5dc1059ed8
mov qword [rcx], rax
movabs rax, 0x629a292a367cd507
mov qword [rcx + 8], rax
movabs rax, 0x9159015a3070dd17
mov qword [rcx + 0x10], rax
movabs rax, 0x152fecd8f70e5939
mov qword [rcx + 0x18], rax
movabs rax, 0x67332667ffc00b31
mov qword [rcx + 0x20], rax
movabs rax, 0x8eb44a8768581511
mov qword [rcx + 0x28], rax
movabs rax, 0xdb0c2e0d64f98fa7
mov qword [rcx + 0x30], rax
movabs rax, 0x47b5481dbefa4fa4
mov qword [rcx + 0x38], rax
mov dword [rcx + 0xc0], r8d
mov qword [rcx + 0xc8], r8
mov qword [rcx + 0xd0], r8
mov rcx, qword [rbx + 0x80]
add rcx, 0x390
je 0x1400883f4
mov rax, qword [rbx + 0xb0]
movabs rdx, 0xa54ff53a5f1d36f1
mov qword [rcx + 0xd8], rax
movabs rax, 0x6a09e667f3bcc908
mov qword [rcx + 0x18], rdx
movabs rdx, 0x510e527fade682d1
mov qword [rcx + 0x20], rdx
movabs rdx, 0x9b05688c2b3e6c1f
mov qword [rcx], rax
movabs rax, 0xbb67ae8584caa73b
mov qword [rcx + 0x28], rdx
movabs rdx, 0x1f83d9abfb41bd6b
mov qword [rcx + 8], rax
movabs rax, 0x3c6ef372fe94f82b
mov qword [rcx + 0x30], rdx
movabs rdx, 0x5be0cd19137e2179
mov qword [rcx + 0x10], rax
mov eax, r8d
mov qword [rcx + 0x38], rdx
mov dword [rcx + 0xc0], r8d
mov qword [rcx + 0xc8], r8
mov qword [rcx + 0xd0], r8
add rsp, 0x20
pop rbx
ret
mov eax, 0xffffff53
add rsp, 0x20
pop rbx
ret