joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42a5a0
Capabilities:
Hash data using murmur3

Disassembly:
cmp rsp, qword [r14 + 0x18]
jbe 0x42a846
sub rsp, 0x40
mov qword [rsp + 0x38], rbp
lea rbp, [rsp + 0x38]
test byte [rax], al
lea rsi, [rax + 0x1270]
mov rcx, qword [rax + 0x1260]
sub rcx, rsi
shr rcx, 3
cmp rcx, 0x200
ja 0x42a83a
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x30], rcx
mov qword [rax + 0x1260], 0
cmp byte [0x00562313], 0
jne 0x42a602
xor edx, edx
xor ebx, ebx
nop
jmp 0x42a64b
xor edx, edx
jmp 0x42a62e
mov qword [rsp + 0x28], rdx
mov rcx, qword [rax + rdx*8 + 0x1270]
mov rax, rcx
call fcn.0041ab60
mov rcx, qword [rsp + 0x28]
lea rdx, [rcx + 1]
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
cmp rdx, rcx
jl 0x42a606
add rax, 0x1260
call fcn.0042a420
mov rbp, qword [rsp + 0x38]
add rsp, 0x40
ret
inc rdx
cmp rdx, rcx
jge 0x42a7d2
mov rsi, qword [rax + rdx*8 + 0x1270]
nop dword [rax]
cmp rsi, 0x1000
jb 0x42a648
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], rbx
mov rax, rsi
xor ebx, ebx
mov rcx, rbx
nop dword [rax + rax]
call fcn.0040f700
test rax, rax
jne 0x42a6a2
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x20]
nop
jmp 0x42a648
nop
mov rsi, rcx
shr rcx, 3
and esi, 7
mov rdx, rcx
mov rcx, rsi
mov r8d, 1
shl r8d, cl
nop
add rdx, qword [rbx + 0x50]
movzx esi, byte [rdx]
test r8b, sil
je 0x42a6e5
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x20]
nop dword [rax]
jmp 0x42a648
nop
lock or byte [rdx], r8b
nop
nop
mov rcx, qword [rbx + 0x18]
nop
movabs rsi, 0x800000000000
lea r8, [rsi + rcx]
mov r9, r8
shr r8, 0x2a
cmp r8, 0x40
jae 0x42a82d
lea r10, [0x00534770]
mov r8, qword [r10 + r8*8]
shr r9, 0x16
and r9d, 0xfffff
mov r9, qword [r8 + r9*8]
test byte [r9], al
test byte [r8], al
mov r8, rcx
shr rcx, 0x10
and ecx, 0x3f
movzx r10d, byte [r9 + rcx + 0x21040]
lea r9, [r9 + rcx]
lea r9, [r9 + 0x21040]
shr r8, 0xd
and r8d, 7
mov rcx, r8
mov r8d, 1
shl r8d, cl
test r8b, r10b
jne 0x42a76b
lock or byte [r9], r8b
movzx r8d, byte [rbx + 0x62]
test r8b, 1
je 0x42a7a5
mov r8, qword [rsp + 0x48]
mov r9, qword [r8 + 0x1248]
add r9, qword [rbx + 0x68]
mov qword [r8 + 0x1248], r9
mov rax, r8
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x20]
nop
jmp 0x42a648
mov r8, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x30]
cmp r8, rcx
jae 0x42a825
mov r9, qword [rsp + 0x48]
mov qword [r9 + r8*8 + 0x1270], rax
lea rbx, [r8 + 1]
mov rax, r9
mov rdx, qword [rsp + 0x28]
jmp 0x42a648
cmp rbx, 0x200
ja 0x42a817
lea rdx, [rax + 0x1270]
lea rsi, [rax + 0x1238]
mov rcx, rbx
mov edi, 0x200
mov rbx, rdx
mov rax, rsi
call fcn.00420780
mov rdx, qword [rsp + 0x48]
lea rax, [rdx + 0x1260]
call fcn.0042a420
mov rbp, qword [rsp + 0x38]
add rsp, 0x40
ret
mov rcx, rbx
mov edx, 0x200
nop
call fcn.00458d40
mov rax, r8
call fcn.00458cc0
mov rax, r8
mov ecx, 0x40
call fcn.00458ce0
mov edx, 0x200
nop
call fcn.00458d20
nop
mov qword [rsp + 8], rax
call fcn.0045acc0
mov rax, qword [rsp + 8]
jmp fcn.0042a5a0
Function at 0x448ce0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub rsp, 0x18
mov qword [rsp + 0x10], rbp
lea rbp, [rsp + 0x10]
mov qword [rsp + 0x20], rax
test rbx, rbx
jbe 0x448e58
movzx edx, byte [rax]
nop
test edx, edx
jne 0x448d1c
test r8b, r8b
jne 0x448d1c
xor eax, eax
xor ebx, ebx
mov rcx, rbx
xor edi, edi
mov rbp, qword [rsp + 0x10]
add rsp, 0x18
ret
bt edx, 7
jae 0x448d2f
xor edx, edx
xor r8d, r8d
xor r9d, r9d
jmp 0x448e18
mov r8d, 1
mov r9d, edx
and edx, 1
neg edx
shr r9d, 1
xor edx, r9d
add dword [rsi], edx
cmp rbx, r8
jb 0x448e06
sub rbx, r8
sub rcx, r8
mov rdx, rcx
neg rcx
sar rcx, 0x3f
and r8, rcx
lea rsi, [rax + r8]
test rbx, rbx
jbe 0x448dfc
movzx r8d, byte [rax + r8]
bt r8d, 7
jae 0x448d83
xor eax, eax
xor ecx, ecx
xor r8d, r8d
jmp 0x448dc6
mov eax, 1
cmp rax, rbx
ja 0x448db5
add qword [rdi], r8
sub rdx, rax
sub rbx, rax
mov rcx, rdx
neg rdx
sar rdx, 0x3f
and rax, rdx
add rax, rsi
mov edi, 1
mov rbp, qword [rsp + 0x10]
add rsp, 0x18
ret
mov rcx, rbx
call fcn.00458d80
lea r8d, [rcx + 7]
mov ecx, eax
mov eax, r10d
cmp rax, rbx
jae 0x448df4
movzx r9d, byte [rax + rsi]
lea r10d, [rax + 1]
mov r11d, r9d
and r9d, 0x7f
mov eax, ecx
mov ecx, r8d
shl r9d, cl
or eax, r9d
test r11b, 0x80
jne 0x448dbd
mov r8d, eax
mov eax, r10d
jmp 0x448d88
mov rcx, rbx
call fcn.00458cc0
xor eax, eax
mov rcx, rbx
call fcn.00458cc0
mov eax, r8d
mov rcx, rbx
call fcn.00458d80
lea r9d, [rcx + 7]
mov rcx, r12
cmp rbx, rdx
jbe 0x448e4e
movzx r10d, byte [rdx + rax]
inc edx
mov r11d, r10d
and r10d, 0x7f
mov r12, rcx
mov ecx, r9d
shl r10d, cl
or r8d, r10d
test r11b, 0x80
jne 0x448e11
mov rcx, r12
mov r9d, edx
mov edx, r8d
mov r8d, r9d
jmp 0x448d35
mov eax, edx
mov rcx, rbx
call fcn.00458cc0
xor eax, eax
mov rcx, rbx
nop dword [rax]
call fcn.00458cc0
nop
int3
Function at 0x4505c0
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x45067b
sub rsp, 0x60
mov qword [rsp + 0x58], rbp
lea rbp, [rsp + 0x58]
mov qword [rsp + 0x70], rbx
mov qword [rsp + 8], 0
movups xmmword [rsp + 0x10], xmm15
movups xmmword [rsp + 0x18], xmm15
movups xmmword [rsp + 0x28], xmm15
movups xmmword [rsp + 0x38], xmm15
movups xmmword [rsp + 0x48], xmm15
lea rdx, [0x004506c0]
mov qword [rsp + 0x10], rdx
mov rdx, qword [rsp + 0x60]
mov qword [rsp + 0x18], rdx
lea rdx, [rsp + 0x68]
mov qword [rsp + 0x20], rdx
mov rdx, r14
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x48], rdi
lea rax, [rsp + 8]
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x10]
mov qword [rsp], rax
call fcn.004564c0
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
mov rax, qword [rsp + 8]
mov rbp, qword [rsp + 0x58]
add rsp, 0x60
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
call fcn.00456600
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
jmp fcn.004505c0
Function at 0x458780
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
mov rax, qword [rax]
movabs rcx, 0xe7037ed1a0b428db
xor rcx, rax
xor rax, rbx
xor rax, qword [0x005625c0]
movabs rdx, 0xa0761d6478bd642f
xor rdx, rax
mov rax, rcx
mul rdx
xor rax, rdx
mov rcx, rax
movabs rax, 0x1d8e4e27c47d1247
mul rcx
nop
nop
xor rax, rdx
ret
cmp byte [0x00562312], 0
je 0x4587b6
movq xmm0, rbx
pinsrq xmm0, qword [rax], 1
aesenc xmm0, xmmword [0x00562880]
aesenc xmm0, xmmword [0x00562890]
aesenc xmm0, xmmword [0x005628a0]
movq rax, xmm0
ret
jmp 0x4084a0

