joyce8/EMBER2024-capa huggingface dataset:
Function at 0x416440
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x4165eb
sub rsp, 0x50
mov qword [rsp + 0x48], rbp
lea rbp, [rsp + 0x48]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rbx
mov rcx, qword [sym.imp.kernel32.dll_VirtualFree]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x4000
call fcn.00431a80
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
cmp qword [rsp + 0x20], 0
nop
jne 0x4164ae
mov rax, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x60]
jmp 0x4164c1
mov rbp, qword [rsp + 0x48]
add rsp, 0x50
ret
sub rcx, rbx
add rax, rbx
mov rbx, rcx
test rbx, rbx
jbe 0x4164e5
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x40], rax
mov rcx, rbx
jmp 0x4164f9
cmp rbx, 0x1000
jae 0x4164b8
nop
jmp 0x416569
mov rbp, qword [rsp + 0x48]
add rsp, 0x50
ret
shr rbx, 1
and rbx, 0xfffffffffffff000
mov qword [rsp + 0x38], rbx
nop
cmp rbx, 0x1000
jae 0x41650d
xor edx, edx
jmp 0x416560
mov rcx, qword [sym.imp.kernel32.dll_VirtualFree]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x4000
call fcn.00431a80
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
cmp qword [rsp + 0x20], 0
sete al
mov rcx, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x38]
mov edx, eax
mov rax, qword [rsp + 0x40]
nop
test dl, dl
jne 0x4164ef
jmp 0x4164d5
call fcn.00460420
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
mov eax, dword [rsp]
mov qword [rsp + 0x30], rax
call fcn.00435ee0
lea rax, [0x004d5e45]
mov ebx, 0x18
nop dword [rax + rax]
call fcn.004367e0
mov rax, qword [rsp + 0x38]
call fcn.004364e0
lea rax, [0x004d5eed]
mov ebx, 0x19
nop dword [rax + rax]
call fcn.004367e0
mov rax, qword [rsp + 0x30]
call fcn.004364e0
call fcn.00436140
call fcn.00435f60
lea rax, [0x004d7efd]
mov ebx, 0x21
call fcn.00434740
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.0045c8c0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.00416440
Function at 0x416620
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x41684a
sub rsp, 0x58
mov qword [rsp + 0x50], rbp
lea rbp, [rsp + 0x50]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rbx
mov rcx, qword [sym.imp.kernel32.dll_VirtualAlloc]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x1000
mov qword [rsp + 0x20], 4
call fcn.00431b00
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
mov rax, qword [rsp + 0x60]
mov rcx, rax
cmp qword [rsp + 0x28], rax
je 0x41669b
mov rbx, qword [rsp + 0x68]
mov rax, rbx
jmp 0x4166ae
mov rbp, qword [rsp + 0x50]
add rsp, 0x58
ret
sub rdx, rbx
add rcx, rbx
mov rbx, rdx
test rbx, rbx
jbe 0x4166d0
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rcx
mov rdx, rbx
jmp 0x4166e4
cmp rbx, 0x1000
jae 0x4166a5
jmp 0x41676e
mov rbp, qword [rsp + 0x50]
add rsp, 0x58
ret
shr rbx, 1
and rbx, 0xfffffffffffff000
mov qword [rsp + 0x38], rbx
cmp rbx, 0x1000
jae 0x4166f6
xor esi, esi
jmp 0x416760
mov rax, qword [sym.imp.kernel32.dll_VirtualAlloc]
mov qword [rsp], rax
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x1000
mov qword [rsp + 0x20], 4
nop dword [rax]
call fcn.00431b00
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
cmp qword [rsp + 0x28], 0
sete al
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x38]
mov esi, eax
mov rax, qword [rsp + 0x68]
nop dword [rax + rax]
test sil, sil
jne 0x4166da
jmp 0x4166c2
call fcn.00460420
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
mov eax, dword [rsp]
mov dword [rsp + 0x34], eax
cmp eax, 8
jne 0x4167e9
call fcn.00435ee0
lea rax, [0x004d62d5]
mov ebx, 0x19
call fcn.004367e0
mov rax, qword [rsp + 0x68]
call fcn.004364e0
lea rax, [0x004d5eed]
mov ebx, 0x19
nop
call fcn.004367e0
mov eax, dword [rsp + 0x34]
call fcn.004364e0
call fcn.00436140
call fcn.00435f60
lea rax, [0x004d2ec8]
mov ebx, 0xd
call fcn.00434740
cmp eax, 0x5af
je 0x416793
call fcn.00435ee0
lea rax, [0x004d62d5]
mov ebx, 0x19
call fcn.004367e0
mov rax, qword [rsp + 0x38]
call fcn.004364e0
lea rax, [0x004d5eed]
mov ebx, 0x19
nop dword [rax]
call fcn.004367e0
mov eax, dword [rsp + 0x34]
call fcn.004364e0
call fcn.00436140
call fcn.00435f60
lea rax, [0x004d78f6]
mov ebx, 0x1f
call fcn.00434740
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.0045c8c0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.00416620
Function at 0x41e500
Capabilities:
Hash data using murmur3

Disassembly:
sub rsp, 0x18
mov qword [rsp + 0x10], rbp
lea rbp, [rsp + 0x10]
cmp byte [0x005d5792], 0
jne 0x41e5ef
nop
nop
nop
nop
sub rbx, qword [rax + 0x18]
nop
mov edx, dword [rax + 0x5c]
imul rbx, rdx
mov rdx, rbx
shr rbx, 0x20
nop
shr rdx, 0x23
and ebx, 7
mov rsi, rcx
mov rcx, rbx
mov edi, 1
shl edi, cl
nop
add rdx, qword [rax + 0x50]
lock or byte [rdx], dil
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 0x41e5e5
lea rbx, [0x005a7bf0]
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 + 0x21040]
lea rdx, [rdx + rcx]
lea rdx, [rdx + 0x21040]
shr rax, 0xd
and eax, 7
mov rcx, rax
mov eax, 1
shl eax, cl
nop dword [rax]
test al, bl
jne 0x41e5c7
lock or byte [rdx], al
mov rax, qword [r14 + 0x30]
mov rax, qword [rax + 0xa0]
test byte [rax], al
add qword [rax + 0x1248], rsi
mov rbp, qword [rsp + 0x10]
add rsp, 0x18
ret
mov ecx, 0x40
call fcn.0045efc0
lea rax, [0x004d95b2]
mov ebx, 0x2c
nop dword [rax + rax]
call fcn.00434740
nop
int3
Function at 0x42d760
Capabilities:
Hash data using murmur3

Disassembly:
cmp rsp, qword [r14 + 0x18]
jbe 0x42da06
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 0x42d9fa
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x30], rcx
mov qword [rax + 0x1260], 0
cmp byte [0x005d5792], 0
jne 0x42d7c2
xor edx, edx
xor ebx, ebx
nop
jmp 0x42d80b
xor edx, edx
jmp 0x42d7ee
mov qword [rsp + 0x28], rdx
mov rcx, qword [rax + rdx*8 + 0x1270]
mov rax, rcx
call fcn.0041dd20
mov rcx, qword [rsp + 0x28]
lea rdx, [rcx + 1]
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
cmp rdx, rcx
jl 0x42d7c6
add rax, 0x1260
call fcn.0042d5e0
mov rbp, qword [rsp + 0x38]
add rsp, 0x40
ret
inc rdx
cmp rdx, rcx
jge 0x42d992
mov rsi, qword [rax + rdx*8 + 0x1270]
nop dword [rax]
cmp rsi, 0x1000
jb 0x42d808
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.004128c0
test rax, rax
jne 0x42d862
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x20]
nop
jmp 0x42d808
nop
mov rsi, rcx
shr rcx, 3
and esi, 7
mov rdx, rcx
mov rcx, rsi
mov r8d, 1
shl r8d, cl
nop
add rdx, qword [rbx + 0x50]
movzx esi, byte [rdx]
test r8b, sil
je 0x42d8a5
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x20]
nop dword [rax]
jmp 0x42d808
nop
lock or byte [rdx], r8b
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 0x42d9ed
lea r10, [0x005a7bf0]
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 + 0x21040]
lea r9, [r9 + rcx]
lea r9, [r9 + 0x21040]
shr r8, 0xd
and r8d, 7
mov rcx, r8
mov r8d, 1
shl r8d, cl
test r8b, r10b
jne 0x42d92b
lock or byte [r9], r8b
movzx r8d, byte [rbx + 0x62]
test r8b, 1
je 0x42d965
mov r8, qword [rsp + 0x48]
mov r9, qword [r8 + 0x1248]
add r9, qword [rbx + 0x68]
mov qword [r8 + 0x1248], r9
mov rax, r8
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x20]
nop
jmp 0x42d808
mov r8, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x30]
cmp r8, rcx
jae 0x42d9e5
mov r9, qword [rsp + 0x48]
mov qword [r9 + r8*8 + 0x1270], rax
lea rbx, [r8 + 1]
mov rax, r9
mov rdx, qword [rsp + 0x28]
jmp 0x42d808
cmp rbx, 0x200
ja 0x42d9d7
lea rdx, [rax + 0x1270]
lea rsi, [rax + 0x1238]
mov rcx, rbx
mov edi, 0x200
mov rbx, rdx
mov rax, rsi
call fcn.00423940
mov rdx, qword [rsp + 0x48]
lea rax, [rdx + 0x1260]
call fcn.0042d5e0
mov rbp, qword [rsp + 0x38]
add rsp, 0x40
ret
mov rcx, rbx
mov edx, 0x200
nop
call fcn.0045f020
mov rax, r8
call fcn.0045efa0
mov rax, r8
mov ecx, 0x40
call fcn.0045efc0
mov edx, 0x200
nop
call fcn.0045f000
nop
mov qword [rsp + 8], rax
call fcn.00460fc0
mov rax, qword [rsp + 8]
jmp fcn.0042d760
Function at 0x44e160
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 0x44e2d8
movzx edx, byte [rax]
nop
test edx, edx
jne 0x44e19c
test r8b, r8b
jne 0x44e19c
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 0x44e1af
xor edx, edx
xor r8d, r8d
xor r9d, r9d
jmp 0x44e298
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 0x44e286
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 0x44e27c
movzx r8d, byte [rax + r8]
bt r8d, 7
jae 0x44e203
xor eax, eax
xor ecx, ecx
xor r8d, r8d
jmp 0x44e246
mov eax, 1
cmp rax, rbx
ja 0x44e235
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.0045f060
lea r8d, [rcx + 7]
mov ecx, eax
mov eax, r10d
cmp rax, rbx
jae 0x44e274
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 0x44e23d
mov r8d, eax
mov eax, r10d
jmp 0x44e208
mov rcx, rbx
call fcn.0045efa0
xor eax, eax
mov rcx, rbx
call fcn.0045efa0
mov eax, r8d
mov rcx, rbx
call fcn.0045f060
lea r9d, [rcx + 7]
mov rcx, r12
cmp rbx, rdx
jbe 0x44e2ce
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 0x44e291
mov rcx, r12
mov r9d, edx
mov edx, r8d
mov r8d, r9d
jmp 0x44e1b5
mov eax, edx
mov rcx, rbx
call fcn.0045efa0
xor eax, eax
mov rcx, rbx
nop dword [rax]
call fcn.0045efa0
nop
int3
Function at 0x455d60
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x455e1b
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, [0x00455e60]
mov qword [rsp + 0x10], rdx
mov rdx, qword [rsp + 0x60]
mov qword [rsp + 0x18], rdx
lea rdx, [rsp + 0x68]
mov qword [rsp + 0x20], rdx
mov rdx, r14
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x48], rdi
lea rax, [rsp + 8]
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x10]
mov qword [rsp], rax
call fcn.0045c780
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
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.0045c8c0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
jmp fcn.00455d60
Function at 0x45e9e0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x402caf
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.004093e0
mov rbp, qword [rsp + 0x18]
add rsp, 0x20
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.0045c8c0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp 0x402c80
cmp byte [0x005d5791], 0
je 0x45e9f5
mov rcx, qword [rax + 8]
mov rax, qword [rax]
jmp 0x45b9c0
jmp 0x402c80

Function at 0x45ea00
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 [0x005d5ae0]
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 [0x005d5791], 0
je 0x45ea35
movq xmm0, rbx
pinsrd xmm0, dword [rax], 2
aesenc xmm0, xmmword [0x005d5da0]
aesenc xmm0, xmmword [0x005d5db0]
aesenc xmm0, xmmword [0x005d5dc0]
movq rax, xmm0
ret
jmp 0x4095e0

Function at 0x45ea40
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 [0x005d5ae0]
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 [0x005d5791], 0
je 0x45ea76
movq xmm0, rbx
pinsrq xmm0, qword [rax], 1
aesenc xmm0, xmmword [0x005d5da0]
aesenc xmm0, xmmword [0x005d5db0]
aesenc xmm0, xmmword [0x005d5dc0]
movq rax, xmm0
ret
jmp 0x409640

Function at 0x4603a0
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, [0x005d5d20]
mov qword [rsp + 8], rdx
lea r8d, [0x005d57ac]
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.0045e920
add rsp, 0x30
ret
Function at 0x180001000
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x270
mov rax, qword [0x180093030]
xor rax, rsp
mov qword [rsp + 0x260], rax
lea rcx, [rsp + 0x28]
xor edx, edx
mov r8d, 0x230
xor edi, edi
mov qword [rsp + 0x20], 0x238
call fcn.180030f50
lea ecx, [rdi + 2]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x180001054
xor eax, eax
jmp 0x1800010a8
lea rdx, [rsp + 0x20]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x18000109d
nop word [rax + rax]
lea rdx, str.lsass.exe
lea rcx, [rsp + 0x4c]
call fcn.18002d118
test eax, eax
je 0x180001099
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x180001070
jmp 0x18000109d
mov edi, dword [rsp + 0x28]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.18002cf50
mov rbx, qword [rsp + 0x280]
add rsp, 0x270
pop rdi
ret

Function at 0x180001270
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
xor r9d, r9d
mov r8, rcx
mov rdx, rcx
mov eax, r9d
nop dword [rax]
mov byte [rdx], al
inc eax
inc rdx
cmp eax, 0x100
jl 0x180001280
mov word [rcx + 0x100], r9w
xor r11b, r11b
mov r10, rcx
nop dword [rax]
mov eax, r9d
inc r9d
inc r10
cdq
idiv dword [r8 + 0x144]
movsxd rax, edx
movzx ecx, byte [rax + r8 + 0x102]
add cl, byte [r10 - 1]
add r11b, cl
movzx ecx, byte [r10 - 1]
movzx edx, r11b
movzx eax, byte [rdx + r8]
mov byte [r10 - 1], al
mov byte [rdx + r8], cl
cmp r9d, 0x100
jl 0x1800012a0
repz ret

Function at 0x1800012f0
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rbx
movsxd r9, r9d
mov rbx, r8
mov r11, rdx
mov r10, rcx
test r9, r9
jle 0x180001376
sub r11, rbx
nop dword [rax]
inc byte [r10 + 0x100]
movzx r8d, byte [r10 + 0x100]
inc rbx
movzx eax, byte [r8 + r10]
add byte [r10 + 0x101], al
movzx edx, byte [r10 + 0x101]
movzx ecx, byte [r8 + r10]
movzx eax, byte [rdx + r10]
mov byte [r8 + r10], al
mov byte [rdx + r10], cl
movzx eax, byte [r10 + 0x101]
movzx ecx, byte [r10 + 0x100]
movzx ecx, byte [rcx + r10]
add cl, byte [rax + r10]
movzx eax, cl
movzx ecx, byte [rax + r10]
xor cl, byte [r11 + rbx - 1]
dec r9
mov byte [rbx - 1], cl
jne 0x180001310
mov rbx, qword [rsp + 8]
ret
Function at 0x180002250
Capabilities:
Check if file exists
Copy file
Get file attributes

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x240
mov rax, qword [0x180093030]
xor rax, rsp
mov qword [rsp + 0x230], rax
mov rdi, rcx
call fcn.180002310
mov rcx, rdi
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 9
jle 0x1800022e7
xor eax, eax
lea rcx, [rsp + 0x22]
xor edx, edx
mov r8d, 0x206
mov word [rsp + 0x20], ax
call fcn.180030f50
lea rcx, [rsp + 0x20]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea rcx, [rsp + 0x20]
movsxd rdx, eax
mov eax, reloc.WS2_32.dll_WSAGetLastError
mov word [rsp + rdx*2 + 0xe], ax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1800022e7
lea rdx, [rsp + 0x20]
xor r8d, r8d
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CopyFileW]
mov eax, ebx
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.18002cf50
mov rbx, qword [rsp + 0x260]
add rsp, 0x240
pop rdi
ret
Function at 0x1800026e0
Capabilities:
Initialize winsock library

Disassembly:
sub rsp, 0x1d8
mov rax, qword [0x180093030]
xor rax, rsp
mov qword [rsp + 0x1c0], rax
cmp byte [0x180097870], 0
jne 0x180002738
lea rdx, [rsp + 0x20]
mov ecx, 0x202
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x180002731
or eax, 0xffffffff
mov rcx, qword [rsp + 0x1c0]
xor rcx, rsp
call fcn.18002cf50
add rsp, 0x1d8
ret
mov byte [0x180097870], 1
xor eax, eax
mov rcx, qword [rsp + 0x1c0]
xor rcx, rsp
call fcn.18002cf50
add rsp, 0x1d8
ret

Function at 0x180002760
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Create tcp socket
Get socket status
Set socket configuration

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
lea rbp, [rsp - 0x390]
sub rsp, 0x490
mov rax, qword [0x180093030]
xor rax, rsp
mov qword [rbp + 0x380], rax
xor eax, eax
movzx ebx, dx
mov edi, ecx
mov r12d, 2
lea edx, [rax + 1]
xor r13d, r13d
xor r8d, r8d
mov ecx, r12d
mov qword [rsp + 0x52], rax
mov word [rsp + 0x50], r13w
mov dword [rsp + 0x5a], eax
mov word [rsp + 0x5e], ax
mov qword [rsp + 0x48], reloc.WS2_32.dll_ntohs
call qword [sym.imp.WS2_32.dll_socket]
lea r9, [rsp + 0x38]
lea r8d, [r13 + 4]
mov edx, 0xffff
mov rcx, rax
mov rsi, rax
mov dword [rsp + 0x38], 1
mov dword [rsp + 0x20], 4
call qword [sym.imp.WS2_32.dll_setsockopt]
lea r9, [rsp + 0x30]
lea edx, [r13 + 6]
lea r8d, [r13 + 1]
mov rcx, rsi
mov dword [rsp + 0x30], 1
mov dword [rsp + 0x20], 4
call qword [sym.imp.WS2_32.dll_setsockopt]
lea r8, [rsp + 0x30]
mov edx, 0x8004667e
mov rcx, rsi
mov dword [rsp + 0x30], 1
call qword [sym.imp.WS2_32.dll_ioctlsocket]
movzx ecx, bx
mov qword [rsp + 0x68], rsi
mov dword [rsp + 0x60], 1
mov qword [rbp + 0x178], rsi
mov dword [rbp + 0x170], 1
mov word [rsp + 0x50], r12w
call qword [sym.imp.WS2_32.dll_htons]
lea r8d, [r13 + 0x10]
lea rdx, [rsp + 0x50]
mov rcx, rsi
mov dword [rsp + 0x54], edi
mov word [rsp + 0x52], ax
call qword [sym.imp.WS2_32.dll_connect]
lea rax, [rsp + 0x48]
lea ecx, [rsi + 1]
lea r9, [rbp + 0x170]
lea r8, [rsp + 0x60]
xor edx, edx
mov qword [rsp + 0x20], rax
call qword [sym.imp.WS2_32.dll_select]
test eax, eax
jle 0x180002925
lea rdx, [rsp + 0x60]
mov rcx, rsi
call qword [sym.imp.WS2_32.dll___WSAFDIsSet]
test eax, eax
je 0x180002925
lea r8, [rsp + 0x30]
mov edx, 0x8004667e
mov rcx, rsi
mov dword [rsp + 0x30], r13d
call qword [sym.imp.WS2_32.dll_ioctlsocket]
lea r9, [rsp + 0x30]
mov edx, 0xffff
mov r8d, 0x1006
mov rcx, rsi
mov dword [rsp + 0x30], 0x1d4c0
mov dword [rsp + 0x40], 0x1d4c0
mov dword [rsp + 0x20], 4
call qword [sym.imp.WS2_32.dll_setsockopt]
lea r9, [rsp + 0x40]
mov edx, 0xffff
mov r8d, 0x1005
mov rcx, rsi
mov dword [rsp + 0x20], 4
call qword [sym.imp.WS2_32.dll_setsockopt]
mov rax, rsi
jmp 0x180002932
mov rcx, rsi
call qword [sym.imp.WS2_32.dll_closesocket]
or rax, 0xffffffffffffffff
mov rcx, qword [rbp + 0x380]
xor rcx, rsp
call fcn.18002cf50
mov rbx, qword [rsp + 0x4d0]
add rsp, 0x490
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x180002a60
Capabilities:
Encode data using xor
Encrypt data using rc4 ksa
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
xor r12d, r12d
movsxd r15, r9d
mov r13d, r8d
mov rbp, rdx
mov rsi, rcx
mov r14, rdx
test r8d, r8d
jle 0x180002b6d
lea edx, [r12 + 6]
mov eax, 0x1000
mov edi, r13d
mov ebx, r12d
cmp r13d, eax
cmova edi, eax
nop dword [rax]
mov rcx, qword [rsi]
test rcx, rcx
je 0x180002ae9
test rbp, rbp
je 0x180002ae9
test edi, edi
js 0x180002ae9
mov r8d, 0x4000
mov rdx, rbp
cmp edi, r8d
cmovl r8d, edi
call fcn.180023240
mov ecx, 0xffffffff
mov r11d, eax
test eax, eax
lea edx, [rcx + 7]
cmovs r11d, ecx
jmp 0x180002aef
mov r11d, 0xffffff53
mov rax, qword [rsi]
test r11d, r11d
jle 0x180002afc
mov eax, r12d
jmp 0x180002b32
test rax, rax
jne 0x180002b08
mov eax, 0xffffff53
jmp 0x180002b32
mov eax, dword [rax + 0x258]
cmp eax, 0xfffffebd
jne 0x180002b1c
mov eax, 2
jmp 0x180002b32
cmp eax, 0xfffffeb9
jne 0x180002b2a
mov eax, 3
jmp 0x180002b32
cmp eax, 0xfffffea9
cmove eax, edx
test r11d, r11d
jg 0x180002b52
cmp eax, 2
je 0x180002b45
cmp eax, 3
jne 0x180002c6f
inc ebx
cmp ebx, 5
jl 0x180002ab0
jmp 0x180002b5b
movsxd rax, r11d
sub r13d, r11d
add rbp, rax
cmp ebx, 5
je 0x180002c6f
test r13d, r13d
jg 0x180002a9c
cmp dword [rsi + 0x164], r12d
je 0x180002c50
mov eax, r12d
lea rcx, [rsi + 0x20]
mov byte [rcx], al
inc eax
inc rcx
cmp eax, 0x100
jl 0x180002b81
mov word [rsi + 0x120], r12w
xor r10b, r10b
lea r8, [rsi + 0x20]
nop
mov eax, r12d
inc r12d
inc r8
cdq
idiv dword [rsi + 0x164]
movsxd rax, edx
movzx ecx, byte [rax + rsi + 0x122]
add cl, byte [r8 - 1]
add r10b, cl
movzx ecx, byte [r8 - 1]
movzx edx, r10b
movzx eax, byte [rdx + rsi + 0x20]
mov byte [r8 - 1], al
mov byte [rdx + rsi + 0x20], cl
cmp r12d, 0x100
jl 0x180002ba0
mov r10, r15
test r15d, r15d
jle 0x180002c50
nop dword [rax]
inc byte [rsi + 0x120]
movzx r8d, byte [rsi + 0x120]
inc r14
movzx eax, byte [r8 + rsi + 0x20]
add byte [rsi + 0x121], al
movzx edx, byte [rsi + 0x121]
movzx ecx, byte [r8 + rsi + 0x20]
movzx eax, byte [rdx + rsi + 0x20]
mov byte [r8 + rsi + 0x20], al
mov byte [rdx + rsi + 0x20], cl
movzx eax, byte [rsi + 0x120]
movzx ecx, byte [rsi + 0x121]
movzx ecx, byte [rcx + rsi + 0x20]
add cl, byte [rax + rsi + 0x20]
movzx eax, cl
movzx ecx, byte [rax + rsi + 0x20]
xor byte [r14 - 1], cl
dec r10
jne 0x180002bf0
xor eax, eax
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
or eax, 0xffffffff
jmp 0x180002c52
Function at 0x180002dc0
Capabilities:
Receive data
Receive data on socket
Set socket configuration

Disassembly:
push rbx
sub rsp, 0x50
mov rax, qword [0x180093030]
xor rax, rsp
mov qword [rsp + 0x48], rax
xor eax, eax
mov rbx, rcx
mov byte [rsp + 0x28], 0
mov qword [rsp + 0x29], rax
mov qword [rsp + 0x31], rax
mov qword [rsp + 0x39], rax
mov dword [rsp + 0x41], eax
mov word [rsp + 0x45], ax
mov byte [rsp + 0x47], al
cmp rcx, 0xffffffffffffffff
je 0x180002e52
lea r8, [rsp + 0x20]
mov edx, 0x8004667e
mov dword [rsp + 0x20], 1
call qword [sym.imp.WS2_32.dll_ioctlsocket]
mov edx, 1
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_shutdown]
test eax, eax
js 0x180002e49
nop dword [rax + rax]
xor r9d, r9d
lea rdx, [rsp + 0x28]
mov rcx, rbx
lea r8d, [r9 + 0x20]
call qword [sym.imp.WS2_32.dll_recv]
test eax, eax
jg 0x180002e30
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_closesocket]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.18002cf50
add rsp, 0x50
pop rbx
ret