joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14001ecf0
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 + 0x5f90], 0
lea rbx, [rcx + 0x5f98]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x14001ed97
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x14001ed4a
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.1400216a0
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.1400086d0
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x5f90]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x5fa0]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x1400c9b50]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x14001ed9f
mov rcx, rbx
call fcn.1400086d0
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x14001f0c0
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
mov rbx, qword [0x1400c9b40]
xor ebp, ebp
cmp byte [rbx + 0x5ee8], bpl
jne 0x14001f19f
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x14001f198
lea r8, [rsp + 0x30]
mov qword [rsp + 0x30], rbp
call fcn.140007ee0
mov rsi, rax
test rax, rax
je 0x14001f198
mov rdx, qword [rsp + 0x30]
test rdx, rdx
je 0x14001f124
mov rcx, rax
call fcn.14001f2f0
mov r8, qword [0x1400c9b40]
test r8, r8
je 0x14001f18f
movsx rdx, word [r8 + 0x6048]
lea rcx, [r8 + 0x604c]
mov r9d, dword [r8 + 0x3f60]
lea rcx, [rcx + rdx*8]
cmp dword [rcx], r9d
je 0x14001f184
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 + 0x6048], cx
movsx rax, cx
lea rcx, [r8 + 0x604c]
lea rcx, [rcx + rax*8]
mov dword [rcx], r9d
mov dword [rcx + 4], ebp
inc word [rcx + 6]
inc dword [r8 + 0x6044]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov byte [rbx + 0x5ee8], 1
movss xmm0, dword [rbx + 0x5eec]
xorps xmm1, xmm1
comiss xmm0, xmm1
jbe 0x14001f22e
subss xmm0, dword [rbx + 0x18]
comiss xmm1, xmm0
movss dword [rbx + 0x5eec], xmm0
jb 0x14001f22e
mov rdi, qword [rbx + 0x20]
test rdi, rdi
je 0x14001f221
mov rax, qword [0x1400c9b40]
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x30], rbp
mov dword [rax + 0x5eec], ebp
call fcn.14001f550
lea rdx, [0x1400c079c]
mov rcx, rdi
mov rsi, rax
call fcn.140007df0
mov rdi, rax
test rax, rax
je 0x14001f228
mov r8, qword [rsp + 0x30]
mov r9, rax
mov edx, 1
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
jmp 0x14001f228
mov byte [rbx + 0xce], 1
mov dword [rbx + 0x5eec], ebp
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x14001f250
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x1400c9b40]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x14001f2b3
mov qword [rsp], rbx
lea rbx, [0x140053b20]
nop dword [rax]
cmp r9b, 0x23
jne 0x14001f293
cmp byte [r8], r9b
jne 0x14001f293
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 0x14001f280
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x5f00]
not eax
mov r8, qword [r10 + 0x5f08]
lea rdx, [rcx + rcx*8]
lea rcx, [r8 + rdx*8]
cmp r8, rcx
je 0x14001f2df
cmp dword [r8 + 8], eax
je 0x14001f2e6
add r8, 0x48
cmp r8, rcx
jne 0x14001f2d0
xor eax, eax
add rsp, 8
ret
mov rax, r8
add rsp, 8
ret
Function at 0x140035060
Capabilities:
Get geographical location
Get keyboard layout