Function at 0x45a0a0
Capabilities:
Write file on windows

Disassembly:
sub rsp, 0x30
mov rcx, 0xfffffffffffffff4
mov qword [rsp], rcx
mov rax, qword [sym.imp.kernel32.dll_GetStdHandle]
call rax
mov rcx, rax
mov qword [rsp], rcx
lea rdx, [0x00562800]
mov qword [rsp + 8], rdx
lea r8d, [0x00562328]
mov qword [rsp + 0x10], r8
lea r9, [rsp + 0x28]
mov qword [r9], 0
mov qword [rsp + 0x18], r9
mov qword [rsp + 0x20], 0
mov rax, qword [sym.imp.kernel32.dll_WriteFile]
call rax
call fcn.00458660
add rsp, 0x30
ret

Function at 0x465340
Capabilities:
Encode data using xor

Disassembly:
mov rbx, qword [rsp + 8]
mov rsi, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdx, qword [rsp + 0x20]
test rdx, 0xf
jne 0x4653ab
mov rax, 0
movdqu xmm0, xmmword [rsi + rax]
movdqu xmm1, xmmword [rcx + rax]
pxor xmm0, xmm1
movdqu xmmword [rbx + rax], xmm0
add rax, 0x10
cmp rdx, rax
jne 0x465364
ret
sub rdx, 1
mov dil, byte [rsi + rdx]
mov al, byte [rcx + rdx]
xor dil, al
mov byte [rbx + rdx], dil
test rdx, 7
jne 0x465381
cmp rdx, 0
je 0x4653cd
test rdx, 0xf
je 0x46535d
test rdx, 7
jne 0x465381
sub rdx, 8
mov rdi, qword [rsi + rdx]
mov rax, qword [rcx + rdx]
xor rdi, rax
mov qword [rbx + rdx], rdi
cmp rdx, 0x10
jge 0x46535d
ret
Function at 0x466e20
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
mov rcx, qword [rsp + 8]
mov rax, qword [rsp + 0x10]
mov rdx, qword [rsp + 0x18]
mov rbx, qword [rsp + 0x20]
movups xmm1, xmmword [rax]
movups xmm0, xmmword [rbx]
add rax, 0x10
pxor xmm0, xmm1
sub rcx, 0xc
je 0x466e5f
jb 0x466e74
movups xmm1, xmmword [rax]
aesenc xmm0, xmm1
movups xmm1, xmmword [rax + 0x10]
aesenc xmm0, xmm1
add rax, 0x20
movups xmm1, xmmword [rax]
aesenc xmm0, xmm1
movups xmm1, xmmword [rax + 0x10]
aesenc xmm0, xmm1
add rax, 0x20
movups xmm1, xmmword [rax]
aesenc xmm0, xmm1
movups xmm1, xmmword [rax + 0x10]
aesenc xmm0, xmm1
movups xmm1, xmmword [rax + 0x20]
aesenc xmm0, xmm1
movups xmm1, xmmword [rax + 0x30]
aesenc xmm0, xmm1
movups xmm1, xmmword [rax + 0x40]
aesenc xmm0, xmm1
movups xmm1, xmmword [rax + 0x50]
aesenc xmm0, xmm1
movups xmm1, xmmword [rax + 0x60]
aesenc xmm0, xmm1
movups xmm1, xmmword [rax + 0x70]
aesenc xmm0, xmm1
movups xmm1, xmmword [rax + 0x80]
aesenc xmm0, xmm1
movups xmm1, xmmword [rax + 0x90]
aesenclast xmm0, xmm1
movups xmmword [rdx], xmm0
ret
Function at 0x466ee0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
mov rcx, qword [rsp + 8]
mov rax, qword [rsp + 0x10]
mov rbx, qword [rsp + 0x18]
mov rdx, qword [rsp + 0x20]
movups xmm0, xmmword [rax]
movups xmmword [rbx], xmm0
add rbx, 0x10
pxor xmm4, xmm4
cmp ecx, 0xc
je 0x466fb0
jb 0x46700f
movups xmm2, xmmword [rax + 0x10]
movups xmmword [rbx], xmm2
add rbx, 0x10
aeskeygenassist xmm1, xmm2, 1
call fcn.00466dc0
aeskeygenassist xmm1, xmm0, 1
call fcn.00466de0
aeskeygenassist xmm1, xmm2, 2
call fcn.00466dc0
aeskeygenassist xmm1, xmm0, 2
call fcn.00466de0
aeskeygenassist xmm1, xmm2, 4
call fcn.00466dc0
aeskeygenassist xmm1, xmm0, 4
call fcn.00466de0
aeskeygenassist xmm1, xmm2, 8
call fcn.00466dc0
aeskeygenassist xmm1, xmm0, 8
call fcn.00466de0
aeskeygenassist xmm1, xmm2, 0x10
call fcn.00466dc0
aeskeygenassist xmm1, xmm0, 0x10
call fcn.00466de0
aeskeygenassist xmm1, xmm2, 0x20
call fcn.00466dc0
aeskeygenassist xmm1, xmm0, 0x20
call fcn.00466de0
aeskeygenassist xmm1, xmm2, 0x40
call fcn.00466dc0
jmp 0x46707d
movq xmm2, qword [rax + 0x10]
aeskeygenassist xmm1, xmm2, 1
call fcn.00466d20
aeskeygenassist xmm1, xmm2, 2
call fcn.00466d80
aeskeygenassist xmm1, xmm2, 4
call fcn.00466d20
aeskeygenassist xmm1, xmm2, 8
call fcn.00466d80
aeskeygenassist xmm1, xmm2, 0x10
call fcn.00466d20
aeskeygenassist xmm1, xmm2, 0x20
call fcn.00466d80
aeskeygenassist xmm1, xmm2, 0x40
call fcn.00466d20
aeskeygenassist xmm1, xmm2, 0x80
call fcn.00466d80
jmp 0x46707d
aeskeygenassist xmm1, xmm0, 1
call fcn.00466ce0
aeskeygenassist xmm1, xmm0, 2
call fcn.00466ce0
aeskeygenassist xmm1, xmm0, 4
call fcn.00466ce0
aeskeygenassist xmm1, xmm0, 8
call fcn.00466ce0
aeskeygenassist xmm1, xmm0, 0x10
call fcn.00466ce0
aeskeygenassist xmm1, xmm0, 0x20
call fcn.00466ce0
aeskeygenassist xmm1, xmm0, 0x40
call fcn.00466ce0
aeskeygenassist xmm1, xmm0, 0x80
call fcn.00466ce0
aeskeygenassist xmm1, xmm0, 0x1b
call fcn.00466ce0
aeskeygenassist xmm1, xmm0, 0x36
call fcn.00466ce0
sub rbx, 0x10
movups xmm1, xmmword [rbx]
movups xmmword [rdx], xmm1
dec rcx
movups xmm1, xmmword [rbx - 0x10]
aesimc xmm0, xmm1
movups xmmword [rdx + 0x10], xmm0
sub rbx, 0x10
add rdx, 0x10
dec rcx
jne 0x46708a
movups xmm0, xmmword [rbx - 0x10]
movups xmmword [rdx + 0x10], xmm0
ret
Function at 0x140002750
Capabilities:
Get file version info

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x608]
sub rsp, 0x6e0
mov rax, qword [0x14005c010]
xor rax, rsp
mov qword [rbp + 0x5d0], rax
xor r14d, r14d
xor edx, edx
mov r8d, 0x11c
lea rcx, [rbp + 0x60]
call fcn.140014730
lea rcx, [0x140055630]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test rax, rax
je 0x1400027c8
lea rdx, str.RtlGetVersion
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1400027c8
lea rcx, [rbp + 0x60]
call rax
lea r8, [rbp - 0x60]
lea rdx, str.kernel32.dll
mov ecx, 2
call qword [sym.imp.VERSION.dll_GetFileVersionInfoSizeExW]
mov esi, eax
mov rbx, r14
mov rdi, r14
mov r12d, 0x1000
test eax, eax
je 0x140002817
mov ecx, esi
cmp rsi, r12
jb 0x1400027fe
call fcn.1400065b0
jmp 0x140002803
call fcn.140011594
mov rbx, rax
lea rdi, [rax + rsi]
mov r8, rsi
xor edx, edx
mov rcx, rax
call fcn.140014730
sub rdi, rbx
mov qword [rsp + 0x20], rbx
mov r9d, edi
mov r8d, dword [rbp - 0x60]
lea rdx, str.kernel32.dll
mov ecx, 2
call qword [sym.imp.VERSION.dll_GetFileVersionInfoExW]
mov qword [rsp + 0x40], r14
mov dword [rsp + 0x48], r14d
lea r9, [rsp + 0x48]
lea r8, [rsp + 0x40]
lea rdx, [0x1400558ac]
mov rcx, rbx
call qword [sym.imp.VERSION.dll_VerQueryValueW]
mov rax, qword [rsp + 0x40]
movzx edx, word [rax + 0xe]
mov ecx, dword [rax + 8]
and ecx, 0xffff0000
cmp ecx, 0xa0000
jb 0x1400030d1
cmp edx, 0x4a61
jb 0x1400030d1
cmp edx, 0x585d
jb 0x1400028a3
call fcn.1400025dc
test al, al
je 0x1400028a3
lea rcx, str.ERROR:_Your_windows_version_is_Windows_11_22H2_or_higher_version__please_use_older_versions_of_windows._n_n
jmp 0x1400030d8
test rbx, rbx
je 0x1400028d4
cmp rdi, r12
jb 0x1400028c9
add rdi, 0x27
mov rcx, qword [rbx - 8]
sub rbx, rcx
lea rax, [rbx - 8]
cmp rax, 0x1f
ja 0x14000314e
mov rbx, rcx
mov rdx, rdi
mov rcx, rbx
call fcn.1400112f0
jmp 0x140f3444f
lea rcx, str.ERROR:_Your_windows_version_is_old__you_must_use_minimum_windows_10_x64_20h1_version_or_higher_version._n_n
call fcn.1400011c8
lea rcx, str.pause
call fcn.14001d874
test rbx, rbx
je 0x140003116
cmp rdi, r12
jb 0x14000310b
add rdi, 0x27
mov rcx, qword [rbx - 8]
sub rbx, rcx
lea rax, [rbx - 8]
cmp rax, 0x1f
ja 0x14000314e
mov rbx, rcx
mov rdx, rdi
mov rcx, rbx
call fcn.1400112f0
xor eax, eax
mov rcx, qword [rbp + 0x5d0]
xor rcx, rsp
call fcn.1400112d0
lea r11, [rsp + 0x6e0]
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
call fcn.14001f0c0
nop
call fcn.1400056cc
nop
call fcn.140011400
nop
call fcn.14001f0c0
nop
call fcn.14001f0c0
nop
call fcn.14001f0c0
nop
call fcn.14001f0c0
int3
Function at 0x14002d388
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x1050
call fcn.14003a910
sub rsp, rax
mov rax, qword [0x14005c010]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.140027020
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x14002d3d7
mov rax, rbp
jmp 0x14002d4df
mov rax, qword [rbx]
mov rcx, r14
sub rax, qword [rbx + 8]
and ecx, 0x3f
cqo
mov rbx, r14
sub rax, rdx
sar rbx, 6
sar rax, 1
mov r9, r15
lea r12, [rcx + rcx*8]
mov rsi, rax
lea rax, [0x140000000]
xor r8d, r8d
mov rdx, qword [rax + rbx*8 + 0xce6990]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.14002e2d4
mov r13, rax
lea rax, [0x140000000]
mov rcx, qword [rax + rbx*8 + 0xce6990]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x14002d4db
mov rcx, qword [rcx + r12*8 + 0x28]
lea r9, [rsp + 0x30]
mov r8d, 0x1000
mov qword [rsp + 0x20], rdi
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14002d4db
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.14002e2d4
test rax, rax
js 0x14002d4db
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x14002d4db
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x14002d4cd
lea r8, [0x140000000]
cmp rcx, rdx
jae 0x14002d4cd
cmp byte [rcx], 0xd
jne 0x14002d4b3
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x14002d4c2
cmp byte [rcx + 1], 0xa
jne 0x14002d4c2
inc rcx
jmp 0x14002d4c2
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0x5c650]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x14002d495
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x14002d4df
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.1400112d0
mov rbx, qword [rsp + 0x1090]
add rsp, 0x1050
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x14002d674
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
movsxd r15, ecx
lea r9, [0x140ce6990]
mov rax, r15
mov rbp, r15
and eax, 0x3f
sar rbp, 6
mov ecx, 4
xor esi, esi
mov r14, rdx
lea rdi, [rax + rax*8]
mov rax, qword [r9 + rbp*8]
lea r13d, [rcx + 6]
mov r10, qword [rax + rdi*8 + 0x28]
test r8, r8
je 0x14002d6cb
cmp word [rdx], r13w
jne 0x14002d6cb
or byte [rax + rdi*8 + 0x38], cl
jmp 0x14002d6d0
and byte [rax + rdi*8 + 0x38], 0xfb
lea r8, [rdx + r8*2]
mov rbx, r14
cmp r14, r8
jae 0x14002d7f5
mov r11d, 0xd
lea r12d, [r11 - 0xb]
movzx ecx, word [rdx]
cmp cx, 0x1a
je 0x14002d816
lea r9, [rdx + 2]
cmp cx, r11w
je 0x14002d709
mov rdx, r9
mov word [rbx], cx
jmp 0x14002d730
cmp r9, r8
jae 0x14002d740
cmp word [r9], r13w
mov rax, r12
mov ecx, 4
cmove rax, rcx
add rdx, rax
mov eax, r13d
cmp word [r9], r13w
cmovne ax, r11w
mov word [rbx], ax
mov rax, r12
add rbx, rax
cmp rdx, r8
jb 0x14002d6ea
jmp 0x14002d7f5
lea r9, [rsp + 0x80]
mov qword [rsp + 0x20], rsi
mov r8d, r12d
lea rdx, [rsp + 0x70]
mov rcx, r10
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14002d7ea
cmp dword [rsp + 0x80], esi
je 0x14002d7ea
lea r8, [0x140ce6990]
mov rax, qword [r8 + rbp*8]
test byte [rax + rdi*8 + 0x38], 0x48
je 0x14002d7c2
movzx eax, word [rsp + 0x70]
cmp ax, r13w
jne 0x14002d792
mov word [rbx], r13w
jmp 0x14002d7f2
mov ecx, 0xd
mov word [rsp + 0x78], ax
mov word [rbx], cx
mov rax, qword [r8 + rbp*8]
lea rcx, [rax + rdi*8]
mov al, byte [rsp + rsi + 0x78]
mov byte [rcx + rsi + 0x3a], al
inc rsi
cmp rsi, r12
jl 0x14002d79f
mov rax, qword [r8 + rbp*8]
mov byte [rax + rdi*8 + 0x3c], r13b
jmp 0x14002d7f2
cmp word [rsp + 0x70], r13w
jne 0x14002d7cf
cmp rbx, r14
je 0x14002d78c
mov rdx, 0xfffffffffffffffe
mov ecx, r15d
lea r8d, [rdx + 3]
call fcn.14002e2dc
cmp word [rsp + 0x70], r13w
je 0x14002d7f5
mov ecx, 0xd
mov word [rbx], cx
add rbx, r12
sub rbx, r14
sar rbx, 1
lea eax, [rbx + rbx]
mov rbx, qword [rsp + 0x88]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea r8, [0x140ce6990]
mov rdx, qword [r8 + rbp*8]
mov al, byte [rdx + rdi*8 + 0x38]
test al, 0x40
jne 0x14002d7ef
or al, r12b
mov byte [rdx + rdi*8 + 0x38], al
jmp 0x14002d7f5
Function at 0x1400038d0
Capabilities:
Enumerate threads

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rax, qword [0x1400a94c0]
xor rax, rsp
mov qword [rsp + 0x50], rax
xor edx, edx
mov ecx, 4
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0xffffffffffffffff
je 0x140003a5e
mov dword [rsp + 0x30], Ordinal_32
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call sub.KERNEL32.dll_Thread32First
test eax, eax
je 0x140003a53
mov eax, dword [rsp + 0x30]
cmp rax, 0x10
jb 0x140003a34
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [rsp + 0x3c], eax
jne 0x140003a34
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [rsp + 0x38], eax
je 0x140003a34
mov rax, qword [rsp + 0x70]
cmp qword [rax], 0
jne 0x1400039a1
mov rax, qword [rsp + 0x70]
mov dword [rax + 8], 0x80
mov rax, qword [rsp + 0x70]
mov eax, dword [rax + 8]
shl rax, 2
mov r8, rax
xor edx, edx
mov rcx, qword [0x1400a9c18]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rcx, qword [rsp + 0x70]
mov qword [rcx], rax
mov rax, qword [rsp + 0x70]
cmp qword [rax], 0
jne 0x14000399f
jmp 0x140003a53
jmp 0x140003a0b
mov rax, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x70]
mov ecx, dword [rcx + 8]
cmp dword [rax + 0xc], ecx
jb 0x140003a0b
mov rax, qword [rsp + 0x70]
mov eax, dword [rax + 8]
shl eax, 1
mov eax, eax
shl rax, 2
mov r9, rax
mov rax, qword [rsp + 0x70]
mov r8, qword [rax]
xor edx, edx
mov rcx, qword [0x1400a9c18]
call qword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x1400039ec
jmp 0x140003a53
mov rax, qword [rsp + 0x70]
mov eax, dword [rax + 8]
shl eax, 1
mov rcx, qword [rsp + 0x70]
mov dword [rcx + 8], eax
mov rax, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x28]
mov qword [rax], rcx
mov rax, qword [rsp + 0x70]
mov eax, dword [rax + 0xc]
mov rcx, qword [rsp + 0x70]
mov rcx, qword [rcx]
mov edx, dword [rsp + 0x38]
mov dword [rcx + rax*4], edx
mov rax, qword [rsp + 0x70]
mov eax, dword [rax + 0xc]
inc eax
mov rcx, qword [rsp + 0x70]
mov dword [rcx + 0xc], eax
mov dword [rsp + 0x30], Ordinal_32
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call sub.KERNEL32.dll_Thread32Next
test eax, eax
jne 0x140003924
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140085270
add rsp, 0x68
ret
Function at 0x140003a80
Capabilities:
Suspend thread

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov rax, qword [rsp + 0x40]
mov qword [rax], 0
mov rax, qword [rsp + 0x40]
mov dword [rax + 8], 0
mov rax, qword [rsp + 0x40]
mov dword [rax + 0xc], 0
mov rcx, qword [rsp + 0x40]
call fcn.1400038d0
mov rax, qword [rsp + 0x40]
cmp qword [rax], 0
je 0x140003b42
mov dword [rsp + 0x20], 0
jmp 0x140003adf
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0xc]
cmp dword [rsp + 0x20], eax
jae 0x140003b42
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x40]
mov rcx, qword [rcx]
mov r8d, dword [rcx + rax*4]
xor edx, edx
mov ecx, 0x5a
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x140003b40
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_SuspendThread]
mov r8d, dword [rsp + 0x50]
mov edx, dword [rsp + 0x48]
mov rcx, qword [rsp + 0x28]
call fcn.140003720
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x140003ad5
add rsp, 0x38
ret

Function at 0x140003b50
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov rax, qword [rsp + 0x40]
cmp qword [rax], 0
je 0x140003bdf
mov dword [rsp + 0x20], 0
jmp 0x140003b78
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0xc]
cmp dword [rsp + 0x20], eax
jae 0x140003bc8
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x40]
mov rcx, qword [rcx]
mov r8d, dword [rcx + rax*4]
xor edx, edx
mov ecx, 0x5a
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x140003bc6
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x140003b6e
mov rax, qword [rsp + 0x40]
mov r8, qword [rax]
xor edx, edx
mov rcx, qword [0x1400a9c18]
call qword [sym.imp.KERNEL32.dll_HeapFree]
add rsp, 0x38
ret