joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140252bf0
Capabilities:
Encrypt data using curve25519

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x178
movdqu xmm3, xmmword [rdx + 0x10]
movdqu xmm2, xmmword [rdx]
movaps xmmword [rsp + 0x30], xmm3
movzx eax, byte [rsp + 0x3f]
lea rbp, [rsp + 0x20]
mov rdi, rcx
lea rbx, [rsp + 0xd0]
mov rdx, rbp
movaps xmmword [rsp + 0x20], xmm2
lea rsi, [rsp + 0xa0]
and eax, 0x7f
mov rcx, rbx
and byte [rsp + 0x20], 0xf8
or eax, 0x40
mov byte [rsp + 0x3f], al
call fcn.1402495c0
mov rcx, rsi
mov rax, rbx
mov rdx, rbx
lea r8, [rsp + 0xc8]
movq xmm0, qword [rdx + 0x50]
movq xmm1, qword [rdx + 0x28]
add rcx, 8
add rdx, 8
paddd xmm0, xmm1
movq qword [rcx - 8], xmm0
cmp r8, rcx
jne 0x140252c56
lea r8, [rsp + 0x70]
lea rcx, [rsp + 0x98]
mov rdx, r8
movq xmm0, qword [rax + 0x50]
movq xmm1, qword [rax + 0x28]
add rdx, 8
add rax, 8
psubd xmm0, xmm1
movq qword [rdx - 8], xmm0
cmp rcx, rdx
jne 0x140252c86
lea rbx, [rsp + 0x40]
mov rdx, r8
mov rcx, rbx
call fcn.140249330
mov r8, rbx
mov rdx, rsi
mov rcx, rsi
call fcn.1402486f0
mov rdx, rsi
mov rcx, rdi
call fcn.140248460
mov edx, 0x20
mov rcx, rbp
call fcn.1402f5e00
nop
add rsp, 0x178
pop rbx
pop rsi
pop rdi
pop rbp
ret
Function at 0x1402580e0
Capabilities:
Encrypt data using curve25519
Hash data using sha512

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x140
movdqa xmm0, xmmword [0x140450dc0]
mov rax, qword [0x140450e00]
mov r8d, 0x20
movaps xmmword [rsp + 0x60], xmm0
lea rbx, [rsp + 0x60]
lea rsi, [rsp + 0x20]
mov rdi, rcx
movdqa xmm0, xmmword [0x140450dd0]
mov rcx, rbx
mov qword [rsp + 0x130], rax
movaps xmmword [rsp + 0x70], xmm0
movdqa xmm0, xmmword [0x140450de0]
movaps xmmword [rsp + 0x80], xmm0
movdqa xmm0, xmmword [0x140450df0]
movaps xmmword [rsp + 0x90], xmm0
pxor xmm0, xmm0
movaps xmmword [rsp + 0xa0], xmm0
call fcn.1402160b0
mov rdx, rbx
mov rcx, rsi
call fcn.140215cf0
mov rcx, rbx
mov edx, 0xd8
call fcn.1402f5e00
movzx eax, byte [rsp + 0x3f]
mov rdx, rsi
mov rcx, rbx
and byte [rsp + 0x20], 0xf8
and eax, 0x3f
or eax, 0x40
mov byte [rsp + 0x3f], al
call fcn.1402495c0
mov rdx, rbx
mov rcx, rdi
call fcn.140249540
mov edx, 0x40
mov rcx, rsi
call fcn.1402f5e00
nop
add rsp, 0x140
pop rbx
pop rsi
pop rdi
ret

Function at 0x140258320
Capabilities:
Encode data using xor

Disassembly:
test rdx, rdx
je 0x140258382
test r8, r8
je 0x140258382
mov r11, qword [rcx + 0x28]
cmp r8, r11
mov r10, r11
cmovbe r10, r8
test r10, r10
je 0x140258353
xor eax, eax
nop
movzx r9d, byte [rdx + rax]
xor byte [rcx + rax + 0x30], r9b
add rax, 1
cmp r10, rax
jne 0x140258340
cmp r11, r8
jae 0x140258382
mov eax, 0x10
sub r8, r11
lea r9, [rdx + r11]
cmp r8, rax
cmova r8, rax
xor eax, eax
nop dword [rax]
movzx edx, byte [r9 + rax]
xor byte [rcx + rax + 0x50], dl
add rax, 1
cmp r8, rax
jne 0x140258370
ret
Function at 0x14025d8f0
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x40
xor eax, eax
mov dword [rsp + 0x3c], 0x10
movsxd r11, r9d
mov rbx, r11
nop dword [rax]
movzx r10d, byte [r8 + rax]
xor byte [rdx + rax], r10b
add rax, 1
cmp r11, rax
jne 0x14025d908
mov rcx, qword [rcx + 0x10]
mov dword [rsp + 0x20], ebx
mov r9, rdx
lea r8, [rsp + 0x3c]
call fcn.1401f4210
test eax, eax
je 0x14025d93c
xor eax, eax
cmp dword [rsp + 0x3c], ebx
sete al
add rsp, 0x40
pop rbx
ret

Function at 0x14025f650
Capabilities:
Encode data using base64

Disassembly:
push rbx
lea r11, str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_
mov r10, rdx
test rcx, rcx
je 0x14025f66f
test byte [rcx + 0x5c], 2
lea rax, str.0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz._
cmovne r11, rax
xor ecx, ecx
test r9d, r9d
jg 0x14025f6d5
jmp 0x14025f713
movzx eax, byte [r8 + 1]
add r8, 3
shl eax, 8
or eax, edx
movzx edx, byte [r8 - 1]
mov ebx, eax
shr ebx, 0x12
or edx, eax
shr eax, 0xc
movzx ebx, byte [r11 + rbx]
and eax, 0x3f
mov byte [r10 - 4], bl
movzx eax, byte [r11 + rax]
mov byte [r10 - 3], al
mov eax, edx
and edx, 0x3f
shr eax, 6
and eax, 0x3f
movzx eax, byte [r11 + rax]
mov byte [r10 - 2], al
movzx eax, byte [r11 + rdx]
mov byte [r10 - 1], al
sub r9d, 3
je 0x14025f713
movzx edx, byte [r8]
mov rbx, r10
add ecx, 4
add r10, 4
shl edx, 0x10
cmp r9d, 2
jg 0x14025f680
je 0x14025f720
mov eax, edx
shr edx, 0xc
shr eax, 0x12
and edx, 0x30
movzx eax, byte [r11 + rax]
mov byte [rbx], al
movzx eax, byte [r11 + rdx]
mov byte [rbx + 1], al
movzx eax, word [0x140451e70]
mov word [rbx + 2], ax
mov eax, ecx
mov byte [r10], 0
pop rbx
ret
movzx eax, byte [r8 + 1]
shl eax, 8
or eax, edx
shr edx, 0x12
movzx edx, byte [r11 + rdx]
mov byte [rbx], dl
mov edx, eax
shr eax, 6
shr edx, 0xc
and eax, 0x3c
and edx, 0x3f
movzx edx, byte [r11 + rdx]
mov byte [rbx + 1], dl
movzx eax, byte [r11 + rax]
mov byte [rbx + 3], 0x3d
mov byte [rbx + 2], al
mov eax, ecx
mov byte [r10], 0
pop rbx
ret
Function at 0x140260990
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x88
mov rax, qword [rsp + 0x100]
mov rbp, qword [rsp + 0x108]
mov rsi, rcx
mov r13, r8
lea ebx, [rdx - 1]
mov edi, r9d
test rax, rax
je 0x140260bd0
mov r12d, dword [rax + 8]
lea r11d, [r12 + r12]
test rbp, rbp
mov edx, ebx
cmove rbp, rax
sub edx, r11d
cmp edx, edi
jle 0x140260bb0
cmp ebx, r11d
jle 0x140260b90
mov byte [rsi], 0
movsxd r14, r12d
xor r9d, r9d
movsxd rdx, dword [rsp + 0xf8]
mov qword [rsp + 0x20], rax
mov rcx, qword [rsp + 0xf0]
lea r15, [rsi + r14 + 1]
mov r8, r15
mov dword [rsp + 0x30], r11d
call fcn.140274560
mov r11d, dword [rsp + 0x30]
test eax, eax
jne 0x140260a60
xor edi, edi
xor r13d, r13d
lea rcx, [rsp + 0x40]
xor ebx, ebx
mov edx, 0x40
call fcn.1402f5e00
mov rdx, rdi
mov rcx, r13
call fcn.14027a930
mov eax, ebx
add rsp, 0x88
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov r9d, ebx
lea rax, [rsi + 1]
lea rcx, [r15 + r14]
xor edx, edx
sub r9d, edi
mov qword [rsp + 0x30], rax
mov r8d, r9d
mov dword [rsp + 0x3c], r9d
sub r8d, r11d
sub r8d, 1
movsxd r8, r8d
call fcn.14034f288
mov r9d, dword [rsp + 0x3c]
movsxd rax, edi
movsxd rcx, ebx
sub rcx, rax
mov rdx, r13
mov r8d, edi
sub r9d, r12d
sub rcx, r14
movsxd r9, r9d
add rcx, r15
mov byte [r15 + r9 - 1], 1
call sub.msvcrt.dll_memcpy
mov rcx, qword [rsp + 0x30]
mov edx, r12d
call fcn.14020b750
test eax, eax
jle 0x140260a26
sub ebx, r12d
xor r8d, r8d
lea rdx, [0x140450e20]
movsxd rdi, ebx
mov rcx, rdi
call fcn.1402003e0
mov r13, rax
test rax, rax
je 0x140260bf0
mov qword [rsp + 0x20], rbp
mov r8, qword [rsp + 0x30]
mov rcx, rax
mov r9d, r12d
mov edx, ebx
call fcn.14025f9f0
lea rcx, [rsp + 0x40]
test eax, eax
js 0x140260c18
xor eax, eax
test ebx, ebx
jle 0x140260b33
nop word [rax + rax]
movzx edx, byte [r13 + rax]
xor byte [r15 + rax], dl
add rax, 1
cmp rdi, rax
jne 0x140260b20
mov qword [rsp + 0x20], rbp
lea rcx, [rsp + 0x40]
mov r9d, ebx
mov r8, r15
mov edx, r12d
mov qword [rsp + 0x30], rcx
call fcn.14025f9f0
mov rcx, qword [rsp + 0x30]
test eax, eax
js 0x140260c18
test r12d, r12d
jle 0x140260b84
mov eax, 1
lea r8, [rsp + 0x3f]
nop dword [rax]
movzx edx, byte [r8 + rax]
xor byte [rsi + rax], dl
mov rdx, rax
add rax, 1
cmp r14, rdx
jne 0x140260b70
mov ebx, 1
jmp 0x140260a32
mov r8d, 0x78
mov edx, 0x9a
mov ecx, 4
xor ebx, ebx
call fcn.1402750a0
jmp 0x140260a47
mov r8d, 0x6e
mov edx, 0x9a
mov ecx, 4
xor ebx, ebx
call fcn.1402750a0
jmp 0x140260a47
mov rax, qword [0x14048f170]
mov r11d, 0x28
mov r12d, 0x14
jmp 0x1402609d0
mov ecx, 4
mov r8d, 0x41
mov edx, 0x9a
xor ebx, ebx
call fcn.1402750a0
lea rcx, [rsp + 0x40]
jmp 0x140260a32
xor ebx, ebx
jmp 0x140260a32
Function at 0x140266630
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x38
xor r14d, r14d
mov r15, qword [rsp + 0xa0]
mov rax, qword [rsp + 0xa8]
mov r11d, dword [r15 + 4]
mov ebx, dword [rax]
mov eax, r11d
mov rdi, rdx
mov edx, dword [r15]
movzx r11d, r11b
bswap eax
mov r13d, eax
mov ebp, eax
mov dword [rsp + 0x2c], eax
shr r13d, 8
movzx eax, al
shr ebp, 0x10
mov r10d, edx
movzx r13d, r13b
bswap r10d
mov rsi, rcx
mov r12, r9
shl rax, 8
movzx ebp, bpl
mov ecx, r10d
mov r9d, r10d
or rax, r13
mov dword [rsp + 0x28], r10d
movzx r10d, r10b
shr r9d, 8
shl rax, 8
movzx r9d, r9b
shr ecx, 0x10
movzx edx, dl
or rax, rbp
movzx ecx, cl
lea r13, [rsp + 0x28]
mov ebp, r8d
shl rax, 8
add rbp, rsi
or rax, r11
shl rax, 8
or rax, r10
shl rax, 8
or rax, r9
shl rax, 8
or rax, rcx
shl rax, 8
or rax, rdx
mov qword [rsp + 0x20], rax
jmp 0x14026671c
movsxd rdx, ebx
movzx eax, byte [rsi]
add rsi, 1
add rdi, 1
xor al, byte [rsp + rdx + 0x20]
add ebx, 1
mov byte [rdi - 1], al
and ebx, 7
cmp rsi, rbp
je 0x1402667d0
test ebx, ebx
jne 0x1402666f8
mov rdx, r12
mov rcx, r13
add r14d, 1
call fcn.140265720
mov eax, dword [rsp + 0x2c]
mov edx, dword [rsp + 0x28]
mov r15d, eax
mov r10d, eax
mov r11d, eax
movzx eax, al
shr r15d, 8
shl rax, 8
mov ecx, edx
mov r8d, edx
shr r11d, 0x10
movzx r15d, r15b
shr r10d, 0x18
mov r9d, edx
shr r9d, 8
or rax, r15
movzx r11d, r11b
shr r8d, 0x10
shl rax, 8
shr ecx, 0x18
or rax, r11
movzx r11d, r10b
shl rax, 8
mov r10, rax
movzx eax, dl
or r10, r11
mov rdx, r10
shl rdx, 8
or rdx, rax
movzx eax, r9b
shl rdx, 8
mov r9, rdx
or r9, rax
movzx eax, r8b
mov r8, r9
shl r8, 8
or r8, rax
movzx eax, cl
mov rcx, r8
shl rcx, 8
or rcx, rax
mov qword [rsp + 0x20], rcx
jmp 0x1402666f8
mov r15, qword [rsp + 0xa0]
test r14d, r14d
je 0x140266861
mov eax, dword [rsp + 0x2c]
mov r9d, dword [rsp + 0x28]
mov esi, eax
mov r10d, eax
mov r11d, eax
movzx eax, al
shr esi, 8
shl rax, 8
mov edx, r9d
mov ecx, r9d
shr r11d, 0x10
movzx esi, sil
shr r10d, 0x18
mov r8d, r9d
or rax, rsi
movzx r11d, r11b
movzx r10d, r10b
movzx r9d, r9b
shl rax, 8
shr r8d, 8
shr ecx, 0x10
or rax, r11
movzx r8d, r8b
shr edx, 0x18
shl rax, 8
movzx ecx, cl
movzx edx, dl
or rax, r10
shl rax, 8
or rax, r9
shl rax, 8
or rax, r8
shl rax, 8
or rax, rcx
shl rax, 8
or rax, rdx
mov qword [r15], rax
mov rax, qword [rsp + 0xa8]
mov dword [rax], ebx
add rsp, 0x38
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x140266880
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
mov eax, dword [r8 + 8]
mov rbx, rcx
mov ecx, dword [rdx + 8]
mov rdi, rdx
mov rsi, r8
cmp ecx, eax
jge 0x1402668a4
mov ecx, eax
mov rdi, r8
mov rsi, rdx
cmp ecx, dword [rbx + 0xc]
jg 0x140266948
mov ebp, dword [rsi + 8]
test ebp, ebp
jle 0x140266968
movsxd rdx, ebp
mov r10, qword [rdi]
mov rsi, qword [rsi]
xor eax, eax
mov r9, qword [rbx]
lea r11, [rdx*8]
nop
mov r8, qword [r10 + rax]
xor r8, qword [rsi + rax]
mov qword [r9 + rax], r8
add rax, 8
cmp r11, rax
jne 0x1402668d0
cmp ebp, ecx
jge 0x140266900
mov rax, rdx
nop dword [rax]
mov rdx, qword [r10 + rax*8]
mov qword [r9 + rax*8], rdx
add rax, 1
cmp ecx, eax
jg 0x1402668f0
mov dword [rbx + 8], ecx
test ecx, ecx
jle 0x140266922
movsxd rax, ecx
lea rax, [r9 + rax*8]
jmp 0x140266915
sub ecx, 1
je 0x14026691f
sub rax, 8
cmp qword [rax], 0
je 0x140266910
mov dword [rbx + 8], ecx
test ecx, ecx
je 0x140266938
mov eax, 1
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
ret
mov dword [rbx + 0x10], 0
jmp 0x140266926
mov edx, ecx
mov rcx, rbx
call fcn.1401c5160
mov rdx, rax
xor eax, eax
test rdx, rdx
je 0x14026692b
mov ecx, dword [rdi + 8]
jmp 0x1402668ad
test ecx, ecx
jle 0x14026691f
mov r10, qword [rdi]
mov r9, qword [rbx]
xor edx, edx
jmp 0x1402668e9
Function at 0x1402671b0
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x98
mov rbx, qword [rsp + 0x100]
mov r12, rcx
mov r13, rdx
mov rdi, r9
cmp rdx, r8
je 0x1402673d4
mov rcx, rbx
mov qword [rsp + 0x38], r8
call fcn.1401c4ba0
mov rcx, rbx
call fcn.1401c5700
mov r10, qword [rsp + 0x38]
test rax, rax
mov r14, rax
je 0x1402673d0
mov ebp, dword [r10 + 8]
add ebp, dword [r13 + 8]
add ebp, 4
mov esi, ebp
cmp ebp, dword [rax + 0xc]
jg 0x1402673b3
mov dword [r14 + 8], ebp
test ebp, ebp
jle 0x1402673f2
mov rcx, qword [r14]
xor edx, edx
mov qword [rsp + 0x38], r10
lea r8, [rbp*8]
call fcn.14034f288
mov r10, qword [rsp + 0x38]
mov edx, dword [r10 + 8]
test edx, edx
jle 0x140267352
mov qword [rsp + 0x58], r12
mov eax, dword [r13 + 8]
xor ecx, ecx
xor r8d, r8d
mov qword [rsp + 0x60], rdi
lea rbp, [rsp + 0x70]
mov qword [rsp + 0x68], rbx
nop word [rax + rax]
mov r11, qword [r10]
lea ebx, [r8 + 1]
xor r9d, r9d
mov r15, qword [r11 + rcx]
cmp edx, ebx
je 0x140267287
mov r9, qword [r11 + rcx + 8]
test eax, eax
jle 0x14026732a
mov qword [rsp + 0x38], r9
lea r12, [rcx - 8]
mov ebx, 8
xor edi, edi
mov dword [rsp + 0x4c], r8d
lea rsi, [rsp + 0x90]
mov qword [rsp + 0x50], r10
mov qword [rsp + 0x40], rcx
mov rcx, r13
mov r13, rsi
mov rsi, rcx
nop
mov rcx, qword [rsi]
lea r9d, [rdi + 1]
xor edx, edx
mov r8, qword [rcx + rbx - 8]
cmp r9d, eax
je 0x1402672d7
mov rdx, qword [rcx + rbx]
mov qword [rsp + 0x20], r15
mov r9, qword [rsp + 0x38]
mov rcx, rbp
call fcn.14033f2d0
lea rax, [r12 + rbx]
mov rdx, rbp
add rax, qword [r14]
mov rcx, qword [rdx]
add rdx, 8
xor qword [rax], rcx
add rax, 8
cmp rdx, r13
jne 0x1402672f3
mov eax, dword [rsi + 8]
add edi, 2
add rbx, 0x10
cmp eax, edi
jg 0x1402672c0
mov r10, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x40]
mov r13, rsi
mov r8d, dword [rsp + 0x4c]
mov edx, dword [r10 + 8]
add r8d, 2
add rcx, 0x10
cmp edx, r8d
jg 0x140267270
mov esi, dword [r14 + 8]
mov r12, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x68]
test esi, esi
jle 0x140267373
mov rdx, qword [r14]
movsxd rax, esi
lea rax, [rdx + rax*8]
jmp 0x140267365
sub esi, 1
je 0x14026736f
sub rax, 8
cmp qword [rax], 0
je 0x140267360
mov dword [r14 + 8], esi
test esi, esi
jne 0x14026737f
mov dword [r14 + 0x10], 0
mov r8, rdi
mov rdx, r14
mov rcx, r12
xor esi, esi
call fcn.140266980
test eax, eax
setne sil
mov rcx, rbx
call fcn.1401c4ca0
mov eax, esi
add rsp, 0x98
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov edx, ebp
mov rcx, rax
mov qword [rsp + 0x38], r10
call fcn.1401c5160
mov r10, qword [rsp + 0x38]
test rax, rax
jne 0x140267219
xor esi, esi
jmp 0x140267395
mov r9, rbx
mov r8, rdi
add rsp, 0x98
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
jmp fcn.140266cc0
mov edx, dword [r10 + 8]
test edx, edx
jg 0x14026724d
jmp 0x140267373
Function at 0x140268130
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x38
xor r14d, r14d
mov r15, qword [rsp + 0xa0]
mov rax, qword [rsp + 0xa8]
mov r11d, dword [r15 + 4]
mov ebx, dword [rax]
mov eax, r11d
mov rdi, rdx
mov edx, dword [r15]
movzx r11d, r11b
bswap eax
mov r13d, eax
mov ebp, eax
mov dword [rsp + 0x2c], eax
shr r13d, 8
movzx eax, al
shr ebp, 0x10
mov r10d, edx
movzx r13d, r13b
bswap r10d
mov rsi, rcx
mov r12, r9
shl rax, 8
movzx ebp, bpl
mov ecx, r10d
mov r9d, r10d
or rax, r13
mov dword [rsp + 0x28], r10d
movzx r10d, r10b
shr r9d, 8
shl rax, 8
movzx r9d, r9b
shr ecx, 0x10
movzx edx, dl
or rax, rbp
movzx ecx, cl
lea r13, [rsp + 0x28]
mov ebp, r8d
shl rax, 8
add rbp, rsi
or rax, r11
shl rax, 8
or rax, r10
shl rax, 8
or rax, r9
shl rax, 8
or rax, rcx
shl rax, 8
or rax, rdx
mov qword [rsp + 0x20], rax
jmp 0x14026821c
movsxd rdx, ebx
movzx eax, byte [rsi]
add rsi, 1
add rdi, 1
xor al, byte [rsp + rdx + 0x20]
add ebx, 1
mov byte [rdi - 1], al
and ebx, 7
cmp rsi, rbp
je 0x1402682d0
test ebx, ebx
jne 0x1402681f8
mov rdx, r12
mov rcx, r13
add r14d, 1
call fcn.140267410
mov eax, dword [rsp + 0x2c]
mov edx, dword [rsp + 0x28]
mov r15d, eax
mov r10d, eax
mov r11d, eax
movzx eax, al
shr r15d, 8
shl rax, 8
mov ecx, edx
mov r8d, edx
shr r11d, 0x10
movzx r15d, r15b
shr r10d, 0x18
mov r9d, edx
shr r9d, 8
or rax, r15
movzx r11d, r11b
shr r8d, 0x10
shl rax, 8
shr ecx, 0x18
or rax, r11
movzx r11d, r10b
shl rax, 8
mov r10, rax
movzx eax, dl
or r10, r11
mov rdx, r10
shl rdx, 8
or rdx, rax
movzx eax, r9b
shl rdx, 8
mov r9, rdx
or r9, rax
movzx eax, r8b
mov r8, r9
shl r8, 8
or r8, rax
movzx eax, cl
mov rcx, r8
shl rcx, 8
or rcx, rax
mov qword [rsp + 0x20], rcx
jmp 0x1402681f8
mov r15, qword [rsp + 0xa0]
test r14d, r14d
je 0x140268361
mov eax, dword [rsp + 0x2c]
mov r9d, dword [rsp + 0x28]
mov esi, eax
mov r10d, eax
mov r11d, eax
movzx eax, al
shr esi, 8
shl rax, 8
mov edx, r9d
mov ecx, r9d
shr r11d, 0x10
movzx esi, sil
shr r10d, 0x18
mov r8d, r9d
or rax, rsi
movzx r11d, r11b
movzx r10d, r10b
movzx r9d, r9b
shl rax, 8
shr r8d, 8
shr ecx, 0x10
or rax, r11
movzx r8d, r8b
shr edx, 0x18
shl rax, 8
movzx ecx, cl
movzx edx, dl
or rax, r10
shl rax, 8
or rax, r9
shl rax, 8
or rax, r8
shl rax, 8
or rax, rcx
shl rax, 8
or rax, rdx
mov qword [r15], rax
mov rax, qword [rsp + 0xa8]
mov dword [rax], ebx
add rsp, 0x38
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x140268380
Capabilities:
Query environment variable

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x48
mov rsi, rcx
mov rdi, rdx
mov rbx, r8
test r8, r8
je 0x14026840d
test rcx, rcx
je 0x140268440
mov rcx, qword [rcx + 0x10]
test rdx, rdx
je 0x140268420
lea rbp, [rsp + 0x20]
mov qword [rsp + 0x20], rdx
mov rdx, rbp
mov qword [rsp + 0x28], r8
call fcn.1401ff7d0
test rax, rax
je 0x1402683d8
mov rax, qword [rax + 0x10]
add rsp, 0x48
pop rbx
pop rsi
pop rdi
pop rbp
ret
lea rdx, [0x140451fe0]
mov rcx, rdi
call sub.msvcrt.dll_strcmp
test eax, eax
je 0x140268430
mov rcx, qword [rsi + 0x10]
lea rax, str.default
mov rdx, rbp
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rax
call fcn.1401ff7d0
test rax, rax
jne 0x1402683c4
xor eax, eax
add rsp, 0x48
pop rbx
pop rsi
pop rdi
pop rbp
ret
lea rbp, [rsp + 0x20]
jmp 0x1402683eb
mov rcx, rbx
call sub.msvcrt.dll_getenv
test rax, rax
jne 0x1402683c8
jmp 0x1402683eb
mov rcx, r8
add rsp, 0x48
pop rbx
pop rsi
pop rdi
pop rbp
jmp sub.msvcrt.dll_getenv
Function at 0x140280be0
Capabilities:
Get common file path
Initialize winsock library

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x1d0
mov ecx, 0x202
lea rdx, [rsp + 0x30]
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x140280d2e
movzx eax, word [rsp + 0x30]
cmp al, 2
jne 0x140280d28
shr ax, 8
cmp ax, 2
jne 0x140280d28
lea rcx, str.kernel32
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rbx, rax
test rax, rax
je 0x140280d12
mov rdi, qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.LoadLibraryExA
mov rcx, rax
call rdi
mov rsi, rax
test rax, rax
je 0x140280cd0
lea rdx, str.AddDllDirectory
mov rcx, rbx
call rdi
test rax, rax
je 0x140280cd0
mov r8d, 0x800
xor edx, edx
lea rcx, str.iphlpapi.dll
call rsi
mov rdx, qword [0x14048f0c0]
mov qword [rdx], rax
test rax, rax
je 0x140280ca0
lea rdx, str.if_nametoindex
mov rcx, rax
call rdi
test rax, rax
je 0x140280ca0
mov rdx, qword [0x14048b690]
mov qword [rdx], rax
mov ecx, 3
call fcn.140280ac0
mov rdx, qword [0x14048b6a0]
mov rcx, qword [0x14048b620]
mov byte [rdx], al
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
xor eax, eax
add rsp, 0x1d0
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov rbp, qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
xor edx, edx
xor ecx, ecx
call rbp
mov ebx, eax
test eax, eax
je 0x140280d12
lea ecx, [rax + 1]
mov rax, qword [0x14048b5c0]
add rcx, 0xc
call qword [rax]
mov r12, rax
test rax, rax
je 0x140280d48
mov rcx, rax
mov edx, ebx
call rbp
mov rcx, r12
test eax, eax
jne 0x140280d50
mov rax, qword [0x14048b5b0]
call qword [rax]
mov rax, qword [0x14048f0c0]
mov qword [rax], 0
jmp 0x140280ca0
call qword [sym.imp.WS2_32.dll_WSACleanup]
mov eax, 2
add rsp, 0x1d0
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
xor ecx, ecx
jmp 0x140280d09
call sub.msvcrt.dll_strlen
movabs rbx, 0x697061706c687069
mov byte [r12 + rax], 0x5c
lea rax, [r12 + rax + 1]
mov qword [rax], rbx
movabs rbx, 0x6c6c642e697061
mov qword [rax + 5], rbx
test rsi, rsi
je 0x140280da7
mov r8d, 8
xor edx, edx
mov rcx, r12
call rsi
mov rdx, qword [0x14048b5b0]
mov qword [rsp + 0x28], rax
mov rcx, r12
call qword [rdx]
mov rax, qword [rsp + 0x28]
jmp 0x140280c76
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
jmp 0x140280d8c
Function at 0x1402a2220
Capabilities:
Get disk information

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x30
xor r9d, r9d
xor r8d, r8d
mov rsi, rdx
mov rdi, rcx
mov edx, 0xffffffff
mov rcx, rsi
call fcn.1402b3210
mov rbp, rax
mov rax, qword [0x1404ce8a0]
test rax, rax
je 0x1402a2320
mov rcx, qword [0x1404ce8a0]
xor edx, edx
call fcn.1400ad9f0
mov rbx, rax
test rdi, rdi
je 0x1402a2277
mov rcx, rdi
call fcn.1400a9ca0
mov rdi, rax
mov qword [rbx + 0x18], rdi
test rsi, rsi
je 0x1402a2350
mov rcx, rsi
call sub.msvcrt.dll_strlen
lea rdi, [rax + 1]
mov rcx, rdi
call sub.msvcrt.dll_malloc
mov rcx, rax
test rax, rax
je 0x1402a2364
mov r8, rdi
mov rdx, rsi
call sub.msvcrt.dll_memcpy
mov rcx, rax
mov qword [rbx + 0x48], rcx
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
xor r9d, r9d
xor r8d, r8d
mov edx, 0xffffffff
mov dword [rbx + 0x28], eax
mov rcx, rsi
mov dword [rbx + 0x50], 0
call fcn.1402b3210
mov rcx, rax
mov r12, rax
call fcn.14007cef0
mov rcx, r12
mov rdi, rax
call fcn.14034efb0
test rdi, rdi
je 0x1402a2357
mov qword [rbx + 0x30], rdi
mov rcx, rbp
mov qword [rbx + 0x20], 0
call fcn.14034efb0
mov rax, rbx
add rsp, 0x30
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
lea rbx, [0x1404ce8a0]
mov rcx, rbx
call fcn.1400e7370
test eax, eax
je 0x1402a2256
call fcn.14007ce30
mov rcx, rbx
mov rdx, rax
call fcn.1400e6720
jmp 0x1402a2256
xor ecx, ecx
jmp 0x1402a22b2
mov rcx, rsi
call fcn.1400e4a90
mov rdi, rax
jmp 0x1402a22f7
mov qword [rsp + 0x20], rdi
lea r9, [0x1404796da]
lea r8, [0x1404796f0]
mov edx, 4
lea rcx, [0x14047953a]
call fcn.1400d2190
jmp 0x1402a2388

Function at 0x1402a30d0
Capabilities:
Read file via mapping

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x30
mov rbp, qword [sym.imp.KERNEL32.dll_OpenFileMappingA]
mov r12, qword [sym.imp.KERNEL32.dll_Sleep]
mov esi, 0x14
lea rdi, str.DBusDaemonAddressInfo
jmp 0x1402a310d
mov ecx, 0x64
call r12
sub esi, 1
je 0x1402a3169
mov r8, rdi
xor edx, edx
mov ecx, 4
call rbp
mov rbx, rax
test rax, rax
je 0x1402a3100
xor r9d, r9d
xor r8d, r8d
mov edx, 4
mov rcx, rax
mov qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov rsi, rax
test rax, rax
je 0x1402a315d
mov rcx, rsi
call fcn.1400e4a90
mov rcx, rsi
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov rsi, rdi
mov rcx, rbx
mov rbx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, rbx
add rsp, 0x30
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret

Function at 0x1402a37b0
Capabilities:
Create directory

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
xor r9d, r9d
xor r8d, r8d
mov edx, 0xffffffff
call fcn.1402b3210
mov rbx, rax
test rax, rax
je 0x1402a37fd
mov rcx, rax
call qword [sym.imp.msvcrt.dll__wmkdir]
mov rdi, qword [sym.imp.msvcrt.dll__errno]
mov esi, eax
call rdi
mov rcx, rbx
mov ebp, dword [rax]
call fcn.14034efb0
call rdi
mov dword [rax], ebp
mov eax, esi
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
ret
call qword [sym.imp.msvcrt.dll__errno]
or esi, 0xffffffff
mov dword [rax], 0x16
jmp 0x1402a37f2