joyce8/EMBER2024-capa huggingface dataset:
Function at 0x624577d0
Capabilities:
Hash data with md5

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
test rcx, rcx
mov rbx, rcx
mov rsi, rdx
je 0x624579e0
test rdx, rdx
je 0x624579f9
mov edx, dword [rcx + 0x18]
mov eax, 0x10
cmp edx, 0x3f
jbe 0x62457804
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
lea r8d, [rdx*8]
add r8, qword [rcx]
mov eax, edx
mov qword [rcx], r8
lea ecx, [rdx + 1]
cmp ecx, 0x38
mov dword [rbx + 0x18], ecx
mov byte [rbx + rax + 0x1c], pe_nt_image_headers64
ja 0x62457960
cmp ecx, 0x38
lea rdi, [rbx + 0x1c]
je 0x62457929
mov edx, ecx
lea r9d, [rcx + 1]
mov eax, ecx
not edx
mov byte [rbx + rax + 0x1c], 0
and edx, 7
cmp r9d, 0x38
je 0x62457922
test edx, edx
je 0x624578cd
cmp edx, 1
je 0x624578bb
cmp edx, 2
je 0x624578af
cmp edx, 3
je 0x624578a3
cmp edx, 4
je 0x62457896
cmp edx, 5
je 0x62457889
cmp edx, 6
je 0x6245787d
mov byte [rbx + r9 + 0x1c], 0
lea r9d, [rcx + 2]
mov ecx, r9d
add r9d, 1
mov byte [rbx + rcx + 0x1c], 0
mov r10d, r9d
add r9d, 1
mov byte [rbx + r10 + 0x1c], 0
mov r11d, r9d
add r9d, 1
mov byte [rbx + r11 + 0x1c], 0
mov edx, r9d
add r9d, 1
mov byte [rbx + rdx + 0x1c], 0
mov eax, r9d
add r9d, 1
mov byte [rbx + rax + 0x1c], 0
mov ecx, r9d
add r9d, 1
cmp r9d, 0x38
mov byte [rbx + rcx + 0x1c], 0
je 0x62457922
lea r11d, [r9 + 1]
lea edx, [r9 + 2]
mov r10d, r9d
mov byte [rbx + r10 + 0x1c], 0
lea eax, [r9 + 3]
lea ecx, [r9 + 4]
mov byte [rbx + r11 + 0x1c], 0
lea r10d, [r9 + 5]
mov byte [rbx + rdx + 0x1c], 0
lea r11d, [r9 + 6]
lea edx, [r9 + 7]
add r9d, 8
cmp r9d, 0x38
mov byte [rbx + rax + 0x1c], 0
mov byte [rbx + rcx + 0x1c], 0
mov byte [rbx + r10 + 0x1c], 0
mov byte [rbx + r11 + 0x1c], 0
mov byte [rbx + rdx + 0x1c], 0
jne 0x624578cd
mov dword [rbx + 0x18], 0x38
mov qword [rbx + 0x54], r8
mov rdx, rdi
mov rcx, rbx
call fcn.62456f30
mov r9d, dword [rbx + 8]
xor eax, eax
mov dword [rsi], r9d
mov edi, dword [rbx + 0xc]
mov dword [rsi + 4], edi
mov r8d, dword [rbx + 0x10]
mov dword [rsi + 8], r8d
mov ebx, dword [rbx + 0x14]
mov dword [rsi + 0xc], ebx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
cmp ecx, 0x40
je 0x624579c7
lea edi, [rdx + 2]
mov byte [rbx + rcx + 0x1c], 0
cmp edi, 0x40
je 0x624579c0
lea r8d, [rdx + 3]
mov byte [rbx + rdi + 0x1c], 0
cmp r8d, 0x40
je 0x624579c0
lea r9d, [rdx + 4]
mov byte [rbx + r8 + 0x1c], 0
cmp r9d, 0x40
je 0x624579c0
lea r10d, [rdx + 5]
mov byte [rbx + r9 + 0x1c], 0
cmp r10d, 0x40
je 0x624579c0
lea r11d, [rdx + 6]
mov byte [rbx + r10 + 0x1c], 0
cmp r11d, 0x40
je 0x624579c0
cmp edx, 0x38
mov byte [rbx + r11 + 0x1c], 0
jne 0x624579c0
mov byte [rbx + 0x5b], 0
mov dword [rbx + 0x18], 0x40
lea rdi, [rbx + 0x1c]
mov rcx, rbx
mov rdx, rdi
call fcn.62456f30
mov r8, qword [rbx]
xor ecx, ecx
jmp 0x62457835
lea rdx, str.src_hashes_md5.c
lea rcx, [0x624cc211]
mov r8d, 0x106
call fcn.6245c710
lea rdx, str.src_hashes_md5.c
lea rcx, [0x624cc21c]
mov r8d, 0x107
call fcn.6245c710
nop
nop dword [rax]
nop word cs:[rax + rax]
Function at 0x6249fb50
Capabilities:
Check for software breakpoints

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
test r8d, r8d
mov rbp, rcx
je 0x6249fb90
mov rcx, qword [rdx + 0x10]
cmp dword [rcx + 8], 0xcd
je 0x6249fb82
test byte [rcx + 0xd], 0x10
jne 0x6249fb82
cmp qword [rdx + 0x28], 0
jne 0x6249fb82
cmp qword [rcx + 0x28], rdx
je 0x6249fb93
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov rcx, rdx
mov rsi, qword [rdx + 0x18]
mov rbx, qword [rcx]
mov rdi, qword [rdx + 0x20]
and esi, 0x7fff
test rbx, rbx
je 0x6249fb82
mov edx, dword [rbx + 8]
movsxd r12, esi
cmp edx, 0x5c
je 0x6249fc13
ja 0x6249fc30
lea eax, [rdx - 7]
cmp eax, 1
jbe 0x6249fb82
mov rcx, rbp
call fcn.6249f740
test al, 4
jne 0x6249fb82
mov edx, eax
and edx, 3
cmp edx, 3
je 0x6249fcb0
mov edx, eax
and edx, 0x300
cmp edx, 0x300
je 0x6249fce0
and eax, 0x30000
mov rcx, rbx
cmp eax, 0x30000
je 0x6249fd06
mov rbx, qword [rcx]
test rbx, rbx
je 0x6249fb82
mov edx, dword [rbx + 8]
cmp edx, 0x5c
jne 0x6249fbb4
mov rax, qword [rbx + 0x10]
and eax, 0x7fff
cmp r12, rax
je 0x6249fc43
mov rcx, rbx
jmp 0x6249fbff
cmp edx, 0xcd
jne 0x6249fbbe
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
cmp word [rbx + 0xc], 0
jne 0x6249fb82
cmp qword [rbx + 0x18], rdi
jne 0x6249fb82
cmp rcx, rbx
mov rax, qword [rbx]
je 0x6249fd40
mov qword [rcx], rax
mov qword [rbx], 0
mov qword [rbx + 8], 0
mov qword [rbx + 0x10], 0
mov qword [rbx + 0x18], 0
mov qword [rbx + 0x20], 0
mov qword [rbx + 0x28], 0
mov rax, qword [rbp + 0x38]
mov rdx, qword [rax + 0x100]
mov qword [rbx], rdx
mov qword [rax + 0x100], rbx
jmp 0x6249fbff
test al, 8
je 0x6249fd20
mov edx, dword [rbx + 0x10]
and edx, 0x7fff
cmp edx, esi
je 0x6249fb82
mov edx, dword [rbx + 0x14]
and edx, 0x7fff
cmp edx, esi
jne 0x6249fbd8
jmp 0x6249fb82
mov rdx, qword [rbx + 0x18]
and edx, 0x7fff
cmp r12, rdx
je 0x6249fb82
and eax, 0x30000
mov rcx, rbx
cmp eax, 0x30000
jne 0x6249fbff
mov rax, qword [rbx + 0x20]
and eax, 0x7fff
cmp r12, rax
jne 0x6249fbff
jmp 0x6249fb82
mov rdx, qword [rbx + 0x10]
and edx, 0x7fff
cmp r12, rdx
jne 0x6249fbd8
jmp 0x6249fb82
mov rdx, qword [rbp + 0x38]
mov qword [rdx], rax
jmp 0x6249fc67
Function at 0x624be070
Capabilities:
Encode data using xor

