joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1403ba690
Capabilities:
Query environment variable

Disassembly:
sub rsp, 0x48
mov edx, 0xfffffffc
mov rax, qword [0x14194d6d8]
mov r9d, 0xfffffffd
xor rax, rsp
lea r8, [0x141a584c0]
mov qword [rsp + 0x40], rax
lea r11, [0x141a58780]
mov cl, byte [0x141a58751]
mov eax, 0xffffffff
mov dword [0x141a586a0], edx
and cl, 0xe7
mov dword [0x141a58500], edx
add cl, 8
mov dl, byte [0x141a58cd1]
and dl, 0xe7
mov dword [0x141a58960], r9d
add dl, 8
mov dword [0x141a587c0], r9d
mov r10b, byte [0x141a58a11]
mov r9b, byte [0x141a58f91]
and r10b, 0xe7
mov byte [0x141a58751], cl
lea rcx, [0x141a58a40]
mov qword [0x141a59958], r8
and r9b, 0xe7
mov qword [0x141a6d6d0], r8
mov r8d, 0xfffffffe
mov byte [0x141a58cd1], dl
lea rdx, str.FORT_d
mov qword [0x141a59a00], rcx
add r10b, 8
mov qword [0x141a6d6e8], rcx
lea rcx, [rsp + 0x20]
mov dword [0x141a58ee0], r8d
add r9b, 8
mov dword [0x141a58d40], r8d
xor r8d, r8d
mov byte [0x141a58a11], r10b
lea r10, [0x141a58d00]
mov qword [0x141a59990], r11
mov qword [0x141a6d6d8], r11
mov dword [0x141a58c20], eax
mov dword [0x141a58a80], eax
mov byte [0x141a58f91], r9b
mov qword [0x141a599c8], r10
mov qword [0x141a6d6e0], r10
call fcn.14036c680
xor eax, eax
lea rcx, [rsp + 0x20]
xor edx, edx
xor r8d, r8d
mov dword [0x141a591a0], eax
mov dword [0x141a59000], eax
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
mov eax, eax
mov edx, 2
cmp rax, 1
lea r8, [0x141a58fc0]
movzx ecx, byte [0x141a59251]
sbb edx, 0
and ecx, 0xffffffe7
and edx, 3
shl edx, 3
or ecx, edx
lea rdx, str.FORT_d
mov byte [0x141a59251], cl
lea rcx, [rsp + 0x20]
mov qword [0x141a59a38], r8
mov qword [0x141a6d6f0], r8
mov r8d, 5
call fcn.14036c680
xor edx, edx
lea rcx, [rsp + 0x20]
xor r8d, r8d
mov eax, 5
mov dword [0x141a59460], eax
mov dword [0x141a592c0], eax
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
mov eax, eax
mov edx, 2
cmp rax, 1
lea r8, [0x141a59280]
movzx ecx, byte [0x141a59511]
sbb edx, 0
and ecx, 0xffffffe7
and edx, 3
shl edx, 3
or ecx, edx
lea rdx, str.FORT_d
mov byte [0x141a59511], cl
lea rcx, [rsp + 0x20]
mov qword [0x141a59b50], r8
mov qword [0x141a6d718], r8
mov r8d, 6
call fcn.14036c680
xor edx, edx
lea rcx, [rsp + 0x20]
xor r8d, r8d
mov eax, 6
mov dword [0x141a59720], eax
mov dword [0x141a59580], eax
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
mov eax, eax
mov edx, 2
cmp rax, 1
lea r8, [0x141a59540]
movzx ecx, byte [0x141a597d1]
sbb edx, 0
and ecx, 0xffffffe7
and edx, 3
shl edx, 3
or ecx, edx
mov byte [0x141a597d1], cl
mov qword [0x141a59b88], r8
mov qword [0x141a6d720], r8
mov rcx, qword [rsp + 0x40]
mov qword [rsp + 0x40], 0
xor rcx, rsp
cmp rcx, qword [0x14194d6d8]
jne 0x1403ba903
add rsp, 0x48
ret
call fcn.14043dac0
nop
nop dword [rax]
Function at 0x1403d0f20
Capabilities:
Clear file content

Disassembly:
push rbx
push rbp
sub rsp, 0x38
mov rbp, rcx
mov rax, qword [rbp + 0x88]
mov rbx, qword [rbp + 0x80]
test rax, rax
je 0x1403d0f41
sub rbx, rax
jmp 0x1403d0f48
mov rax, qword [rbp + 0x78]
sub rbx, rax
lea rax, [rbx + 4]
cmp rax, qword [rbp + 0x1b0]
ja 0x1403d14b6
movzx eax, word [rbp + 0x27a]
test eax, eax
jg 0x1403d11ff
movsx edx, byte [rbp + 0x27c]
cmp edx, 8
ja 0x1403d1184
lea r10, [0x140000000]
movzx eax, word [r10 + rdx*2 + 0x59f04c]
lea rax, [r10 + rax + 0x3d0f92]
jmp rax
mov ecx, 8
mov edx, 2
lea r8, str.for_put.c
mov r9d, 0x37f
call fcn.140383960
mov rdx, qword [rbp + 0x88]
test rdx, rdx
je 0x1403d148e
mov rcx, rbp
mov r8, rbx
call fcn.1403d1590
and byte [rbp + 0x294], 0xbf
cmp eax, 0xffffffff
je 0x1403d1476
test byte [rbp + 0x295], 8
je 0x1403d1223
mov rcx, qword [rbp + 0x1a0]
xor ebx, ebx
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
je 0x1403d1460
and byte [rbp + 0x295], 0xf7
test ebx, ebx
je 0x1403d1223
mov eax, ebx
add rsp, 0x38
pop rbp
pop rbx
ret
mov rdx, qword [rbp + 0x88]
test rdx, rdx
je 0x1403d14a2
mov rcx, rbp
mov r8, rbx
call fcn.1403d1590
cmp eax, 0xffffffff
je 0x1403d1476
xor eax, eax
add rsp, 0x38
pop rbp
pop rbx
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp + 0x1a8], eax
mov ebx, 0x26
jmp 0x1403d11eb
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp + 0x1a8], eax
mov eax, 0x26
add rsp, 0x38
pop rbp
pop rbx
ret
mov rcx, rbp
mov r8, rbx
mov rdx, qword [rbp + 0x78]
call fcn.1403d1590
jmp 0x1403d11bb
mov rcx, rbp
mov r8, rbx
mov rdx, qword [rbp + 0x78]
call fcn.1403d1590
jmp 0x1403d121a
mov rcx, rbp
mov edx, 4
mov r8d, 0x200
call fcn.1403b7b30
test eax, eax
je 0x1403d0f59
cmp rbx, qword [rbp + 0x1b0]
ja 0x1403d14e7
cmp byte [rbp + 0x27c], 1
je 0x1403d0f59
mov rax, qword [rbp + 0x30]
test rax, rax
je 0x1403d1569
test byte [rax + 0x74], 2
je 0x1403d152a
mov edx, 0x42
mov dword [rax + 0x68], edx
mov rax, qword [rbp + 0x30]
mov dword [rax + 0x6c], edx
mov rax, qword [rbp + 0xd8]
test rax, rax
je 0x1403d151e
xor edx, edx
mov qword [rax + 8], rdx
mov qword [rbp + 0xd8], rdx
mov eax, 0x42
add rsp, 0x38
pop rbp
pop rbx
ret
movzx eax, byte [rbp + 0x29e]
mov rbx, rsp
and eax, 0x10
mov rcx, rbp
movzx r8d, byte [rbp + 0x294]
mov edx, 0xffffffff
shr eax, 1
and r8d, 7
or r8d, eax
mov r9d, 0x42
mov dword [rbx + 0x20], 0x42
call fcn.1403be580
add rsp, 0x38
pop rbp
pop rbx
ret
mov edx, 0x42
mov ecx, 1
mov r8d, edx
mov r9, rbp
call fcn.140381780
add rsp, 0x38
pop rbp
pop rbx
ret
Function at 0x1403e6c70
Capabilities:
Read file on windows

