joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40bda0
Capabilities:
Parse pe header

Disassembly:
cmp word [rcx], 0x5a4d
je 0x40bdb0
xor eax, eax
ret
jmp sym._ValidateImageBase.part.0

Function at 0x40bdc0
Capabilities:
Enumerate pe sections

Disassembly:
movsxd rax, dword [rcx + 0x3c]
add rcx, rax
movzx eax, word [rcx + 0x14]
lea rax, [rcx + rax + 0x18]
movzx ecx, word [rcx + 6]
test ecx, ecx
je 0x40be01
sub ecx, 1
lea rcx, [rcx + rcx*4]
lea r9, [rax + rcx*8 + 0x28]
mov r8d, dword [rax + 0xc]
cmp r8, rdx
mov rcx, r8
ja 0x40bdf8
add ecx, dword [rax + 8]
cmp rcx, rdx
ja 0x40be03
add rax, 0x28
cmp rax, r9
jne 0x40bde4
xor eax, eax
ret

Function at 0x40bea0
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r8, qword [0x004a9410]
cmp word [r8], 0x5a4d
mov rdx, rcx
jne 0x40bf0d
mov rcx, r8
call sym._ValidateImageBase.part.0
test eax, eax
je 0x40bf0d
movsxd rax, dword [r8 + 0x3c]
mov rcx, rdx
sub rcx, r8
add r8, rax
movzx edx, word [r8 + 6]
movzx eax, word [r8 + 0x14]
test edx, edx
lea rax, [r8 + rax + 0x18]
je 0x40bf0d
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop
mov r8d, dword [rax + 0xc]
cmp rcx, r8
mov rdx, r8
jb 0x40bf04
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x40bf0f
add rax, 0x28
cmp rax, r9
jne 0x40bef0
xor eax, eax
add rsp, 0x28
ret

Function at 0x40c010
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r8, qword [0x004a9410]
xor eax, eax
cmp word [r8], 0x5a4d
mov rdx, rcx
je 0x40c030
add rsp, 0x28
ret
mov rcx, r8
call sym._ValidateImageBase.part.0
test eax, eax
je 0x40c028
movsxd rax, dword [r8 + 0x3c]
mov rcx, rdx
sub rcx, r8
add r8, rax
movzx edx, word [r8 + 6]
movzx eax, word [r8 + 0x14]
test edx, edx
lea rax, [r8 + rax + 0x18]
je 0x40c08d
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop dword [rax + rax]
mov r8d, dword [rax + 0xc]
cmp rcx, r8
mov rdx, r8
jb 0x40c084
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x40c094
add rax, 0x28
cmp rax, r9
jne 0x40c070
xor eax, eax
add rsp, 0x28
ret
mov eax, dword [rax + 0x24]
not eax
shr eax, 0x1f
add rsp, 0x28
ret

Function at 0x40c0b0
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r11, qword [0x004a9410]
cmp word [r11], 0x5a4d
mov r9d, ecx
jne 0x40c11e
mov rcx, r11
call sym._ValidateImageBase.part.0
test eax, eax
je 0x40c11e
movsxd rax, dword [r11 + 0x3c]
add rax, r11
mov edx, dword [rax + 0x90]
test edx, edx
je 0x40c11e
movzx ecx, word [rax + 0x14]
lea rcx, [rax + rcx + 0x18]
movzx eax, word [rax + 6]
test eax, eax
je 0x40c11e
sub eax, 1
lea rax, [rax + rax*4]
lea rax, [rcx + rax*8 + 0x28]
mov r10d, dword [rcx + 0xc]
cmp rdx, r10
mov r8, r10
jb 0x40c115
add r8d, dword [rcx + 8]
cmp rdx, r8
jb 0x40c125
add rcx, 0x28
cmp rcx, rax
jne 0x40c100
xor eax, eax
add rsp, 0x28
ret
add rdx, r11
jne 0x40c138
jmp 0x40c11e
sub r9d, 1
add rdx, 0x14
mov ecx, dword [rdx + 4]
test ecx, ecx
jne 0x40c146
mov eax, dword [rdx + 0xc]
test eax, eax
je 0x40c11e
test r9d, r9d
jg 0x40c130
mov eax, dword [rdx + 0xc]
add rax, r11
add rsp, 0x28
ret
Function at 0x14001437f
Capabilities:
Terminate process