Disassembly:
push rbp
mov rbp, rsp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
and rsp, 0xfffffffffffffff0
sub rsp, 0x20
cmp dword [rcx + 0x244], 0x10
ja 0x624be0f0
mov rbx, rcx
mov ecx, dword [rcx + 0x238]
mov rsi, rdx
mov edi, r8d
call fcn.6245c750
test eax, eax
mov r14d, eax
jne 0x624be0f6
mov eax, dword [rbx + 0x240]
test eax, eax
jne 0x624be0e1
movsxd rcx, dword [rbx + 0x244]
test ecx, ecx
jne 0x624be110
cmp qword [rbx + 0x248], 0
je 0x624be300
lea r13, [rbx + 0x228]
lea r12, [rbx + 0x1f8]
jmp 0x624be18a
cmp eax, 1
je 0x624be310
nop word [rax + rax]
mov r14d, 0x10
lea rsp, [rbp - 0x38]
mov eax, r14d
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
mov eax, dword [rbx + 0x23c]
lea r13, [rbx + 0x228]
test eax, eax
jne 0x624be150
cmp ecx, 0xc
jne 0x624be150
mov rax, qword [rbx + 0x228]
mov qword [rbx + 0x208], rax
mov eax, dword [r13 + 8]
mov dword [rbx + 0x214], 0x1000000
mov dword [rbx + 0x210], eax
jmp 0x624be1f5
lea eax, [rcx - 1]
lea r12, [rbx + 0x1f8]
lea r8, [rbx + rax + 0x1f9]
mov rdx, r12
movzx eax, byte [rdx + 0x30]
xor byte [rdx], al
add rdx, 1
cmp rdx, r8
jne 0x624be165
shl rcx, 3
add qword [rbx + 0x248], rcx
mov rdx, r12
mov rcx, rbx
call fcn.62456870
mov edx, 8
mov rcx, r13
call fcn.6245d250
mov rax, qword [rbx + 0x248]
mov rdx, r12
bswap rax
mov qword [rbx + 0x230], rax
lea rax, [rbx + 0x208]
movzx ecx, byte [rdx + 0x30]
xor byte [rdx], cl
add rdx, 1
cmp rax, rdx
jne 0x624be1b2
mov rdx, r12
mov rcx, rbx
call fcn.62456870
mov rdx, qword [rbx + 0x200]
mov rax, qword [rbx + 0x1f8]
mov rcx, r12
mov qword [rbx + 0x210], rdx
mov qword [rbx + 0x208], rax
mov edx, 0x10
call fcn.6245d250
mov rdx, qword [rbx + 0x210]
mov rax, qword [rbx + 0x208]
mov rcx, r13
mov qword [rbx + 0x220], rdx
mov qword [rbx + 0x218], rax
mov edx, 0x10
call fcn.6245d250
mov qword [rbx + 0x240], 1
mov qword [rbx + 0x248], 0
mov r13d, edi
and r13d, 0xfffffff0
je 0x624be330
lea r15, [rbx + 0x1f8]
xor r12d, r12d
nop dword [rax + rax]
mov eax, r12d
mov rdx, r15
mov rcx, rbx
mov rax, qword [rsi + rax]
xor qword [rbx + 0x1f8], rax
lea eax, [r12 + 8]
add r12d, 0x10
mov rax, qword [rsi + rax]
xor qword [rbx + 0x200], rax
call fcn.62456870
sub qword [rbx + 0x248], 0xffffffffffffff80
cmp r12d, r13d
jb 0x624be250
mov eax, r12d
add rsi, rax
cmp edi, r12d
jbe 0x624be0f6
sub edi, 1
sub edi, r12d
lea r12, [rsi + rdi + 1]
lea rdi, [rbx + 0x1f8]
jmp 0x624be2b9
cmp rsi, r12
je 0x624be0f6
movsxd rdx, dword [rbx + 0x244]
add rsi, 1
movzx ecx, byte [rsi - 1]
lea eax, [rdx + 1]
mov dword [rbx + 0x244], eax
xor byte [rbx + rdx + 0x1f8], cl
cmp eax, 0x10
jne 0x624be2b0
mov rdx, rdi
mov rcx, rbx
call fcn.62456870
mov dword [rbx + 0x244], 0
sub qword [rbx + 0x248], 0xffffffffffffff80
jmp 0x624be2b0
mov r14d, 1
jmp 0x624be0f6
mov eax, dword [rbx + 0x244]
cmp eax, 0xf
jg 0x624be0f0
xor r12d, r12d
test eax, eax
jne 0x624be290
jmp 0x624be234
xor r12d, r12d
jmp 0x624be290
Function at 0x624be760
Capabilities:
Encode data using xor

Disassembly:
push r14
push r13
push r12
push rbp
mov ebp, 0x10
push rdi
push rsi
push rbx
sub rsp, 0x20
mov eax, dword [rcx + 0x240]
test eax, eax
jne 0x624be8a1
cmp dword [rcx + 0x244], 0xf
mov rbx, rcx
ja 0x624be8a1
mov ecx, dword [rcx + 0x238]
mov rsi, rdx
mov r12d, r8d
call fcn.6245c750
test eax, eax
mov ebp, eax
jne 0x624be8a1
mov eax, dword [rbx + 0x244]
lea edx, [rax + r12]
cmp edx, 0xc
jbe 0x624be7c2
or dword [rbx + 0x23c], 1
xor edi, edi
test eax, eax
jne 0x624be81b
mov r13d, r12d
and r13d, 0xfffffff0
je 0x624be8b2
lea r14, [rbx + 0x1f8]
nop dword [rax]
mov eax, edi
mov rdx, r14
mov rcx, rbx
mov rax, qword [rsi + rax]
xor qword [rbx + 0x1f8], rax
lea eax, [rdi + 8]
add edi, 0x10
mov rax, qword [rsi + rax]
xor qword [rbx + 0x200], rax
call fcn.62456870
sub qword [rbx + 0x248], 0xffffffffffffff80
cmp edi, r13d
jb 0x624be7e0
mov eax, edi
add rsi, rax
cmp r12d, edi
jbe 0x624be8a1
sub r12d, 1
lea r13, [rbx + 0x1f8]
sub r12d, edi
lea rdi, [rbx + 0x208]
lea r12, [rsi + r12 + 1]
jmp 0x624be845
cmp r12, rsi
je 0x624be8a1
movsxd rdx, dword [rbx + 0x244]
add rsi, 1
lea ecx, [rdx + 1]
mov dword [rbx + 0x244], ecx
movzx eax, byte [rsi - 1]
cmp ecx, 0x10
mov byte [rbx + rdx + 0x228], al
jne 0x624be840
mov rdx, r13
nop dword [rax]
movzx ecx, byte [rdx + 0x30]
xor byte [rdx], cl
add rdx, 1
cmp rdi, rdx
jne 0x624be870
mov rdx, r13
mov rcx, rbx
call fcn.62456870
sub qword [rbx + 0x248], 0xffffffffffffff80
cmp r12, rsi
mov dword [rbx + 0x244], 0
jne 0x624be845
add rsp, 0x20
mov eax, ebp
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
mov edi, eax
jmp 0x624be81b
Function at 0x62c25058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x62c251df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, pe_nt_image_headers64
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x62c25089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x62c2506f
add dl, dl
jne 0x62c25096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x62c250f6
xor eax, eax
add dl, dl
jne 0x62c250a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x62c251ad
add dl, dl
jne 0x62c250b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x62c250c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x62c250d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x62c250dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x62c250ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x62c2507e
mov eax, 1
add dl, dl
jne 0x62c25106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x62c25113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x62c250fb
sub eax, ebx
mov ebx, 1
jne 0x62c2514c
mov ecx, 1
add dl, dl
jne 0x62c2512e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x62c2513b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x62c25123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x62c2507e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x62c25168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x62c25175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x62c2515d
cmp eax, 0x7d00
jae 0x62c2519b
cmp eax, 0x500
jb 0x62c25196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x62c2507e
cmp eax, 0x7f
ja 0x62c2519e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x62c2507e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x62c251d2
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 0x62c2507e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140006e6c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov rax, qword [rsp + 0x60]
mov dword [rax], 0
xor edx, edx
xor ecx, ecx
call fcn.140034a20
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x20], 0
mov dword [rsp + 0x24], 0
jmp 0x140006eaa
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x24]
add eax, 0x3e8
movzx eax, ax
mov qword [rsp + 0x40], rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea r8, [0x14004b500]
mov rcx, qword [rsp + 0x40]
mov rdx, rcx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x140006efd
cmp dword [rsp + 0x24], 0
je 0x140006ef6
jmp 0x140006fae
xor eax, eax
jmp 0x140006fbe
mov rdx, qword [rsp + 0x28]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
jne 0x140006f1e
xor eax, eax
jmp 0x140006fbe
mov rdx, qword [rsp + 0x28]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [rsp + 0x20]
add ecx, eax
mov eax, ecx
mov eax, eax
mov edx, eax
mov rcx, qword [rsp + 0x30]
call fcn.140034a20
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
jne 0x140006f52
xor eax, eax
jmp 0x140006fbe
mov rdx, qword [rsp + 0x28]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov eax, eax
mov qword [rsp + 0x48], rax
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_LockResource]
mov ecx, dword [rsp + 0x20]
mov rdx, qword [rsp + 0x30]
add rdx, rcx
mov rcx, rdx
mov rdx, qword [rsp + 0x48]
mov r8, rdx
mov rdx, rax
call fcn.140048250
mov rdx, qword [rsp + 0x28]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [rsp + 0x20]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x20], eax
jmp 0x140006ea0
mov rax, qword [rsp + 0x60]
mov ecx, dword [rsp + 0x20]
mov dword [rax], ecx
mov rax, qword [rsp + 0x30]
add rsp, 0x58
ret
Function at 0x1400074c8
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
cmp qword [rsp + 0x10], 0
je 0x1400074e7
cmp qword [rsp + 0x18], 0
jne 0x1400074ee
xor eax, eax
jmp 0x14000766b
mov rax, qword [rsp + 8]
mov rcx, qword [rsp + 0x10]
mov qword [rax], rcx
mov rax, qword [rsp + 8]
mov rcx, qword [rsp + 0x18]
mov qword [rax + 8], rcx
mov rax, qword [rsp + 8]
mov rcx, qword [rsp + 0x10]
mov qword [rax + 0x10], rcx
mov rax, qword [rsp + 8]
mov rax, qword [rax + 0x10]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140007531
xor eax, eax
jmp 0x14000766b
mov rax, qword [rsp + 8]
mov rax, qword [rax + 0x10]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x10]
add rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 8]
mov qword [rcx + 0x18], rax
mov rax, qword [rsp + 8]
mov rax, qword [rax + 0x18]
cmp dword [rax], 0x4550
je 0x14000756a
xor eax, eax
jmp 0x14000766b
mov rax, qword [rsp + 8]
mov rax, qword [rax + 0x18]
mov ecx, 8
imul rcx, rcx, 1
lea rax, [rax + rcx + 0x88]
mov rcx, qword [rsp + 8]
mov qword [rcx + 0x20], rax
mov rax, qword [rsp + 8]
mov rax, qword [rax + 0x18]
mov ecx, 8
imul rcx, rcx, 9
lea rax, [rax + rcx + 0x88]
mov rcx, qword [rsp + 8]
mov qword [rcx + 0x28], rax
mov rax, qword [rsp + 8]
mov rax, qword [rax + 0x18]
mov ecx, 8
imul rcx, rcx, 5
lea rax, [rax + rcx + 0x88]
mov rcx, qword [rsp + 8]
mov qword [rcx + 0x30], rax
mov rax, qword [rsp + 8]
mov rax, qword [rax + 0x18]
mov ecx, 8
imul rcx, rcx, 3
lea rax, [rax + rcx + 0x88]
mov rcx, qword [rsp + 8]
mov qword [rcx + 0x38], rax
mov rax, qword [rsp + 8]
mov rax, qword [rax + 0x18]
add rax, 0x108
mov rcx, qword [rsp + 8]
mov qword [rcx + 0x40], rax
mov rax, qword [rsp + 8]
cmp qword [rax + 0x10], 0
je 0x140007662
mov rax, qword [rsp + 8]
cmp qword [rax + 0x18], 0
je 0x140007662
mov rax, qword [rsp + 8]
cmp qword [rax + 0x20], 0
je 0x140007662
mov rax, qword [rsp + 8]
cmp qword [rax + 0x28], 0
je 0x140007662
mov rax, qword [rsp + 8]
cmp qword [rax + 0x30], 0
je 0x140007662
mov rax, qword [rsp + 8]
cmp qword [rax + 0x38], 0
je 0x140007662
mov rax, qword [rsp + 8]
cmp qword [rax + 0x40], 0
jne 0x140007666
xor eax, eax
jmp 0x14000766b
mov eax, 1
ret
Function at 0x14001de80
Capabilities:
Encode data using xor

Disassembly:
mov r9, r8
xor r11d, r11d
mov r10, rdx
mov r8d, r11d
cmp r9, 8
jb 0x14001deb7
mov rdx, r9
shr rdx, 3
imul rax, rdx, 0xfffffffffffffff8
add r9, rax
mov rax, qword [rcx]
add rcx, 8
xor rax, qword [r10]
add r10, 8
or r8, rax
sub rdx, 1
jne 0x14001dea0
mov rdx, r8
shr rdx, 0x20
or edx, r8d
mov r8d, edx
mov eax, edx
shr r8d, 8
or r8d, edx
shr eax, 0x10
and r8d, 0xff00
or r8d, eax
movzx eax, dl
shr r8d, 8
or r8d, eax
test r9, r9
je 0x14001dfa8
sub rcx, r10
cmp r9, 8
jb 0x14001df89
mov rax, r9
lea rdx, [r10 + 4]
and rax, 0xfffffffffffffff8
xorps xmm4, xmm4
xorps xmm3, xmm3
nop dword [rax + rax]
movd xmm2, dword [rcx + rdx - 4]
xorps xmm0, xmm0
movd xmm1, dword [rdx - 4]
lea rdx, [rdx + 8]
punpcklbw xmm2, xmm0
add r11, 8
punpcklwd xmm2, xmm0
punpcklbw xmm1, xmm0
punpcklwd xmm1, xmm0
xorps xmm2, xmm1
movd xmm1, dword [rdx - 8]
punpcklbw xmm1, xmm0
orps xmm4, xmm2
movd xmm2, dword [rcx + rdx - 8]
punpcklbw xmm2, xmm0
punpcklwd xmm2, xmm0
punpcklwd xmm1, xmm0
xorps xmm2, xmm1
orps xmm3, xmm2
cmp r11, rax
jb 0x14001df10
orps xmm3, xmm4
movdqa xmm0, xmm3
psrldq xmm0, 8
orps xmm3, xmm0
movdqa xmm0, xmm3
psrldq xmm0, 4
orps xmm3, xmm0
movd eax, xmm3
or r8d, eax
cmp r11, r9
jae 0x14001dfa8
add r10, r11
sub r9, r11
nop
movzx edx, byte [rcx + r10]
movzx eax, byte [r10]
lea r10, [r10 + 1]
xor edx, eax
or r8d, edx
sub r9, 1
jne 0x14001df90
test r8d, r8d
sete al
ret
Function at 0x14001dfb0
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 8
test r9, r9
je 0x14001e146
cmp r9, 4
jb 0x14001dfea
mov r10, r9
shr r10, 2
imul rax, r10, 0xfffffffffffffffc
add r9, rax
mov eax, dword [rdx]
add rdx, 4
xor eax, dword [r8]
add r8, 4
mov dword [rcx], eax
add rcx, 4
sub r10, 1
jne 0x14001dfd1
xor r11d, r11d
test r9, r9
je 0x14001e146
cmp r9, 8
jb 0x14001e11d
lea r10, [rcx - 1]
lea rax, [r8 - 1]
add r10, r9
add rax, r9
cmp rcx, rax
ja 0x14001e01c
cmp r10, r8
jae 0x14001e11d
lea rax, [rdx - 1]
add rax, r9
cmp rcx, rax
ja 0x14001e031
cmp r10, rdx
jae 0x14001e11d
mov qword [rsp + 0x10], rbx
mov qword [rsp], rdi
cmp r9, 0x40
jb 0x14001e0d7
mov r10, r9
mov qword [rsp + 0x18], rsi
and r10d, 0x3f
mov rbx, r9
sub rbx, r10
mov rdi, rdx
lea rax, [r8 + 0x10]
sub rdi, r8
mov rsi, rcx
sub rsi, r8
nop word [rax + rax]
movdqu xmm0, xmmword [rdi + rax - 0x10]
add r11, 0x40
movdqu xmm1, xmmword [rax - 0x10]
movdqu xmm2, xmmword [rdi + rax]
lea rax, [rax + 0x40]
xorps xmm1, xmm0
movdqu xmm0, xmmword [rax - 0x40]
movdqu xmmword [rsi + rax - 0x50], xmm1
xorps xmm2, xmm0
movdqu xmm0, xmmword [rdi + rax - 0x30]
movdqu xmm1, xmmword [rax - 0x30]
movdqu xmmword [rsi + rax - 0x40], xmm2
xorps xmm1, xmm0
movdqu xmm0, xmmword [rdi + rax - 0x20]
movdqu xmm2, xmmword [rax - 0x20]
movdqu xmmword [rsi + rax - 0x30], xmm1
xorps xmm2, xmm0
movdqu xmmword [rsi + rax - 0x20], xmm2
cmp r11, rbx
jb 0x14001e070
mov rsi, qword [rsp + 0x18]
cmp r10, 8
jb 0x14001e10f
mov r10, r9
and r10, 0xfffffffffffffff8
mov rbx, rdx
lea rax, [r11 + r8]
sub rbx, r8
mov rdi, rcx
sub rdi, r8
nop
movq xmm1, qword [rax + rbx]
add r11, 8
movq xmm0, qword [rax]
lea rax, [rax + 8]
xorps xmm1, xmm0
movq qword [rdi + rax - 8], xmm1
cmp r11, r10
jb 0x14001e0f0
mov rdi, qword [rsp]
mov rbx, qword [rsp + 0x10]
cmp r11, r9
jae 0x14001e146
sub rdx, r8
lea r10, [r11 + r8]
sub rcx, r8
sub r9, r11
nop word [rax + rax]
movzx eax, byte [r10 + rdx]
xor al, byte [r10]
mov byte [rcx + r10], al
lea r10, [r10 + 1]
sub r9, 1
jne 0x14001e130
add rsp, 8
ret