Disassembly:
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
push rbp
sub rsp, 0x38
mov r12, r9
mov rbx, qword [rsp + 0xb8]
mov rdi, r8
mov rsi, rdx
mov rbp, rcx
xor r14b, r14b
mov qword [r12], 0
test rbx, rbx
je 0x1403e6f0f
cmp dword [rbx + 0x40], 0xfffffffc
je 0x1403e6eeb
cmp dword [0x141a6ae3c], 0
je 0x1403e6da6
mov rax, qword [rsp + 0xb0]
lea r8, [rax - 1]
cmp r8, 1
ja 0x1403e6ce4
xor eax, eax
add rsp, 0x38
pop rbp
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret
cmp dword [rsp + 0xa0], 0
je 0x1403e6d80
cmp qword [rsp + 0xb0], 0xfffffffffffffffa
je 0x1403e6ecf
cmp qword [rsp + 0xb0], 0
je 0x1403e6e93
cmp dword [rsp + 0xa8], 0
je 0x1403e6d8f
mov r13d, r15d
mov ecx, r13d
call fcn.14043d2b0
mov ecx, r13d
call fcn.14043d430
test r14b, r14b
je 0x1403e6d8f
mov rcx, rsi
mov edx, edi
mov r8d, r13d
call fcn.14043d350
movsxd rbx, eax
mov qword [r12], rbx
cmp eax, 0xffffffff
je 0x1403e6cd1
lea rcx, [0x14059fd50]
mov edx, 2
mov r8d, r13d
xor r9d, r9d
call fcn.14043d310
mov byte [rbx + rsi], 0xa
mov eax, 1
inc qword [r12]
add rsp, 0x38
pop rbp
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret
cmp qword [rsp + 0xb0], 0
je 0x1403e6e93
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov qword [r12], 0
test rbx, rbx
jne 0x1403e6db6
jmp 0x1403e6dc2
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov qword [r12], 0
mov rax, qword [rbx + 0x240]
test rax, rax
jne 0x1403e6dc7
mov eax, 0x20000
cmp rdi, rax
jbe 0x1403e6e51
cmp qword [rsp + 0xb0], 0
je 0x1403e6e51
test rbx, rbx
je 0x1403e6dec
mov r13, qword [rbx + 0x240]
test r13, r13
jne 0x1403e6df2
mov r13d, 0x20000
mov rax, rsp
mov r14, r13
mov rcx, rbp
mov rdx, rsi
mov r8d, r13d
lea r9, [rsp + 0x30]
mov qword [rax + 0x20], 0
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1403e6e79
movsxd r9, dword [rsp + 0x30]
add rsi, r9
add qword [r12], r9
sub rdi, r9
test rbx, rbx
je 0x1403e6e38
mov r8, qword [rbx + 0x240]
test r8, r8
jne 0x1403e6e3e
mov r8d, 0x20000
cmp rdi, r8
cmovbe r13, rdi
test rdi, rdi
je 0x1403e6e79
cmp r9, r14
je 0x1403e6df2
jmp 0x1403e6e79
mov rax, rsp
mov rcx, rbp
mov rdx, rsi
mov r8d, edi
lea r9, [rsp + 0x30]
mov qword [rax + 0x20], 0
call qword [sym.imp.KERNEL32.dll_ReadFile]
movsxd rdx, dword [rsp + 0x30]
mov qword [r12], rdx
xor edx, edx
test eax, eax
setne dl
mov eax, edx
add rsp, 0x38
pop rbp
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret
mov r14b, 1
call fcn.14043d530
mov r13d, eax
movsxd r15, r13d
cmp dword [0x141a6ae3c], 0
je 0x1403e6d32
cmp dword [rsp + 0xa0], 0
je 0x1403e6d32
cmp dword [rsp + 0xa8], 0
jne 0x1403e6d1a
jmp 0x1403e6d32
mov r14b, 1
mov r15, rbp
cmp dword [rsp + 0xa8], 0
jne 0x1403e6d1a
mov r13d, ebp
jmp 0x1403e6d32
call fcn.140384990
cmp eax, 1
jle 0x1403e6cb2
mov eax, 1
add rsp, 0x38
pop rbp
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret
cmp dword [0x141a6ae3c], 0
jne 0x1403e6cbf
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov qword [r12], 0
jmp 0x1403e6dc2
Function at 0x14042b330
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbx
sub rsp, 0x30
mov r10, rax
mov r9, r10
mov r8, rdx
and r9, 0xfff
and r8, 0xfff
movdqu xmm4, xmmword [0x1405bc240]
neg r9d
neg r8d
add r9d, 0x1000
add r8d, 0x1000
movdqu xmm3, xmmword [0x1405bc250]
cmp r9d, 0x10
jl 0x14042b37c
cmp r8d, 0x10
jge 0x14042b3d0
movzx eax, byte [r10]
lea ecx, [rax - 0x41]
cmp ecx, 0x19
lea ebx, [rax + 0x20]
movzx ecx, byte [rdx]
cmovbe eax, ebx
lea r11d, [rcx - 0x41]
cmp r11d, 0x19
lea ebx, [rcx + 0x20]
cmovbe ecx, ebx
cmp eax, ecx
jne 0x14042b4f3
test eax, eax
je 0x14042b4b9
inc r10
inc rdx
dec r8d
dec r9d
jne 0x14042b474
mov r9d, 0x1000
test r8d, r8d
jne 0x14042b376
mov r8d, 0x1000
movups xmmword [rsp + 0x20], xmm6
movdqu xmm1, xmmword [r10]
movdqu xmm2, xmmword [rdx]
movdqu xmm0, xmmword [0x1405bc260]
movdqa xmm5, xmm1
pcmpgtb xmm5, xmm3
pcmpgtb xmm0, xmm1
pand xmm5, xmm0
pand xmm5, xmm4
pxor xmm0, xmm0
movdqu xmm6, xmmword [0x1405bc260]
paddb xmm1, xmm5
movdqa xmm5, xmm2
pcmpgtb xmm6, xmm2
pcmpgtb xmm5, xmm3
pcmpeqb xmm0, xmm1
pand xmm5, xmm6
pand xmm5, xmm4
paddb xmm2, xmm5
pcmpeqb xmm1, xmm2
pmovmskb eax, xmm1
xor eax, 0xffff
jne 0x14042b49d
pmovmskb eax, xmm0
test eax, eax
jne 0x14042b4fb
add r9d, 0xfffffff0
add r10, 0x10
add rdx, 0x10
add r8d, 0xfffffff0
cmp r9d, 0x10
jl 0x14042b461
cmp r8d, 0x10
jge 0x14042b3d5
nop word [rax + rax]
movups xmm6, xmmword [rsp + 0x20]
jmp 0x14042b37c
test r8d, r8d
jne 0x14042b48e
mov r8d, 0x1000
cmp r9d, 0x10
jge 0x14042b3ca
jmp 0x14042b37c
cmp r9d, 0x10
jl 0x14042b37c
jmp 0x14042b376
bsf r8d, eax
pmovmskb eax, xmm0
movups xmm6, xmmword [rsp + 0x20]
mov ecx, r8d
test eax, eax
je 0x14042b4c1
bsf eax, eax
cmp eax, r8d
jae 0x14042b4c1
xor eax, eax
add rsp, 0x30
pop rbx
ret
movzx eax, byte [rcx + r10]
movzx r10d, byte [rcx + rdx]
lea r8d, [rax - 0x41]
cmp r8d, 0x19
lea r9d, [rax + 0x20]
lea edx, [r10 - 0x41]
cmovbe eax, r9d
cmp edx, 0x19
lea ecx, [r10 + 0x20]
cmovbe r10d, ecx
sub eax, r10d
add rsp, 0x30
pop rbx
ret
sub eax, ecx
add rsp, 0x30
pop rbx
ret
movups xmm6, xmmword [rsp + 0x20]
xor eax, eax
add rsp, 0x30
pop rbx
ret
Function at 0x14042b3d0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbx
sub rsp, 0x30
mov r10, rax
mov r9, r10
mov r8, rdx
and r9, 0xfff
and r8, 0xfff
movdqu xmm4, xmmword [0x1405bc240]
neg r9d
neg r8d
add r9d, 0x1000
add r8d, 0x1000
movdqu xmm3, xmmword [0x1405bc250]
cmp r9d, 0x10
jl 0x14042b37c
cmp r8d, 0x10
jge 0x14042b3d0
movzx eax, byte [r10]
lea ecx, [rax - 0x41]
cmp ecx, 0x19
lea ebx, [rax + 0x20]
movzx ecx, byte [rdx]
cmovbe eax, ebx
lea r11d, [rcx - 0x41]
cmp r11d, 0x19
lea ebx, [rcx + 0x20]
cmovbe ecx, ebx
cmp eax, ecx
jne 0x14042b4f3
test eax, eax
je 0x14042b4b9
inc r10
inc rdx
dec r8d
dec r9d
jne 0x14042b474
mov r9d, 0x1000
test r8d, r8d
jne 0x14042b376
mov r8d, 0x1000
movups xmmword [rsp + 0x20], xmm6
movdqu xmm1, xmmword [r10]
movdqu xmm2, xmmword [rdx]
movdqu xmm0, xmmword [0x1405bc260]
movdqa xmm5, xmm1
pcmpgtb xmm5, xmm3
pcmpgtb xmm0, xmm1
pand xmm5, xmm0
pand xmm5, xmm4
pxor xmm0, xmm0
movdqu xmm6, xmmword [0x1405bc260]
paddb xmm1, xmm5
movdqa xmm5, xmm2
pcmpgtb xmm6, xmm2
pcmpgtb xmm5, xmm3
pcmpeqb xmm0, xmm1
pand xmm5, xmm6
pand xmm5, xmm4
paddb xmm2, xmm5
pcmpeqb xmm1, xmm2
pmovmskb eax, xmm1
xor eax, 0xffff
jne 0x14042b49d
pmovmskb eax, xmm0
test eax, eax
jne 0x14042b4fb
add r9d, 0xfffffff0
add r10, 0x10
add rdx, 0x10
add r8d, 0xfffffff0
cmp r9d, 0x10
jl 0x14042b461
cmp r8d, 0x10
jge 0x14042b3d5
nop word [rax + rax]
movups xmm6, xmmword [rsp + 0x20]
jmp 0x14042b37c
test r8d, r8d
jne 0x14042b48e
mov r8d, 0x1000
cmp r9d, 0x10
jge 0x14042b3ca
jmp 0x14042b37c
cmp r9d, 0x10
jl 0x14042b37c
jmp 0x14042b376
bsf r8d, eax
pmovmskb eax, xmm0
movups xmm6, xmmword [rsp + 0x20]
mov ecx, r8d
test eax, eax
je 0x14042b4c1
bsf eax, eax
cmp eax, r8d
jae 0x14042b4c1
xor eax, eax
add rsp, 0x30
pop rbx
ret
movzx eax, byte [rcx + r10]
movzx r10d, byte [rcx + rdx]
lea r8d, [rax - 0x41]
cmp r8d, 0x19
lea r9d, [rax + 0x20]
lea edx, [r10 - 0x41]
cmovbe eax, r9d
cmp edx, 0x19
lea ecx, [r10 + 0x20]
cmovbe r10d, ecx
sub eax, r10d
add rsp, 0x30
pop rbx
ret
sub eax, ecx
add rsp, 0x30
pop rbx
ret
movups xmm6, xmmword [rsp + 0x20]
xor eax, eax
add rsp, 0x30
pop rbx
ret
Function at 0x14042b474
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbx
sub rsp, 0x30
mov r10, rax
mov r9, r10
mov r8, rdx
and r9, 0xfff
and r8, 0xfff
movdqu xmm4, xmmword [0x1405bc240]
neg r9d
neg r8d
add r9d, 0x1000
add r8d, 0x1000
movdqu xmm3, xmmword [0x1405bc250]
cmp r9d, 0x10
jl 0x14042b37c
cmp r8d, 0x10
jge 0x14042b3d0
movzx eax, byte [r10]
lea ecx, [rax - 0x41]
cmp ecx, 0x19
lea ebx, [rax + 0x20]
movzx ecx, byte [rdx]
cmovbe eax, ebx
lea r11d, [rcx - 0x41]
cmp r11d, 0x19
lea ebx, [rcx + 0x20]
cmovbe ecx, ebx
cmp eax, ecx
jne 0x14042b4f3
test eax, eax
je 0x14042b4b9
inc r10
inc rdx
dec r8d
dec r9d
jne 0x14042b474
mov r9d, 0x1000
test r8d, r8d
jne 0x14042b376
mov r8d, 0x1000
movups xmmword [rsp + 0x20], xmm6
movdqu xmm1, xmmword [r10]
movdqu xmm2, xmmword [rdx]
movdqu xmm0, xmmword [0x1405bc260]
movdqa xmm5, xmm1
pcmpgtb xmm5, xmm3
pcmpgtb xmm0, xmm1
pand xmm5, xmm0
pand xmm5, xmm4
pxor xmm0, xmm0
movdqu xmm6, xmmword [0x1405bc260]
paddb xmm1, xmm5
movdqa xmm5, xmm2
pcmpgtb xmm6, xmm2
pcmpgtb xmm5, xmm3
pcmpeqb xmm0, xmm1
pand xmm5, xmm6
pand xmm5, xmm4
paddb xmm2, xmm5
pcmpeqb xmm1, xmm2
pmovmskb eax, xmm1
xor eax, 0xffff
jne 0x14042b49d
pmovmskb eax, xmm0
test eax, eax
jne 0x14042b4fb
add r9d, 0xfffffff0
add r10, 0x10
add rdx, 0x10
add r8d, 0xfffffff0
cmp r9d, 0x10
jl 0x14042b461
cmp r8d, 0x10
jge 0x14042b3d5
nop word [rax + rax]
movups xmm6, xmmword [rsp + 0x20]
jmp 0x14042b37c
test r8d, r8d
jne 0x14042b48e
mov r8d, 0x1000
cmp r9d, 0x10
jge 0x14042b3ca
jmp 0x14042b37c
cmp r9d, 0x10
jl 0x14042b37c
jmp 0x14042b376
bsf r8d, eax
pmovmskb eax, xmm0
movups xmm6, xmmword [rsp + 0x20]
mov ecx, r8d
test eax, eax
je 0x14042b4c1
bsf eax, eax
cmp eax, r8d
jae 0x14042b4c1
xor eax, eax
add rsp, 0x30
pop rbx
ret
movzx eax, byte [rcx + r10]
movzx r10d, byte [rcx + rdx]
lea r8d, [rax - 0x41]
cmp r8d, 0x19
lea r9d, [rax + 0x20]
lea edx, [r10 - 0x41]
cmovbe eax, r9d
cmp edx, 0x19
lea ecx, [r10 + 0x20]
cmovbe r10d, ecx
sub eax, r10d
add rsp, 0x30
pop rbx
ret
sub eax, ecx
add rsp, 0x30
pop rbx
ret
movups xmm6, xmmword [rsp + 0x20]
xor eax, eax
add rsp, 0x30
pop rbx
ret
Function at 0x140433cc0
Capabilities:
Inspect section memory permissions