Disassembly:
mov qword [rsp + 0x18], rbp
push rsi
sub rsp, 0x70
mov rax, qword [0x1400c9040]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov rsi, qword [0x1400c9b40]
mov rbp, rcx
lea rcx, [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x14003527e
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x14003527e
mov qword [rsp + 0x80], rbx
mov ecx, 0x50
mov qword [rsp + 0x88], rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r8, qword [0x1400c9b40]
xor ebx, ebx
mov rdi, rax
test r8, r8
je 0x140035134
movsx rdx, word [r8 + 0x6048]
lea rax, [r8 + 0x604c]
mov r9d, dword [r8 + 0x3f60]
lea rax, [rax + rdx*8]
cmp dword [rax], r9d
je 0x140035129
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 + 0x6048], cx
movsx rax, cx
lea rax, [rax*8 + 0x604c]
add rax, r8
mov dword [rax], r9d
mov dword [rax + 4], ebx
inc word [rax + 4]
inc dword [r8 + 0x6040]
test rdi, rdi
je 0x140035151
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
movups xmmword [rdi + 0x10], xmm0
movups xmmword [rdi + 0x20], xmm0
movups xmmword [rdi + 0x30], xmm0
movups xmmword [rdi + 0x40], xmm0
jmp 0x140035154
mov rdi, rbx
or dword [rsi + 0xc], 6
lea rax, [0x1400c0f68]
mov qword [rsi + 0x80], rax
mov qword [rsi + 0x90], rdi
mov qword [rdi], rbp
mov rax, qword [rsp + 0x58]
mov qword [rdi + 0x20], rax
mov rax, qword [rsp + 0x60]
mov qword [rdi + 0x18], rax
mov dword [rdi + 0x28], 9
test r8, r8
je 0x140035197
mov rsi, qword [r8 + 0x90]
jmp 0x14003519a
mov rsi, rbx
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetKeyboardLayout]
shr rax, 0x10
mov r9d, 4
movzx ecx, ax
lea r8, [rsi + 0x2c]
mov edx, 0x20001004
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jne 0x1400351c5
mov dword [rsi + 0x2c], ebx
mov rax, qword [0x1400c9b40]
mov rcx, qword [rax + 0x4ad0]
mov rax, qword [rcx]
mov qword [rax + 0x28], rbp
lea rax, str.xinput1_4.dll
mov qword [rsp + 0x30], rax
lea rax, str.xinput1_3.dll
mov qword [rsp + 0x38], rax
lea rax, str.xinput9_1_0.dll
mov qword [rsp + 0x40], rax
lea rax, str.xinput1_2.dll
mov qword [rsp + 0x48], rax
lea rax, str.xinput1_1.dll
mov qword [rsp + 0x50], rax
mov byte [rdi + 0x31], 1
nop word [rax + rax]
mov rcx, qword [rsp + rbx*8 + 0x30]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
jne 0x14003523e
inc rbx
cmp rbx, 5
jl 0x140035220
jmp 0x14003526a
lea rdx, str.XInputGetCapabilities
mov qword [rdi + 0x38], rsi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.XInputGetState
mov rcx, rsi
mov qword [rdi + 0x40], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi + 0x48], rax
mov rdi, qword [rsp + 0x88]
mov al, 1
mov rbx, qword [rsp + 0x80]
jmp 0x140035280
xor al, al
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.140051450
mov rbp, qword [rsp + 0x90]
add rsp, 0x70
pop rsi
ret
Function at 0x140051fd0
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14005201a
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14005201a
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14005201a
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14005201a
cmp dword [rcx + 0x84], 0xe
jbe 0x14005201a
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14005201c
xor al, al
add rsp, 0x28
ret
Function at 0x140001040
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x20
call fcn.140001000
mov rcx, qword [rax + 0x18]
mov rbp, qword [rcx + 0x20]
mov r11, rbp
mov rcx, r11
call fcn.140001038
mov r11, qword [r11]
mov r10, qword [rax + 0x30]
test r10, r10
je 0x1400010cb
movsxd rax, dword [r10 + 0x3c]
mov ecx, dword [rax + r10 + 0x88]
test ecx, ecx
je 0x1400010cb
lea rdi, [r10 + rcx]
mov ecx, dword [rdi + 0xc]
add rcx, r10
call fcn.14000100c
mov esi, dword [rdi + 0x20]
xor ebx, ebx
add rsi, r10
mov r14d, eax
cmp dword [rdi + 0x18], ebx
jbe 0x1400010cb
mov ecx, dword [rsi]
add rcx, r10
call fcn.14000100c
add eax, r14d
cmp eax, 0x38d7f3f2
je 0x1400010ed
inc ebx
add rsi, 4
cmp ebx, dword [rdi + 0x18]
jb 0x1400010ac
cmp r11, rbp
jne 0x140001069
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
mov ecx, dword [rdi + 0x24]
add rcx, r10
movzx r8d, word [rcx + rbx*2]
mov ecx, dword [rdi + 0x1c]
add rcx, r10
mov eax, dword [rcx + r8*4]
add rax, r10
jmp 0x1400010d2

Function at 0x140001320
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x60
mov rax, qword [0x140522008]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rsi, r8
mov edi, dword [0x140294270]
lea eax, [rdi - 0x10]
cmp eax, 0x10
ja 0x140001479
lea rcx, [rbp - 0x28]
call fcn.1400014a4
lea rcx, [rbp - 0x28]
call fcn.140001574
nop
mov edx, edi
lea rcx, [rbp - 0x28]
call fcn.14000155c
lea rcx, [rbp - 0x28]
call fcn.140001554
mov rcx, rax
mov r8d, edi
lea rdx, [0x140294274]
call sub.msvcrt.dll_memcpy
lea edx, [rdi + 5]
lea r15, [0x140294270]
mov r14d, dword [rdx + r15]
lea ebx, [rdx + 4]
lea rcx, [rbp - 0x40]
call fcn.1400014a4
lea rcx, [rbp - 0x40]
call fcn.140001574
nop
mov edi, 0x28b7bc
sub rdi, rbx
mov rdx, rdi
lea rcx, [rbp - 0x40]
call fcn.14000155c
lea rdx, [rbx + r15]
lea rcx, [rbp - 0x40]
call fcn.140001554
mov rcx, rax
mov r8, rdi
call sub.msvcrt.dll_memcpy
xor r10d, r10d
lea rcx, [rbp - 0x40]
call fcn.14000154c
test rax, rax
je 0x140001449
lea rcx, [rbp - 0x28]
call fcn.14000154c
mov rcx, rax
xor edx, edx
mov rax, r10
div rcx
lea rcx, [rbp - 0x28]
call fcn.140001544
mov r9, rax
mov rdx, r10
lea rcx, [rbp - 0x40]
call fcn.140001544
mov r8, rax
lea rcx, [rbp - 0x40]
call fcn.140001544
mov cl, byte [r9]
xor cl, byte [r8]
mov byte [rax], cl
inc r10
lea rcx, [rbp - 0x40]
call fcn.14000154c
cmp r10, rax
jb 0x1400013f8
mov rdx, r14
mov rcx, rsi
call fcn.14000155c
mov rdx, rsi
lea rcx, [rbp - 0x40]
call fcn.1400014b4
mov bl, al
lea rcx, [rbp - 0x40]
call fcn.14000156c
nop
lea rcx, [rbp - 0x28]
call fcn.14000156c
mov al, bl
jmp 0x14000147b
xor al, al
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.140002680
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x140001dc0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x40
mov rax, qword [0x140522008]
xor rax, rsp
mov qword [rbp - 0x10], rax
lea rdx, [rbp - 0x20]
mov dword [rbp - 0x20], 0x6e72656b
mov dword [rbp - 0x1c], 0x32336c65
mov dword [rbp - 0x18], 0x6c6c642e
mov byte [rbp - 0x14], 0
call fcn.140001e0c
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.140002680
add rsp, 0x40
pop rbp
ret

Function at 0x140001ebc
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x40
mov rax, qword [0x140522008]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov dword [rbp - 0x20], 0x64616f4c
mov dword [rbp - 0x1c], 0x7262694c
mov dword [rbp - 0x18], 0x41797261
mov byte [rbp - 0x14], 0
call fcn.140001dc0
mov rcx, rax
lea rdx, [rbp - 0x20]
call fcn.140002338
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.140002680
add rsp, 0x40
pop rbp
ret

Function at 0x140001f10
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x40
mov rax, qword [0x140522008]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov dword [rbp - 0x20], 0x50746547
mov dword [rbp - 0x1c], 0x41636f72
mov dword [rbp - 0x18], 0x65726464
mov word [rbp - 0x14], 0x7373
mov byte [rbp - 0x12], 0
call fcn.140001dc0
mov rcx, rax
lea rdx, [rbp - 0x20]
call fcn.140002338
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.140002680
add rsp, 0x40
pop rbp
ret

Function at 0x140002338
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x20
movsxd rax, dword [rcx + 0x3c]
mov rbx, rcx
mov ecx, dword [rax + rcx + 0x88]
add rcx, rbx
mov r14d, dword [rcx + 0x24]
mov esi, dword [rcx + 0x20]
add r14, rbx
mov r15d, dword [rcx + 0x1c]
add rsi, rbx
add r15, rbx
cmp rdx, 0xffff
ja 0x1400023a1
movzx eax, word [rcx + 0x10]
dec ax
movzx ecx, dx
movzx eax, ax
sub rcx, rax
movzx eax, word [r14 + rcx*2]
mov eax, dword [r15 + rax*4]
add rax, rbx
jmp 0x1400023ca
mov r12d, dword [rcx + 0x18]
xor edi, edi
test r12d, r12d
je 0x1400023c8
lea ebp, [rdi + 1]
mov ecx, dword [rsi]
add rcx, rbx
call fcn.140001a5c
test eax, eax
je 0x1400023e9
add edi, ebp
add rsi, 4
cmp edi, r12d
jb 0x1400023af
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop r12
ret
movzx ecx, word [r14 + rdi*2]
mov eax, dword [r15 + rcx*4]
jmp 0x14000239c
Function at 0x140006900
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
push rbp
lea rbp, [rsp - 0x4f0]
sub rsp, 0x5f0
mov rax, qword [0x140522008]
xor rax, rsp
mov qword [rbp + 0x4e0], rax
mov ecx, 0x17
call qword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x14000693c
mov ecx, 5
int 0x29
mov ecx, 2
call fcn.140002ff0
xorps xmm0, xmm0
lea rcx, [rbp + 0x10]
xor eax, eax
xor edx, edx
mov r8d, 0x4d0
mov qword [rbp], rax
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rbp - 0x80], xmm0
movups xmmword [rbp - 0x70], xmm0
movups xmmword [rbp - 0x60], xmm0
movups xmmword [rbp - 0x50], xmm0
movups xmmword [rbp - 0x40], xmm0
movups xmmword [rbp - 0x30], xmm0
movups xmmword [rbp - 0x20], xmm0
movups xmmword [rbp - 0x10], xmm0
call sub.msvcrt.dll_memset
lea rax, [rsp + 0x70]
mov qword [rsp + 0x48], rax
lea rcx, [rbp + 0x10]
lea rax, [rbp + 0x10]
mov qword [rsp + 0x50], rax
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rbx, qword [rbp + 0x108]
lea rdx, [rsp + 0x40]
mov rcx, rbx
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_RtlLookupFunctionEntry]
test rax, rax
je 0x1400069f8
mov rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0x58]
mov qword [rsp + 0x38], 0
mov r9, rax
mov qword [rsp + 0x30], rcx
mov r8, rbx
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x28], rcx
lea rcx, [rbp + 0x10]
mov qword [rsp + 0x20], rcx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_RtlVirtualUnwind]
mov rax, qword [rbp + 0x4f8]
mov qword [rbp + 0x108], rax
lea rax, [rbp + 0x4f8]
add rax, 8
mov dword [rsp + 0x70], 0xc0000417
mov qword [rbp + 0xa8], rax
mov rax, qword [rbp + 0x4f8]
mov qword [rbp - 0x80], rax
mov dword [rsp + 0x74], 1
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
xor ecx, ecx
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
test eax, eax
jne 0x140006a5e
test ebx, ebx
jne 0x140006a5e
lea ecx, [rax + 2]
call fcn.140002ff0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000417
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, qword [rbp + 0x4e0]
xor rcx, rsp
call fcn.140002680
mov rbx, qword [rsp + 0x600]
add rsp, 0x5f0
pop rbp
ret

Function at 0x140006e70
Capabilities:
Parse pe header

Disassembly:
push rbx
sub rsp, 0x40
mov ebx, ecx
mov dword [rsp + 0x60], 0
xor ecx, ecx
mov dword [rsp + 0x68], 2
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140006ed2
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140006ed2
movsxd rdx, dword [rax + 0x3c]
add rdx, rax
cmp dword [rdx], 0x4550
jne 0x140006ed2
mov eax, 0x20b
cmp word [rdx + 0x18], ax
jne 0x140006ed2
cmp dword [rdx + 0x84], 0xe
jbe 0x140006ed2
cmp dword [rdx + 0xf8], 0
je 0x140006ed2
mov ecx, ebx
call fcn.140006d30
lea rax, [rsp + 0x68]
mov byte [rsp + 0x58], 0
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x20]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
lea rcx, [0x140522780]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x30], rax
call fcn.140006bb0
cmp dword [rsp + 0x60], 0
jne 0x140006f15
mov ecx, ebx
call fcn.140006ce0
int3
add rsp, 0x40
pop rbx
ret
Function at 0x140006f60
Capabilities:
Parse pe header

Disassembly:
push rbx
sub rsp, 0x40
xor eax, eax
mov ebx, ecx
xor ecx, ecx
mov dword [rsp + 0x60], eax
mov dword [rsp + 0x68], eax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140006fbc
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140006fbc
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140006fbc
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140006fbc
cmp dword [rcx + 0x84], 0xe
jbe 0x140006fbc
cmp dword [rcx + 0xf8], 0
je 0x140006fbc
mov ecx, ebx
call fcn.140006d30
lea rax, [rsp + 0x68]
mov byte [rsp + 0x58], 0
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x20]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
lea rcx, [0x140522780]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x30], rax
call fcn.140006bb0
cmp dword [rsp + 0x60], 0
jne 0x140006fff
mov ecx, ebx
call fcn.140006ce0
int3
add rsp, 0x40
pop rbx
ret
Function at 0x1400096f0
Capabilities:
Read file on windows

Disassembly:
push rbx
push rsi
push r14
sub rsp, 0x30
mov r14, r8
mov rsi, rdx
mov rbx, rcx
test r8, r8
jg 0x140009712
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbx
ret
cmp qword [rcx + 0x68], 0
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], rdi
je 0x14000978c
mov rdi, r14
mov rcx, rbx
call fcn.14000aca0
test rax, rax
jle 0x140009764
mov rdx, qword [rbx + 0x38]
cmp rdi, rax
mov rbp, rdi
mov rcx, rsi
cmovge rbp, rax
mov r8, rbp
mov rdx, qword [rdx]
call fcn.140083260
mov rax, qword [rbx + 0x50]
sub rdi, rbp
sub dword [rax], ebp
mov rcx, qword [rbx + 0x38]
movsxd rax, ebp
add qword [rcx], rax
jmp 0x14000977c
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x38]
cmp eax, 0xffffffff
je 0x140009784
mov byte [rsi], al
dec rdi
mov ebp, 1
add rsi, rbp
test rdi, rdi
jg 0x140009726
sub r14, rdi
jmp 0x14000986f
mov rax, qword [rcx + 0x38]
mov rbp, r14
mov rdx, qword [rax]
test rdx, rdx
je 0x1400097a3
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x1400097a5
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x1400097d7
cmp rax, r14
mov rdi, r14
mov rcx, rsi
cmovb rdi, rax
mov r8, rdi
call fcn.140083260
mov rax, qword [rbx + 0x50]
add rsi, rdi
sub rbp, rdi
sub dword [rax], edi
mov rcx, qword [rbx + 0x38]
movsxd rax, edi
add qword [rcx], rax
cmp qword [rbx + 0x80], 0
je 0x14000986c
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x140009812
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
cmp rbp, 0xfff
jbe 0x14000984d
nop dword [rax + rax]
mov r9, qword [rbx + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, rsi
call fcn.140060ab4
add rsi, rax
sub rbp, rax
cmp rax, 0xfff
jne 0x14000986c
cmp rbp, rax
ja 0x140009820
test rbp, rbp
je 0x14000986c
mov r9, qword [rbx + 0x80]
mov r8, rbp
mov edx, 1
mov rcx, rsi
call fcn.140060ab4
sub rbp, rax
sub r14, rbp
mov rbp, qword [rsp + 0x28]
mov rax, r14
mov rdi, qword [rsp + 0x20]
add rsp, 0x30
pop r14
pop rsi
pop rbx
ret

Function at 0x14000e410
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 0x14000e46d
lea rbx, [0x1400921f0]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x14000e454
cmp r10, 2
jb 0x14000e454
cmp byte [r9], r8b
jne 0x14000e454
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 0x14000e430
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x14000e4af
lea rbx, [0x1400921f0]
cmp r8b, 0x23
jne 0x14000e493
cmp byte [r9], r8b
jne 0x14000e493
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 0x14000e480
mov rbx, qword [rsp + 8]
not eax
ret
Function at 0x14000e610
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x14000e62a
mov qword [r8], 0
lea rdx, [0x140096688]
call fcn.14000e4c0
mov rbx, rax
test rax, rax
jne 0x14000e64a
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 fcn.140061548
mov esi, eax
cmp eax, 0xffffffff
je 0x14000e718
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 2]
call fcn.140060e84
test eax, eax
jne 0x14000e718
mov rcx, rbx
call fcn.140061548
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x14000e718
xor r8d, r8d
mov edx, esi
mov rcx, rbx
call fcn.140060e84
test eax, eax
jne 0x14000e718
cmp rdi, 0xffffffffffffffff
je 0x14000e718
mov rax, qword [0x1400ced10]
test rax, rax
je 0x14000e6ba
inc dword [rax + 0xf4]
mov rcx, rdi
call fcn.14006a680
mov rsi, rax
test rax, rax
je 0x14000e718
mov r9, rbx
mov r8, rdi
mov edx, 1
mov rcx, rax
call fcn.140060ab4
mov rcx, rbx
cmp rax, rdi
je 0x14000e706
call fcn.14005f830
mov rax, qword [0x1400ced10]
test rax, rax
je 0x14000e6fc
dec dword [rax + 0xf4]
mov rcx, rsi
call fcn.140060690
jmp 0x14000e720
call fcn.14005f830
test r14, r14
je 0x14000e713
mov qword [r14], rdi
mov rax, rsi
jmp 0x14000e722
mov rcx, rbx
call fcn.14005f830
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 0x140011610
Capabilities:
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x20
movsxd r8, dword [rcx + 0x108]
mov rax, qword [rcx + 0x110]
movsxd r9, edx
mov ebx, dword [rax + r8*4 - 4]
lea r8, [0x1400921f0]
not ebx
movzx eax, r9b
movzx ecx, bl
xor rcx, rax
shr ebx, 8
mov eax, r9d
shr eax, 8
movzx edx, al
mov eax, r9d
xor ebx, dword [r8 + rcx*4]
movzx ecx, bl
xor rdx, rcx
shr ebx, 8
shr eax, 0x10
xor ebx, dword [r8 + rdx*4]
movzx ecx, bl
shr ebx, 8
movzx edx, al
xor rdx, rcx
xor ebx, dword [r8 + rdx*4]
movzx ecx, bl
shr ebx, 8
mov edx, r9d
shr rdx, 0x18
xor rdx, rcx
mov rcx, qword [0x1400ced10]
xor ebx, dword [r8 + rdx*4]
not ebx
cmp dword [rcx + 0x401c], ebx
jne 0x1400116a6
mov r8, r9
mov edx, 4
mov ecx, ebx
call fcn.140030ab0
mov eax, ebx
add rsp, 0x20
pop rbx
ret