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

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x41526b
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.004302c0
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
cmp qword [rsp + 0x20], 0
nop
jne 0x41512e
mov rax, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x60]
jmp 0x415141
mov rbp, qword [rsp + 0x48]
add rsp, 0x50
ret
sub rcx, rbx
add rax, rbx
mov rbx, rcx
test rbx, rbx
jbe 0x415165
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x40], rax
mov rcx, rbx
jmp 0x415179
cmp rbx, 0x1000
jae 0x415138
nop
jmp 0x4151e9
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 0x41518d
xor edx, edx
jmp 0x4151e0
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.004302c0
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 0x41516f
jmp 0x415155
call fcn.0045d9e0
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
mov eax, dword [rsp]
mov qword [rsp + 0x30], rax
call fcn.00434620
lea rax, [0x004af2c2]
mov ebx, 0x18
nop dword [rax + rax]
call fcn.00434f20
mov rax, qword [rsp + 0x38]
call fcn.00434c20
lea rax, [0x004af36a]
mov ebx, 0x19
nop dword [rax + rax]
call fcn.00434f20
mov rax, qword [rsp + 0x30]
call fcn.00434c20
call fcn.00434880
call fcn.004346a0
lea rax, [0x004b1441]
mov ebx, 0x21
call fcn.00432e80
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.00459e80
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.004150c0
Function at 0x4152a0
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x4154ca
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.00430340
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 0x41531b
mov rbx, qword [rsp + 0x68]
mov rax, rbx
jmp 0x41532e
mov rbp, qword [rsp + 0x50]
add rsp, 0x58
ret
sub rdx, rbx
add rcx, rbx
mov rbx, rdx
test rbx, rbx
jbe 0x415350
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rcx
mov rdx, rbx
jmp 0x415364
cmp rbx, 0x1000
jae 0x415325
jmp 0x4153ee
mov rbp, qword [rsp + 0x50]
add rsp, 0x58
ret
shr rbx, 1
and rbx, 0xfffffffffffff000
mov qword [rsp + 0x38], rbx
cmp rbx, 0x1000
jae 0x415376
xor esi, esi
jmp 0x4153e0
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.00430340
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 0x41535a
jmp 0x415342
call fcn.0045d9e0
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 0x415469
call fcn.00434620
lea rax, [0x004af707]
mov ebx, 0x19
call fcn.00434f20
mov rax, qword [rsp + 0x68]
call fcn.00434c20
lea rax, [0x004af36a]
mov ebx, 0x19
nop
call fcn.00434f20
mov eax, dword [rsp + 0x34]
call fcn.00434c20
call fcn.00434880
call fcn.004346a0
lea rax, [0x004ac266]
mov ebx, 0xd
call fcn.00432e80
cmp eax, 0x5af
je 0x415413
call fcn.00434620
lea rax, [0x004af707]
mov ebx, 0x19
call fcn.00434f20
mov rax, qword [rsp + 0x38]
call fcn.00434c20
lea rax, [0x004af36a]
mov ebx, 0x19
nop dword [rax]
call fcn.00434f20
mov eax, dword [rsp + 0x34]
call fcn.00434c20
call fcn.00434880
call fcn.004346a0
lea rax, [0x004b0d93]
mov ebx, 0x1f
call fcn.00432e80
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.00459e80
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.004152a0
Function at 0x41d180
Capabilities:
Hash data using murmur3

Disassembly:
sub rsp, 0x18
mov qword [rsp + 0x10], rbp
lea rbp, [rsp + 0x10]
cmp byte [0x005da6f1], 0
jne 0x41d26f
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 0x41d265
lea rbx, [0x005acb50]
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 0x41d247
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.0045c580
lea rax, [0x004b2d24]
mov ebx, 0x2c
nop dword [rax + rax]
call fcn.00432e80
nop
int3
Function at 0x42c3e0
Capabilities:
Hash data using murmur3

Disassembly:
cmp rsp, qword [r14 + 0x18]
jbe 0x42c686
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 0x42c67a
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x30], rcx
mov qword [rax + 0x1260], 0
cmp byte [0x005da6f1], 0
jne 0x42c442
xor edx, edx
xor ebx, ebx
nop
jmp 0x42c48b
xor edx, edx
jmp 0x42c46e
mov qword [rsp + 0x28], rdx
mov rcx, qword [rax + rdx*8 + 0x1270]
mov rax, rcx
call fcn.0041c9a0
mov rcx, qword [rsp + 0x28]
lea rdx, [rcx + 1]
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
cmp rdx, rcx
jl 0x42c446
add rax, 0x1260
call fcn.0042c260
mov rbp, qword [rsp + 0x38]
add rsp, 0x40
ret
inc rdx
cmp rdx, rcx
jge 0x42c612
mov rsi, qword [rax + rdx*8 + 0x1270]
nop dword [rax]
cmp rsi, 0x1000
jb 0x42c488
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.00411540
test rax, rax
jne 0x42c4e2
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x20]
nop
jmp 0x42c488
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 0x42c525
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x20]
nop dword [rax]
jmp 0x42c488
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 0x42c66d
lea r10, [0x005acb50]
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 0x42c5ab
lock or byte [r9], r8b
movzx r8d, byte [rbx + 0x62]
test r8b, 1
je 0x42c5e5
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 0x42c488
mov r8, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x30]
cmp r8, rcx
jae 0x42c665
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 0x42c488
cmp rbx, 0x200
ja 0x42c657
lea rdx, [rax + 0x1270]
lea rsi, [rax + 0x1238]
mov rcx, rbx
mov edi, 0x200
mov rbx, rdx
mov rax, rsi
call fcn.004225c0
mov rdx, qword [rsp + 0x48]
lea rax, [rdx + 0x1260]
call fcn.0042c260
mov rbp, qword [rsp + 0x38]
add rsp, 0x40
ret
mov rcx, rbx
mov edx, 0x200
nop
call fcn.0045c5e0
mov rax, r8
call fcn.0045c560
mov rax, r8
mov ecx, 0x40
call fcn.0045c580
mov edx, 0x200
nop
call fcn.0045c5c0
nop
mov qword [rsp + 8], rax
call fcn.0045e580
mov rax, qword [rsp + 8]
jmp fcn.0042c3e0
Function at 0x44bc20
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 0x44bd98
movzx edx, byte [rax]
nop
test edx, edx
jne 0x44bc5c
test r8b, r8b
jne 0x44bc5c
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 0x44bc6f
xor edx, edx
xor r8d, r8d
xor r9d, r9d
jmp 0x44bd58
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 0x44bd46
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 0x44bd3c
movzx r8d, byte [rax + r8]
bt r8d, 7
jae 0x44bcc3
xor eax, eax
xor ecx, ecx
xor r8d, r8d
jmp 0x44bd06
mov eax, 1
cmp rax, rbx
ja 0x44bcf5
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.0045c620
lea r8d, [rcx + 7]
mov ecx, eax
mov eax, r10d
cmp rax, rbx
jae 0x44bd34
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 0x44bcfd
mov r8d, eax
mov eax, r10d
jmp 0x44bcc8
mov rcx, rbx
call fcn.0045c560
xor eax, eax
mov rcx, rbx
call fcn.0045c560
mov eax, r8d
mov rcx, rbx
call fcn.0045c620
lea r9d, [rcx + 7]
mov rcx, r12
cmp rbx, rdx
jbe 0x44bd8e
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 0x44bd51
mov rcx, r12
mov r9d, edx
mov edx, r8d
mov r8d, r9d
jmp 0x44bc75
mov eax, edx
mov rcx, rbx
call fcn.0045c560
xor eax, eax
mov rcx, rbx
nop dword [rax]
call fcn.0045c560
nop
int3
Function at 0x453500
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x4535bb
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, [0x00453600]
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.00459d40
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.00459e80
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
jmp fcn.00453500
Function at 0x45bfa0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x4023cf
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.00408cc0
mov rbp, qword [rsp + 0x18]
add rsp, 0x20
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.00459e80
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp 0x4023a0
cmp byte [0x005da6f0], 0
je 0x45bfb5
mov rcx, qword [rax + 8]
mov rax, qword [rax]
jmp 0x458f80
jmp 0x4023a0

Function at 0x45bfc0
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 [0x005da9a0]
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 [0x005da6f0], 0
je 0x45bff5
movq xmm0, rbx
pinsrd xmm0, dword [rax], 2
aesenc xmm0, xmmword [0x005dac60]
aesenc xmm0, xmmword [0x005dac70]
aesenc xmm0, xmmword [0x005dac80]
movq rax, xmm0
ret
jmp 0x408ec0

Function at 0x45c000
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 [0x005da9a0]
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 [0x005da6f0], 0
je 0x45c036
movq xmm0, rbx
pinsrq xmm0, qword [rax], 1
aesenc xmm0, xmmword [0x005dac60]
aesenc xmm0, xmmword [0x005dac70]
aesenc xmm0, xmmword [0x005dac80]
movq rax, xmm0
ret
jmp 0x408f20

Function at 0x45d960
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, [0x005dabe0]
mov qword [rsp + 8], rdx
lea r8d, [0x005da708]
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.0045bee0
add rsp, 0x30
ret
Function at 0x140002a00
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r9, qword [0x140006500]
xor edx, edx
cmp word [r9], 0x5a4d
mov r8, rcx
jne 0x140002a6f
mov rcx, r9
call fcn.1400028d0
test eax, eax
je 0x140002a6f
movsxd rax, dword [r9 + 0x3c]
mov rcx, r8
sub rcx, r9
add r9, rax
movzx eax, word [r9 + 0x14]
lea rdx, [r9 + rax + 0x18]
movzx eax, word [r9 + 6]
test eax, eax
je 0x140002a6d
sub eax, 1
lea rax, [rax + rax*4]
lea r9, [rdx + rax*8 + 0x28]
mov r8d, dword [rdx + 0xc]
cmp rcx, r8
mov rax, r8
jb 0x140002a64
add eax, dword [rdx + 8]
cmp rcx, rax
jb 0x140002a6f
add rdx, 0x28
cmp rdx, r9
jne 0x140002a50
xor edx, edx
mov rax, rdx
add rsp, 0x28
ret
Function at 0x1400010b0
Capabilities:
Enumerate pe sections

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x88
mov rdx, rcx
lea rdi, [rsp + 0x50]
mov r8d, 0xe
mov rcx, rdi
call fcn.14003f548
mov rax, qword [rdi]
mov r13, qword [rdi + 8]
test rax, rax
je 0x140001281
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x78], rax
cmp r13, rax
je 0x14000128b
xor ebx, ebx
movzx ebp, word [r13]
cmp bp, 2
je 0x140001290
mov esi, dword [r13 + 2]
movzx r12d, word [r13 + 6]
mov r15d, dword [r13 + 8]
mov rax, qword [r13 + 0xc]
mov qword [rsp + 0x80], rax
mov eax, dword [r13 + 0x14]
mov dword [rsp + 0x3c], eax
mov eax, dword [r13 + 0x18]
mov dword [rsp + 0x38], eax
movzx edi, word [r13 + 0x1c]
mov eax, dword [0x14007db48]
cmp eax, 3
jne 0x140001277
mov ecx, ebp
mov edx, 1
call fcn.14003c78d
mov r14, rdx
test rax, rax
jne 0x14000124f
shl r12, 0x20
or r12, rsi
test bp, bp
je 0x1400011b6
movabs rax, 0xffffffff0000
and r12, rax
shr r12, 0x10
mov r8d, 0x1c
mov cx, 0x17
mov rsi, qword [rsp + 0x80]
mov ebp, dword [rsp + 0x38]
mov rax, r12
mov edx, dword [rsp + 0x3c]
jmp 0x1400011d8
mov rdi, r12
shr rdi, 0x20
mov r8d, 0x10
mov cx, 2
xor eax, eax
xor r15d, r15d
mov edx, r12d
mov rsi, qword [rsp + 0x70]
mov ebp, dword [rsp + 0x34]
rol di, 8
mov word [rsp + 0x50], cx
mov word [rsp + 0x52], di
mov dword [rsp + 0x54], edx
shl r15, 0x20
or r15, rax
mov qword [rsp + 0x58], r15
mov qword [rsp + 0x60], rsi
mov dword [rsp + 0x68], ebp
mov rcx, r14
lea rdx, [rsp + 0x50]
call qword [sym.imp.ws2_32.dll_bind]
cmp eax, 0xffffffff
je 0x140001229
mov rcx, r14
mov edx, 0x80
call qword [sym.imp.ws2_32.dll_listen]
cmp eax, 0xffffffff
jne 0x1400012cc
mov dword [rsp + 0x34], ebp
mov qword [rsp + 0x70], rsi
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
mov r12d, eax
shl r12, 0x20
or r12, 2
mov rcx, r14
call qword [sym.imp.ws2_32.dll_closesocket]
mov r14, r12
test rbx, rbx
je 0x14000125e
lea rcx, [rsp + 0x28]
call fcn.1400018ad
mov qword [rsp + 0x28], r14
add r13, 0x20
mov rbx, r14
cmp r13, qword [rsp + 0x78]
jne 0x140001116
jmp 0x140001293
call fcn.140062273
jmp 0x140001162
mov eax, 1
mov r14, r13
jmp 0x1400012b5
xor r14d, r14d
jmp 0x140001293
mov r14, rbx
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x40]
call fcn.140030444
test r14, r14
lea rax, [0x14006c180]
cmove r14, rax
mov eax, 1
mov rdx, r14
add rsp, 0x88
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x40]
call fcn.140030444
test rbx, rbx
je 0x1400012ea
lea rcx, [rsp + 0x28]
call fcn.1400018ad
xor eax, eax
jmp 0x1400012b5
Function at 0x140005489
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 0x1400054bf
mov r10d, 8
sub r10, r11
cmp r8, r10
mov rdi, r10
cmovb rdi, r8
cmp rdi, 4
jb 0x1400054c7
mov esi, dword [rdx]
mov r9d, 4
jmp 0x1400054cc
xor r10d, r10d
jmp 0x14000557a
xor esi, esi
xor r9d, r9d
mov rcx, r9
or rcx, 1
cmp rcx, rdi
jae 0x1400054ef
movzx ebx, word [rdx + r9]
lea ecx, [r9*8]
shl rbx, cl
or rsi, rbx
or r9, 2
cmp r9, rdi
jae 0x140005506
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 0x140005526
add r11, r8
jmp 0x14000564a
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 0x1400055ee
mov rcx, qword [rax]
mov r9, qword [rax + 8]
mov rdi, qword [rax + 0x18]
mov rsi, qword [rax + 0x10]
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 0x14000559c
mov qword [rax + 0x18], rdi
mov qword [rax + 0x10], rsi
mov qword [rax + 8], r9
mov qword [rax], rcx
cmp r11d, 4
jb 0x140005600
mov r9d, dword [rdx + r10]
mov r8d, 4
jmp 0x140005606
xor r9d, r9d
xor r8d, r8d
mov rcx, r8
or rcx, 1
cmp rcx, r11
jae 0x14000562c
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 0x140005646
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 0x14002d8e2
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r14
push rsi
push rdi
push rbx
test r8, r8
je 0x14002d948
mov rax, qword [rsp + 0x48]
mov r10d, ecx
shr r10d, 8
lea r8, [rdx + r8*2]
xor r11d, r11d
mov rbx, rdx
movzx edi, byte [rdx + 1]
add rdx, 2
lea rsi, [r11 + rdi]
cmp byte [rbx], r10b
jne 0x14002d93e
cmp rsi, r11
jb 0x14002d9a6
cmp rsi, rax
ja 0x14002d9a6
add r11, r9
xor ebx, ebx
cmp rdi, rbx
je 0x14002d940
lea r14, [rbx + 1]
cmp byte [r11 + rbx], cl
mov rbx, r14
jne 0x14002d92a
jmp 0x14002d998
ja 0x14002d948
mov r11, rsi
cmp rdx, r8
jne 0x14002d8ff
mov rdx, qword [rsp + 0x58]
test rdx, rdx
je 0x14002d99c
mov r8, qword [rsp + 0x50]
add rdx, r8
movzx ecx, cx
mov al, 1
lea r10, [r8 + 1]
movzx r9d, byte [r8]
test r9b, r9b
js 0x14002d971
mov r8, r10
jmp 0x14002d98a
cmp r10, rdx
je 0x14002d9a6
and r9d, 0x7f
shl r9d, 8
movzx r10d, byte [r8 + 1]
add r8, 2
or r9d, r10d
sub ecx, r9d
js 0x14002d99e
xor al, 1
cmp r8, rdx
jne 0x14002d95f
jmp 0x14002d99e
xor eax, eax
jmp 0x14002d99e
mov al, 1
and al, 1
pop rbx
pop rdi
pop rsi
pop r14
ret
ud2
Function at 0x1400310e7
Capabilities:
Enumerate pe sections

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x78
lea rdx, str.127.0.0.1:0
add eax, dword [rax]

Function at 0x140032e4b
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
mov rdi, rdx
mov rsi, rcx
mov bpl, byte [rdx + 0x38]
cmp byte [rdx + 0x3a], 0
setne bl
cmp bpl, 1
ja 0x140032e9b
mov rcx, rdi
call fcn.140032a2f
test bpl, bpl
jne case.default.0x140032e8f
movzx ecx, byte [rdi + 0x10]
cmp rcx, 6
je case.default.0x140032e8f
lea rdx, [0x14006e838]
movsxd rcx, dword [rdx + rcx*4]
add rcx, rdx
jmp rcx
mov rcx, qword [rdi + 0x20]
add rcx, 4
jmp 0x140032ea1
xor ebx, ebx
xor eax, eax
xor ecx, ecx
mov ecx, 6
jmp 0x140032ea1
mov rcx, qword [rdi + 0x20]
mov rdx, qword [rdi + 0x30]
lea r8, [rdx + 1]
test rdx, rdx
cmove r8, rdx
add rcx, r8
add rcx, 2
jmp 0x140032ea1
mov ecx, 2
jmp 0x140032ea1
add byte [rax], al
Function at 0x14003310c
Capabilities:
Query environment variable

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x478
mov rsi, rcx
movabs rdi, 0x8000000000000000
lea rbx, [rsp + 0x78]
mov rcx, rbx
call fcn.140033324
mov rax, qword [rbx]
mov rbp, qword [rbx + 8]
cmp rax, rdi
jne 0x140033155
mov rcx, rbp
call fcn.140033431
mov qword [rsi], rdi
jmp 0x14003330d
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], rsi
xor edi, edi
lea rax, [rsp + 0x60]
mov qword [rax], rdi
mov qword [rax + 8], 2
mov qword [rax + 0x10], rdi
mov r8d, 0x200
mov eax, 2
mov qword [rsp + 0x28], rax
mov ebx, 0xffffffff
xor r14d, r14d
cmp r8, 0x201
jae 0x1400331a5
lea r12, [rsp + 0x78]
mov esi, 0x200
mov r13, r8
jmp 0x1400331dc
sub r8, r14
lea rcx, [rsp + 0x60]
mov rdx, r8
call fcn.14003d038
mov rdi, qword [rsp + 0x60]
mov r12, qword [rsp + 0x68]
cmp rdi, rbx
mov r14d, 0xffffffff
cmovb r14, rdi
mov qword [rsp + 0x70], r14
mov qword [rsp + 0x28], r12
mov rsi, r14
mov r13, r14
xor ecx, ecx
call qword [sym.imp.kernel32.dll_SetLastError]
mov r15, rbp
mov rcx, rbp
mov rdx, r12
mov r8d, r13d
call qword [sym.imp.kernel32.dll_GetEnvironmentVariableW]
mov ebp, eax
test eax, eax
jne 0x14003320a
call qword [sym.imp.kernel32.dll_GetLastError]
test eax, eax
jne 0x1400332a1
mov r8d, ebp
cmp r13, r8
jne 0x140033240
call qword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 0x7a
jne 0x140033322
mov rbp, r15
add r13, r13
mov eax, 0xffffffff
cmp r13, rax
mov ebx, 0xffffffff
cmovae r13, rax
mov r8, r13
jmp 0x14003318d
mov rbp, r15
jb 0x14003318d
cmp rsi, r8
jb 0x140033322
lea rcx, [rsp + 0x40]
mov rdx, r12
call fcn.14003c2ba
test rdi, rdi
mov rsi, qword [rsp + 0x38]
movabs r14, 0x8000000000000000
je 0x140033287
mov rcx, qword [0x14007db30]
xor edx, edx
mov r8, qword [rsp + 0x28]
call qword [sym.imp.kernel32.dll_HeapFree]
cmp qword [rsp + 0x40], r14
je 0x1400332e4
movups xmm0, xmmword [rsp + 0x40]
movups xmm1, xmmword [rsp + 0x50]
movups xmmword [rsi + 0x10], xmm1
movups xmmword [rsi], xmm0
jmp 0x1400332f1
call qword [sym.imp.kernel32.dll_GetLastError]
shl rax, 0x20
or rax, 2
mov qword [rsp + 0x48], rax
movabs r14, 0x8000000000000000
mov qword [rsp + 0x40], r14
test rdi, rdi
je 0x1400332dc
mov rcx, qword [0x14007db30]
xor edx, edx
mov r8, qword [rsp + 0x28]
call qword [sym.imp.kernel32.dll_HeapFree]
mov rbp, r15
mov rsi, qword [rsp + 0x38]
mov qword [rsi], r14
mov rcx, qword [rsp + 0x48]
call fcn.140033431
mov rax, qword [rsp + 0x30]
test rax, rax
je 0x14003330d
mov rcx, qword [0x14007db30]
xor edx, edx
mov r8, rbp
call qword [sym.imp.kernel32.dll_HeapFree]
nop
add rsp, 0x478
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
ud2

Function at 0x140033a2a
Capabilities:
Send data
Send data on socket

Disassembly:
sub rsp, 0x28
mov eax, 0x7fffffff