joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18003af00
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
mov qword [rsp + 8], rcx
push r14
sub rsp, 0x50
mov rdi, rdx
mov r14, rcx
xor ebx, ebx
test byte [rcx + 0xc], 1
jne 0x18003af5e
mov rax, qword [rcx]
mov r8, qword [rax + 0x10]
lea rsi, [r8 + 0x28]
test r8, r8
cmove rsi, rbx
mov ecx, dword [0x1800a4940]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x18003af5e
nop dword [rax + rax]
cmp qword [rax], rsi
je 0x18003afab
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x18003af50
lea rax, [r14 + 8]
mov qword [rsp + 0x30], rax
mov ecx, dword [0x1800a4940]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x18003b031
mov rax, qword [rax + 8]
test rax, rax
je 0x18003b031
mov rdx, qword [rax]
test rdx, rdx
je 0x18003b031
mov qword [rax], rbx
movzx eax, byte [rdx]
cmp al, 0x14
jb 0x18003b029
mov byte [rdx + 0x50], al
jmp 0x18003b042
cmp qword [rax + 8], rbx
je 0x18003af5e
mov rax, qword [rdi]
mov qword [rsp + 0x20], rax
mov rax, qword [rdi + 8]
mov qword [rsp + 0x28], rax
mov qword [rdi], rbx
mov qword [rdi + 8], rbx
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x20]
call fcn.18003b3a0
nop
mov rbx, qword [rsp + 0x28]
test rbx, rbx
je 0x18003b00f
mov edi, 0xffffffff
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x18003b00f
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x18003b00f
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.WS2_32.dll_htonl]
jmp 0x18003b0a5
mov rcx, rdx
call fcn.180050b68
mov ecx, 0x51
call fcn.1800506b0
mov rdx, rax
mov byte [rax + 0x50], setsockopt
mov qword [rdx + 0x20], rbx
lea rax, [0x18003b270]
mov qword [rdx + 0x28], rax
mov qword [rdx], rbx
mov qword [rdx + 8], rbx
mov qword [rdx + 0x10], 0
mov qword [rdx + 0x18], rbx
mov dword [rdx + 0x30], ebx
mov qword [rdx + 0x38], rbx
mov qword [rdx + 0x40], rbx
mov rax, qword [rdi]
mov qword [rdx + 0x38], rax
mov rax, qword [rdi + 8]
mov qword [rdx + 0x40], rax
mov qword [rdi], rbx
mov qword [rdi + 8], rbx
mov rcx, qword [r14]
mov rcx, qword [rcx + 0x10]
call fcn.180007970
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x38], rbx
lea rcx, [rsp + 0x30]
call fcn.180030c60
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
add rsp, 0x50
pop r14
ret
Function at 0x18003b0c0
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x80
mov rax, qword [rcx + 0x10]
mov qword [rsp + 0x38], rax
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x40], xmm0
mov rax, qword [rcx + 0x20]
test rax, rax
je 0x18003b0f1
lock inc dword [rax + 8]
mov rax, qword [rcx + 0x18]
mov qword [rsp + 0x40], rax
mov rax, qword [rcx + 0x20]
mov qword [rsp + 0x48], rax
mov rax, qword [rcx + 0x28]
mov qword [rsp + 0x50], rax
movups xmm0, xmmword [rdx]
movups xmmword [rsp + 0x58], xmm0
mov rax, qword [r8]
mov qword [rsp + 0x68], rax
mov rsi, qword [rcx]
lea rdi, [rcx + 8]
mov rbx, qword [rdi]
mov ecx, dword [0x1800a4950]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x18003b145
cmp qword [rax], rbx
je 0x18003b168
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x18003b137
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov r8, qword [rsp + 0x38]
cmp byte [r8 + 0x2d000], 0
jne 0x18003b184
mov byte [r8 + 0x2d000], 1
jmp 0x18003b191
cmp qword [rax + 8], 0
je 0x18003b145
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x38]
call fcn.18003d670
nop
jmp 0x18003b21e
mov ecx, 0x78
call fcn.1800506b0
mov r8, rax
xor ecx, ecx
mov qword [r8 + 0x20], rcx
lea rax, [0x18003c840]
mov qword [r8 + 0x28], rax
mov qword [r8], rcx
mov qword [r8 + 8], rcx
mov qword [r8 + 0x10], rcx
mov qword [r8 + 0x18], rcx
mov dword [r8 + 0x30], ecx
mov rax, qword [rsp + 0x38]
mov qword [r8 + 0x38], rax
mov qword [r8 + 0x40], rcx
mov qword [r8 + 0x48], rcx
mov rax, qword [rsp + 0x40]
mov qword [r8 + 0x40], rax
mov rax, qword [rsp + 0x48]
mov qword [r8 + 0x48], rax
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x40], xmm0
mov rax, qword [rsp + 0x50]
mov qword [r8 + 0x50], rax
movups xmm0, xmmword [rsp + 0x58]
movups xmmword [r8 + 0x58], xmm0
mov rax, qword [rsp + 0x68]
mov qword [r8 + 0x68], rax
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rcx
mov rdx, rdi
mov rcx, rsi
call fcn.18000b150
nop
lea rcx, [rsp + 0x20]
call fcn.18003c7a0
nop
mov rbx, qword [rsp + 0x48]
test rbx, rbx
je 0x18003b254
mov edi, 0xffffffff
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x18003b254
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x18003b254
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.WS2_32.dll_htonl]
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
Function at 0x18003b400
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0xb0
mov r9, r8
mov rbx, rdx
mov rcx, qword [rdx + 0x20]
mov rax, qword [rcx + 0x18]
test rax, rax
je 0x18003b45c
lea rcx, [0x18003c9f0]
mov qword [rsp + 0x20], rcx
mov qword [rsp + 0x28], r8
movaps xmm0, xmmword [rsp + 0x20]
movdqa xmmword [rsp + 0x20], xmm0
lea rdx, [rsp + 0x20]
mov rcx, rbx
call rax
mov rbx, qword [rsp + 0xd0]
add rsp, 0xb0
pop rdi
ret
mov rdi, qword [rcx + 0x10]
mov rdx, r9
lea rcx, [rsp + 0x40]
call fcn.18003b320
movups xmm1, xmmword [r9 + 0x58]
movups xmmword [rsp + 0x98], xmm1
lea rax, [rsp + 0x40]
mov qword [rsp + 0xd8], rax
lea rax, [rsp + 0xc0]
mov qword [rsp + 0x20], rax
mov ecx, dword [0x1800a4940]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x18003b4d5
mov rax, qword [rax + 8]
test rax, rax
je 0x18003b4d5
mov r9, qword [rax + 0x10]
test r9, r9
je 0x18003b4d5
mov qword [rax + 0x10], 0
movzx eax, byte [r9]
cmp al, 0x1e
jb 0x18003b4cd
mov byte [r9 + 0x78], al
jmp 0x18003b4e6
mov rcx, r9
call fcn.180050b68
mov ecx, 0x79
call fcn.1800506b0
mov r9, rax
mov byte [rax + 0x78], 0x1e
mov qword [rsp + 0x30], 0
lea rcx, [r9 + 8]
lea rdx, [rsp + 0x40]
call fcn.18003b320
movups xmm1, xmmword [rsp + 0x98]
movups xmmword [rcx + 0x58], xmm1
lea rax, [0x18003ca10]
mov qword [r9], rax
mov qword [rsp + 0xc8], r9
mov qword [rsp + 0x28], 0
lea rcx, [rsp + 0x20]
call fcn.18003c710
nop
lea rcx, [rsp + 0x40]
call fcn.180039ef0
nop
lea rdx, [rsp + 0xc8]
mov rcx, rbx
call rdi
nop
mov rcx, qword [rsp + 0xc8]
test rcx, rcx
je 0x18003b55d
mov rax, qword [rcx]
xor edx, edx
call rax
nop
mov rbx, qword [rsp + 0xd0]
add rsp, 0xb0
pop rdi
ret

Function at 0x18003c710
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
mov rcx, qword [rcx + 0x10]
test rcx, rcx
je 0x18003c737
add rcx, 8
call fcn.180039ef0
mov qword [rdi + 0x10], 0
mov rbx, qword [rdi + 8]
test rbx, rbx
je 0x18003c78e
mov ecx, dword [0x1800a4940]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x18003c77e
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x18003c77e
cmp qword [rcx + 0x10], 0
jne 0x18003c77e
movzx eax, byte [rbx + 0x78]
mov byte [rbx], al
mov qword [rcx + 0x10], rbx
mov qword [rdi + 8], 0
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov rcx, rbx
call fcn.180050b68
mov qword [rdi + 8], 0
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x18003cd40
Capabilities:
Get thread local storage value

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
lea rbp, [rsp - 0x37]
sub rsp, 0xa0
mov rsi, rcx
mov rcx, qword [rcx + 0x20]
mov rax, qword [rcx + 0x18]
test rax, rax
je 0x18003cd92
lea rcx, [0x18003d6b0]
mov qword [rbp - 0x49], rcx
mov qword [rbp - 0x41], rdx
movaps xmm0, xmmword [rbp - 0x49]
movdqa xmmword [rbp - 0x49], xmm0
lea rdx, [rbp - 0x49]
mov rcx, rsi
call rax
add rsp, 0xa0
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov r14, qword [rcx + 0x10]
mov rax, qword [rdx]
mov qword [rbp - 0x29], rax
movups xmm0, xmmword [rdx + 8]
movups xmmword [rbp - 0x21], xmm0
movsd xmm1, qword [rdx + 0x18]
movsd qword [rbp - 0x11], xmm1
mov eax, dword [rdx + 0x20]
mov dword [rbp - 9], eax
movups xmm0, xmmword [rdx + 0x28]
movups xmmword [rbp - 1], xmm0
mov rax, qword [rdx + 0x38]
mov qword [rbp + 0xf], rax
mov rax, qword [rdx + 0x40]
mov qword [rbp + 0x17], rax
xor ebx, ebx
mov qword [rdx + 0x38], rbx
mov qword [rdx + 0x40], rbx
movups xmm0, xmmword [rdx + 0x48]
movups xmmword [rbp + 0x1f], xmm0
mov rax, qword [rdx + 0x58]
mov qword [rbp + 0x2f], rax
lea rax, [rbp - 0x29]
mov qword [rbp + 0x7f], rax
lea rax, [rbp + 0x67]
mov qword [rbp - 0x49], rax
mov ecx, dword [0x1800a4940]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x18003ce2f
mov rax, qword [rax + 8]
test rax, rax
je 0x18003ce2f
mov rcx, qword [rax + 0x10]
test rcx, rcx
je 0x18003ce2f
mov qword [rax + 0x10], rbx
movzx eax, byte [rcx]
cmp al, 0x1c
jb 0x18003ce2a
mov byte [rcx + 0x70], al
jmp 0x18003ce40
call fcn.180050b68
mov ecx, WSAStartup
call fcn.1800506b0
mov rcx, rax
mov byte [rax + 0x70], 0x1c
mov qword [rbp - 0x39], rbx
mov rax, qword [rbp - 0x29]
mov qword [rcx + 8], rax
movups xmm0, xmmword [rbp - 0x21]
movups xmmword [rcx + 0x10], xmm0
movsd xmm1, qword [rbp - 0x11]
movsd qword [rcx + 0x20], xmm1
mov eax, dword [rbp - 9]
mov dword [rcx + 0x28], eax
movups xmm0, xmmword [rbp - 1]
movups xmmword [rcx + 0x30], xmm0
mov qword [rcx + 0x40], rbx
mov qword [rcx + 0x48], rbx
mov rax, qword [rbp + 0xf]
mov qword [rcx + 0x40], rax
mov rax, qword [rbp + 0x17]
mov qword [rcx + 0x48], rax
xorps xmm0, xmm0
movdqu xmmword [rbp + 0xf], xmm0
movups xmm0, xmmword [rbp + 0x1f]
movups xmmword [rcx + 0x50], xmm0
mov rax, qword [rbp + 0x2f]
mov qword [rcx + 0x60], rax
lea rax, [0x18003d7d0]
mov qword [rcx], rax
mov qword [rbp + 0x77], rcx
mov qword [rbp - 0x41], rbx
lea rcx, [rbp - 0x49]
call fcn.18003d4e0
nop
mov rbx, qword [rbp + 0x17]
test rbx, rbx
je 0x18003ceee
mov edi, 0xffffffff
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x18003ceee
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x18003ceee
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.WS2_32.dll_htonl]
nop
lea rdx, [rbp + 0x77]
mov rcx, rsi
call r14
nop
mov rcx, qword [rbp + 0x77]
test rcx, rcx
je 0x18003cf0a
mov rax, qword [rcx]
xor edx, edx
call rax
nop
add rsp, 0xa0
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x18003d210
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0xc0
mov r9, rdx
mov rdx, rcx
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x38], xmm0
mov rax, qword [r9 + 0x18]
test rax, rax
je 0x18003d23e
lock inc dword [rax + 8]
mov rax, qword [r9 + 0x10]
mov qword [rsp + 0x38], rax
mov rax, qword [r9 + 0x18]
mov qword [rsp + 0x40], rax
movzx eax, byte [r9 + 0x20]
mov byte [rsp + 0x48], al
lea rcx, [rsp + 0x50]
call fcn.18003b320
movups xmm1, xmmword [rdx + 0x58]
movups xmmword [rsp + 0xa8], xmm1
mov rsi, qword [r9]
lea rdi, [r9 + 8]
mov rbx, qword [rdi]
mov ecx, dword [0x1800a4950]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x18003d2a2
nop word [rax + rax]
cmp qword [rax], rbx
je 0x18003d3a5
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x18003d290
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x90]
mov ecx, 0xc0
call fcn.1800072d0
mov r9, rax
xor r10d, r10d
mov qword [rax + 0x20], r10
lea rax, [0x18003d9d0]
mov qword [r9 + 0x28], rax
mov qword [r9], r10
mov qword [r9 + 8], r10
mov qword [r9 + 0x10], r10
mov qword [r9 + 0x18], r10
mov dword [r9 + 0x30], r10d
mov qword [r9 + 0x38], r10
mov qword [r9 + 0x40], r10
mov rax, qword [rsp + 0x38]
mov qword [r9 + 0x38], rax
mov rax, qword [rsp + 0x40]
mov qword [r9 + 0x40], rax
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x38], xmm0
movzx eax, byte [rsp + 0x48]
mov byte [r9 + 0x48], al
lea rcx, [r9 + 0x50]
lea rdx, [rsp + 0x50]
call fcn.18003b320
movups xmm1, xmmword [rsp + 0xa8]
movups xmmword [rcx + 0x58], xmm1
mov qword [rsp + 0x30], r10
mov qword [rsp + 0x28], r10
mov r8, r9
mov rdx, rdi
mov rcx, rsi
call fcn.18000b150
nop
lea rcx, [rsp + 0x20]
call fcn.18003d940
nop
lea rcx, [rsp + 0x50]
call fcn.180039ef0
mov rbx, qword [rsp + 0x40]
test rbx, rbx
je 0x18003d390
mov edi, 0xffffffff
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x18003d390
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x18003d390
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.WS2_32.dll_htonl]
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
cmp qword [rax + 8], 0
je 0x18003d2a2
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x38]
call fcn.18003dd40
nop
jmp 0x18003d350
Function at 0x18003d4e0
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
mov rbx, qword [rcx + 0x10]
mov rdi, rcx
test rbx, rbx
je 0x18003d53d
mov rbx, qword [rbx + 0x48]
test rbx, rbx
je 0x18003d535
mov qword [rsp + 0x30], rsi
mov esi, 0xffffffff
mov eax, esi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x18003d530
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], esi
cmp esi, 1
jne 0x18003d530
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.WS2_32.dll_htonl]
mov rsi, qword [rsp + 0x30]
mov qword [rdi + 0x10], 0
mov rbx, qword [rdi + 8]
test rbx, rbx
je 0x18003d594
mov ecx, dword [0x1800a4940]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x18003d584
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x18003d584
cmp qword [rcx + 0x10], 0
jne 0x18003d584
movzx eax, byte [rbx + 0x70]
mov byte [rbx], al
mov qword [rcx + 0x10], rbx
mov qword [rdi + 8], 0
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov rcx, rbx
call fcn.180050b68
mov qword [rdi + 8], 0
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x18003d5a0
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
mov rbx, qword [rcx + 0x10]
mov rdi, rcx
test rbx, rbx
je 0x18003d5fd
mov rbx, qword [rbx + 0x58]
test rbx, rbx
je 0x18003d5f5
mov qword [rsp + 0x30], rsi
mov esi, 0xffffffff
mov eax, esi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x18003d5f0
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], esi
cmp esi, 1
jne 0x18003d5f0
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.WS2_32.dll_htonl]
mov rsi, qword [rsp + 0x30]
mov qword [rdi + 0x10], 0
mov rbx, qword [rdi + 8]
test rbx, rbx
je 0x18003d657
mov ecx, dword [0x1800a4940]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x18003d647
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x18003d647
cmp qword [rcx + 0x10], 0
jne 0x18003d647
movzx eax, byte [rbx + 0x88]
mov byte [rbx], al
mov qword [rcx + 0x10], rbx
mov qword [rdi + 8], 0
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov rcx, rbx
call fcn.180050b68
mov qword [rdi + 8], 0
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x180046830
Capabilities:
Patch process command line

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xb0
mov rax, qword [0x1800a0040]
xor rax, rsp
mov qword [rbp + 0x2f], rax
mov rdi, rcx
mov qword [rbp - 0x41], rcx
mov r8d, edx
mov ecx, 0x410
xor edx, edx
xor r15d, r15d
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rsi, rax
test rax, rax
je 0x180046a13
mov rax, qword [0x1800a4928]
xorps xmm0, xmm0
movups xmmword [rbp - 0x21], xmm0
movups xmmword [rbp - 0x11], xmm0
movups xmmword [rbp - 1], xmm0
test rax, rax
jne 0x1800468bb
lea rcx, str.ntdll.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rcx, rax
lea rdx, str.NtQueryInformationProcess
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1800a4928], rax
mov r9d, 0x30
mov qword [rsp + 0x20], r15
lea r8, [rbp - 0x21]
xor edx, edx
mov rcx, rsi
call rax
test eax, eax
js 0x180046a0a
mov rdx, qword [rbp - 0x19]
test rdx, rdx
je 0x180046a0a
lea rax, [rbp - 0x49]
mov qword [rbp - 0x49], r15
add rdx, 0x20
mov qword [rsp + 0x20], rax
mov r9d, 8
lea r8, [rbp - 0x41]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x180046a0a
cmp qword [rbp - 0x49], 8
jne 0x180046a0a
mov rdx, qword [rbp - 0x41]
lea rax, [rbp - 0x49]
add rdx, 0x70
mov qword [rsp + 0x20], rax
mov r9d, setsockopt
lea r8, [rbp - 0x39]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x180046a0a
cmp qword [rbp - 0x49], 0x10
jne 0x180046a0a
movzx ecx, word [rbp - 0x37]
mov eax, 2
mul rcx
mov rbx, 0xffffffffffffffff
cmovo rax, rbx
mov rcx, rax
call fcn.180050b70
movzx r8d, word [rbp - 0x37]
xor edx, edx
mov rcx, rax
mov r14, rax
call fcn.18007a010
movzx r9d, word [rbp - 0x39]
lea rax, [rbp - 0x49]
mov rdx, qword [rbp - 0x31]
mov r8, r14
mov rcx, rsi
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x180046a02
movzx eax, word [rbp - 0x39]
cmp qword [rbp - 0x49], rax
jne 0x180046a02
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xorps xmm0, xmm0
mov qword [rbp + 0x1f], r15
movups xmmword [rbp + 0xf], xmm0
mov qword [rbp + 0x27], r15
nop dword [rax]
inc rbx
cmp word [r14 + rbx*2], r15w
jne 0x1800469d0
mov r8, rbx
lea rcx, [rbp + 0xf]
mov rdx, r14
call fcn.1800066c0
mov rcx, r14
call fcn.180050b2c
movups xmm0, xmmword [rbp + 0xf]
movups xmm1, xmmword [rbp + 0x1f]
movups xmmword [rdi], xmm0
movups xmmword [rdi + 0x10], xmm1
jmp 0x180046a33
mov rcx, r14
call fcn.180050b2c
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xorps xmm0, xmm0
lea rdx, [0x18008ef88]
movups xmmword [rdi], xmm0
xor r8d, r8d
mov qword [rdi + 0x10], r15
mov rcx, rdi
mov qword [rdi + 0x18], r15
call fcn.1800066c0
mov rax, rdi
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.180050570
mov rbx, qword [rsp + 0xf0]
add rsp, 0xb0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x180046a60
Capabilities:
Create pipe