Disassembly:
jmp 0x14002cb30
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret
Function at 0x140014631
Capabilities:
Resolve function by parsing pe exports

Disassembly:
jmp 0x140020330
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x2c8
lea rbp, [rsp + 0x20]
lea rcx, [0x1400520f3]
call fcn.140014645
mov qword [rbp + 8], 0
mov rcx, qword [rbp + 0x2c0]
call fcn.1400140a0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [rbp + 0x28], rax
mov rax, qword [rbp + 0x28]
mov qword [rbp + 0x48], rax
mov rax, qword [rbp + 0x48]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rbp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x68], rax
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rbp + 0x68]
mov eax, dword [rcx + rax + 0x88]
mov qword [rbp + 0x88], rax
mov rax, qword [rbp + 0x88]
mov rcx, qword [rbp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0xa8], rax
mov rax, qword [rbp + 0xa8]
mov eax, dword [rax + 0x1c]
mov rcx, qword [rbp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0xc8], rax
mov rax, qword [rbp + 0xa8]
mov eax, dword [rax + 0x20]
mov rcx, qword [rbp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0xe8], rax
mov rax, qword [rbp + 0xa8]
mov eax, dword [rax + 0x24]
mov rcx, qword [rbp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x108], rax
mov dword [rbp + 0x124], 0
jmp 0x140020430
mov eax, dword [rbp + 0x124]
inc eax
mov dword [rbp + 0x124], eax
mov rax, qword [rbp + 0xa8]
mov eax, dword [rax + 0x14]
cmp dword [rbp + 0x124], eax
jae 0x1400204ee
mov eax, dword [rbp + 0x124]
mov rcx, qword [rbp + 0xe8]
mov eax, dword [rcx + rax*4]
mov dword [rbp + 0x144], eax
mov eax, dword [rbp + 0x144]
mov rcx, qword [rbp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x168], rax
mov rax, qword [rbp + 0x168]
mov qword [rbp + 0x188], rax
mov qword [rbp + 0x1a8], 0
mov rcx, qword [rbp + 0x188]
call fcn.14001417c
mov dword [rbp + 0x1c4], eax
mov eax, dword [rbp + 0x2c8]
cmp dword [rbp + 0x1c4], eax
jne 0x1400204e9
mov eax, dword [rbp + 0x124]
mov rcx, qword [rbp + 0x108]
movzx eax, word [rcx + rax*2]
mov rcx, qword [rbp + 0xc8]
mov eax, dword [rcx + rax*4]
mov qword [rbp + 0x1a8], rax
mov rax, qword [rbp + 0x1a8]
mov rcx, qword [rbp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rbp + 8], rax
mov rax, qword [rbp + 8]
jmp 0x1400204ee
jmp 0x140020422
lea rsp, [rbp + 0x2a8]
pop rdi
pop rbp
ret
Function at 0x18000942c
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rcx
mov qword [r11 + 0x10], rdx
mov qword [r11 + 0x18], r8
mov qword [r11 + 0x20], r9
push rbx
sub rsp, 0x30
lea rax, [r11 + 0x10]
mov qword [r11 - 0x18], rax
mov rax, qword gs:[0x60]
mov rcx, qword [rax + 0x18]
mov r9, qword [rcx + 0x10]
mov r8, qword [r9 + 0x30]
movsxd rax, dword [r8 + 0x3c]
mov r10d, dword [rax + r8 + 0x88]
add r10, r8
cmp r10, r8
je 0x1800094c1
xor r11d, r11d
cmp dword [r10 + 0x18], r11d
jbe 0x1800094c1
mov ecx, dword [r10 + 0x20]
add rcx, r8
mov edx, dword [rcx]
mov ebx, 0x811c9dc5
add rdx, r8
mov al, byte [rdx]
inc rdx
test al, al
je 0x1800094b4
movsx eax, al
xor eax, ebx
imul ebx, eax, 0x1000193
mov al, byte [rdx]
inc rdx
test al, al
jne 0x180009498
cmp ebx, 0xaf07e45d
je 0x1800094c6
inc r11d
add rcx, 4
cmp r11d, dword [r10 + 0x18]
jb 0x180009485
mov r9, qword [r9]
jmp 0x18000945d
mov eax, dword [r10 + 0x24]
mov ecx, dword [r10 + 0x1c]
add rax, r8
mov r9, qword [rsp + 0x20]
add rcx, r8
movzx edx, word [rax + r11*2]
mov r10d, dword [rcx + rdx*4]
mov edx, 0x200
add r10, r8
lea rcx, [0x1802a01f0]
mov r8, qword [rsp + 0x40]
call r10
lea rax, [0x1802a01f0]
add rsp, 0x30
pop rbx
ret

Function at 0x180009f44
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 0x18
test rcx, rcx
jne 0x180009f51
xor eax, eax
jmp 0x180009fb9
mov rax, qword [rcx]
test rax, rax
je 0x180009fb9
mov r9, qword [rax + 0x10]
test r9, r9
jne 0x180009f66
xor eax, eax
jmp 0x180009fb9
mov r10, r9
mov qword [rsp + 8], r9
or edx, 0xffffffff
xor r8d, r8d
mov dword [rsp], r8d
mov ecx, edx
or rax, 0xffffffffffffffff
inc rax
cmp byte [r9 + rax], 0
jne 0x180009f7e
cmp r8d, eax
jae 0x180009fb1
movsx eax, byte [r10]
xor rax, rcx
movzx ecx, al
lea rax, [0x180219380]
shr edx, 8
xor edx, dword [rax + rcx*4]
inc r10
mov qword [rsp + 8], r10
inc r8d
jmp 0x180009f74
not edx
mov eax, edx
jmp 0x180009fb9
add rsp, 0x18
ret
Function at 0x180012d3c
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
sub rsp, 0x28
cmp byte [0x18029f83c], 0
jne 0x180012d96
and qword [rsp + 0x30], 0
lea rcx, [rsp + 0x30]
mov byte [0x18029f83c], 1
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
and qword [rsp + 0x38], 0
lea rcx, [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
xorps xmm0, xmm0
xorps xmm1, xmm1
cvtsi2ss xmm0, qword [rsp + 0x38]
cvtsi2ss xmm1, qword [rsp + 0x30]
movss dword [0x18029fab8], xmm0
movss dword [0x18029f8bc], xmm1
and qword [rsp + 0x30], 0
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
xorps xmm0, xmm0
cvtsi2ss xmm0, qword [rsp + 0x30]
subss xmm0, dword [0x18029f8bc]
divss xmm0, dword [0x18029fab8]
add rsp, 0x28
ret
Function at 0x1800177bc
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov edi, r8d
mov rsi, rdx
mov rbp, rcx
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x180017833
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
test rax, rax
je 0x180017833
mov rdx, rsi
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, eax
add rcx, rbx
and edi, 0xf
jbe 0x180017820
cmp rbx, rcx
jae 0x180017833
movzx eax, word [rbx]
lea rbx, [rbx + rax*2]
add rbx, 2
add edi, 0xffffffff
jne 0x18001780b
cmp rbx, rcx
jae 0x180017833
movzx eax, word [rbx]
neg ax
sbb rax, rax
and rax, rbx
jmp 0x180017835
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x180017d24
Capabilities:
Log keystrokes via polling

Disassembly:
mov rax, rsp
push rbx
sub rsp, 0x70
movaps xmmword [rax - 0x18], xmm6
lea rcx, [rax + 8]
movaps xmmword [rax - 0x28], xmm7
movss xmm7, dword [0x18029c1b4]
addss xmm7, dword [0x180280398]
movaps xmmword [rax - 0x38], xmm8
movss xmm8, dword [0x18029c1c4]
addss xmm8, dword [0x180280398]
call qword [sym.imp.USER32.dll_GetCursorPos]
xor ebx, ebx
test eax, eax
je 0x180017e13
movd xmm1, dword [rsp + 0x80]
movaps xmm0, xmm7
movss xmm6, dword [0x1802803ec]
cvtdq2ps xmm1, xmm1
subss xmm0, xmm6
comiss xmm1, xmm0
jb 0x180017e1b
movaps xmm0, xmm7
addss xmm0, xmm6
comiss xmm1, xmm0
ja 0x180017e1b
movd xmm1, dword [rsp + 0x84]
movaps xmm0, xmm8
cvtdq2ps xmm1, xmm1
subss xmm0, xmm6
comiss xmm1, xmm0
jb 0x180017e1b
movaps xmm0, xmm8
addss xmm0, xmm6
comiss xmm1, xmm0
ja 0x180017e1b
lea ecx, [rbx + 1]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x180017e13
cmp byte [0x18029f856], bl
je 0x180017e13
movd xmm0, dword [rsp + 0x80]
movd xmm1, dword [rsp + 0x84]
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm1, xmm1
subss xmm0, dword [0x180280398]
subss xmm1, dword [0x180280398]
movss dword [0x18029c1b4], xmm0
movss dword [0x18029c1c4], xmm1
movss xmm6, dword [0x1802803ec]
movaps xmm0, xmmword [0x180280af0]
lea rcx, [rsp + 0x30]
movq qword [rsp + 0x30], xmm0
psrldq xmm0, 8
movq qword [rsp + 0x38], xmm0
movss dword [rsp + 0x88], xmm7
movss dword [rsp + 0x8c], xmm8
call fcn.180042710
mov rcx, qword [0x1802a0788]
lea rdx, [rsp + 0x88]
mov r9d, eax
mov dword [rsp + 0x20], ebx
movaps xmm2, xmm6
call fcn.180059968
movaps xmm6, xmmword [rsp + 0x60]
movaps xmm7, xmmword [rsp + 0x50]
movaps xmm8, xmmword [rsp + 0x40]
add rsp, 0x70
pop rbx
ret
Function at 0x180036c6c
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, rcx
cmp edx, 1
jne 0x180036d32
and dword [rsp + 0x48], 0
lea r9d, [rdx + 3]
lea r8d, [rdx + 0x3f]
mov rdx, rcx
lea rax, [rsp + 0x48]
or rcx, 0xffffffffffffffff
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
test eax, eax
je 0x180036cb8
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
movups xmmword [rbx + 0x10], xmm0
movups xmmword [rbx + 0x20], xmm0
movups xmmword [rbx + 0x30], xmm0
test rbx, rbx
je 0x180036cf4
lea rax, [rsp + 0x48]
mov r9d, 4
mov r8d, 0x108
mov qword [rsp + 0x20], rax
mov rdx, rbx
or rcx, 0xffffffffffffffff
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
test eax, eax
je 0x180036cf4
xor edx, edx
mov r8d, 0x108
mov rcx, rbx
call fcn.1800e2bd0
and qword [rsp + 0x28], 0
lea r8, [0x180036610]
and dword [rsp + 0x20], 0
mov r9, rbx
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
and qword [rsp + 0x28], 0
lea r8, [0x180026b40]
and dword [rsp + 0x20], 0
mov r9, rbx
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov al, 1
add rsp, 0x30
pop rbx
ret

Function at 0x1800370b8
Capabilities:
Read file on windows

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
mov rbp, r8
mov r14, rdx
mov rdi, rcx
test r8, r8
jg 0x1800370e6
xor eax, eax
jmp 0x1800371cc
cmp qword [rcx + 0x68], 0
je 0x1800370f7
call fcn.1800381ec
jmp 0x1800371cc
mov rax, qword [rcx + 0x38]
mov rsi, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x18003710e
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x180037110
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x180037142
cmp rax, rbp
mov rbx, rbp
mov rcx, r14
cmovb rbx, rax
mov r8, rbx
call fcn.1800e2520
mov rax, qword [rdi + 0x50]
add r14, rbx
sub rsi, rbx
sub dword [rax], ebx
mov rcx, qword [rdi + 0x38]
movsxd rax, ebx
add qword [rcx], rax
cmp qword [rdi + 0x80], 0
je 0x1800371c6
mov r8, qword [rdi + 0x18]
lea rax, [rdi + 0x70]
cmp qword [r8], rax
jne 0x180037179
mov rcx, qword [rdi + 0x88]
mov rdx, qword [rdi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rdi + 0x38]
mov qword [rax], rcx
mov rax, qword [rdi + 0x50]
mov dword [rax], edx
mov ebx, 0xfff
jmp 0x1800371a2
mov r9, qword [rdi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call fcn.1800efd2c
add r14, rax
sub rsi, rax
cmp rax, rbx
jne 0x1800371c6
cmp rsi, rbx
ja 0x180037180
test rsi, rsi
je 0x1800371c6
mov r9, qword [rdi + 0x80]
mov r8, rsi
mov edx, 1
mov rcx, r14
call fcn.1800efd2c
sub rsi, rax
sub rbp, rsi
mov rax, rbp
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
Function at 0x18003cb64
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rsi, rdx
xor edx, edx
mov rcx, rsi
lea r8d, [rdx + 2]
call fcn.1800e98a4
test eax, eax
jne 0x18003cc05
mov rcx, rsi
call fcn.1800e8384
movsxd rbx, eax
test eax, eax
js 0x18003cc05
jne 0x18003cb9d
xor eax, eax
jmp 0x18003cc0a
lea eax, [rbx + 1]
movsxd rcx, eax
lea rdx, [0x180133ba0]
call fcn.1800df6f0
mov rdi, rax
test rax, rax
jne 0x18003cbbc
lea eax, [rdi - 2]
jmp 0x18003cc0a
xor r8d, r8d
mov byte [rbx + rax], 0
xor edx, edx
mov rcx, rsi
call fcn.1800e98a4
mov r9, rsi
mov r8, rbx
mov edx, 1
mov rcx, rdi
call fcn.1800efd2c
cmp rax, rbx
je 0x18003cbec
mov ebx, 0xfffffffd
jmp 0x18003cbf9
mov r8, rax
mov rdx, rdi
call fcn.18003e9e8
mov ebx, eax
mov rcx, rdi
call fcn.1800df6b4
mov eax, ebx
jmp 0x18003cc0a
mov eax, 0xfffffffd
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x180041f24
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
not r8d
mov r10, rcx
mov r9d, r8d
test rdx, rdx
je 0x180041f7e
mov r11b, 0x23
lea rdi, [0x180276420]
movzx ebx, byte [r10]
dec rdx
inc r10
cmp bl, r11b
jne 0x180041f68
cmp rdx, 2
jb 0x180041f68
cmp byte [r10], r11b
jne 0x180041f68
cmp byte [r10 + 1], r11b
cmove r9d, r8d
movzx ecx, r9b
xor rcx, rbx
shr r9d, 8
xor r9d, dword [rdi + rcx*4]
test rdx, rdx
jne 0x180041f46
jmp 0x180041fbf
mov dl, byte [rcx]
inc r10
test dl, dl
je 0x180041fbf
mov r11b, 0x23
lea rdi, [0x180276420]
cmp dl, r11b
jne 0x180041fa3
cmp byte [r10], r11b
jne 0x180041fa3
cmp byte [r10 + 1], r11b
cmove r9d, r8d
movzx ecx, r9b
movzx eax, dl
mov dl, byte [r10]
xor rcx, rax
shr r9d, 8
inc r10
xor r9d, dword [rdi + rcx*4]
test dl, dl
jne 0x180041f91
mov rbx, qword [rsp + 8]
not r9d
mov rdi, qword [rsp + 0x10]
mov eax, r9d
ret
Function at 0x1800420f0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rsi, r8
test r8, r8
je 0x180042110
and qword [r8], 0
lea rdx, [0x18027e010]
call fcn.180041fd0
mov rbx, rax
test rax, rax
je 0x1800421f7
mov rcx, rax
call fcn.1800e8384
mov ebp, eax
cmp eax, 0xffffffff
je 0x1800421ef
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 2]
call fcn.1800e98a4
test eax, eax
jne 0x1800421ef
mov rcx, rbx
call fcn.1800e8384
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x1800421ef
xor r8d, r8d
mov edx, ebp
mov rcx, rbx
call fcn.1800e98a4
test eax, eax
jne 0x1800421ef
mov rbp, rdi
cmp rdi, 0xffffffffffffffff
je 0x1800421ef
mov rax, qword [0x18029fae0]
test rax, rax
je 0x180042191
inc dword [rax + 0xf4]
mov rcx, rbp
call fcn.1800effec
mov rdi, rax
test rax, rax
je 0x1800421ef
mov r9, rbx
mov r8, rbp
mov edx, 1
mov rcx, rax
call fcn.1800efd2c
mov rcx, rbx
cmp rax, rbp
je 0x1800421dd
call fcn.1800e92a4
mov rax, qword [0x18029fae0]
test rax, rax
je 0x1800421d3
dec dword [rax + 0xf4]
mov rcx, rdi
call fcn.1800ef824
jmp 0x1800421f7
call fcn.1800e92a4
test rsi, rsi
je 0x1800421ea
mov qword [rsi], rbp
mov rax, rdi
jmp 0x1800421f9
mov rcx, rbx
call fcn.1800e92a4
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x180043f04
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov qword [rsp + 0x10], rdx
push rbx
sub rsp, 0x20
movsxd r8, dword [rcx + 0xd0]
mov r9d, 8
mov rax, qword [rcx + 0xd8]
mov ebx, dword [rax + r8*4 - 4]
lea r8, [rsp + 0x38]
not ebx
movzx eax, byte [r8]
inc r8
movzx ecx, bl
xor rcx, rax
shr ebx, 8
lea rax, [0x180276420]
xor ebx, dword [rax + rcx*4]
sub r9, 1
jne 0x180043f2e
mov rcx, qword [0x18029fae0]
not ebx
cmp dword [rcx + 0x3ed4], ebx
jne 0x180043f6d
mov r8, rdx
mov ecx, ebx
lea edx, [r9 + 0xc]
call fcn.180054890
mov eax, ebx
add rsp, 0x20
pop rbx
ret

Function at 0x180043f78
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov dword [rsp + 0x10], edx
push rbx
sub rsp, 0x20
movsxd r8, dword [rcx + 0xd0]
mov r10d, 4
mov rax, qword [rcx + 0xd8]
mov r9d, r10d
mov ebx, dword [rax + r8*4 - 4]
lea r8, [rsp + 0x38]
not ebx
movzx eax, byte [r8]
inc r8
movzx ecx, bl
xor rcx, rax
shr ebx, 8
lea rax, [0x180276420]
xor ebx, dword [rax + rcx*4]
sub r9, 1
jne 0x180043fa4
mov rcx, qword [0x18029fae0]
not ebx
cmp dword [rcx + 0x3ed4], ebx
jne 0x180043fe2
movsxd r8, edx
mov ecx, ebx
mov edx, r10d
call fcn.180054890
mov eax, ebx
add rsp, 0x20
pop rbx
ret
Function at 0x180043fec
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
sub rsp, 0x18
movss xmm2, dword [rcx + 0xf0]
lea r9, [rsp]
movss xmm3, dword [rcx + 0xf4]
mov r10d, 0x10
movss xmm0, dword [rdx]
movss xmm1, dword [rdx + 4]
subss xmm0, xmm2
mov rax, qword [rcx + 0xd8]
subss xmm1, xmm3
movsxd rcx, dword [rcx + 0xd0]
movss dword [rsp], xmm0
movss xmm0, dword [rdx + 8]
mov r8d, dword [rax + rcx*4 - 4]
subss xmm0, xmm2
movss dword [rsp + 4], xmm1
not r8d
movss xmm1, dword [rdx + 0xc]
subss xmm1, xmm3
movss dword [rsp + 8], xmm0
movss dword [rsp + 0xc], xmm1
movzx ecx, byte [r9]
lea rax, [0x180276420]
movzx edx, r8b
inc r9
xor rdx, rcx
shr r8d, 8
xor r8d, dword [rax + rdx*4]
sub r10, 1
jne 0x18004405a
not r8d
mov eax, r8d
add rsp, 0x18
ret
Function at 0x18006dcd8
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x80
mov rdi, rcx
lea rcx, [rbp - 0x60]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov r14, qword [rbp - 0x58]
cmp rdi, 0x40000000
jbe 0x18006dd22
lea rax, [rdi - 0x40000000]
cmp r14, rax
cmovb r14, rax
mov rbx, qword [0x18029faf0]
lea r12, [rdi + 0x40000000]
cmp qword [rbp - 0x50], r12
cmovbe r12, qword [rbp - 0x50]
sub r12, 0xfff
xor esi, esi
test rbx, rbx
je 0x18006dd60
cmp rbx, r14
jb 0x18006dd5b
cmp rbx, r12
jae 0x18006dd5b
cmp qword [rbx + 8], rsi
jne 0x18006deb7
mov rbx, qword [rbx]
jmp 0x18006dd42
mov r15, rdi
cmp rdi, r14
jb 0x18006dde4
mov r13d, dword [rbp - 0x38]
xor edx, edx
mov rax, r15
div r13
sub r15, rdx
sub r15, r13
cmp r15, r14
jb 0x18006dddb
mov r8d, 0x30
lea rdx, [rbp - 0x30]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x18006dddb
cmp dword [rbp - 0x10], 0x10000
je 0x18006ddab
mov r15, qword [rbp - 0x28]
cmp r15, r13
jb 0x18006dddb
jmp 0x18006dd77
test r15, r15
je 0x18006dddb
mov edx, 0x1000
mov r9d, 0x40
mov r8d, 0x3000
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rbx, rax
test rax, rax
jne 0x18006de7c
cmp r15, r14
jae 0x18006dd68
test rbx, rbx
jne 0x18006de7c
cmp rdi, r12
ja 0x18006deb7
mov r15d, dword [rbp - 0x38]
xor edx, edx
mov rax, rdi
mov r14d, r15d
div r15
mov eax, r15d
sub rax, rdx
add rax, rdi
mov rdi, rax
cmp rax, r12
ja 0x18006deb7
mov r8d, 0x30
lea rdx, [rbp - 0x30]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x18006deb7
cmp dword [rbp - 0x10], 0x10000
je 0x18006de52
xor edx, edx
lea edi, [r15 - 1]
add rdi, qword [rbp - 0x18]
add rdi, qword [rbp - 0x30]
mov rax, rdi
div r14
sub rdi, rdx
cmp rdi, r12
jmp 0x18006de0b
test rdi, rdi
je 0x18006deb7
mov edx, 0x1000
mov r9d, 0x40
mov r8d, 0x3000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rbx, rax
test rax, rax
jmp 0x18006ddde
lea rcx, [rbx + 0x40]
mov dword [rbx + 0x10], esi
mov edx, 0x40
mov qword [rcx], rsi
mov rax, rcx
mov qword [rbx + 8], rcx
add rdx, 0x40
add rcx, 0x40
mov rsi, rax
cmp rdx, 0xfc0
jbe 0x18006de88
mov rax, qword [0x18029faf0]
mov qword [rbx], rax
mov qword [0x18029faf0], rbx
lea r11, [rsp + 0x80]
mov rax, rbx
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret