joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400ab1d0
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rdi
push rbx
mov rax, rcx
add qword [rcx + 0x30], r8
mov r11, qword [rcx + 0x40]
test r11, r11
je 0x1400ab212
mov r10d, 8
sub r10, r11
cmp r8, r10
mov rdi, r10
cmovb rdi, r8
cmp rdi, 4
jb 0x1400ab21a
mov esi, dword [rdx]
mov r9d, 4
mov rcx, r9
or rcx, 1
cmp rcx, rdi
jb 0x1400ab22b
jmp 0x1400ab242
xor r10d, r10d
jmp 0x1400ab2cd
xor esi, esi
xor r9d, r9d
mov rcx, r9
or rcx, 1
cmp rcx, rdi
jae 0x1400ab242
movzx ebx, word [rdx + r9]
lea ecx, [r9*8]
shl rbx, cl
or rsi, rbx
or r9, 2
cmp r9, rdi
jae 0x1400ab259
movzx edi, byte [rdx + r9]
shl r9d, 3
mov ecx, r9d
shl rdi, cl
or rsi, rdi
lea ecx, [r11*8]
shl rsi, cl
or rsi, qword [rax + 0x38]
mov qword [rax + 0x38], rsi
cmp r10, r8
jbe 0x1400ab279
add r11, r8
jmp 0x1400ab3aa
mov r11, qword [rax + 0x18]
mov r9, qword [rax + 0x10]
mov rcx, qword [rax]
add rcx, r9
rol r9, 0xd
xor r11, rsi
xor r9, rcx
rol rcx, 0x20
mov rdi, qword [rax + 8]
add rdi, r11
rol r11, 0x10
xor r11, rdi
add rcx, r11
rol r11, 0x15
xor r11, rcx
add rdi, r9
rol r9, 0x11
mov qword [rax + 0x18], r11
xor r9, rdi
rol rdi, 0x20
mov qword [rax + 0x10], r9
mov qword [rax + 8], rdi
xor rcx, rsi
mov qword [rax], rcx
sub r8, r10
mov r11d, r8d
and r11d, 7
and r8, 0xfffffffffffffff8
cmp r10, r8
jae 0x1400ab342
mov rcx, qword [rax]
mov r9, qword [rax + 8]
mov rdi, qword [rax + 0x18]
mov rsi, qword [rax + 0x10]
nop
add rcx, rsi
rol rsi, 0xd
mov rbx, qword [rdx + r10]
xor rsi, rcx
rol rcx, 0x20
xor rdi, rbx
add r9, rdi
rol rdi, 0x10
xor rdi, r9
add rcx, rdi
rol rdi, 0x15
add r9, rsi
rol rsi, 0x11
xor rsi, r9
rol r9, 0x20
xor rdi, rcx
xor rcx, rbx
add r10, 8
cmp r10, r8
jb 0x1400ab2f0
mov qword [rax + 0x18], rdi
mov qword [rax + 0x10], rsi
mov qword [rax + 8], r9
mov qword [rax], rcx
cmp r11d, 4
jb 0x1400ab360
mov r9d, dword [rdx + r10]
mov r8d, 4
mov rcx, r8
or rcx, 1
cmp rcx, r11
jb 0x1400ab372
jmp 0x1400ab38c
xor r9d, r9d
xor r8d, r8d
mov rcx, r8
or rcx, 1
cmp rcx, r11
jae 0x1400ab38c
lea rcx, [r8 + r10]
movzx esi, word [rdx + rcx]
lea ecx, [r8*8]
shl rsi, cl
or r9, rsi
or r8, 2
cmp r8, r11
jae 0x1400ab3a6
add r10, r8
movzx edx, byte [rdx + r10]
shl r8d, 3
mov ecx, r8d
shl rdx, cl
or r9, rdx
mov qword [rax + 0x38], r9
mov qword [rax + 0x40], r11
pop rbx
pop rdi
pop rsi
ret
Function at 0x1400d8910
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
cmp edx, 0x1ff
jg 0x1400d89ae
dec edx
cmp edx, 0x3f
ja case.0x1400d893c.64
lea rax, [0x1401e3ac0]
movsxd rdx, dword [rax + rdx*4]
add rdx, rax
jmp rdx
movzx eax, byte [rcx]
test rax, rax
je 0x1400d897e
lea ecx, [rax - 1]
mov edx, 1
xor r9d, r9d
shld r9, rdx, cl
mov r10d, ecx
shr r10b, 7
movzx r10d, r10b
xor r11d, r11d
shl rdx, cl
test cl, 0x40
cmovne r9, rdx
cmovne rdx, r11
shl r10, 4
or qword [r8 + r10], rdx
or qword [r8 + r10 + 8], r9
mov r10d, eax
shr r10d, 7
mov edx, 1
xor r9d, r9d
mov ecx, eax
shld r9, rdx, cl
shl rdx, cl
xor ecx, ecx
test al, 0x40
cmovne r9, rdx
cmovne rdx, rcx
shl r10, 4
add r8, r10
jmp 0x1400d8afa
cmp edx, 0x1fff
jle 0x1400d89ce
cmp edx, 0x7fff
jle case.0x1400d893c.64
cmp edx, 0x8000
je case.0x1400d893c.64
cmp edx, 0x20000
jmp case.0x1400d893c.64
cmp edx, 0x7ff
xor edx, edx
lea r9, [0x1401e3220]
mov r10d, 1
xor ecx, ecx
movzx r11d, cx
cmp r11d, 0x100
mov esi, 0xff
cmovae esi, r11d
lea eax, [r11 - 1]
neg esi
nop
lea edi, [rsi + rax]
cmp di, 0xffff
je 0x1400d8aa7
lea edi, [rax + 2]
cmp byte [r11 + r9], 0
sete bl
movzx edi, dil
cmp byte [rdi + r9], 0
setne dil
xor dil, bl
inc eax
test dil, dil
jne 0x1400d8a00
test cl, cl
je 0x1400d8a64
dec cl
xor r11d, r11d
shld r11, r10, cl
mov ebx, ecx
shr bl, 7
movzx esi, bl
mov edi, 1
shl rdi, cl
test cl, 0x40
cmovne r11, rdi
cmovne rdi, rdx
shl rsi, 4
or qword [r8 + rsi], rdi
or qword [r8 + rsi + 8], r11
xor r11d, r11d
mov ecx, eax
shld r11, r10, cl
shr cl, 7
movzx esi, cl
mov edi, 1
mov ecx, eax
shl rdi, cl
test al, 0x40
cmovne r11, rdi
cmovne rdi, rdx
shl rsi, 4
or qword [r8 + rsi], rdi
or qword [r8 + rsi + 8], r11
lea ecx, [rax + 1]
movzx eax, ax
cmp eax, 0xff
jb 0x1400d89e5
jmp case.0x1400d893c.1
cmp r11d, 0xff
ja 0x1400d8b13
test cl, cl
je 0x1400d8aea
dec cl
mov eax, 1
xor edx, edx
shld rdx, rax, cl
mov r9d, ecx
shr r9b, 7
movzx r9d, r9b
xor r10d, r10d
shl rax, cl
test cl, 0x40
cmovne rdx, rax
cmovne rax, r10
shl r9, 4
or qword [r8 + r9], rax
or qword [r8 + r9 + 8], rdx
add r8, 0x10
movabs r9, 0x8000000000000000
xor edx, edx
or qword [r8], rdx
or qword [r8 + 8], r9
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
mov edx, 0x3600
xor r9d, r9d
jmp 0x1400d8afa
lea rcx, str.assertion_failed:_b2___256
lea r8, [0x1401e3340]
mov edx, 0x1b
call fcn.1401c8b70
ud2
Function at 0x1401047a0
Capabilities:
Encode data using base64

Disassembly:
push rbp
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x50
lea rbp, [rsp + 0x50]
mov qword [rbp - 8], 0xfffffffffffffffe
mov rsi, rdx
mov r14, rcx
mov rbx, qword [rcx + 8]
mov r15, qword [rcx + 0x10]
test r15, r15
mov qword [rbp - 0x18], rbx
mov qword [rbp - 0x28], rcx
je 0x14010480d
mov rax, r15
shr rax, 0x3d
jne 0x140104928
lea rdi, [r15*4]
movzx eax, byte [0x1402a2221]
mov edx, 4
mov rcx, rdi
call fcn.1400402e0
test rax, rax
je 0x14010492f
mov r12, rax
jmp 0x140104815
mov r12d, 4
xor edi, edi
mov rcx, r12
mov rdx, rbx
mov r8, rdi
call fcn.1401bf140
mov rdx, qword [rsi + 0x28]
movzx ecx, byte [rsi + 0x158]
shr rdx, cl
test rdx, rdx
mov qword [rbp - 0x20], r15
mov qword [rbp - 0x10], r12
je 0x140104898
mov rcx, qword [r14 + 0x18]
and ecx, 0x3f
xor r8d, r8d
jmp 0x14010485c
mov dword [rbx + r8*4], r10d
inc r8
cmp r8, rdx
je 0x140104898
mov r9, r8
shl r9, cl
cmp r8, r15
je 0x140104914
mov eax, dword [r12 + r8*4]
cmp eax, r9d
je 0x140104854
nop word cs:[rax + rax]
mov r10d, eax
mov eax, eax
shr rax, cl
cmp rax, r15
jae 0x140104900
mov eax, dword [r12 + rax*4]
cmp eax, r9d
jne 0x140104880
jmp 0x140104850
lea r8, [r14 + 0x18]
mov rcx, rsi
mov rdx, r14
call fcn.14010ad10
mov rdx, qword [rbp - 0x20]
test rdx, rdx
je 0x1401048c3
shl rdx, 2
mov r8d, 4
mov rcx, qword [rbp - 0x10]
call fcn.1400402f0
mov rax, qword [rbp - 0x28]
mov rdx, qword [rax]
test rdx, rdx
mov rcx, qword [rbp - 0x18]
je 0x1401048f0
shl rdx, 2
mov r8d, 4
add rsp, 0x50
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
pop rbp
jmp fcn.1400402f0
nop
add rsp, 0x50
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
pop rbp
ret
lea r8, [0x1401e7170]
mov rcx, rax
mov rdx, r15
call fcn.1401c8c10
jmp 0x14010493c
lea r8, [0x1401e7158]
mov rcx, r15
mov rdx, r15
call fcn.1401c8c10
jmp 0x14010493c
call fcn.1401b38a0
jmp 0x14010493c
mov ecx, 4
mov rdx, rdi
call fcn.1401c87b0
ud2
Function at 0x140107a50
Capabilities:
Encode data using base64

Disassembly:
push rbp
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x98
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x10], 0xfffffffffffffffe
mov rsi, rcx
mov r15, qword [rcx + 0x28]
movzx ecx, byte [rcx + 0x158]
shr r15, cl
mov rdi, r15
test r15, r15
mov qword [rbp - 0x28], r15
je 0x140107c4f
mov rax, r15
shr rax, 0x3d
jne 0x140107c81
lea r14, [r15*4]
movzx eax, byte [0x1402a2221]
mov edx, 4
mov rcx, r14
call fcn.1400402e0
test rax, rax
je 0x140107c86
mov rbx, rax
cmp r15, 8
jae 0x140107acf
xor eax, eax
jmp 0x140107b20
mov rax, r15
and rax, 0xfffffffffffffff8
movdqa xmm0, xmmword [0x1401e67d0]
xor ecx, ecx
movdqa xmm1, xmmword [0x1401e67e0]
movdqa xmm2, xmmword [str._b_b_b_b]
movdqa xmm3, xmm0
paddd xmm3, xmm1
movdqu xmmword [rbx + rcx*4], xmm0
movdqu xmmword [rbx + rcx*4 + 0x10], xmm3
add rcx, 8
paddd xmm0, xmm2
cmp rax, rcx
jne 0x140107af0
cmp r15, rax
je 0x140107b2f
nop word cs:[rax + rax]
mov dword [rbx + rax*4], eax
lea rcx, [rax + 1]
mov rax, rcx
cmp r15, rcx
jne 0x140107b20
mov qword [rbp - 0x20], rdi
mov qword [rbp - 0x18], rbx
mov qword [rbp - 0x10], rdi
mov qword [rbp - 8], 0
lea r14, [rbp - 0x20]
mov r15d, edi
lea rax, [rdi - 0x80000000]
cmp rax, 0xffffffff80000001
jb 0x140107bf4
dec r15d
mov rcx, qword [rsi + 0x158]
and ecx, 0x3f
mov r8, qword [rsi + 0x160]
mov r9, qword [rsi + 0x20]
mov rdx, qword [rsi + 0x28]
nop dword [rax]
sub rdi, 1
jb 0x140107bfd
mov eax, edi
shl rax, cl
add rax, r8
cmp rax, rdx
jae 0x140107c36
mov rax, qword [r9 + rax*8]
shr rax, 0x2a
cmp eax, 0x3ffffe
ja 0x140107b80
mov qword [rbp], rbx
mov byte [rbp + 0xf], 0
mov rcx, r14
mov rdx, rsi
mov r8d, r15d
mov r9d, edi
call fcn.1401046b0
mov dword [rsi + 0x170], r15d
test r15d, r15d
jne 0x140107b4a
mov qword [rbp], rbx
mov byte [rbp + 0xf], 0
lea rcx, str.match_states_should_be_a_proper_subset_of_all_states
lea r8, [0x1401e76d0]
mov edx, 0x34
call fcn.1401c8a30
jmp 0x140107cca
test rdi, rdi
jne 0x140107c93
movdqu xmm0, xmmword [rbp - 0x20]
movdqu xmm1, xmmword [rbp - 0x10]
movdqa xmmword [rbp - 0x40], xmm1
movdqa xmmword [rbp - 0x50], xmm0
mov qword [rbp], rbx
mov byte [rbp + 0xf], 1
lea rcx, [rbp - 0x50]
mov rdx, rsi
call fcn.1401047a0
nop
add rsp, 0x98
pop rbx
pop rdi
pop rsi
pop r14
pop r15
pop rbp
ret
mov qword [rbp], rbx
mov byte [rbp + 0xf], 0
lea r8, [0x1401e7948]
mov rcx, rax
call fcn.1401c8c10
jmp 0x140107cca
mov qword [rbp - 0x20], rdi
mov qword [rbp - 0x18], 4
mov qword [rbp - 0x10], rdi
mov qword [rbp - 8], 0
mov qword [rbp], 4
mov byte [rbp + 0xf], 0
lea rcx, [0x1401e7978]
call fcn.1401c8a10
jmp 0x140107cca
call fcn.1401b38a0
mov ecx, 4
mov rdx, r14
call fcn.1401c87b0
dec rdi
mov qword [rbp - 0x50], rdi
mov qword [rbp], rbx
mov byte [rbp + 0xf], 0
lea rax, [0x1401e7680]
mov qword [rsp + 0x20], rax
lea rcx, [0x1401e75f6]
lea r9, [0x1401e7470]
lea r8, [rbp - 0x50]
mov edx, 0x15
call fcn.1401c8ee0
ud2
Function at 0x140116820
Capabilities:
Encode data using base64

Disassembly:
push rbp
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x50
lea rbp, [rsp + 0x50]
mov qword [rbp - 8], 0xfffffffffffffffe
mov rsi, rdx
mov r14, rcx
mov rbx, qword [rcx + 8]
mov r15, qword [rcx + 0x10]
test r15, r15
mov qword [rbp - 0x18], rbx
mov qword [rbp - 0x28], rcx
je 0x14011688d
mov rax, r15
shr rax, 0x3d
jne 0x140116998
lea rdi, [r15*4]
movzx eax, byte [0x1402a2221]
mov edx, 4
mov rcx, rdi
call fcn.1400402e0
test rax, rax
je 0x14011699f
mov r12, rax
jmp 0x140116895
mov r12d, 4
xor edi, edi
mov rcx, r12
mov rdx, rbx
mov r8, rdi
call fcn.1401bf140
mov rdx, qword [rsi + 0x10]
test rdx, rdx
mov qword [rbp - 0x20], r15
mov qword [rbp - 0x10], r12
je 0x140116908
mov rcx, qword [r14 + 0x18]
and ecx, 0x3f
xor r8d, r8d
jmp 0x1401168cc
mov dword [rbx + r8*4], r10d
inc r8
cmp r8, rdx
je 0x140116908
mov r9, r8
shl r9, cl
cmp r8, r15
je 0x140116984
mov eax, dword [r12 + r8*4]
cmp eax, r9d
je 0x1401168c4
nop word cs:[rax + rax]
mov r10d, eax
mov eax, eax
shr rax, cl
cmp rax, r15
jae 0x140116970
mov eax, dword [r12 + rax*4]
cmp eax, r9d
jne 0x1401168f0
jmp 0x1401168c0
lea r8, [r14 + 0x18]
mov rcx, rsi
mov rdx, r14
call fcn.14011dc30
mov rdx, qword [rbp - 0x20]
test rdx, rdx
je 0x140116933
shl rdx, 2
mov r8d, 4
mov rcx, qword [rbp - 0x10]
call fcn.1400402f0
mov rax, qword [rbp - 0x28]
mov rdx, qword [rax]
test rdx, rdx
mov rcx, qword [rbp - 0x18]
je 0x140116960
shl rdx, 2
mov r8d, 4
add rsp, 0x50
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
pop rbp
jmp fcn.1400402f0
nop
add rsp, 0x50
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
pop rbp
ret
lea r8, [0x1401ea020]
mov rcx, rax
mov rdx, r15
call fcn.1401c8c10
jmp 0x1401169ac
lea r8, [0x1401ea008]
mov rcx, r15
mov rdx, r15
call fcn.1401c8c10
jmp 0x1401169ac
call fcn.1401b38a0
jmp 0x1401169ac
mov ecx, 4
mov rdx, rdi
call fcn.1401c87b0
ud2
Function at 0x140172e90
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rdi, r8
mov rsi, rcx
mov rcx, qword [rdx]
movzx eax, byte [rcx + 0x24]
cmp al, 2
je 0x140172edd
and al, 1
jne 0x140172edd
movzx r8d, byte [rdi + 0x34]
xor r8b, 4
mov eax, dword [rdi + 0x30]
or r8b, byte [rdi + 0x35]
jne 0x140172ee0
cmp eax, 0x100
jae 0x140172ee0
test al, al
js 0x140172f3d
movzx eax, al
shl rax, 0x20
test al, 1
je 0x140172eec
jmp 0x140172fc7
mov eax, dword [rdi + 0x30]
shl rax, 0x20
test al, 1
jne 0x140172fc7
mov rcx, rax
shr rcx, 0x27
jne 0x140172f01
shr rax, 0x20
mov byte [rsi + 8], al
jmp 0x140172fca
mov r14, qword [rdx + 8]
mov rbx, qword [rdx + 0x10]
test rbx, rbx
je 0x140172f78
js 0x14017301f
movzx eax, byte [0x1402a2221]
mov edx, 1
mov rcx, rbx
call fcn.1400402e0
mov r15, rax
test rax, rax
jne 0x140172f7e
mov ecx, 1
mov rdx, rbx
call fcn.1401c87b0
cmp byte [rcx + 0x27], 0
je 0x140172fb4
mov r14, qword [rdx + 8]
mov rbx, qword [rdx + 0x10]
test rbx, rbx
je 0x140172fe3
js 0x14017301f
movzx eax, byte [0x1402a2221]
mov edx, 1
mov rcx, rbx
call fcn.1400402e0
mov r15, rax
test rax, rax
jne 0x140172fe9
jmp 0x140172f30
mov r15d, 1
mov rcx, r15
mov rdx, r14
mov r8, rbx
call fcn.1401bf140
mov qword [rsi], rbx
mov qword [rsi + 8], r15
mov qword [rsi + 0x10], rbx
movups xmm0, xmmword [rdi]
movups xmm1, xmmword [rdi + 0x10]
movups xmm2, xmmword [rdi + 0x20]
movups xmmword [rsi + 0x18], xmm0
movups xmmword [rsi + 0x28], xmm1
movups xmmword [rsi + 0x38], xmm2
mov byte [rsi + 0x48], 0
jmp 0x140172fd7
movzx eax, al
shl rax, 8
or rax, 1
test al, 1
je 0x140172eec
mov byte [rsi + 8], ah
movabs rax, 0x8000000000000000
mov qword [rsi], rax
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
mov r15d, 1
mov rcx, r15
mov rdx, r14
mov r8, rbx
call fcn.1401bf140
mov qword [rsi], rbx
mov qword [rsi + 8], r15
mov qword [rsi + 0x10], rbx
movups xmm0, xmmword [rdi]
movups xmm1, xmmword [rdi + 0x10]
movups xmm2, xmmword [rdi + 0x20]
movups xmmword [rsi + 0x18], xmm0
movups xmmword [rsi + 0x28], xmm1
movups xmmword [rsi + 0x38], xmm2
mov byte [rsi + 0x48], 1
jmp 0x140172fd7
call fcn.1401b38a0
int3
Function at 0x14017d2e0
Capabilities:
Encode data using xor

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rbx, r8
mov rsi, rcx
mov r14, r8
sub r14, rdx
shr r14, 3
sub rbx, rdx
je 0x14017d341
movabs rax, 0x7ffffffffffffff8
cmp rbx, rax
ja 0x14017d484
mov rdi, rdx
movzx eax, byte [0x1402a2221]
mov edx, 4
mov rcx, rbx
call fcn.1400402e0
test rax, rax
je 0x14017d489
cmp rbx, 0x80
jae 0x14017d34d
xor ecx, ecx
jmp 0x14017d3ea
xor ecx, ecx
mov eax, 4
jmp 0x14017d46c
lea rdx, [rax + r14*8]
add rdx, 0xfffffffffffffff8
xor ecx, ecx
cmp rdx, rax
jb 0x14017d3ea
lea rdx, [rax + r14*8]
add rdx, 0xfffffffffffffffc
mov r8, rax
add r8, 4
cmp rdx, r8
jb 0x14017d3ea
lea rdx, [r14 - 1]
shr rdx, 0x3d
jne 0x14017d3ea
mov rcx, r14
and rcx, 0xfffffffffffffffe
xor edx, edx
movdqa xmm0, xmmword [0x1401e8dd0]
nop
movdqu xmm1, xmmword [rdi + rdx*8]
pshufd xmm2, xmm1, 0xe8
pshufd xmm1, xmm1, 0xed
movdqa xmm3, xmm2
pxor xmm3, xmm0
movdqa xmm4, xmm1
pxor xmm4, xmm0
pcmpgtd xmm4, xmm3
movdqa xmm3, xmm4
pandn xmm3, xmm1
movdqa xmm5, xmm4
pandn xmm5, xmm2
pand xmm2, xmm4
por xmm2, xmm3
pand xmm4, xmm1
por xmm4, xmm5
punpckldq xmm2, xmm4
movdqu xmmword [rax + rdx*8], xmm2
add rdx, 2
cmp rcx, rdx
jne 0x14017d390
cmp r14, rcx
je 0x14017d469
mov rdx, rcx
or rdx, 1
test bl, 8
je 0x14017d419
mov r8d, dword [rdi + rcx*8]
mov r9d, dword [rdi + rcx*8 + 4]
cmp r8d, r9d
mov r10d, r9d
cmovb r10d, r8d
cmova r9d, r8d
mov dword [rax + rcx*8], r10d
mov dword [rax + rcx*8 + 4], r9d
mov rcx, rdx
cmp r14, rdx
je 0x14017d469
nop
mov edx, dword [rdi + rcx*8]
mov r8d, dword [rdi + rcx*8 + 4]
cmp edx, r8d
mov r9d, r8d
cmovb r9d, edx
cmova r8d, edx
mov dword [rax + rcx*8], r9d
mov dword [rax + rcx*8 + 4], r8d
mov edx, dword [rdi + rcx*8 + 8]
mov r8d, dword [rdi + rcx*8 + 0xc]
cmp edx, r8d
mov r9d, r8d
cmovb r9d, edx
cmova r8d, edx
mov dword [rax + rcx*8 + 8], r9d
mov dword [rax + rcx*8 + 0xc], r8d
add rcx, 2
cmp r14, rcx
jne 0x14017d420
mov rcx, r14
mov qword [rsi], r14
mov qword [rsi + 8], rax
mov qword [rsi + 0x10], rcx
mov rax, rsi
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
call fcn.1401b38a0
mov ecx, 4
mov rdx, rbx
call fcn.1401c87b0
int3
Function at 0x140183e80
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rsi
sub rsp, 0x68
lea rbp, [rsp + 0x60]
mov qword [rbp], 0xfffffffffffffffe
mov rsi, rcx
movzx eax, byte [0x1402a2221]
mov ecx, 0x1818
mov edx, 4
call fcn.1400402e0
test rax, rax
je 0x140183f9e
xor ecx, ecx
lea rdx, [0x14021cd88]
movdqa xmm0, xmmword [0x1401e8dd0]
nop word cs:[rax + rax]
movdqu xmm1, xmmword [rcx + rdx]
pshufd xmm2, xmm1, 0xe8
pshufd xmm1, xmm1, 0xed
movdqa xmm3, xmm2
pxor xmm3, xmm0
movdqa xmm4, xmm1
pxor xmm4, xmm0
pcmpgtd xmm4, xmm3
movdqa xmm3, xmm4
pandn xmm3, xmm1
movdqa xmm5, xmm4
pandn xmm5, xmm2
pand xmm2, xmm4
por xmm2, xmm3
pand xmm4, xmm1
por xmm4, xmm5
punpckldq xmm2, xmm4
movdqu xmmword [rax + rcx], xmm2
add rcx, 0x10
cmp rcx, 0x1810
jne 0x140183ed0
movabs rcx, 0xe01ef000e0100
mov qword [rax + 0x1810], rcx
mov rcx, rax
add rcx, 0x1818
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], rax
mov qword [rbp - 0x10], 0x303
mov qword [rbp - 8], rcx
lea rcx, [rbp - 0x38]
lea rdx, [rbp - 0x20]
call fcn.14017ab40
mov rax, qword [rbp - 0x28]
test rax, rax
mov qword [rbp - 0x10], rax
movups xmm0, xmmword [rbp - 0x38]
movaps xmmword [rbp - 0x20], xmm0
sete byte [rbp - 8]
lea rcx, [rbp - 0x20]
call fcn.140181c00
movaps xmm0, xmmword [rbp - 0x20]
movaps xmm1, xmmword [rbp - 0x10]
movups xmmword [rsi + 0x10], xmm1
movups xmmword [rsi], xmm0
mov rax, rsi
add rsp, 0x68
pop rsi
pop rbp
ret
mov ecx, 4
mov edx, 0x1818
call fcn.1401c87b0
int3

Function at 0x140184110
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rsi
sub rsp, 0x68
lea rbp, [rsp + 0x60]
mov qword [rbp], 0xfffffffffffffffe
mov rsi, rcx
movzx eax, byte [0x1402a2221]
mov ecx, 0x200
mov edx, 4
call fcn.1400402e0
test rax, rax
je 0x14018421d
xor ecx, ecx
lea rdx, [0x14021e5f0]
movdqa xmm0, xmmword [0x1401e8dd0]
nop word cs:[rax + rax]
movdqu xmm1, xmmword [rcx + rdx]
pshufd xmm2, xmm1, 0xe8
pshufd xmm1, xmm1, 0xed
movdqa xmm3, xmm2
pxor xmm3, xmm0
movdqa xmm4, xmm1
pxor xmm4, xmm0
pcmpgtd xmm4, xmm3
movdqa xmm3, xmm4
pandn xmm3, xmm1
movdqa xmm5, xmm4
pandn xmm5, xmm2
pand xmm2, xmm4
por xmm2, xmm3
pand xmm4, xmm1
por xmm4, xmm5
punpckldq xmm2, xmm4
movdqu xmmword [rax + rcx], xmm2
add rcx, 0x10
cmp rcx, 0x200
jne 0x140184160
mov rcx, rax
add rcx, 0x200
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], rax
mov qword [rbp - 0x10], 0x40
mov qword [rbp - 8], rcx
lea rcx, [rbp - 0x38]
lea rdx, [rbp - 0x20]
call fcn.14017ab40
mov rax, qword [rbp - 0x28]
test rax, rax
mov qword [rbp - 0x10], rax
movups xmm0, xmmword [rbp - 0x38]
movaps xmmword [rbp - 0x20], xmm0
sete byte [rbp - 8]
lea rcx, [rbp - 0x20]
call fcn.140181c00
movaps xmm0, xmmword [rbp - 0x20]
movaps xmm1, xmmword [rbp - 0x10]
movups xmmword [rsi + 0x10], xmm1
movups xmmword [rsi], xmm0
mov rax, rsi
add rsp, 0x68
pop rsi
pop rbp
ret
mov ecx, 4
mov edx, 0x200
call fcn.1401c87b0
int3
Function at 0x140186f40
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0xa8
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x20], 0xfffffffffffffffe
mov qword [rbp + 8], rcx
mov qword [rbp - 0x28], 0
mov qword [rbp - 0x18], 0
movzx eax, word [rdx]
cmp eax, 0x5a4d
jne 0x1401870f6
mov rdi, rdx
movsxd rax, dword [rdx + 0x3c]
cmp dword [rax + rdx], 0x4550
jne 0x1401870f6
mov eax, dword [rdi + rax + 0x88]
mov r12d, dword [rax + rdi + 0x20]
add r12, rdi
mov ecx, dword [rax + rdi + 0x14]
mov qword [rbp + 0x18], rcx
mov r15d, dword [rax + rdi + 0x18]
mov ecx, dword [rax + rdi + 0x1c]
add rcx, rdi
mov qword [rbp - 8], rcx
mov eax, dword [rax + rdi + 0x24]
add rax, rdi
mov qword [rbp - 0x10], rax
xor ebx, ebx
lea r13, [rbp - 0x58]
mov dword [rbp + 0x14], r15d
jmp 0x140186fe2
inc ebx
cmp ebx, r15d
jae 0x1401870a4
mov r14d, ebx
mov esi, dword [r12 + r14*4]
add rsi, rdi
mov rcx, rsi
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
lea r8, [rax + 1]
mov rcx, r13
mov rdx, rsi
call fcn.1401b5420
cmp qword [rbp - 0x58], 0
jne 0x140186fe0
mov r15, r12
mov r13, qword [rbp - 0x50]
mov r12, qword [rbp - 0x48]
mov rax, qword [rbp - 0x10]
movzx r14d, word [rax + r14*2]
test r12, r12
je 0x140187053
js 0x1401870e0
movzx eax, byte [0x1402a2221]
mov edx, 1
mov rcx, r12
call fcn.1400402e0
mov rsi, rax
test rax, rax
jne 0x140187058
jmp 0x1401870e7
mov esi, 1
mov rcx, rsi
mov rdx, r13
mov r8, r12
call fcn.1401bf140
mov qword [rbp - 0x40], r12
mov qword [rbp - 0x38], rsi
mov qword [rbp - 0x30], r12
cmp r14, qword [rbp + 0x18]
mov qword [rbp], r14
jae 0x1401870cb
mov rax, qword [rbp - 8]
mov r8d, dword [rax + r14*4]
add r8, rdi
lea rcx, [rbp - 0x28]
lea rdx, [rbp - 0x40]
call fcn.140187210
mov r12, r15
mov r15d, dword [rbp + 0x14]
lea r13, [rbp - 0x58]
jmp 0x140186fe0
mov rcx, qword [rbp - 0x18]
mov rax, qword [rbp + 8]
mov qword [rax + 0x10], rcx
movups xmm0, xmmword [rbp - 0x28]
movups xmmword [rax], xmm0
add rsp, 0xa8
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
lea r8, [0x14025da20]
mov rcx, r14
mov rdx, qword [rbp + 0x18]
call fcn.1401c8c10
jmp 0x140187102
call fcn.1401b38a0
jmp 0x140187102
mov ecx, 1
mov rdx, r12
call fcn.1401c87b0
jmp 0x140187102
lea rcx, [0x14025da08]
call fcn.1401c8a10
ud2
Function at 0x140190da0
Capabilities:
Get common file path

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x478
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x3f0], 0xfffffffffffffffe
mov qword [rbp + 0x3e0], rcx
mov qword [rbp + 0x3c8], 0
mov qword [rbp + 0x3d0], 2
mov qword [rbp + 0x3d8], 0
mov r8d, 0x200
mov eax, 2
mov qword [rbp + 0x3e8], rax
xor ebx, ebx
xor edi, edi
xor r12d, r12d
cmp r8, 0x201
jae 0x140190e40
jmp 0x140190e2f
jae 0x140190f00
cmp r8, 0x201
jae 0x140190e40
mov esi, 0x200
lea r13, [rbp - 0x58]
mov r15, r8
jmp 0x140190e98
sub r8, r12
sub rdi, r12
cmp rdi, r8
jae 0x140190e6f
lea rcx, [rbp + 0x3c8]
mov rdx, r12
call fcn.1401c77b0
mov rbx, qword [rbp + 0x3c8]
mov rax, qword [rbp + 0x3d0]
mov qword [rbp + 0x3e8], rax
mov eax, 0xffffffff
cmp rbx, rax
mov r12d, 0xffffffff
cmovb r12, rbx
mov qword [rbp + 0x3d8], r12
mov rdi, rbx
mov rsi, r12
mov r13, qword [rbp + 0x3e8]
mov r15, r12
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, r15d
mov rdx, r13
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov r14d, eax
test eax, eax
jne 0x140190ec1
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x140190f68
mov r8d, r14d
cmp r15, r8
jne 0x140190e20
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x140190f95
add r15, r15
mov eax, 0xffffffff
cmp r15, rax
cmovae r15, rax
mov r8, r15
cmp r8, 0x201
jb 0x140190e2f
jmp 0x140190e40
cmp rsi, r8
jb 0x140190faf
lea rcx, [rbp + 0x3a8]
mov rdx, r13
call fcn.1401964c0
movups xmm0, xmmword [rbp + 0x3a8]
movups xmm1, xmmword [rbp + 0x3b8]
mov rsi, qword [rbp + 0x3e0]
movups xmmword [rsi + 0x10], xmm1
movups xmmword [rsi], xmm0
test rbx, rbx
je 0x140190f51
add rbx, rbx
mov r8d, 2
mov rcx, qword [rbp + 0x3e8]
mov rdx, rbx
call fcn.1400402f0
mov rax, rsi
add rsp, 0x478
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
shl rax, 0x20
or rax, 2
mov rsi, qword [rbp + 0x3e0]
mov qword [rsi + 8], rax
movabs rax, 0x8000000000000000
mov qword [rsi], rax
test rbx, rbx
jne 0x140190f39
jmp 0x140190f51
lea rcx, [0x14025e7d8]
lea r8, str.library_std_src_syspalwindowsmod.rs
mov edx, 0x28
call fcn.1401c8b70
jmp 0x140190fc4
lea rax, str.library_std_src_syspalwindowsmod.rs
mov rcx, r8
mov rdx, rsi
mov r8, rax
call fcn.1401c9000
ud2