joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140002fd0
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x140009008]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x1400030a3
cmp byte [rcx + 0x71], 0
je 0x1400030a3
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x14000309f
mov rcx, qword [rbx + 0x68]
lea rax, [rsp + 0x30]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x38]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x140003064
sub eax, 1
je 0x140003068
cmp eax, 2
jne 0x14000309f
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140003fa0
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x140003096
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x38]
mov r8, rdi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rdi, rax
jne 0x14000309f
cmp byte [rbx + 0x71], 0
sete al
jmp 0x14000304c
xor al, al
jmp 0x14000304c
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140003fa0
add rsp, 0x60
pop rbx
ret
Function at 0x140003c00
Capabilities:
Hash data using fnv

Disassembly:
push rbx
push rsi
sub rsp, 0x28
movabs rax, 0xfffffffffffffff
mov rsi, rcx
bsr rcx, rax
mov ebx, 1
mov eax, ebx
shl rax, cl
cmp rdx, rax
jbe 0x140003c35
lea rcx, str.invalid_hash_bucket_count
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
lea rax, [rdx - 1]
mov qword [rsp + 0x58], rdi
mov rdi, qword [rsi + 8]
or rax, rbx
bsr rcx, rax
mov r8, rdi
mov qword [rsp + 0x20], r14
inc ecx
shl rbx, cl
lea rcx, [rsi + 0x18]
lea rdx, [rbx + rbx]
call fcn.140003300
mov rdx, qword [rsi + 8]
lea rax, [rbx - 1]
mov qword [rsi + 0x30], rax
mov qword [rsi + 0x38], rbx
mov rdx, qword [rdx]
cmp rdx, rdi
je 0x140003d87
mov qword [rsp + 0x50], rbp
mov rcx, rdx
movabs rbp, 0xcbf29ce484222325
movabs rbx, 0x100000001b3
nop dword [rax + rax]
movzx eax, byte [rcx + 0x11]
movzx r9d, byte [rcx + 0x10]
mov r11, qword [rsi + 0x30]
xor r9, rbp
mov rdx, qword [rdx]
imul r9, rbx
xor r9, rax
movzx eax, byte [rcx + 0x12]
imul r9, rbx
xor r9, rax
movzx eax, byte [rcx + 0x13]
imul r9, rbx
xor r9, rax
imul r9, rbx
and r11, r9
shl r11, 4
add r11, qword [rsi + 0x18]
mov r10, qword [r11]
cmp r10, rdi
jne 0x140003cf3
mov qword [r11], rcx
mov qword [r11 + 8], rcx
jmp 0x140003d76
mov rax, qword [r11 + 8]
mov r9d, dword [rcx + 0x10]
cmp r9d, dword [rax + 0x10]
jne 0x140003d30
mov r10, qword [rax]
cmp r10, rcx
je 0x140003d2a
mov r9, qword [rcx + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], r10
mov rax, qword [r10 + 8]
mov qword [rax], rcx
mov qword [r10 + 8], r8
mov qword [rdx + 8], r9
mov qword [rcx + 8], rax
mov qword [r11 + 8], rcx
jmp 0x140003d76
mov r8, rax
cmp r10, rax
je 0x140003d52
nop dword [rax + rax]
mov rax, qword [rax + 8]
mov r8, rax
cmp r9d, dword [rax + 0x10]
je 0x140003d98
cmp r10, rax
jne 0x140003d40
mov r10, qword [rcx + 8]
mov qword [r10], rdx
mov r9, qword [rdx + 8]
mov qword [r9], r8
mov rax, qword [r8 + 8]
mov qword [rax], rcx
mov qword [r8 + 8], r9
mov qword [rdx + 8], r10
mov qword [rcx + 8], rax
mov qword [r11], rcx
mov rcx, rdx
cmp rdx, rdi
jne 0x140003ca0
mov rbp, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
mov r14, qword [rsp + 0x20]
add rsp, 0x28
pop rsi
pop rbx
ret
mov r10, qword [rax]
mov r9, qword [rcx + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], r10
mov rax, qword [r10 + 8]
mov qword [rax], rcx
mov qword [r10 + 8], r8
mov qword [rdx + 8], r9
mov qword [rcx + 8], rax
jmp 0x140003d76
Function at 0x140077f00
Capabilities:
Encode data using xor

Disassembly:
sub rdx, r8
sub rcx, r8
mov r10, r9
shr r9, 4
je 0x140077f35
nop
movdqu xmm0, xmmword [rdx + r8]
pxor xmm0, xmmword [r8]
movdqu xmmword [rcx + r8], xmm0
movdqa xmmword [r8], xmm0
lea r8, [r8 + 0x10]
dec r9
jne 0x140077f10
and r10, 0xf
je 0x140077f65
mov r9d, reloc.WS2_32.dll_recv
sub r9, r10
xor eax, eax
mov al, byte [rdx + r8]
xor al, byte [r8]
mov byte [rcx + r8], al
mov byte [r8], al
lea r8, [r8 + 1]
dec r10
jne 0x140077f40
xor eax, eax
mov byte [r8], al
lea r8, [r8 + 1]
dec r9
jne 0x140077f59
mov rax, r8
repz ret

Function at 0x140077f70
Capabilities:
Encode data using xor

Disassembly:
sub rdx, r8
sub rcx, r8
mov r10, r9
shr r9, 4
je 0x140077fad
nop
movdqu xmm0, xmmword [rdx + r8]
movdqa xmm1, xmmword [r8]
pxor xmm1, xmm0
movdqu xmmword [rcx + r8], xmm1
movdqa xmmword [r8], xmm0
lea r8, [r8 + 0x10]
dec r9
jne 0x140077f80
pxor xmm1, xmm1
and r10, 0xf
je 0x140077fe3
mov r9d, reloc.WS2_32.dll_recv
sub r9, r10
xor eax, eax
xor r11, r11
mov r11b, byte [rdx + r8]
mov al, byte [r8]
xor al, r11b
mov byte [rcx + r8], al
mov byte [r8], r11b
lea r8, [r8 + 1]
dec r10
jne 0x140077fbb
xor eax, eax
mov byte [r8], al
lea r8, [r8 + 1]
dec r9
jne 0x140077fd7
mov rax, r8
repz ret
Function at 0x14007bc50
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov rdi, r8
mov r14, rdx
mov rbx, rcx
je case.default.0x14007bc80
mov rbx, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsgetn_char____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x38]
mov qword [rsp + 0x30], rbp
mov rbp, rdi
mov qword [rsp + 0x38], rsi
mov rdx, qword [rax]
test rdx, rdx
je 0x14007bca8
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x14007bcaa
xor ecx, ecx
movsxd rsi, ecx
test rdi, rdi
jle 0x14007bd3b
test ecx, ecx
jle 0x14007bce2
cmp rdi, rsi
mov rcx, r14
cmovl rsi, rdi
mov r8, rsi
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rbx + 0x50]
add r14, rsi
sub rdi, rsi
sub dword [rax], esi
mov rcx, qword [rbx + 0x38]
movsxd rax, esi
add qword [rcx], rax
test rdi, rdi
jle 0x14007bd3b
mov r9, qword [rbx + 0x80]
test r9, r9
je 0x14007bd3b
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x14007bd27
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
mov r9, qword [rbx + 0x80]
mov r8, rdi
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
sub rdi, rax
mov rsi, qword [rsp + 0x38]
sub rbp, rdi
mov rbx, qword [rsp + 0x40]
mov rax, rbp
mov rbp, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
invalid
Function at 0x14007c1b0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x1402f3010]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x14007c1dd
xor eax, eax
jmp 0x14007c332
mov rdx, qword [rcx + 0x40]
mov rax, qword [rdx]
test rax, rax
je 0x14007c208
mov rdx, qword [rcx + 0x58]
movsxd r8, dword [rdx]
add r8, rax
cmp rax, r8
jae 0x14007c208
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Pninc_void____ptr64]
mov byte [rax], dil
mov eax, edi
jmp 0x14007c332
cmp qword [rcx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x14007c325
mov r8, qword [rcx + 0x18]
lea rax, [rcx + 0x70]
cmp qword [r8], rax
jne 0x14007c24b
mov rdx, qword [rcx + 0x90]
mov rcx, qword [rcx + 0x88]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x14007c276
mov rdx, qword [rbx + 0x80]
movsx ecx, dil
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x14007c32a
lea rax, [rsp + 0x40]
mov byte [rsp + 0x50], dil
mov qword [rsp + 0x38], rax
lea rdx, [rbx + 0x74]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x51]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x50]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::out_struct__Mbstatet____ptr64__char_const____ptr64__char_const____ptr64__char_const____ptr64____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
js 0x14007c325
cmp eax, 1
jle 0x14007c2e5
cmp eax, 3
jne 0x14007c325
movsx ecx, byte [rsp + 0x50]
mov rdx, qword [rbx + 0x80]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x14007c32a
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x14007c313
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x58]
mov r8, rsi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rsi, rax
jne 0x14007c325
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov eax, edi
jne 0x14007c32a
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140087660
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x14007c780
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x60
mov rax, qword [0x1402f3010]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x14007c82c
cmp byte [rcx + 0x71], 0
je 0x14007c82c
mov rax, qword [rcx]
mov edx, 0xffffffff
call qword [rax + Ordinal_26]
cmp eax, 0xffffffff
je 0x14007c7ed
mov rcx, qword [rbx + 0x68]
lea rax, [rsp + 0x30]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x38]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x14007c7f1
sub eax, 1
je 0x14007c7f5
sub eax, 2
je 0x14007c82c
xor al, al
jmp 0x14007c82e
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x14007c823
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x38]
mov r8, rdi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rdi, rax
jne 0x14007c7ed
cmp byte [rbx + 0x71], 0
sete al
jmp 0x14007c82e
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140087660
mov rbx, qword [rsp + 0x78]
add rsp, 0x60
pop rdi
ret

Function at 0x14007f550
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x70
mov rax, qword [0x1402f3010]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rax, qword [0x140681428]
mov rbx, r9
dec rax
cmp rax, 0xfffffffffffffffd
ja 0x14007f5d6
mov eax, dword [0x140681430]
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x48], xmm0
mov dword [rsp + 0x30], Ordinal_301
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 [0x140681428]
lea r9, [rsp + 0x58]
mov r8d, reloc.WLDAP32.dll_Ordinal_41
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.140087660
add rsp, 0x70
pop rbx
ret
Function at 0x14007f5f0
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 [0x1402f3010]
xor rax, rsp
mov qword [rbp + 0x2f], rax
mov rax, qword [0x140681428]
mov edi, r8d
dec rax
mov rbx, rcx
cmp rax, 0xfffffffffffffffd
ja 0x14007f73a
mov eax, dword [0x140681430]
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], reloc.WLDAP32.dll_Ordinal_200
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], Ordinal_301
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 [0x140681428]
lea r14, [0x140681440]
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 [0x140681428]
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 [0x140681428]
dec rax
cmp rax, 0xfffffffffffffffd
ja 0x14007f72a
mov eax, dword [0x140681430]
xorps xmm0, xmm0
mov dword [rbp - 0x25], eax
mov eax, dword [0x140681440]
mov dword [rbp - 0x15], eax
movdqu xmmword [rbp - 0x11], xmm0
mov dword [rbp - 0x29], Ordinal_301
mov qword [rbp - 0x21], rbx
mov dword [rbp - 0x19], edi
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov rcx, qword [0x140681428]
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.140087660
add rsp, 0xa0
pop rdi
pop rbx
pop rbp
ret

Function at 0x14007f760
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x270
mov rax, qword [0x1402f3010]
xor rax, rsp
mov qword [rsp + 0x268], rax
mov rax, qword [0x140681428]
mov rbx, rcx
dec rax
cmp rax, 0xfffffffffffffffd
ja 0x14007f82b
xor edx, edx
mov qword [rsp + 0x30], 0
mov r8d, 0x210
lea rcx, [rsp + 0x48]
call sub.VCRUNTIME140.dll_memset
mov eax, dword [0x140681430]
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 0x14007f7e0
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 [0x140681428]
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 0x14007f82d
xor eax, eax
mov rcx, qword [rsp + 0x268]
xor rcx, rsp
call fcn.140087660
add rsp, 0x270
pop rbx
ret
Function at 0x1400803a0
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rbx
push rdi
push r15
lea rbp, [rsp - 0x3358]
mov eax, 0x3458
call fcn.140224f30
sub rsp, rax
mov rax, qword [0x1402f3010]
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, [0x1402d5c14]
mov rcx, rdi
call qword [sym.imp.VCRUNTIME140.dll_strstr]
test rax, rax
je 0x14008040f
mov edx, 0x5c
mov rcx, rdi
call qword [sym.imp.VCRUNTIME140.dll_strrchr]
lea r8, [rax + 1]
jmp 0x140080412
mov r8, rdi
lea rcx, [rbp + 0x2f40]
dec rcx
nop dword [rax]
cmp byte [rcx + 1], 0
lea rcx, [rcx + 1]
jne 0x140080420
xor edx, edx
nop dword [rax]
movzx eax, byte [r8 + rdx]
mov byte [rcx + rdx], al
lea rdx, [rdx + 1]
test al, al
jne 0x140080430
lea rcx, [rbp + 0x2f40]
call fcn.14007f760
mov rbx, rax
test rax, rax
jne 0x14008063f
mov qword [rsp + 0x3490], rsi
mov dword [rsp + 0x20], 0xf06150e
mov dword [rsp + 0x24], 0xb024b08
mov word [rsp + 0x28], 4
mov byte [rsp + 0x2a], 1
nop dword [rax]
lea ecx, [rax + 0x60]
xor byte [rsp + rax + 0x20], cl
inc rax
cmp rax, 9
jb 0x140080480
lea rcx, [rsp + 0x20]
mov byte [rsp + 0x2a], 0
call fcn.14007f760
mov rsi, rax
test rax, rax
je 0x140080634
mov rcx, r15
mov qword [rsp + 0x3450], r14
call fcn.140085bc0
mov r14, rax
test rax, rax
je 0x14008062c
mov rbx, 0xffffffffffffffff
add rsi, 0x1000
mov rcx, rbx
nop dword [rax + rax]
inc rcx
cmp byte [rdi + rcx], 0
jne 0x1400804e0
lea rax, [rsi + 1]
mov rdx, rsi
add rax, rcx
lea rcx, [rbp + 0xf30]
mov qword [rbp + 0x1f30], rax
call fcn.140085c60
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 [0x1402f59e3], rax
mov qword [0x1402f59b8], r15
mov qword [0x1402f59c2], r14
mov qword [0x1402f59d9], rsi
cmp byte [rdi + rbx + 1], 0
lea rbx, [rbx + 1]
jne 0x140080553
lea r8d, [rbx + 1]
mov rdx, rdi
mov rcx, rsi
call fcn.14007f5f0
mov rcx, qword [rbp + 0x1f30]
lea rdx, str.QRUVSWAPAQARASATAUAVAWH
mov r8d, WSASetLastError
call fcn.14007f5f0
mov ecx, 4
call fcn.140087ab8
mov edx, 8
mov r9, rax
mov rcx, r15
lea r8d, [rdx - 4]
call fcn.14007f550
mov r8d, 8
lea rdx, [rbp + 0x1f30]
mov rcx, r15
call fcn.14007f5f0
call qword [sym.imp.KERNEL32.dll_GetTickCount]
lea edi, [rax + 0x1b58]
nop word [rax + rax]
lea rcx, [rbp + 0x2f40]
call fcn.14007f760
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetTickCount]
cmp eax, edi
ja 0x1400805f9
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
test rbx, rbx
je 0x1400805d0
mov ecx, 4
call fcn.140087ab8
mov edx, 8
mov r9, rax
mov rcx, r15
lea r8d, [rdx - 6]
call fcn.14007f550
mov r8d, 0x1000
lea rdx, [rbp + 0x1f40]
mov rcx, rsi
call fcn.14007f5f0
mov r14, qword [rsp + 0x3450]
mov rsi, qword [rsp + 0x3490]
mov rax, rbx
mov rcx, qword [rbp + 0x3340]
xor rcx, rsp
call fcn.140087660
add rsp, 0x3458
pop r15
pop rdi
pop rbx
pop rbp
ret
Function at 0x1400818d0
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x70
mov rax, qword [0x1402f3010]
xor rax, rsp
mov qword [rsp + 0x68], rax
movdqa xmm0, xmmword [str.UWU_____UW]
xor eax, eax
movdqa xmm1, xmmword [0x1402d6f70]
movdqu xmmword [rsp + 0x20], xmm0
mov dword [rsp + 0x40], 0xf2fefef2
movdqu xmmword [rsp + 0x30], xmm1
mov word [rsp + 0x44], 0x100
nop dword [rax]
nop word [rax + rax]
lea ecx, [rax + 0x65]
xor byte [rsp + rax + 0x20], cl
inc rax
cmp rax, 0x24
jb 0x140081920
movdqa xmm0, xmmword [0x1402d6b10]
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 0x140081954
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x48]
call fcn.14007c5a0
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 0x1400819ed
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400819e8
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400819e8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14008768c
movzx eax, bl
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.140087660
add rsp, 0x70
pop rbx
ret
Function at 0x140085bc0
Capabilities:
Write file on windows

Disassembly:
sub rsp, 0x78
mov rax, qword [0x1402f3010]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov eax, dword [0x140681430]
mov dword [rsp + 0x34], eax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x4c], 0
mov dword [rsp + 0x54], 0
mov dword [rsp + 0x30], 0x64
mov qword [rsp + 0x38], rcx
mov dword [rsp + 0x48], 8
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov rcx, qword [0x140681428]
lea r9, [rsp + 0x58]
mov r8d, reloc.WLDAP32.dll_Ordinal_41
mov dword [rsp + 0x4c], eax
lea rdx, [rsp + 0x30]
mov qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.140087660
add rsp, 0x78
ret

Function at 0x140085c60
Capabilities:
Write file on windows

Disassembly:
push rbx
mov eax, 0x1070
call fcn.140224f30
sub rsp, rax
mov rax, qword [0x1402f3010]
xor rax, rsp
mov qword [rsp + 0x1060], rax
mov eax, dword [0x140681430]
mov rbx, rcx
mov dword [rsp + 0x34], eax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x4c], 0
mov dword [rsp + 0x54], 0
mov dword [rsp + 0x30], 0x64
mov qword [rsp + 0x38], rdx
mov dword [rsp + 0x48], 0x1000
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov rcx, qword [0x140681428]
lea r9, [rsp + 0x58]
mov r8d, reloc.WLDAP32.dll_Ordinal_41
mov dword [rsp + 0x4c], eax
lea rdx, [rsp + 0x30]
mov qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov r8d, 0x1000
lea rdx, [rsp + 0x60]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcpy
mov rax, rbx
mov rcx, qword [rsp + 0x1060]
xor rcx, rsp
call fcn.140087660
add rsp, 0x1070
pop rbx
ret

Function at 0x1400911a0
Capabilities:
Set thread local storage value

Disassembly:
mov eax, Ordinal_41
call fcn.140224f30
sub rsp, rax
mov ecx, dword [rcx]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
xor ecx, ecx
test eax, eax
setne cl
mov eax, ecx
add rsp, 0x28
ret

Function at 0x140092080
Capabilities:
Initialize winsock library

Disassembly:
mov eax, Ordinal_41
call fcn.140224f30
sub rsp, rax
cmp dword [0x14067f4a0], 0
jne 0x14009213a
xor edx, edx
mov dword [0x14067f4a0], 1
mov r8d, 0x198
lea rcx, [0x14067f4b0]
call sub.VCRUNTIME140.dll_memset
mov ecx, 0x202
lea rdx, [0x14067f4b0]
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x14009213a
call fcn.14008c740
lea r8, str.BIO_sock_init
mov edx, 0x92
lea rcx, str.crypto_bio_bio_sock.c
call fcn.14008c860
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea r8, str.calling_wsastartup__
mov ecx, 2
mov edx, eax
call fcn.14008c960
call fcn.14008c740
lea r8, str.BIO_sock_init
mov edx, __WSAFDIsSet
lea rcx, str.crypto_bio_bio_sock.c
call fcn.14008c860
xor r8d, r8d
lea edx, [r8 + 0x7a]
lea ecx, [rdx - 0x5a]
call fcn.14008c960
mov eax, 0xffffffff
add rsp, 0x28
ret
mov eax, 1
add rsp, 0x28
ret
Function at 0x140092150
Capabilities:
Set socket configuration

Disassembly:
push rbx
mov eax, reloc.WLDAP32.dll_Ordinal_32
call fcn.140224f30
sub rsp, rax
mov dword [rsp + 0x30], edx
lea r8, [rsp + 0x30]
mov edx, 0x8004667e
movsxd rcx, ecx
call qword [sym.imp.WS2_32.dll_ioctlsocket]
mov ebx, eax
test eax, eax
jns 0x1400921b2
call fcn.14008c740
lea r8, str.BIO_socket_ioctl
mov edx, Ordinal_211
lea rcx, str.crypto_bio_bio_sock.c
call fcn.14008c860
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea r8, str.calling_ioctlsocket__
mov ecx, 2
mov edx, eax
call fcn.14008c960
xor eax, eax
test ebx, ebx
sete al
add rsp, 0x20
pop rbx
ret