Disassembly:
sub rsp, 0x78
mov eax, dword [0x1800a0e48]
cmp eax, 0xffffffff
jne 0x180046b31
mov qword [rsp + 0x80], rbx
lea r9d, [rax + 2]
xor ebx, ebx
mov qword [rsp + 0x70], rdi
mov qword [rsp + 0x38], rbx
lea edx, [rax + 4]
mov dword [rsp + 0x30], ebx
lea rcx, str..pipegpipe
mov dword [rsp + 0x28], 2
xor r8d, r8d
mov dword [rsp + 0x20], 2
call qword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x180046b1e
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, eax
call fcn.1800463e0
mov r8, rax
test rax, rax
je 0x180046b15
mov rdx, qword [rax]
test rdx, rdx
je 0x180046b0d
lea rcx, [rax + 0x10]
nop dword [rax]
movups xmm2, xmmword [rcx + 0x10]
cmp rdi, qword [rcx]
je 0x180046af9
inc ebx
add rcx, 0x28
movsxd rax, ebx
cmp rax, rdx
jb 0x180046ae0
jmp 0x180046b0d
psrldq xmm2, 8
movq rax, xmm2
shr rax, 0x20
mov dword [0x1800a0e48], eax
mov rcx, r8
call fcn.180062174
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [0x1800a0e48]
mov rbx, qword [rsp + 0x80]
mov rdi, qword [rsp + 0x70]
add rsp, 0x78
ret
Function at 0x18004dd80
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x40
mov rax, qword [0x1800a0040]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rbp, r9
movsxd rsi, r8d
mov rdi, rdx
mov rbx, rcx
mov qword [rsp + 0x30], rdx
xor r14d, r14d
mov dword [rsp + 0x20], r14d
lea r9, [rsp + 0x20]
lea edx, [r14 + 8]
lea r8d, [r14 + 0x40]
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x18004de12
mov rdx, qword [rdi + 0x18]
cmp rdx, 0xf
jbe 0x18004de0e
inc rdx
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x18004de09
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x18004deae
mov rcx, r8
call fcn.180050b2c
xor eax, eax
jmp 0x18004de7f
mov rdx, qword [rbx]
mov rbx, qword [rdx + rsi*8]
mov ecx, 0x40
call fcn.1800506b0
mov rsi, rax
mov qword [rsp + 0x28], rax
mov qword [rax], r14
lea rcx, [rax + 8]
mov rdx, rdi
call fcn.180006410
mov qword [rsi + 0x28], rbx
mov qword [rsi + 0x30], rbp
mov byte [rsi + 0x38], 0
mov rdx, qword [rdi + 0x18]
cmp rdx, 0xf
jbe 0x18004de7c
inc rdx
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x18004de77
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x18004deae
mov rcx, r8
call fcn.180050b2c
mov rax, rsi
mov byte [rdi], 0
mov qword [rdi + 0x18], setsockopt
mov qword [rdi + 0x10], r14
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.180050570
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
add rsp, 0x40
pop r14
pop rdi
pop rsi
ret
call fcn.18005c4f8
int3
Function at 0x18004ec40
Capabilities:
Enumerate threads
Suspend thread

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x50
mov rax, qword [0x1800a0040]
xor rax, rsp
mov qword [rsp + 0x40], rax
xor esi, esi
mov r14d, edx
mov rbx, rcx
mov qword [rcx], rsi
mov qword [rcx + 8], rsi
xor edx, edx
mov ebp, r8d
lea ecx, [rsi + 4]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x18004ed6b
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x1c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Thread32First]
test eax, eax
je 0x18004ed62
nop dword [rax]
cmp dword [rsp + 0x20], 0x10
jb 0x18004ed44
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [rsp + 0x2c], eax
jne 0x18004ed44
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [rsp + 0x28], eax
je 0x18004ed44
mov rdx, qword [rbx]
test rdx, rdx
jne 0x18004ed02
mov rcx, qword [0x1800a4140]
mov r8d, 0x200
mov dword [rbx + 8], 0x80
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov qword [rbx], rax
mov rdx, rax
test rax, rax
je 0x18004ed62
jmp 0x18004ed37
mov eax, dword [rbx + 8]
cmp dword [rbx + 0xc], eax
jb 0x18004ed37
mov rcx, qword [0x1800a4140]
lea r9d, [rax + rax]
mov r8, rdx
shl r9, 2
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov rdx, rax
test rax, rax
je 0x18004ed62
mov eax, dword [rbx + 8]
add eax, eax
mov qword [rbx], rdx
mov dword [rbx + 8], eax
mov ecx, dword [rbx + 0xc]
mov eax, dword [rsp + 0x28]
mov dword [rdx + rcx*4], eax
inc dword [rbx + 0xc]
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x1c
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Thread32Next]
test eax, eax
jne 0x18004ecb0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp qword [rbx], rsi
je 0x18004edc3
cmp dword [rbx + 0xc], esi
jbe 0x18004edc3
nop word [rax + rax]
mov r8, qword [rbx]
xor edx, edx
mov eax, esi
lea ecx, [rdx + 0x5a]
mov r8d, dword [r8 + rax*4]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rdi, rax
test rax, rax
je 0x18004edbc
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SuspendThread]
mov r8d, ebp
mov edx, r14d
mov rcx, rdi
call fcn.18004ea90
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc esi
cmp esi, dword [rbx + 0xc]
jb 0x18004ed80
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.180050570
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret