joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400f1cb8
Capabilities:
Get common file path

Disassembly:
push rbx
sub rsp, 0x20
and qword [rsp + 0x38], 0
mov rbx, r8
mov r8, qword [rdx]
test r8, r8
je 0x1400f1cd2
mov r8, qword [r8]
lea r9, [rsp + 0x38]
xor edx, edx
call qword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
nop dword [rax + rax]
test eax, eax
js 0x1400f1d09
mov rdx, qword [rsp + 0x38]
mov rcx, rbx
call fcn.14007cc80
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
xor eax, eax
add rsp, 0x20
pop rbx
ret

Function at 0x1400f1d18
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
movabs rcx, 0xcbf29ce484222325
xor r8d, r8d
movzx eax, byte [r8 + rdx]
movabs r9, 0x100000001b3
xor rcx, rax
inc r8
imul rcx, r9
cmp r8, 2
jb 0x1400f1d25
mov rax, rcx
ret

Function at 0x1401082d4
Capabilities:
Get common file path

Disassembly:
push rbx
sub rsp, 0x270
mov rax, qword [0x1404d4350]
xor rax, rsp
mov qword [rsp + 0x260], rax
lea rbx, [0x1404eb9c8]
lea rdx, [0x14039ec84]
lea rcx, [rsp + 0x28]
call fcn.14008b9a0
nop
mov edx, 0x104
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
nop dword [rax + rax]
test eax, eax
je 0x140108331
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x28]
call fcn.14007cc80
lea rdx, [0x14039e9e8]
lea rcx, [rsp + 0x28]
call fcn.140076e80
mov rdx, rax
mov rcx, rbx
call fcn.140098fd0
nop
mov rdx, qword [rsp + 0x40]
cmp rdx, 8
jb 0x14010836b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x28]
call fcn.14007dd40
mov rax, rbx
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.140111900
add rsp, 0x270
pop rbx
ret

Function at 0x14010973c
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x270
mov rax, qword [0x1404d4350]
xor rax, rsp
mov qword [rsp + 0x260], rax
xor edx, edx
lea rcx, [rsp + 0x50]
mov r8d, 0x208
lea rdi, [0x1404ef6c8]
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
lea rdx, [rsp + 0x30]
mov dword [rsp + 0x30], 0x104
lea rcx, [rsp + 0x50]
call qword [sym.imp.USERENV.dll_GetProfilesDirectoryW]
nop dword [rax + rax]
test eax, eax
jne 0x1401097f7
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
jle 0x1401097b1
movzx ebx, ax
or ebx, 0x80070000
call fcn.140091134
cmp dword [rax], 2
jbe 0x1401097ee
lea rcx, str.DataCollection_adapter_failed_to_read_Profiles_Directory
mov dword [rsp + 0x38], ebx
mov qword [rsp + 0x40], rcx
lea rdx, [0x140446d2b]
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x28], rcx
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x20], rcx
mov rcx, rax
call fcn.14000741c
lea rdx, [0x14039ec84]
jmp 0x1401097fc
lea rdx, [rsp + 0x50]
mov rcx, rdi
call fcn.14008b9a0
mov rax, rdi
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.140111900
mov rbx, qword [rsp + 0x280]
add rsp, 0x270
pop rdi
ret
Function at 0x14010994c
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x260
mov rax, qword [0x1404d4350]
xor rax, rsp
mov qword [rsp + 0x250], rax
xor edx, edx
lea rcx, [rsp + 0x40]
mov r8d, 0x208
lea rdi, [0x1404ef6a8]
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
mov edx, 0x104
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
nop dword [rax + rax]
test eax, eax
jne 0x1401099ff
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
jle 0x1401099b9
movzx ebx, ax
or ebx, 0x80070000
call fcn.140091134
cmp dword [rax], 2
jbe 0x1401099f6
lea rcx, str.DataCollection_adapter_failed_to_read_Windows_Directory
mov dword [rsp + 0x30], ebx
mov qword [rsp + 0x38], rcx
lea rdx, [0x140446d2b]
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x28], rcx
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x20], rcx
mov rcx, rax
call fcn.14000741c
lea rdx, [0x14039ec84]
jmp 0x140109a04
lea rdx, [rsp + 0x40]
mov rcx, rdi
call fcn.14008b9a0
mov rax, rdi
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.140111900
mov rbx, qword [rsp + 0x270]
add rsp, 0x260
pop rdi
ret

Function at 0x14010b4f8
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rdx
cmp rdx, 0x400
jbe 0x14010b540
lea rbx, [rdx - 0x401]
shr rbx, 0xa
inc rbx
imul rax, rbx, 0xfffffffffffffc00
add rdi, rax
mov r8d, 0x400
lea rdx, [0x1403a00c0]
call fcn.1400d36f0
mov ecx, eax
sub rbx, 1
jne 0x14010b526
mov r8, rdi
lea rdx, [0x1403a00c0]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.1400d36f0

Function at 0x140111928
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call qword [sym.imp.api_ms_win_core_debug_l1_1_0.dll_IsDebuggerPresent]
mov ecx, 1
mov dword [0x1404d4d80], eax
call fcn.1401121a0
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetUnhandledExceptionFilter]
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_UnhandledExceptionFilter]
cmp dword [0x1404d4d80], 0
jne 0x14011196b
mov ecx, 1
call fcn.1401121a0
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000409
add rsp, 0x20
pop rbx
jmp qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_TerminateProcess]
Function at 0x140114b60
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rdi
push rbx
push rbp
push r12
push r13
push r14
push r15
sub rsp, 0x18
mov rdi, rcx
mov rsi, rdx
mov rdx, r8
mov rcx, r9
mov r8, qword [rsp + 0x80]
mov r9, qword [rsp + 0x88]
mov r13, rsi
mov rsi, qword [rsp + 0xc8]
mov rbx, qword [rsp + 0xd0]
mov qword [rsp], r8
mov r8d, dword [rsp + 0x98]
mov r14, rdx
mov r15, rcx
xor eax, eax
mov esi, dword [rsi]
mov ebx, dword [rbx]
mov qword [rsp + 8], rax
jmp 0x140114bc8
add eax, 1
add esi, 1
mov dword [rsp + 8], eax
cmp esi, dword [rsp + 0xa0]
jge 0x140114cf9
cmp eax, dword [rsp + 0xa8]
jge 0x140114cf9
movzx eax, byte [rsi + rdi + 2]
shl ebx, 5
xor ebx, eax
mov r11, rsi
and ebx, r8d
movsxd rbp, dword [r9 + rbx*4]
mov dword [r9 + rbx*4], esi
mov r12, rdi
sub r11, rbp
cmp r11d, dword [rsp + 0x90]
jge 0x140114cc9
cmp ebp, dword [rsp + 0xb0]
jge 0x140114c1b
mov r12, qword [rsp]
movzx eax, word [rsi + rdi]
lea r10, [rsi + rdi]
movzx ecx, word [rbp + r12]
lea r12, [rbp + r12]
cmp eax, ecx
jne 0x140114cc9
xor ecx, ecx
mov rax, qword [rcx + r10]
mov rdx, qword [rcx + r12]
xor rax, rdx
jne 0x140114c63
add ecx, 8
cmp ecx, 0x100
jl 0x140114c38
movzx eax, word [rcx + r10]
movzx edx, word [rcx + r12]
xor eax, edx
jne 0x140114c63
add ecx, 2
jmp 0x140114c6d
bsf rax, rax
shr rax, 3
add ecx, eax
cmp ecx, 3
jl 0x140114cc9
lea rbp, [rsi + 1]
lea rsi, [rcx + rsi - 1]
lea rdx, [rcx - 3]
movzx ecx, byte [rbp + rdi + 2]
shl ebx, 5
xor ebx, ecx
and ebx, r8d
mov dword [r9 + rbx*4], ebp
add ebp, 1
cmp ebp, esi
jle 0x140114c7f
lea rcx, [r11 - 1]
cmp r11, 0x101
jl 0x140114cad
shr ecx, 7
add ecx, 0x100
movzx ecx, byte [rcx + r13 + 0x100]
add word [r15 + rcx*4], 1
movzx ebp, byte [rdx + r13]
add ebp, 0x101
jmp 0x140114cd2
xor r11, r11
movzx edx, byte [rsi + rdi]
mov ebp, edx
add word [r14 + rbp*4], 1
mov eax, dword [rsp + 8]
mov rcx, qword [rsp + 0xc0]
mov rbp, qword [rsp + 0xb8]
mov word [rcx + rax*2], r11w
mov byte [rax + rbp], dl
jmp 0x140114bbe
mov rdi, qword [rsp + 0xc8]
mov rcx, qword [rsp + 0xd0]
mov dword [rdi], esi
mov dword [rcx], ebx
add rsp, 0x18
pop r15
pop r14
pop r13
pop r12
pop rbp
pop rbx
pop rdi
pop rsi
ret

Function at 0x1401596f8
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x20
sub r9, r8
mov rax, rdx
sub rax, rcx
mov r15, r8
xor rax, r9
mov rbp, rdx
mov r14, rcx
test rax, 0xfffffffffffffffe
jne 0x140159774
mov rbx, qword [rsp + 0x60]
sub r15, rcx
cmp r14, rbp
je 0x140159778
movzx edx, word [r15 + r14]
mov rcx, qword [rbx + 8]
movzx esi, word [r14]
call qword [sym.imp.msvcp_win.dll_public:_wchar_t___cdecl_std::ctype_wchar_t_::tolower_wchar_t_const___ptr64]
nop dword [rax + rax]
mov rcx, qword [rbx + 8]
movzx edx, si
movzx edi, ax
call qword [sym.imp.msvcp_win.dll_public:_wchar_t___cdecl_std::ctype_wchar_t_::tolower_wchar_t_const___ptr64]
nop dword [rax + rax]
cmp ax, di
jne 0x140159774
add r14, 2
jmp 0x140159735
xor al, al
jmp 0x14015977a
mov al, 1
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret
Function at 0x14030c848
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
mov r10d, dword [r8]
mov rsi, r8
lea r14, [0x140000000]
not r10d
mov r11d, edx
mov rbx, rcx
cmp edx, 0xf
jl 0x14030c955
mov r9d, ecx
and r9d, 7
je 0x14030c8b0
neg r9d
and r9d, 7
sub r11d, r9d
movzx ecx, byte [rbx]
mov eax, r10d
xor rcx, rax
inc rbx
shr eax, 8
movzx edx, cl
mov r10d, dword [r14 + rdx*4 + 0x39e400]
xor r10d, eax
sub r9d, 1
jne 0x14030c88d
mov edi, r11d
sar edi, 3
and r11d, 7
mov r8, qword [rbx]
mov r9d, dword [rbx]
add rbx, 8
mov eax, r10d
xor r9, rax
shr r8, 0x20
mov rax, r8
shr rax, 0x10
movzx edx, al
mov rax, r8
shr rax, 8
movzx ecx, al
mov rax, r9
shr rax, 0x10
mov r10d, dword [r14 + rdx*4 + 0x3e24a0]
xor r10d, dword [r14 + rcx*4 + 0x3e1ca0]
movzx ecx, al
mov rax, r9
shr rax, 8
xor r10d, dword [r14 + rcx*4 + 0x3e20a0]
movzx ecx, al
mov rax, r8
shr rax, 0x18
xor r10d, dword [r14 + rcx*4 + 0x3e34a0]
xor r10d, dword [r14 + rax*4 + 0x39e400]
mov rax, r9
shr rax, 0x18
xor r10d, dword [r14 + rax*4 + 0x3e28a0]
movzx eax, r8b
xor r10d, dword [r14 + rax*4 + 0x3e30a0]
movzx eax, r9b
xor r10d, dword [r14 + rax*4 + 0x3e2ca0]
sub edi, 1
jne 0x14030c8ba
test r11d, r11d
je 0x14030c97d
movzx ecx, byte [rbx]
mov eax, r10d
xor rcx, rax
inc rbx
shr eax, 8
movzx edx, cl
mov r10d, dword [r14 + rdx*4 + 0x39e400]
xor r10d, eax
sub r11d, 1
jne 0x14030c95a
mov rbx, qword [rsp + 8]
not r10d
mov rdi, qword [rsp + 0x18]
mov r14, qword [rsp + 0x20]
mov dword [rsi], r10d
mov rsi, qword [rsp + 0x10]
ret
Function at 0x14032ac1c
Capabilities:
Hash data using sha256

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x20
and qword [rsp + 0x40], 0
mov rbx, rcx
mov ecx, dword [rcx]
mov rsi, rdx
mov r14d, 0x40
lea rdi, [rbx + 0x60]
mov byte [rcx + rbx + 0x20], 0x80
inc ecx
cmp ecx, 0x38
jbe 0x14032ac7b
mov eax, ecx
mov edx, r14d
sub edx, ecx
lea rcx, [rbx + 0x20]
add rcx, rax
call fcn.140118290
lea r9, [rsp + 0x40]
mov r8d, r14d
lea rdx, [rbx + 0x20]
mov rcx, rdi
call fcn.1403294f8
xor ecx, ecx
mov eax, ecx
mov edx, r14d
sub edx, ecx
lea rcx, [rbx + 0x20]
add rcx, rax
call fcn.140118290
mov rax, qword [rbx + 0x10]
lea r9, [rsp + 0x40]
shl rax, 3
lea rdx, [rbx + 0x20]
bswap rax
mov r8, r14
mov qword [rbx + 0x58], rax
mov rcx, rdi
call fcn.1403294f8
mov rcx, rdi
mov r8d, 4
mov rax, qword [rcx]
lea rcx, [rcx + 8]
rol rax, 0x20
bswap rax
mov qword [rsi], rax
lea rsi, [rsi + 8]
sub r8, 1
jne 0x14032acba
mov edx, 0x80
mov rcx, rbx
call fcn.140118290
movups xmm0, xmmword [0x140403900]
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [0x140403910]
movups xmmword [rdi + 0x10], xmm1
add rsp, 0x20
pop r14
pop rdi
pop rsi
ret
Function at 0x14002fe80
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rdi
push rbx
mov rax, rcx
add qword [rcx + 0x30], r8
mov r11, qword [rcx + 0x40]
test r11, r11
je 0x14002fec2
mov r10d, 8
sub r10, r11
cmp r10, r8
mov rdi, r8
cmovb rdi, r10
cmp rdi, 4
jb 0x14002feca
mov esi, dword [rdx]
mov r9d, 4
mov rcx, r9
or rcx, 1
cmp rcx, rdi
jb 0x14002fedb
jmp 0x14002fef2
xor r10d, r10d
jmp 0x14002ff7d
xor esi, esi
xor r9d, r9d
mov rcx, r9
or rcx, 1
cmp rcx, rdi
jae 0x14002fef2
movzx ebx, word [rdx + r9]
lea ecx, [r9*8]
shl rbx, cl
or rsi, rbx
or r9, 2
cmp r9, rdi
jae 0x14002ff09
movzx edi, byte [rdx + r9]
shl r9d, 3
mov ecx, r9d
shl rdi, cl
or rsi, rdi
lea ecx, [r11*8]
shl rsi, cl
or rsi, qword [rax + 0x38]
mov qword [rax + 0x38], rsi
cmp r10, r8
jbe 0x14002ff29
add r11, r8
jmp 0x14003005a
mov rcx, qword [rax + 0x18]
xor rcx, rsi
mov r11, qword [rax + 0x10]
mov r9, qword [rax]
add r9, r11
mov rdi, qword [rax + 8]
add rdi, rcx
rol r11, 0xd
xor r11, r9
rol rcx, 0x10
rol r9, 0x20
xor rcx, rdi
add rdi, r11
rol r11, 0x11
add r9, rcx
xor r11, rdi
rol rcx, 0x15
mov qword [rax + 0x10], r11
xor rcx, r9
rol rdi, 0x20
mov qword [rax + 0x18], rcx
mov qword [rax + 8], rdi
xor r9, rsi
mov qword [rax], r9
sub r8, r10
mov r11d, r8d
and r11d, 7
and r8, 0xfffffffffffffff8
cmp r10, r8
jae 0x14002fff2
mov rcx, qword [rax]
mov r9, qword [rax + 8]
mov rdi, qword [rax + 0x18]
mov rsi, qword [rax + 0x10]
nop
mov rbx, qword [rdx + r10]
xor rdi, rbx
add rcx, rsi
rol rsi, 0xd
add r9, rdi
xor rsi, rcx
rol rdi, 0x10
xor rdi, r9
rol rcx, 0x20
add r9, rsi
add rcx, rdi
rol rsi, 0x11
xor rsi, r9
rol rdi, 0x15
rol r9, 0x20
xor rdi, rcx
xor rcx, rbx
add r10, 8
cmp r10, r8
jb 0x14002ffa0
mov qword [rax + 0x18], rdi
mov qword [rax + 0x10], rsi
mov qword [rax + 8], r9
mov qword [rax], rcx
cmp r11d, 4
jb 0x140030010
mov r9d, dword [rdx + r10]
mov r8d, 4
mov rcx, r8
or rcx, 1
cmp rcx, r11
jb 0x140030022
jmp 0x14003003c
xor r9d, r9d
xor r8d, r8d
mov rcx, r8
or rcx, 1
cmp rcx, r11
jae 0x14003003c
lea rcx, [r8 + r10]
movzx esi, word [rdx + rcx]
lea ecx, [r8*8]
shl rsi, cl
or r9, rsi
or r8, 2
cmp r8, r11
jae 0x140030056
add r10, r8
movzx edx, byte [rdx + r10]
shl r8d, 3
mov ecx, r8d
shl rdx, cl
or r9, rdx
mov qword [rax + 0x38], r9
mov qword [rax + 0x40], r11
pop rbx
pop rdi
pop rsi
ret
Function at 0x14003d960
Capabilities:
Parse pe header

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
movzx eax, word [rdx]
cmp eax, 0x5a4d
jne 0x14003d9ec
movsxd rax, dword [rdx + 0x3c]
test rax, rax
je 0x14003d9f1
cmp eax, 0x40
jb 0x14003dae1
cmp rax, r8
ja 0x14003dae1
movzx r9d, word [rax + rdx + 0x18]
cmp r9d, 0x10b
je 0x14003d9f6
mov r10b, 5
cmp r9d, 0x20b
jne 0x14003da21
mov r10b, 2
cmp dword [rdx + rax], 0x4550
jne 0x14003da21
lea r9, [rdx + rax]
movzx r11d, word [r9 + 4]
mov r10b, 3
cmp r11d, 0x8664
jne 0x14003da21
mov r10b, 4
test byte [r9 + 0x16], 2
je 0x14003da21
lea r10, [rax + 0x108]
mov r11d, 1
cmp r10, r8
jbe 0x14003da54
jmp 0x14003dae1
xor r10d, r10d
jmp 0x14003da21
mov r10b, 1
jmp 0x14003da21
mov r10b, 2
cmp dword [rdx + rax], 0x4550
jne 0x14003da21
lea r9, [rdx + rax]
movzx r11d, word [r9 + 4]
mov r10b, 3
cmp r11d, 0x14c
jne 0x14003da21
mov r10b, 4
test byte [r9 + 0x16], 2
jne 0x14003da41
mov byte [rcx], r10b
mov r8d, 2
mov eax, 0x18
mov qword [rcx + rax], r8
mov rax, rcx
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
lea r10, [rax + 0xf8]
cmp r10, r8
ja 0x14003dae1
xor r11d, r11d
mov rsi, r8
sub rsi, r10
movzx ebx, word [rdx + rax + 6]
lea rdi, [rbx*8]
lea rdi, [rdi + rdi*4]
sub rsi, rdi
jb 0x14003dae1
add rax, 0xffffffffffffffc0
lea r14, [rdx + 0x40]
add r10, rdx
mov r15, rdx
shr r15, 8
add rdi, r10
mov ebp, ebx
shr ebp, 8
mov byte [rcx], dl
mov r12, rdx
shr r12, 0x38
mov byte [rcx + 7], r12b
mov r12, rdx
shr r12, 0x28
mov word [rcx + 5], r12w
mov dword [rcx + 1], r15d
mov qword [rcx + 8], r14
mov qword [rcx + 0x10], rax
mov qword [rcx + 0x18], r11
mov qword [rcx + 0x20], r9
mov qword [rcx + 0x28], r10
mov byte [rcx + 0x30], bl
mov dword [rcx + 0x31], ebp
mov byte [rcx + 0x37], 0
mov word [rcx + 0x35], 0
mov qword [rcx + 0x38], rdi
mov qword [rcx + 0x40], rsi
mov qword [rcx + 0x48], rdx
mov eax, 0x50
jmp 0x14003da2f
ud2
Function at 0x140047e20
Capabilities:
Encode data using xor

Disassembly:
mov rax, qword [rcx]
nop word cs:[rax + rax]
mov rdx, rax
xor rdx, 3
lock cmpxchg qword [rcx], rdx
jne 0x140047e30
test al, 1
je 0x140047e4b
test al, 2
jne 0x140047e4b
xor rax, 3
ret
ud2

Function at 0x140049810
Capabilities:
Set socket configuration

Disassembly:
cmp qword [rcx + 0x18], 0xffffffffffffffff
je 0x140049820
add rcx, 0x18
jmp 0x14005b1c0
ud2
jmp 0x140062c80
sub rsp, 0x38
movzx eax, dl
mov rcx, qword [rcx]
mov dword [rsp + 0x34], eax
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0x34]
mov edx, 6
mov r8d, 1
call qword [sym.imp.ws2_32.dll_setsockopt]
cmp eax, 0xffffffff
je 0x140062cb8
xor eax, eax
add rsp, 0x38
ret
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
shl rax, 0x20
or rax, 2
add rsp, 0x38
ret
Function at 0x1400498b0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
jmp 0x140051e60
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x38
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
cmp qword [rcx + 0x18], 0xffffffffffffffff
je 0x140051eaa
mov r15, qword [rbx + 0x10]
lea rcx, [rsp + 0x20]
mov rdx, r15
mov r8, rdi
xor r9d, r9d
call fcn.140047a40
movzx eax, byte [rsp + 0x29]
cmp al, 3
jne 0x140051ed5
mov eax, 1
jmp 0x140052043
mov rdx, qword [rbx + 0x10]
lea rcx, [rsp + 0x20]
mov r8, rdi
xor r9d, r9d
call fcn.140047a40
movzx eax, byte [rsp + 0x29]
cmp al, 3
jne 0x14005200c
mov eax, 1
jmp 0x140052043
add rbx, 0x18
lea r13, [rsp + 0x20]
mov qword [rsp + 0x30], rdi
jmp 0x140051f2f
dec r13
mov edx, 0x18
mov r8d, 8
mov rcx, r13
call fcn.14003cdf0
mov r13, rbx
mov rcx, rbx
mov rdx, r15
mov r8, qword [rsp + 0x30]
xor r9d, r9d
call fcn.140047a40
movzx eax, byte [rsp + 0x29]
cmp al, 3
mov rbx, rsi
mov rsi, r14
je 0x140051ea0
mov rbp, qword [rsp + 0x20]
cmp al, 2
je 0x140052015
mov r8, qword [rsi + 8]
mov r12, qword [rsi + 0x10]
sub r8, r12
jb 0x14005205f
movzx edi, byte [rsp + 0x28]
mov r14, rsi
mov rdx, qword [rsi]
add rdx, r12
mov rsi, rbx
mov qword [rsp + 0x20], rbx
mov rbx, r13
mov rcx, r13
call fcn.14005b1e0
mov r13, rdx
test rax, rax
je 0x140052019
mov rcx, r13
call fcn.140051b00
cmp al, 0xd
jne 0x14005203e
and ebp, 0x23
mov rax, qword [r15 + 0x90]
xor rbp, 0x2f
mov rcx, rdi
shl rcx, 0x10
nop
mov edx, eax
shr edx, 0x10
cmp dil, dl
jne 0x140051fbc
mov edx, eax
and edx, ebp
or rdx, rcx
lock cmpxchg qword [r15 + 0x90], rdx
jne 0x140051fa0
mov eax, r13d
and eax, 3
lea rcx, [rax - 2]
cmp rcx, 2
jb 0x140051f06
test rax, rax
je 0x140051f06
mov rbp, qword [r13 - 1]
mov rdi, qword [r13 + 7]
mov rax, qword [rdi]
test rax, rax
je 0x140051fee
mov rcx, rbp
call rax
mov rdx, qword [rdi + 8]
test rdx, rdx
je 0x140051ef0
mov r8, qword [rdi + 0x10]
mov rcx, rbp
call fcn.14003cdf0
jmp 0x140051ef0
cmp al, 2
jne 0x140052057
mov rbp, qword [rsp + 0x20]
xor eax, eax
jmp 0x140052043
lea rax, [r12 + r13]
mov rcx, qword [r14 + 0x18]
cmp rax, rcx
jbe 0x14005202d
mov qword [r14 + 0x18], rax
mov rcx, rax
add r12, r13
jb 0x14005205f
cmp rax, rcx
ja 0x14005205f
mov qword [r14 + 0x10], rax
xor r13d, r13d
xor eax, eax
mov rbp, r13
mov rdx, rbp
add rsp, 0x38
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rax, qword [rsi + 0x10]
cmp rax, qword [rsi + 8]
ud2

Function at 0x14004a9e0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov rcx, qword [rcx]
add rcx, 0x10
jmp 0x140051e60
Function at 0x14004aa80
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov rcx, qword [rcx]
add rcx, 0x10
jmp 0x140052070
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x48
mov qword [rsp + 0x40], r9
mov qword [rsp + 0x38], r8
mov rdi, rdx
mov r15, rcx
cmp qword [rcx + 0x18], 0xffffffffffffffff
je 0x1400520c1
mov r12, qword [r15 + 0x10]
lea rcx, [rsp + 0x28]
mov rdx, r12
mov r8, rdi
mov r9b, 1
call fcn.140047a40
movzx eax, byte [rsp + 0x31]
cmp al, 3
jne 0x1400520ec
mov eax, 2
jmp 0x140052226
mov rdx, qword [r15 + 0x10]
lea rcx, [rsp + 0x28]
mov r8, rdi
mov r9b, 1
call fcn.140047a40
movzx eax, byte [rsp + 0x31]
cmp al, 3
jne 0x14005220c
mov eax, 2
jmp 0x140052226
add r15, 0x18
lea rsi, [rsp + 0x28]
jmp 0x140052133
dec r13
mov edx, 0x18
mov r8d, 8
mov rcx, r13
call fcn.14003cdf0
mov rsi, r14
mov rcx, r14
mov rdx, r12
mov r8, rdi
mov r9b, 1
call fcn.140047a40
movzx eax, byte [rsp + 0x31]
cmp al, 3
je 0x1400520b7
mov rbp, qword [rsp + 0x28]
cmp al, 2
je 0x140052221
movzx ebx, byte [rsp + 0x30]
mov qword [rsp + 0x28], r15
mov r14, rsi
mov rcx, rsi
mov rdx, qword [rsp + 0x38]
mov r8, qword [rsp + 0x40]
call fcn.14005b1f0
mov rsi, rax
mov r13, rdx
test rax, rax
je 0x14005221c
mov rcx, r13
call fcn.140051b00
cmp al, 0xd
jne 0x14005221c
and ebp, 0x23
mov rax, qword [r12 + 0x90]
xor rbp, 0x2f
mov rcx, rbx
shl rcx, 0x10
nop word cs:[rax + rax]
mov edx, eax
shr edx, 0x10
cmp bl, dl
jne 0x1400521bc
mov edx, eax
and edx, ebp
or rdx, rcx
lock cmpxchg qword [r12 + 0x90], rdx
jne 0x1400521a0
mov eax, r13d
and eax, 3
lea rcx, [rax - 2]
cmp rcx, 2
jb 0x140052116
test rax, rax
je 0x140052116
mov rsi, qword [r13 - 1]
mov rbx, qword [r13 + 7]
mov rax, qword [rbx]
test rax, rax
je 0x1400521ee
mov rcx, rsi
call rax
mov rdx, qword [rbx + 8]
test rdx, rdx
je 0x140052100
mov r8, qword [rbx + 0x10]
mov rcx, rsi
call fcn.14003cdf0
jmp 0x140052100
cmp al, 2
jne 0x14005223d
mov r13, qword [rsp + 0x28]
mov eax, 1
jmp 0x140052229
mov rax, rsi
jmp 0x140052229
mov eax, 1
mov r13, rbp
mov rdx, r13
add rsp, 0x48
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
ud2
Function at 0x140051e60
Capabilities:
Encrypt data using rc4 prga

Disassembly:
jmp 0x140051e60
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x38
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
cmp qword [rcx + 0x18], 0xffffffffffffffff
je 0x140051eaa
mov r15, qword [rbx + 0x10]
lea rcx, [rsp + 0x20]
mov rdx, r15
mov r8, rdi
xor r9d, r9d
call fcn.140047a40
movzx eax, byte [rsp + 0x29]
cmp al, 3
jne 0x140051ed5
mov eax, 1
jmp 0x140052043
mov rdx, qword [rbx + 0x10]
lea rcx, [rsp + 0x20]
mov r8, rdi
xor r9d, r9d
call fcn.140047a40
movzx eax, byte [rsp + 0x29]
cmp al, 3
jne 0x14005200c
mov eax, 1
jmp 0x140052043
add rbx, 0x18
lea r13, [rsp + 0x20]
mov qword [rsp + 0x30], rdi
jmp 0x140051f2f
dec r13
mov edx, 0x18
mov r8d, 8
mov rcx, r13
call fcn.14003cdf0
mov r13, rbx
mov rcx, rbx
mov rdx, r15
mov r8, qword [rsp + 0x30]
xor r9d, r9d
call fcn.140047a40
movzx eax, byte [rsp + 0x29]
cmp al, 3
mov rbx, rsi
mov rsi, r14
je 0x140051ea0
mov rbp, qword [rsp + 0x20]
cmp al, 2
je 0x140052015
mov r8, qword [rsi + 8]
mov r12, qword [rsi + 0x10]
sub r8, r12
jb 0x14005205f
movzx edi, byte [rsp + 0x28]
mov r14, rsi
mov rdx, qword [rsi]
add rdx, r12
mov rsi, rbx
mov qword [rsp + 0x20], rbx
mov rbx, r13
mov rcx, r13
call fcn.14005b1e0
mov r13, rdx
test rax, rax
je 0x140052019
mov rcx, r13
call fcn.140051b00
cmp al, 0xd
jne 0x14005203e
and ebp, 0x23
mov rax, qword [r15 + 0x90]
xor rbp, 0x2f
mov rcx, rdi
shl rcx, 0x10
nop
mov edx, eax
shr edx, 0x10
cmp dil, dl
jne 0x140051fbc
mov edx, eax
and edx, ebp
or rdx, rcx
lock cmpxchg qword [r15 + 0x90], rdx
jne 0x140051fa0
mov eax, r13d
and eax, 3
lea rcx, [rax - 2]
cmp rcx, 2
jb 0x140051f06
test rax, rax
je 0x140051f06
mov rbp, qword [r13 - 1]
mov rdi, qword [r13 + 7]
mov rax, qword [rdi]
test rax, rax
je 0x140051fee
mov rcx, rbp
call rax
mov rdx, qword [rdi + 8]
test rdx, rdx
je 0x140051ef0
mov r8, qword [rdi + 0x10]
mov rcx, rbp
call fcn.14003cdf0
jmp 0x140051ef0
cmp al, 2
jne 0x140052057
mov rbp, qword [rsp + 0x20]
xor eax, eax
jmp 0x140052043
lea rax, [r12 + r13]
mov rcx, qword [r14 + 0x18]
cmp rax, rcx
jbe 0x14005202d
mov qword [r14 + 0x18], rax
mov rcx, rax
add r12, r13
jb 0x14005205f
cmp rax, rcx
ja 0x14005205f
mov qword [r14 + 0x10], rax
xor r13d, r13d
xor eax, eax
mov rbp, r13
mov rdx, rbp
add rsp, 0x38
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rax, qword [rsi + 0x10]
cmp rax, qword [rsi + 8]
ud2