Disassembly:
mov eax, 1
jmp 0x140433cd0
Function at 0x14046f568
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 0x14046f357
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14046f357
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14046f357
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14046f357
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14046f357
cmp dword [rcx + 0x84], 0xe
jbe 0x14046f357
cmp dword [rcx + 0xf8], 0
je 0x14046f357
mov ecx, ebx
call fcn.14046f488
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.14046f0e4
cmp dword [rbp + 0x20], 0
je 0x14046f3a4
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.14046f3ac
int3
xor r8d, r8d
xor edx, edx
jmp 0x14046f2f0
Function at 0x140011320
Capabilities:
Terminate process

Disassembly:
jmp 0x14001eba0
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 0x1400113e8
Capabilities:
Parse pe header

Disassembly:
jmp 0x14001fef0
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x14001ff10
xor al, al
jmp 0x14001ff91
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x14001ff23
xor al, al
jmp 0x14001ff91
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x14001ff4d
xor al, al
jmp 0x14001ff91
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x14001ff61
xor al, al
jmp 0x14001ff91
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x14001ff73
xor al, al
jmp 0x14001ff91
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14001ff8f
xor al, al
jmp 0x14001ff91
mov al, 1
add rsp, 0x38
ret
Function at 0x140003530
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 0x14000358d
lea rbx, [0x140055db0]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x140003574
cmp r10, 2
jb 0x140003574
cmp byte [r9], r8b
jne 0x140003574
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 0x140003550
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x1400035cf
lea rbx, [0x140055db0]
cmp r8b, 0x23
jne 0x1400035b3
cmp byte [r9], r8b
jne 0x1400035b3
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 0x1400035a0
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x1400036d0
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 0x1400036ee
mov qword [r8], r14
lea rdx, [0x140055910]
call fcn.1400035e0
mov rbx, rax
test rax, rax
jne 0x140003713
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 0x14000383d
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 0x14000383d
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x14000383d
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 0x14000383d
cmp rdi, 0xffffffffffffffff
je 0x14000383d
mov rcx, rdi
call fcn.140007b50
mov rbp, rax
test rax, rax
je 0x14000383d
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 0x14000382a
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov r8, qword [0x1400e42c8]
test r8, r8
je 0x14000381f
movsx rdx, word [r8 + 0x6040]
lea rcx, [r8 + 0x6044]
mov r9d, dword [r8 + 0x3f70]
lea rcx, [rcx + rdx*8]
cmp dword [rcx], r9d
je 0x140003814
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 + 0x6040], cx
movsx rax, cx
lea rcx, [r8 + 0x6044]
lea rcx, [rcx + rax*8]
mov dword [rcx], r9d
mov dword [rcx + 4], r14d
inc word [rcx + 6]
inc dword [r8 + 0x603c]
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x140003846
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test rsi, rsi
je 0x140003838
mov qword [rsi], rdi
mov rax, rbp
jmp 0x140003848
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 0x140007310
Capabilities:
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x20
movsxd r8, dword [rcx + 0xf0]
lea r11, [0x140055db0]
mov rax, qword [rcx + 0xf8]
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 + 0x4060], ebx
jne 0x1400073a6
mov r8, r10
mov edx, 4
mov ecx, ebx
call fcn.14001b7e0
mov eax, ebx
add rsp, 0x20
pop rbx
ret

Function at 0x1400073b0
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 0x18
mov rax, qword [rcx + 0xf8]
lea r9, [0x140055db0]
movss xmm2, dword [rcx + 0x110]
movss xmm3, dword [rcx + 0x114]
movsxd rcx, dword [rcx + 0xf0]
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