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

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x1da1f06d028]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x1da1f036abd
xor eax, eax
jmp 0x1da1f036c03
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x1da1f036af7
mov rax, qword [rcx + 0x58]
movsxd r8, dword [rax]
lea rcx, [rdx + r8]
cmp rdx, rcx
jae 0x1da1f036af7
lea ecx, [r8 - 1]
mov dword [rax], ecx
mov eax, edi
mov rdx, qword [rbx + 0x40]
mov r8, qword [rdx]
lea rcx, [r8 + 1]
mov qword [rdx], rcx
mov byte [r8], dil
jmp 0x1da1f036c03
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x1da1f036bf6
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x1da1f036b3a
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x1da1f036b49
movsx ecx, dil
jmp 0x1da1f036b9d
lea r8, [rsp + 0x40]
mov byte [rsp + 0x50], dil
mov rax, qword [rcx]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x38], r8
lea r9, [rsp + 0x51]
lea r8, [rsp + 0x78]
mov qword [rsp + 0x30], r8
lea r8, [rsp + 0x58]
mov qword [rsp + 0x28], r8
lea r8, [rsp + 0x48]
mov qword [rsp + 0x20], r8
lea r8, [rsp + 0x50]
call qword [rax + 0x38]
test eax, eax
je 0x1da1f036bb7
sub eax, 1
je 0x1da1f036bb7
cmp eax, 2
jne 0x1da1f036bf6
movsx ecx, byte [rsp + 0x50]
mov rdx, qword [rbx + 0x80]
call fcn.1da1f0412fc
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x1da1f036bfb
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x1da1f036be4
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x58]
mov r8, rsi
mov edx, 1
call fcn.1da1f041cf0
cmp rsi, rax
jne 0x1da1f036bf6
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov eax, edi
jne 0x1da1f036bfb
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.1da1f03a220
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x1da1f0388e0
Capabilities:
Enumerate pe sections
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x30
movsxd rsi, dword [rdx + 0x3c]
xor r9d, r9d
add rsi, rdx
mov qword [rcx], rdx
mov r15, rdx
mov qword [rcx + 8], rsi
mov r14, rcx
mov r10d, r9d
movzx eax, word [rsi + 0x14]
lea r8, [rsi + 0x18]
movzx ebp, word [rsi + 6]
add r8, rax
mov ebx, dword [rsi + 0x90]
mov qword [rcx + 0x10], r8
cmp r9w, bp
jae 0x1da1f03897c
mov rdx, r8
nop dword [rax]
nop dword [rax + rax]
mov r11, qword [rdx + 8]
mov ecx, dword [rdx + 8]
movups xmm0, xmmword [rdx + 0x10]
shr r11, 0x20
add ecx, r11d
movups xmmword [rsp + 0x10], xmm0
cmp ebx, ecx
ja 0x1da1f038960
cmp ebx, r11d
jae 0x1da1f03896e
inc r10d
add rdx, 0x28
cmp r10d, ebp
jl 0x1da1f038940
jmp 0x1da1f03897c
mov rax, qword [rsp + 0x10]
shr rax, 0x20
sub eax, r11d
add ebx, eax
mov edi, dword [rsi + 0xb0]
mov edx, r9d
mov eax, ebx
mov ebx, ebp
add rax, r15
mov qword [r14 + 0x18], rax
test ebp, ebp
je 0x1da1f038a34
mov r10, r8
nop dword [rax + rax]
mov r11, qword [r10 + 8]
mov ecx, dword [r10 + 8]
movups xmm0, xmmword [r10 + 0x10]
shr r11, 0x20
add ecx, r11d
movups xmmword [rsp + 0x10], xmm0
cmp edi, ecx
ja 0x1da1f0389c2
cmp edi, r11d
jae 0x1da1f038a10
inc edx
add r10, 0x28
cmp edx, ebx
jl 0x1da1f0389a0
lea rax, [r15 + rdi]
mov r11d, dword [rsi + 0x88]
mov r10d, r11d
mov qword [r14 + 0x28], rax
nop
mov rdx, qword [r8 + 8]
mov ecx, dword [r8 + 8]
movups xmm0, xmmword [r8 + 0x10]
shr rdx, 0x20
add ecx, edx
movups xmmword [rsp + 0x10], xmm0
cmp r11d, ecx
ja 0x1da1f038a02
cmp r11d, edx
jae 0x1da1f038a23
inc r9d
add r8, 0x28
cmp r9d, ebx
jl 0x1da1f0389e0
jmp 0x1da1f038a43
mov rax, qword [rsp + 0x10]
shr rax, 0x20
sub eax, r11d
add eax, edi
add rax, r15
jmp 0x1da1f0389d0
mov r10, qword [rsp + 0x10]
shr r10, 0x20
sub r10d, edx
add r10d, r11d
jmp 0x1da1f038a43
mov r10d, dword [rsi + 0x88]
lea rax, [r15 + rdi]
mov qword [r14 + 0x28], rax
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov eax, r10d
add rax, r15
mov qword [r14 + 0x20], rax
mov eax, dword [rsi + 0x50]
mov dword [r14 + 0x30], eax
mov eax, dword [rsi + 0x54]
mov rsi, qword [rsp + 0x60]
mov dword [r14 + 0x34], eax
add rsp, 0x30
pop r15
pop r14
pop rdi
ret
Function at 0x1da1f038e30
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov eax, dword [rcx + 0x3c]
mov ebx, edx
mov r11, rcx
mov r8d, dword [rax + rcx + 0x88]
add r8, rcx
mov r9d, dword [r8 + 0x20]
mov edi, dword [r8 + 0x1c]
add r9, rcx
mov esi, dword [r8 + 0x24]
add rdi, rcx
mov r10d, dword [r8 + 0x18]
add rsi, rcx
xor r8d, r8d
test r10d, r10d
je 0x1da1f038eb3
mov eax, dword [r9]
xor edx, edx
add rax, r11
movzx ecx, byte [rax]
test cl, cl
je 0x1da1f038ea3
nop dword [rax]
nop word [rax + rax]
movsx ecx, cl
lea rax, [rax + 1]
xor edx, ecx
movzx ecx, byte [rax]
ror edx, 8
test cl, cl
jne 0x1da1f038e90
cmp edx, ebx
je 0x1da1f038eb3
inc r8d
add r9, 4
cmp r8d, r10d
jb 0x1da1f038e73
cmp r8d, r10d
jne 0x1da1f038eca
xor eax, eax
mov rbx, qword [rsp + 8]
mov rsi, qword [rsp + 0x10]
mov rdi, qword [rsp + 0x18]
ret
movzx ecx, word [rsi + r8*2]
mov rbx, qword [rsp + 8]
mov rsi, qword [rsp + 0x10]
mov eax, dword [rdi + rcx*4]
mov rdi, qword [rsp + 0x18]
add rax, r11
ret

Function at 0x1da1f038ef0
Capabilities:
Access peb ldr_data
Encode data using xor
Get kernel32 base address
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x50
mov rax, qword gs:[0x60]
mov esi, edx
mov rdi, rcx
mov r8, qword [rax + 0x18]
mov r11, qword [r8 + 0x10]
mov r10, r11
cmp qword [r11], r11
je 0x1da1f038f47
nop dword [rax + rax]
mov rcx, qword [r10 + 0x60]
mov rdx, rdi
call fcn.1da1f039010
test eax, eax
je 0x1da1f038f3a
mov r10, qword [r10]
cmp qword [r10], r11
jne 0x1da1f038f20
jmp 0x1da1f038f47
mov rcx, qword [r10 + 0x30]
test rcx, rcx
jne 0x1da1f038ff3
mov edx, 0x694f0816
mov qword [rsp + 0x60], rbx
lea rcx, [rsp + 0x30]
mov dword [rsp + 0x30], 0x74006e
mov dword [rsp + 0x34], 0x6c0064
mov dword [rsp + 0x38], 0x2e006c
mov dword [rsp + 0x3c], 0x6c0064
mov dword [rsp + 0x40], 0x6c
call fcn.1da1f038ef0
mov edx, 0x60467844
lea rcx, [rsp + 0x30]
mov rbx, rax
call fcn.1da1f038ef0
mov rdx, rdi
lea rcx, [rsp + 0x20]
call rax
lea r9, [rsp + 0x70]
xor edx, edx
lea r8, [rsp + 0x20]
xor ecx, ecx
call rbx
mov rax, qword gs:[0x60]
mov rbx, qword [rsp + 0x60]
mov rcx, qword [rax + 0x18]
mov r11, qword [rcx + 0x10]
mov r10, r11
cmp qword [r11], r11
je 0x1da1f039004
nop dword [rax]
mov rcx, qword [r10 + 0x60]
mov rdx, rdi
call fcn.1da1f039010
test eax, eax
je 0x1da1f038fea
mov r10, qword [r10]
cmp qword [r10], r11
je 0x1da1f039004
jmp 0x1da1f038fd0
mov rcx, qword [r10 + 0x30]
test rcx, rcx
je 0x1da1f039004
mov edx, esi
mov rsi, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
jmp fcn.1da1f038e30
mov ecx, 1
call fcn.1da1f040bc0
int3
Function at 0x1da1f040bc0
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov ebx, ecx
test r8d, r8d
jne 0x1da1f040a97
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1da1f040a97
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1da1f040a97
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1da1f040a97
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1da1f040a97
cmp dword [rcx + 0x84], 0xe
jbe 0x1da1f040a97
cmp dword [rcx + 0xf8], 0
je 0x1da1f040a97
mov ecx, ebx
call fcn.1da1f040b38
lea rax, [rbp + 0x18]
mov byte [rbp + 0x28], 0
mov qword [rbp - 0x20], rax
lea r9, [rbp - 0x2c]
lea rax, [rbp + 0x20]
mov qword [rbp - 0x18], rax
lea r8, [rbp - 0x20]
lea rax, [rbp + 0x28]
mov qword [rbp - 0x10], rax
lea rdx, [rbp - 0x28]
mov eax, 2
lea rcx, [rbp - 0x30]
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
call fcn.1da1f040928
cmp dword [rbp + 0x20], 0
je 0x1da1f040ae4
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.1da1f040aec
int3
xor r8d, r8d
xor edx, edx
jmp 0x1da1f040a30
Function at 0x140001f80
Capabilities:
Create directory

Disassembly:
push rdi
mov eax, 0x2020
push rsi
push rbx
call fcn.140004330
sub rsp, rax
mov eax, dword [0x140022100]
mov rsi, rcx
test eax, eax
je 0x140002020
xor ebx, ebx
lea rdi, [0x140020100]
test eax, eax
jg 0x140001fbc
jmp 0x140001fd0
add rbx, 1
cmp dword [0x140022100], ebx
jle 0x140001fd0
mov rdx, qword [rdi + rbx*8]
mov rcx, rsi
call sub.msvcrt.dll_wcscmp
test eax, eax
jne 0x140001fb0
jmp 0x140002007
mov rcx, rsi
call sub.msvcrt.dll_wcslen
cmp rax, 2
jne 0x140001fe5
cmp word [rsi + 2], 0x3a
je 0x140002007
xor edx, edx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x140002070
movsxd rbx, dword [0x140022100]
cmp ebx, 0x3ff
jle 0x140002088
mov eax, 1
add rsp, 0x2020
pop rbx
pop rsi
pop rdi
ret
lea rdi, [rsp + 0x20]
lea rbx, str.HOME
mov r8d, 0x1000
mov rdx, rbx
mov rcx, rdi
call fcn.140001720
test al, al
je 0x1400020aa
movsxd rbx, dword [0x140022100]
mov rcx, rdi
lea rdi, [0x140020100]
call sub.msvcrt.dll__wcsdup
mov qword [rdi + rbx*8], rax
mov eax, dword [0x140022100]
add eax, 1
mov dword [0x140022100], eax
jmp 0x140001fa1
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x140001ff4
xor eax, eax
jmp 0x14000200c
mov rcx, rsi
call sub.msvcrt.dll__wcsdup
add dword [0x140022100], 1
mov rdx, rax
lea rax, [0x140020100]
mov qword [rax + rbx*8], rdx
jmp 0x140002007
mov rcx, rbx
call fcn.140001ee0
nop
nop word cs:[rax + rax]
nop

Function at 0x140002260
Capabilities:
Check if file exists
Delete file
Get file attributes
Move file
Terminate process

Disassembly:
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x70
movaps xmmword [rsp + 0x60], xmm6
mov rcx, qword [0x1400190a0]
test rcx, rcx
je 0x14000229b
mov edx, 0x1388
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x1400022c0
mov rcx, qword [0x1400190a0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [0x14001e0e0], 0
jne 0x1400022d8
movaps xmm6, xmmword [rsp + 0x60]
add rsp, 0x70
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
mov rcx, qword [0x1400190a0]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
jmp 0x14000228e
mov edx, 0x414
lea r12, [rsp + 0x20]
lea rsi, [0x14000c1a0]
mov qword [rsp + 0x20], 0
lea rdi, [0x14001e100]
movq xmm0, rsi
mov rcx, r12
mov dword [rsp + 0x28], 3
movq xmm6, rdi
mov word [rsp + 0x40], dx
mov rbp, qword [sym.imp.SHELL32.dll_SHFileOperationW]
mov ebx, 0x14
punpcklqdq xmm6, xmm0
mov dword [rsp + 0x44], 0
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x50], rsi
movaps xmmword [rsp + 0x30], xmm6
call rbp
mov r13, qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov r14, qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1400023a4
test al, 0x10
je 0x1400022a4
mov ecx, 0x64
call r14
mov eax, 0x414
mov qword [rsp + 0x50], rsi
mov rcx, r12
mov qword [rsp + 0x20], 0
mov dword [rsp + 0x28], 3
mov word [rsp + 0x40], ax
mov dword [rsp + 0x44], 0
mov qword [rsp + 0x48], 0
movaps xmmword [rsp + 0x30], xmm6
call rbp
sub ebx, 1
je 0x1400022a4
mov rcx, rdi
call r13
cmp eax, 0xffffffff
jne 0x140002350
jmp 0x1400022a4
Function at 0x140003efc
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x18], rax
mov dword [rbp - 0xc], 0
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp - 0x18]
add rax, rdx
add rax, 0x18
mov qword [rbp - 8], rax
jmp 0x140003f7a
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x140003f71
mov rax, qword [rbp - 8]
mov edx, dword [rax + 0xc]
mov rax, qword [rbp - 8]
mov eax, dword [rax + 8]
add eax, edx
mov eax, eax
cmp qword [rbp + 0x18], rax
jae 0x140003f71
mov rax, qword [rbp - 8]
jmp 0x140003f8f
add dword [rbp - 0xc], 1
add qword [rbp - 8], 0x28
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 6]
movzx eax, ax
cmp dword [rbp - 0xc], eax
jb 0x140003f44
mov eax, 0
add rsp, 0x20
pop rbp
ret

Function at 0x140001000
Capabilities:
Accept command line arguments
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x70
lea rcx, str._JAVA_LAUNCHER_DEBUG
call qword [sym.imp.MSVCR100.dll_getenv]
test rax, rax
je 0x140001066
lea rcx, str.Windows_original_main_args:_n
call qword [sym.imp.MSVCR100.dll_printf]
mov rax, qword [sym.imp.MSVCR100.dll___argc]
xor ebx, ebx
cmp dword [rax], ebx
jle 0x140001066
xor edi, edi
mov rax, qword [sym.imp.MSVCR100.dll___argv]
lea rcx, str.wwwd_args__d____s_n
mov edx, ebx
mov r8, qword [rax]
mov r8, qword [r8 + rdi]
call qword [sym.imp.MSVCR100.dll_printf]
mov rax, qword [sym.imp.MSVCR100.dll___argc]
inc ebx
add rdi, 8
cmp ebx, dword [rax]
jl 0x140001038
call qword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov rcx, rax
call sub.jli.dll_JLI_CmdToArgs
call sub.jli.dll_JLI_GetStdArgc
movsxd rdi, eax
lea ecx, [rdi + 1]
movsxd rcx, ecx
shl rcx, 3
call sub.jli.dll_JLI_MemAlloc
mov rbx, rax
call sub.jli.dll_JLI_GetStdArgs
xor r9d, r9d
xor edx, edx
test edi, edi
jle 0x1400010b2
mov r9d, edi
mov rcx, qword [rax]
add rax, 0x10
mov qword [rbx + rdx*8], rcx
inc rdx
cmp rdx, rdi
jl 0x14000109f
mov rcx, qword [str.java]
movsxd rax, r9d
and qword [rbx + rax*8], 0
test rcx, rcx
jne 0x1400010c9
mov rcx, qword [rbx]
mov rax, qword [str.java]
test rax, rax
jne 0x1400010d8
mov rax, qword [rbx]
and dword [rsp + 0x68], 0
mov byte [rsp + 0x60], 0
mov byte [rsp + 0x58], 0
mov byte [rsp + 0x50], 1
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x40], rax
lea rax, [0x140002240]
mov r8d, 2
lea r9, str._J_ms8m
mov qword [rsp + 0x38], rax
lea rax, [0x140002230]
mov rdx, rbx
mov qword [rsp + 0x30], rax
lea rax, str._lib_tools.jar
mov ecx, edi
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r8d
call sub.jli.dll_JLI_Launch
mov rbx, qword [rsp + 0x80]
add rsp, 0x70
pop rdi
ret
Function at 0x140934058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.1409341df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x140934089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14093406f
add dl, dl
jne 0x140934096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1409340f6
xor eax, eax
add dl, dl
jne 0x1409340a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1409341ad
add dl, dl
jne 0x1409340b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1409340c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1409340d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1409340dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1409340ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x14093407e
mov eax, 1
add dl, dl
jne 0x140934106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140934113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1409340fb
sub eax, ebx
mov ebx, 1
jne 0x14093414c
mov ecx, 1
add dl, dl
jne 0x14093412e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14093413b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140934123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14093407e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x140934168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140934175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14093415d
cmp eax, 0x7d00
jae 0x14093419b
cmp eax, 0x500
jb 0x140934196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14093407e
cmp eax, 0x7f
ja 0x14093419e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14093407e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1409341d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x14093407e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140003580
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 0x1400035dd
lea rbx, [0x14005fc60]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x1400035c4
cmp r10, 2
jb 0x1400035c4
cmp byte [r9], r8b
jne 0x1400035c4
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 0x1400035a0
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x14000361f
lea rbx, [0x14005fc60]
cmp r8b, 0x23
jne 0x140003603
cmp byte [r9], r8b
jne 0x140003603
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 0x1400035f0
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x140003720
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push r14
sub rsp, 0x20
xor r14d, r14d
mov rsi, r8
test r8, r8
je 0x14000373e
mov qword [r8], r14
lea rdx, [0x14005f798]
call fcn.140003630
mov rbx, rax
test rax, rax
jne 0x140003763
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
mov qword [rsp + 0x30], rbp
mov rcx, rbx
mov qword [rsp + 0x38], rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov ebp, eax
cmp eax, 0xffffffff
je 0x14000388d
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 0x14000388d
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x14000388d
xor r8d, r8d
mov edx, ebp
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x14000388d
cmp rdi, 0xffffffffffffffff
je 0x14000388d
mov rcx, rdi
call fcn.1400082b0
mov rbp, rax
test rax, rax
je 0x14000388d
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 0x14000387a
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov r8, qword [0x140072b88]
test r8, r8
je 0x14000386f
movsx rdx, word [r8 + 0x60a8]
lea rcx, [r8 + 0x60ac]
mov r9d, dword [r8 + 0x3f60]
lea rcx, [rcx + rdx*8]
cmp dword [rcx], r9d
je 0x140003864
lea ecx, [rdx + 1]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
add eax, eax
sub ecx, eax
mov word [r8 + 0x60a8], cx
movsx rax, cx
lea rcx, [r8 + 0x60ac]
lea rcx, [rcx + rax*8]
mov dword [rcx], r9d
mov dword [rcx + 4], r14d
inc word [rcx + 6]
inc dword [r8 + 0x60a4]
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x140003896
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test rsi, rsi
je 0x140003888
mov qword [rsi], rdi
mov rax, rbp
jmp 0x140003898
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rbp, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x140007a70
Capabilities:
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x20
movsxd r8, dword [rcx + 0x100]
lea r11, [0x14005fc60]
mov rax, qword [rcx + 0x108]
mov r9, rcx
movsxd r10, edx
mov ebx, dword [rax + r8*4 - 4]
not ebx
movzx eax, r10b
movzx r8d, bl
shr ebx, 8
xor r8, rax
mov eax, r10d
shr eax, 8
movzx edx, al
mov eax, r10d
xor ebx, dword [r11 + r8*4]
movzx ecx, bl
xor rdx, rcx
shr ebx, 8
shr eax, 0x10
xor ebx, dword [r11 + rdx*4]
movzx ecx, bl
shr ebx, 8
movzx edx, al
xor rdx, rcx
xor ebx, dword [r11 + rdx*4]
movzx ecx, bl
shr ebx, 8
mov edx, r10d
shr rdx, 0x18
xor rdx, rcx
mov rcx, qword [r9]
xor ebx, dword [r11 + rdx*4]
not ebx
cmp dword [rcx + 0x4054], ebx
jne 0x140007b06
mov r8, r10
mov edx, 4
mov ecx, ebx
call fcn.14001c670
mov eax, ebx
add rsp, 0x20
pop rbx
ret

Function at 0x140007b10
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 0x18
mov rax, qword [rcx + 0x108]
lea r9, [0x14005fc60]
movss xmm2, dword [rcx + 0x120]
movss xmm3, dword [rcx + 0x124]
movsxd rcx, dword [rcx + 0x100]
movss xmm0, dword [rdx]
movss xmm1, dword [rdx + 4]
subss xmm0, xmm2
subss xmm1, xmm3
mov r8d, dword [rax + rcx*4 - 4]
not r8d
movzx ecx, r8b
shr r8d, 8
movss dword [rsp], xmm0
movzx eax, byte [rsp]
xor rcx, rax
movss xmm0, dword [rdx + 8]
movzx eax, byte [rsp + 1]
subss xmm0, xmm2
movss dword [rsp + 4], xmm1
movss xmm1, dword [rdx + 0xc]
xor r8d, dword [r9 + rcx*4]
subss xmm1, xmm3
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 2]
movss dword [rsp + 8], xmm0
movss dword [rsp + 0xc], xmm1
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 3]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 4]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 5]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 6]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 7]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 8]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 9]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xa]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xb]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xc]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xd]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xe]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
xor r8d, dword [r9 + rcx*4]
movzx ecx, byte [rsp + 0xf]
movzx edx, r8b
shr r8d, 8
xor rdx, rcx
xor r8d, dword [r9 + rdx*4]
not r8d
mov eax, r8d
add rsp, 0x18
ret