joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400b5ef0
Capabilities:
Get hostname

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x80]
sub rsp, 0x180
mov rax, qword [0x140293028]
xor rax, rsp
mov qword [rbp + 0x70], rax
mov rsi, rcx
mov qword [rsp + 0x38], rcx
xor r14d, r14d
mov dword [rsp + 0x38], r14d
lea r8, [rsp + 0x38]
xor edx, edx
lea ecx, [rdx + 5]
call qword [sym.imp.KERNEL32.dll_GetComputerNameExW]
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xea
jne 0x1400b6085
xorps xmm0, xmm0
xor eax, eax
mov edi, dword [rsp + 0x38]
movdqu xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], r14
test rdi, rdi
je 0x1400b5fcd
add rdi, rdi
cmp rdi, 0x1000
jb 0x1400b5f9d
lea rcx, [rdi + 0x27]
cmp rcx, rdi
jbe 0x1400b60ef
lfence
call fcn.140185648
mov rcx, rax
test rax, rax
je 0x1400b6075
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x1400b5fad
test rdi, rdi
je 0x1400b5fad
lfence
mov rcx, rdi
call fcn.140185648
mov qword [rsp + 0x40], rax
lea rbx, [rdi + rax]
mov qword [rsp + 0x50], rbx
mov r8, rdi
xor edx, edx
mov rcx, rax
call fcn.1401a8d80
mov qword [rsp + 0x48], rbx
lea r8, [rsp + 0x38]
mov rdx, qword [rsp + 0x40]
mov ecx, 5
call qword [sym.imp.KERNEL32.dll_GetComputerNameExW]
test eax, eax
je 0x1400b607b
mov r8d, dword [rsp + 0x38]
mov qword [rsi], r14
mov qword [rsi + 0x10], r14
mov qword [rsi + 0x18], 7
mov word [rsi], r14w
mov rdx, qword [rsp + 0x40]
mov rcx, rsi
call fcn.14000b550
nop
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x1400b604e
mov rdx, qword [rsp + 0x50]
sub rdx, rcx
sar rdx, 1
add rdx, rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400b6049
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400b6075
call fcn.1401853a0
mov rax, rsi
mov rcx, qword [rbp + 0x70]
xor rcx, rsp
call fcn.140185380
lea r11, [rsp + 0x180]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
call fcn.1401b3c00
int3
lea rcx, [rsp + 0x40]
call fcn.140022fa0
lea rcx, [rsp + 0x60]
call fcn.14000eaf0
call fcn.140138af0
mov rdx, rax
mov r8d, 3
lea rcx, [rsp + 0x60]
call fcn.14000af90
cmp byte [rbp + 0x68], 0
jne 0x1400b60c2
lea rdx, str.GetComputerNameExW___failed_to_retrieve_ComputerNamePhysicalDnsHostname_value.
lea rcx, [rsp + 0x60]
call fcn.14005a8c0
mov byte [rbp + 0x68], 1
lea rcx, [rsp + 0x60]
call fcn.14000afe0
lea rdx, str.Failed_to_get_ComputerNamePhysicalDnsHostname
lea rcx, [rsp + 0x20]
call fcn.140030560
lea rdx, [0x14028fd98]
lea rcx, [rsp + 0x20]
call fcn.1401a8f20
int3
call fcn.140008770
int3
Function at 0x1400bb1e0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
movss dword [rsp + 0x20], xmm3
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x50
mov rax, qword [0x140293028]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov eax, dword [rsp + 0xa0]
mov rdi, rdx
mov edx, dword [rsp + 0x98]
test eax, eax
mov r11d, 6
mov rbp, r8
mov r10d, r11d
mov r14, rcx
cmovns r10d, eax
mov eax, edx
and eax, 0x7fffff
shr edx, 0x17
lea r9d, [rax + rax]
test edx, edx
jne 0x1400bb241
neg eax
sbb ecx, ecx
and ecx, 0xffffff82
jmp 0x1400bb244
lea ecx, [rdx - 0x7f]
mov eax, r9d
mov r15d, 0x2d
bts eax, 0x18
test edx, edx
cmovne r9d, eax
mov eax, ecx
cdq
mov esi, eax
mov eax, 0x2b
xor esi, edx
sub esi, edx
test ecx, ecx
cmovns r15d, eax
cmp esi, 0xa
jae 0x1400bb275
lea edx, [rax - 0x27]
jmp 0x1400bb27e
cmp esi, 0x64
sbb rdx, rdx
add rdx, r11
mov rcx, rbp
movsxd r8, r10d
sub rcx, rdi
cmp rcx, r8
jge 0x1400bb29c
mov qword [r14], rbp
mov dword [r14 + 8], 0x84
jmp 0x1400bb3ed
xor eax, eax
test r10d, r10d
setg al
sub rcx, r8
add rax, rdx
cmp rcx, rax
jl 0x1400bb28c
mov qword [rsp + 0x80], rbx
cmp r10d, r11d
jge 0x1400bb2e1
lea r8d, [r9 + r9]
sub r11d, r10d
shl r11d, 2
lea eax, [r8 - 1]
or eax, r9d
movzx ecx, r11b
mov edx, 1
shl edx, cl
and edx, eax
and edx, r8d
add r9d, edx
mov eax, r9d
and r9d, 0xffffff
shr eax, 0x18
add al, 0x30
mov byte [rdi], al
inc rdi
test r10d, r10d
jle 0x1400bb36e
mov byte [rdi], 0x2e
lea r11, str.0123456789abcdefghijklmnopqrstuvwxyz
mov eax, r9d
lea r8d, [r10 - 1]
shr rax, 0x14
mov ecx, 0x14
movzx eax, byte [rax + r11]
mov byte [rdi + 1], al
add rdi, 2
test r8d, r8d
je 0x1400bb36e
mov edx, 0x100000
nop word [rax + rax]
test ecx, ecx
je 0x1400bb358
lea eax, [rdx - 1]
sub ecx, 4
and r9d, eax
ror edx, 4
mov eax, r9d
shr rax, cl
movzx eax, byte [rax + r11]
mov byte [rdi], al
inc rdi
sub r8d, 1
jne 0x1400bb330
jmp 0x1400bb36e
movsxd rbx, r8d
mov edx, 0x30
mov r8, rbx
mov rcx, rdi
call fcn.1401a8d80
add rdi, rbx
mov byte [rdi], 0x70
lea r9, [rsp + 0x40]
mov byte [rdi + 1], r15b
add rdi, 2
nop
dec r9
mov eax, 0xcccccccd
mul esi
shr edx, 3
movzx eax, dl
shl al, 2
lea ecx, [rax + rdx]
add cl, cl
sub sil, cl
add sil, 0x30
mov byte [r9], sil
mov esi, edx
test edx, edx
jne 0x1400bb380
lea rbx, [rsp + 0x40]
mov rax, rbp
sub rbx, r9
sub rax, rdi
cmp rax, rbx
jge 0x1400bb3c5
mov dword [r14 + 8], 0x84
jmp 0x1400bb3e2
lfence
mov r8, rbx
mov rdx, r9
mov rcx, rdi
call fcn.1401a9040
mov dword [r14 + 8], 0
lea rbp, [rbx + rdi]
mov qword [r14], rbp
mov rbx, qword [rsp + 0x80]
mov rax, r14
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140185380
add rsp, 0x50
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400bb810
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rbx
movsd qword [rsp + 0x20], xmm3
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x50
mov rax, qword [0x140293028]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov eax, dword [rsp + 0xa0]
mov rsi, rdx
mov rdx, qword [rsp + 0x98]
test eax, eax
mov r9, rdx
mov r11d, 0xd
mov r10d, r11d
movabs rbx, 0xfffffffffffff
cmovns r10d, eax
mov rbp, r8
and r9, rbx
shr rdx, 0x34
mov r14, rcx
test edx, edx
jne 0x1400bb884
mov rax, r9
neg rax
sbb ecx, ecx
and ecx, 0xfffffc02
jmp 0x1400bb88a
lea ecx, [rdx - 0x3ff]
mov rax, r9
movabs r8, 0x10000000000000
or rax, r8
mov r15d, 0x2d
test edx, edx
cmovne r9, rax
mov eax, ecx
cdq
mov edi, eax
mov eax, 0x2b
xor edi, edx
sub edi, edx
test ecx, ecx
cmovns r15d, eax
cmp edi, 0xa
jae 0x1400bb8c4
lea edx, [rax - 0x27]
jmp 0x1400bb8dd
cmp edi, 0x64
jae 0x1400bb8d0
mov edx, 5
jmp 0x1400bb8dd
cmp edi, 0x3e8
sbb rdx, rdx
add rdx, 7
mov rcx, rbp
movsxd r8, r10d
sub rcx, rsi
cmp rcx, r8
jl 0x1400bba1b
xor eax, eax
test r10d, r10d
setg al
sub rcx, r8
add rax, rdx
cmp rcx, rax
jl 0x1400bba1b
cmp r10d, r11d
jge 0x1400bb932
lea r8, [r9 + r9]
sub r11d, r10d
shl r11d, 2
lea rax, [r8 - 1]
or rax, r9
movzx ecx, r11b
mov edx, 1
shl rdx, cl
and rdx, rax
and rdx, r8
add r9, rdx
mov rax, r9
and r9, rbx
shr rax, 0x34
add al, 0x30
mov byte [rsi], al
inc rsi
test r10d, r10d
jle 0x1400bb9c2
mov byte [rsi], 0x2e
lea r11, str.0123456789abcdefghijklmnopqrstuvwxyz
mov rax, r9
lea r8d, [r10 - 1]
shr rax, 0x30
mov ecx, 0x30
movzx eax, byte [rax + r11]
mov byte [rsi + 1], al
add rsi, 2
test r8d, r8d
je 0x1400bb9c2
movabs rdx, 0x1000000000000
nop dword [rax]
test ecx, ecx
je 0x1400bb9ac
lea rax, [rdx - 1]
sub ecx, 4
and r9, rax
ror rdx, 4
mov rax, r9
shr rax, cl
mov eax, eax
movzx eax, byte [rax + r11]
mov byte [rsi], al
inc rsi
sub r8d, 1
jne 0x1400bb980
jmp 0x1400bb9c2
movsxd rbx, r8d
mov edx, 0x30
mov r8, rbx
mov rcx, rsi
call fcn.1401a8d80
add rsi, rbx
mov byte [rsi], 0x70
lea r9, [rsp + 0x40]
mov byte [rsi + 1], r15b
add rsi, 2
nop dword [rax]
nop word [rax + rax]
dec r9
mov eax, 0xcccccccd
mul edi
shr edx, 3
movzx eax, dl
shl al, 2
lea ecx, [rax + rdx]
add cl, cl
sub dil, cl
add dil, 0x30
mov byte [r9], dil
mov edi, edx
test edx, edx
jne 0x1400bb9e0
lea rbx, [rsp + 0x40]
mov rax, rbp
sub rbx, r9
sub rax, rsi
cmp rax, rbx
jge 0x1400bba25
mov dword [r14 + 8], 0x84
jmp 0x1400bba42
lfence
mov r8, rbx
mov rdx, r9
mov rcx, rsi
call fcn.1401a9040
mov dword [r14 + 8], 0
lea rbp, [rbx + rsi]
mov qword [r14], rbp
mov rax, r14
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140185380
mov rbx, qword [rsp + 0x80]
add rsp, 0x50
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400e05b0
Capabilities:
Get volume information via ioctl

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xe8
mov rax, qword [0x140293028]
xor rax, rsp
mov qword [rsp + 0xd0], rax
mov rsi, r9
mov r15, r8
mov r13, rdx
mov r14, rcx
xor r12d, r12d
mov dword [rsp + 0x40], r12d
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rsp + 0x80], xmm0
movups xmmword [rsp + 0x90], xmm0
movups xmmword [rsp + 0xa0], xmm0
movups xmmword [rsp + 0xb0], xmm0
movups xmmword [rsp + 0xc0], xmm0
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
cmp dword [r14 + 0x94], 1
je 0x1400e063e
lea ecx, [r12 + 0x32]
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor al, al
jmp 0x1400e0766
mov qword [rsp + 0x38], r12
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0x60
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x90064
mov rcx, qword [r14]
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x1400e0637
mov ebp, dword [rsp + 0xa0]
add ebp, 0xf
xorps xmm0, xmm0
mov edi, ebp
movdqu xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x58], r12
je 0x1400e06bd
lfence
mov ecx, edi
call fcn.140012d70
mov qword [rsp + 0x48], rax
lea rbx, [rax + rbp]
mov qword [rsp + 0x58], rbx
mov r8d, edi
xor edx, edx
mov rcx, rax
call fcn.1401a8d80
mov qword [rsp + 0x50], rbx
mov rbx, qword [rsp + 0x48]
mov rax, qword [r13 + 0x58]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x38], r12
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], ebp
mov qword [rsp + 0x20], rbx
mov r9d, 8
lea r8, [rsp + 0x60]
mov edx, 0x90068
mov rcx, qword [r14]
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x1400e0729
lea rax, [rbx + 0xc]
movzx ecx, word [rax + 0x14]
add rcx, rax
mov edx, dword [rax + 0x18]
add rdx, rax
cmp rcx, rdx
jae 0x1400e0729
cmp dword [rcx], 0x80
je 0x1400e078a
mov eax, dword [rcx + 4]
add rcx, rax
cmp rcx, rdx
jb 0x1400e0716
xor bl, bl
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x1400e0763
mov rdx, qword [rsp + 0x58]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400e075e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400e07c5
call fcn.1401853a0
movzx eax, bl
mov rcx, qword [rsp + 0xd0]
xor rcx, rsp
call fcn.140185380
add rsp, 0xe8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov eax, dword [rcx + 0x10]
movzx edi, word [rcx + 0x14]
add rdi, rcx
je 0x1400e0729
test eax, eax
je 0x1400e0729
test rsi, rsi
je 0x1400e07a4
cmp esi, eax
cmovb eax, esi
mov ebx, eax
mov edx, eax
mov rcx, r15
call fcn.14005ded0
mov r8d, ebx
mov rdx, rdi
mov rcx, qword [r15]
call fcn.1401a9040
mov bl, 1
jmp 0x1400e072b
call fcn.1401b3c00
int3
Function at 0x1400f5420
Capabilities:
Write file on windows

Disassembly:
push rbx
push rbp
push rsi
push rdi
sub rsp, 0x38
cmp qword [rcx + 0x28], 0
mov rdi, r9
mov rsi, r8
mov rbp, rdx
mov rbx, rcx
jne 0x1400f5467
mov rax, qword [rcx]
cmp byte [rax + 1], 0
jne 0x1400f545c
cmp byte [rax + 2], 0
jne 0x1400f545c
mov rcx, r9
call fcn.1400f49c0
mov qword [rbx + 0x28], rax
test rax, rax
jne 0x1400f5467
xor al, al
add rsp, 0x38
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov rax, qword [rbx]
lea rdx, str.Tcpsending:__ls_n
lea rcx, str.Writing:__ls_n
mov qword [rsp + 0x30], r15
cmp byte [rax + 1], 0
cmovne rcx, rdx
mov rdx, qword [rdi]
call fcn.1400f4960
mov rax, qword [rbx]
cmp byte [rax + 2], 0
je 0x1400f54b2
mov rcx, qword [rbx + 0x28]
mov rax, qword [rcx + 0x10]
test rax, rax
je 0x1400f54b2
mov r8, qword [rdi]
xor edx, edx
mov rcx, qword [rcx + 8]
call qword [case.0x1400d90b6.0]
mov r8, rsi
mov rdx, rbp
mov rcx, rbx
call fcn.1400f6950
mov ecx, 0x10
mov r15, rax
call fcn.1401b57f8
mov rdi, rax
test rax, rax
je 0x1400f5655
mov qword [rsp + 0x68], r12
mov r9d, 0x20000
xor r12d, r12d
mov qword [rsp + 0x70], r14
xor r8d, r8d
mov qword [rax], r12
mov rdx, r15
mov qword [rax + 8], r12
mov rcx, rbx
mov qword [rsp + 0x20], rax
mov r14d, r12d
call fcn.1400f6b50
movzx ebp, al
test al, al
je 0x1400f55b0
cmp byte [rsi + 8], r12b
je 0x1400f5520
mov rcx, qword [rsi + 0x30]
jmp 0x1400f5523
mov ecx, dword [rsi + 0x10]
cmp r14, rcx
jae 0x1400f55b0
mov rcx, qword [rbx + 0x28]
mov rax, qword [rcx + 0x10]
test rax, rax
je 0x1400f554d
mov rcx, qword [rcx + 8]
mov r8, rdi
mov edx, 1
call qword [case.0x1400d90b6.0]
jmp 0x1400f5584
mov rcx, qword [rcx]
cmp rcx, 0xffffffffffffffff
jne 0x1400f5568
lea r8, str.Invalid_output_file_handle_n
xor edx, edx
xor ecx, ecx
call fcn.1400f5fd0
jmp 0x1400f5584
mov r8d, dword [rdi + 8]
lea r9, [rsp + 0x60]
mov rdx, qword [rdi]
mov dword [rsp + 0x60], r12d
mov qword [rsp + 0x20], r12
call qword [sym.imp.KERNEL32.dll_WriteFile]
add r14, qword [rdi + 8]
mov r9d, 0x20000
mov r8, 0xffffffffffffffff
mov qword [rsp + 0x20], rdi
mov rdx, r15
mov rcx, rbx
call fcn.1400f6b50
movzx ebp, al
test al, al
jne 0x1400f5514
mov rcx, qword [rdi]
call fcn.1401b3750
mov rcx, rdi
call fcn.1401b3750
mov rcx, qword [r15 + 0x30]
mov r14, qword [rsp + 0x70]
test rcx, rcx
je 0x1400f55d3
call fcn.1401b3750
mov rdi, qword [r15 + 0x38]
test rdi, rdi
je 0x1400f55ec
mov rcx, qword [rdi]
call fcn.1401b3750
mov rcx, rdi
call fcn.1401b3750
mov rcx, r15
call fcn.1401b3750
mov rax, qword [rbx]
cmp byte [rax + 1], r12b
jne 0x1400f563e
cmp byte [rax + 2], r12b
jne 0x1400f563e
mov rdi, qword [rbx + 0x28]
mov rax, qword [rdi + 0x10]
test rax, rax
je 0x1400f5623
mov rcx, qword [rdi + 8]
xor r8d, r8d
lea edx, [r8 + 2]
call qword [case.0x1400d90b6.0]
jmp 0x1400f5632
mov rcx, qword [rdi]
cmp rcx, 0xffffffffffffffff
je 0x1400f5632
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rdi
call fcn.1401b3750
mov qword [rbx + 0x28], r12
mov r12, qword [rsp + 0x68]
movzx eax, bpl
mov r15, qword [rsp + 0x30]
add rsp, 0x38
pop rdi
pop rsi
pop rbp
pop rbx
ret
lea rcx, str.Memory_allocation_problem.
call fcn.1400f5f40
int3
Function at 0x1400f7bf0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x30
mov rbx, r9
mov r12, r8
mov rdi, rdx
mov rsi, rcx
test rdx, rdx
jns 0x1400f7c1b
mov rdi, qword [rcx + 8]
movzx r10d, word [rcx + 0x10]
lea r14, [r8 - 1]
mov r15, qword [rsp + 0x80]
mov rax, rdi
cqo
mov rcx, rdi
idiv r10
lea rax, [r10 + rdi]
add r14, rax
sub rcx, rdx
mov rax, r14
mov rbp, rdx
xor edx, edx
div r10
sub r14, rdx
sub r14, rcx
cmp rcx, rdi
jne 0x1400f7d0a
movzx eax, r15b
add al, byte [r9]
test al, 1
jne 0x1400f7d0a
cmp rdi, qword [rsi + 8]
je 0x1400f7c8e
mov rcx, qword [rsi]
lea r8, [rsp + 0x68]
mov rax, rdi
xor r9d, r9d
sar rax, 0x20
mov edx, edi
mov dword [rsp + 0x68], eax
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
lea rbp, [r14 + r15]
cmp qword [rbx + 8], rbp
jae 0x1400f7cb6
lfence
mov rcx, qword [rbx]
mov rdx, rbp
call fcn.1401b4548
test rax, rax
je 0x1400f7d63
mov qword [rbx], rax
mov qword [rbx + 8], rbp
mov rdx, qword [rbx]
lea r9, [rsp + 0x60]
xor ecx, ecx
add rdx, r15
mov dword [rsp + 0x60], ecx
mov r8d, r14d
mov qword [rsp + 0x20], rcx
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1400f7d4a
mov eax, dword [rsp + 0x60]
cmp rax, r14
jne 0x1400f7d4a
mov rcx, qword [rbx + 8]
mov rax, rcx
sub rax, r12
sub rax, r15
cmp rax, rcx
ja 0x1400f7d70
sub rcx, rax
lea rax, [rdi + r12]
mov qword [rbx + 8], rcx
mov qword [rsi + 8], rax
mov al, 1
jmp 0x1400f7d4c
mov rdx, rcx
mov r8, r14
mov rcx, rsi
call fcn.1400f7d80
mov rdi, rax
test rax, rax
je 0x1400f7d4a
mov r9, rbp
mov qword [rsp + 0x20], r12
mov r8, rax
mov rdx, r15
mov rcx, rbx
call fcn.1400f8c30
mov rcx, qword [rdi]
call fcn.1401b3750
mov rcx, rdi
call fcn.1401b3750
mov al, 1
jmp 0x1400f7d4c
xor al, al
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
add rsp, 0x30
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
lea rcx, str.Memory_Allocation_Problem
call fcn.1400f5f40
int3
lea rcx, str.Index_out_of_bounds
call fcn.1400f5f40
int3

Function at 0x140100460
Capabilities:
Read .ini file

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x260
mov rax, qword [0x140293028]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov rbx, r9
mov rdi, r8
mov rsi, rcx
mov qword [rsp + 0x30], rcx
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x40]
call fcn.1401a8d80
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], 0x104
lea r9, [rsp + 0x40]
lea r8, [0x14020a460]
mov rdx, rdi
lea rcx, str.PPI.ProxyConfig_Primary
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
xor eax, eax
mov qword [rsi], rax
mov qword [rsi + 0x10], rax
mov qword [rsi + 0x18], 7
mov word [rsi], ax
lea rax, [rsp + 0x40]
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x1401004f0
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.14000b550
mov rax, rsi
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.140185380
add rsp, 0x260
pop rdi
pop rsi
pop rbx
ret
Function at 0x140100530
Capabilities:
Read .ini file

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x240
mov rax, qword [0x140293028]
xor rax, rsp
mov qword [rsp + 0x230], rax
mov rbx, rdx
mov rdi, rcx
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x208
call fcn.1401a8d80
mov r8, rbx
lea rcx, [rsp + 0x20]
mov edx, 0x104
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionNamesW]
movzx ecx, word [rsp + 0x20]
lea r11, [rsp + 0x20]
xor eax, eax
xor sil, sil
mov word [rsp + 0x226], ax
test cx, cx
je 0x140100657
mov qword [rsp + 0x250], rbp
lea ebp, [rax + 1]
nop word [rax + rax]
mov rax, r11
test cx, cx
je 0x1401005ca
nop dword [rax + rax]
add rax, 2
cmp word [rax], 0
jne 0x1401005c0
mov rbx, rax
mov r10, 0xffffffffffffffff
sub rbx, r11
sar rbx, 1
nop word [rax + rax]
inc r10
cmp word [rdi + r10*2], 0
jne 0x1401005e0
cmp r10, rbx
mov r9, rbx
mov rdx, rdi
cmovb r9, r10
test r9, r9
je 0x14010062e
movzx r8d, word [rdi]
cmp cx, r8w
jb 0x14010063a
sub r11, rdi
cmp cx, r8w
ja 0x14010063a
cmp r9, rbp
je 0x14010062e
movzx ecx, word [r11 + rdx + 2]
add rdx, 2
dec r9
movzx r8d, word [rdx]
cmp cx, r8w
jae 0x14010060e
jmp 0x14010063a
cmp rbx, r10
jb 0x14010063a
movzx esi, sil
cmovbe esi, ebp
movzx ecx, word [rax + 2]
lea r11, [rax + 2]
test cx, cx
jne 0x1401005b0
mov rbp, qword [rsp + 0x250]
movzx eax, sil
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.140185380
lea r11, [rsp + 0x240]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x140101e30
Capabilities:
Encrypt or decrypt via wincrypt

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0x90
mov rax, qword [0x140293028]
xor rax, rsp
mov qword [rbp + 0x2f], rax
mov r14, r8
mov rsi, rdx
mov r15, rcx
mov qword [rbp + 0x27], rdx
xorps xmm0, xmm0
xor eax, eax
mov rdi, qword [r8 + 8]
movdqu xmmword [rbp + 0xf], xmm0
mov qword [rbp + 0x1f], rax
test rdi, rdi
je 0x140101eb7
movabs rax, 0x7fffffffffffffff
cmp rdi, rax
ja 0x140102033
lfence
mov rcx, rdi
call fcn.140012d70
mov qword [rbp + 0xf], rax
lea rbx, [rax + rdi]
mov qword [rbp + 0x1f], rbx
mov r8, rdi
xor edx, edx
mov rcx, rax
call fcn.1401a8d80
mov qword [rbp + 0x17], rbx
jmp 0x140101ebb
mov rbx, qword [rbp + 0x17]
mov r14, qword [r14]
mov rax, qword [rbp + 0xf]
sub rbx, rax
test rdi, rdi
je 0x140101f2c
test rax, rax
jne 0x140101edc
call fcn.1401ba450
mov dword [rax], 0x16
jmp 0x140101f27
test r14, r14
je 0x140101ef7
cmp rbx, rdi
jb 0x140101ef7
mov r8, rdi
mov rdx, r14
mov rcx, qword [rbp + 0xf]
call fcn.1401a9040
jmp 0x140101f2c
mov r8, rbx
xor edx, edx
mov rcx, qword [rbp + 0xf]
call fcn.1401a8d80
test r14, r14
jne 0x140101f17
call fcn.1401ba450
mov dword [rax], 0x16
jmp 0x140101f27
cmp rbx, rdi
jae 0x140101f2c
call fcn.1401ba450
mov dword [rax], 0x22
call fcn.1401b3be0
mov eax, edi
cmp rax, rdi
jne 0x14010200c
mov dword [rbp + 0x27], edi
lea rax, [rbp + 0x27]
mov qword [rsp + 0x28], rax
mov rax, qword [rbp + 0xf]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor edx, edx
lea r8d, [r9 + 1]
mov rcx, qword [r15 + 0x28]
call qword [sym.imp.ADVAPI32.dll_CryptDecrypt]
test eax, eax
je 0x140102039
mov r8d, dword [rbp + 0x27]
mov qword [rsi], 0
mov qword [rsi + 0x10], 0
mov qword [rsi + 0x18], 0xf
mov byte [rsi], 0
mov rdx, qword [rbp + 0xf]
mov rcx, rsi
call fcn.140010ea0
nop
mov rdi, qword [rbp + 0xf]
cmp rdi, qword [rbp + 0x17]
je 0x140101fab
mov rcx, qword [rbp + 0x1f]
sub rcx, rdi
xor eax, eax
rep stosb byte [rdi], al
mov rdi, qword [rbp + 0xf]
test rdi, rdi
je 0x140101fe0
mov rdx, qword [rbp + 0x1f]
sub rdx, rdi
mov rax, rdi
cmp rdx, 0x1000
jb 0x140101fd8
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140102006
mov rcx, rdi
call fcn.1401853a0
mov rax, rsi
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.140185380
mov rbx, qword [rsp + 0xd8]
add rsp, 0x90
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
call fcn.1401b3c00
nop
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x29], xmm0
mov qword [rbp - 0x19], rax
lea rcx, [rbp - 0x29]
call fcn.1400642c0
lea rdx, [0x14028fe68]
lea rcx, [rbp - 0x29]
call fcn.1401a8f20
nop
call fcn.140013c60
nop
lea rdx, str.Decrypt:_CryptDecrypt___failed
lea rcx, [rbp - 0x11]
call fcn.140010040
nop
lea rcx, [rbp - 0x11]
call fcn.140030650
int3
Function at 0x1401020c0
Capabilities:
Encrypt data using des via winapi

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x47]
sub rsp, 0xb0
mov rax, qword [0x140293028]
xor rax, rsp
mov qword [rbp + 0x3f], rax
mov rsi, rdx
mov rbx, rcx
lea rdi, [rcx + 0x20]
mov dword [rsp + 0x20], 0xf0000040
mov r9d, 1
lea r8, str.Microsoft_Enhanced_Cryptographic_Provider_v1.0
xor edx, edx
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x1401022a1
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x19], xmm1
xor r14d, r14d
mov qword [rbp - 9], r14
lea ecx, [r14 + 0x18]
call fcn.140185648
mov qword [rbp - 0x19], rax
lea rcx, [rax + 0x18]
mov qword [rbp - 9], rcx
xorps xmm0, xmm0
xor edx, edx
movups xmmword [rax], xmm0
mov qword [rax + 0x10], rdx
mov qword [rbp - 0x11], rcx
xorps xmm1, xmm1
movdqu xmmword [rbp - 1], xmm1
mov qword [rbp + 0xf], r14
lea ecx, [rdx + 8]
call fcn.140185648
mov qword [rbp - 1], rax
lea rcx, [rax + 8]
mov qword [rbp + 0xf], rcx
xor edx, edx
mov qword [rax], rdx
mov qword [rbp + 7], rcx
movups xmm0, xmmword [rsi]
movaps xmmword [rbp - 0x39], xmm0
lea rax, [rbp - 1]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x19]
lea r8, [rbp - 0x39]
mov rdx, rdi
call fcn.1401022e0
mov dword [rbp + 0x17], 0x208
mov dword [rbp + 0x1b], 0x6603
mov dword [rbp + 0x1f], 0x18
mov rax, qword [rbp - 0x11]
mov rcx, qword [rbp - 0x19]
sub rax, rcx
je 0x14010220a
test rcx, rcx
je 0x1401021d5
cmp rax, 0x18
ja 0x1401021d5
mov r8, rax
mov rdx, rcx
lea rcx, [rbp + 0x23]
call fcn.1401a9040
jmp 0x14010220a
xorps xmm0, xmm0
xor edx, edx
movups xmmword [rbp + 0x23], xmm0
mov qword [rbp + 0x33], rdx
test rcx, rcx
jne 0x1401021f4
call fcn.1401ba450
mov dword [rax], 0x16
jmp 0x140102205
cmp rax, 0x18
jbe 0x14010220a
call fcn.1401ba450
mov dword [rax], 0x22
call fcn.1401b3be0
add rbx, 0x28
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], 1
xor r9d, r9d
lea r8d, [r9 + 0x24]
lea rdx, [rbp + 0x17]
mov rcx, qword [rdi]
call qword [sym.imp.ADVAPI32.dll_CryptImportKey]
test eax, eax
je 0x1401022bc
xor r9d, r9d
mov r8, qword [rbp - 1]
lea edx, [r9 + 1]
mov rcx, qword [rbx]
call qword [sym.imp.ADVAPI32.dll_CryptSetKeyParam]
test eax, eax
je 0x140102286
lea rcx, [rbp - 1]
call fcn.140102e20
nop
lea rcx, [rbp - 0x19]
call fcn.140102e20
mov rcx, qword [rbp + 0x3f]
xor rcx, rsp
call fcn.140185380
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
lea rdx, str.Encrypt:_CryptSetKeyParam_IV__failed
lea rcx, [rbp - 0x39]
call fcn.140010040
nop
lea rcx, [rbp - 0x39]
call fcn.140030650
nop
lea rdx, str.CryptAcquireContext_failed
lea rcx, [rbp - 0x39]
call fcn.140010040
nop
lea rcx, [rbp - 0x39]
call fcn.140030650
nop
lea rdx, str.Encrypt:_CryptImportKey_failed
lea rcx, [rbp - 0x39]
call fcn.140010040
nop
lea rcx, [rbp - 0x39]
call fcn.140030650
int3