Function at 0x140026e80
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140026eca
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140026eca
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140026eca
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140026eca
cmp dword [rcx + 0x84], 0xe
jbe 0x140026eca
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140026ecc
xor al, al
add rsp, 0x28
ret
Function at 0x14003c5f0
Capabilities:
Parse pe header

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x14003c65f
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14003c65f
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14003c65f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14003c65f
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14003c65f
cmp dword [rcx + 0x84], 0xe
jbe 0x14003c65f
cmp dword [rcx + 0xf8], 0
je 0x14003c65f
mov ecx, ebx
call fcn.14003c704
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.14003c4f8
nop
cmp dword [rbp + 0x20], 0
jne 0x14003c6c0
call fcn.140042f1c
cmp eax, 1
jne 0x14003c6b0
xor dl, dl
jmp 0x14003c6ba
call fcn.140042ee8
test al, al
sete dl
cmp dword [rbp + 0x20], 0
je 0x14003c6cb
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.14003c6d4
int3
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 1]
jmp 0x14003c5f0

Function at 0x14003c7d8
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x14003c5f0

Function at 0x1400412dc
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x1400412f2
mov al, 1
jmp 0x14004135e
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x140041303
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x14004135c
mov ecx, dword [rcx + 0x18]
nop
call fcn.1400431f8
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14004135c
and qword [rsp + 0x38], 0
lea r8, [rsp + 0x38]
mov r9d, 1
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x14004135c
and qword [rsp + 0x30], 0
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x14004135c
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x14004135e
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x1400429f0
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor ebp, ebp
mov rbx, rax
test rax, rax
je 0x140042a77
mov rsi, rbx
cmp word [rax], bp
je 0x140042a36
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x140042a20
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x140042a1c
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.14003d9c0
mov rdi, rax
test rax, rax
je 0x140042a64
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.140048250
mov rbp, rdi
xor ecx, ecx
call fcn.14003d960
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140047e90
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140047eb8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x140047eb8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x14000231c
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140002470