joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14003c515
Capabilities:
Send data
Send data on socket

Disassembly:
cmp dword [rcx], 2
jne 0x14003c527
add rcx, 8
jmp fcn.140086c76
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x70
mov r14, r9
mov r12, r8
mov rsi, rcx
mov qword [rcx + 0xe0], rdx
lea rdi, [rsp + 0x20]
mov rcx, rdi
mov rdx, rsi
call fcn.14003c723
mov eax, dword [rdi]
cmp eax, 2
jne 0x14003c567
mov rdi, qword [rsp + 0x28]
jmp 0x14003c6c2
test eax, eax
je 0x14003c684
mov rdx, qword [rsi + 0x68]
cmp rdx, qword [rsi + 0x60]
jne 0x14003c6b2
mov rbx, qword [rsp + 0x28]
mov eax, ebx
shr rbx, 0x20
cmp r14, rbx
cmovb rbx, r14
mov r15d, dword [rsp + 0x24]
lea r14, [rbx + r15]
add rax, r14
cmp rdx, rax
jae 0x14003c5b0
lea rcx, [rsi + 0x50]
mov rdx, rax
call fcn.14008f052
mov rdx, qword [rsi + 0x60]
mov rcx, qword [rsi + 0x58]
mov r8, r15
mov r9, r14
call fcn.14003d32a
cmp rdx, rbx
jne 0x14003c721
mov rcx, rax
mov rdx, r12
mov r8, rbx
call sub.VCRUNTIME140.dll_memcpy
mov r12, qword [rsi + 0x60]
cmp r12, r15
jb 0x14003c721
mov r13, qword [rsi + 0x58]
mov rcx, r13
mov rdx, r12
mov r8, r15
mov r9, r14
call fcn.14003d32a
cmp r12, r14
jb 0x14003c721
xor ecx, ecx
test rax, rax
cmove edx, ecx
sub r12d, r14d
add r14, r13
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
mov dword [rsp + 0x20], r15d
mov dword [rsp + 0x24], 7
mov qword [rsp + 0x28], r13
mov dword [rsp + 0x30], edx
mov dword [rsp + 0x34], 1
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x40], r12d
mov dword [rsp + 0x44], 6
mov qword [rsp + 0x48], r14
movabs rax, 0x400000000
lea r8, [rsp + 0x60]
mov qword [r8], rax
mov qword [r8 + 8], rdi
lea rcx, [rsi + 0xe8]
xor edx, edx
xor r9d, r9d
call qword [sym.imp.secur32.dll_EncryptMessage]
test eax, eax
je 0x14003c690
mov edi, eax
shl rdi, 0x20
or rdi, 2
jmp 0x14003c6c2
movabs rdi, 0x8009031700000002
jmp 0x14003c6c2
mov eax, dword [rsp + 0x30]
add eax, dword [rsp + 0x20]
add eax, dword [rsp + 0x40]
cmp qword [rsi + 0x60], rax
jb 0x14003c6a6
mov qword [rsi + 0x60], rax
and qword [rsi + 0x68], 0
mov qword [rsi + 0x110], rbx
mov rcx, rsi
call fcn.14003d29a
test rax, rax
je 0x14003c70e
mov rdi, rdx
mov qword [rsp + 0x20], 1
mov qword [rsp + 0x28], rdi
mov rcx, rdi
call fcn.140018dc8
and qword [rsi + 0xe0], 0
mov ecx, eax
mov eax, 1
cmp cl, 0xd
jne 0x14003c6fb
lea rcx, [rsp + 0x28]
call fcn.14003b61a
mov eax, 2
mov rdx, rdi
add rsp, 0x70
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rdi, qword [rsi + 0x110]
and qword [rsi + 0xe0], 0
xor eax, eax
jmp 0x14003c6fb
ud2
Function at 0x14003d526
Capabilities:
Decrypt data via sspi

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0xa0
mov rax, qword [rdx + 0x48]
cmp qword [rdx + 0x40], rax
jb 0x14003d6ed
mov rdi, rdx
mov rsi, rcx
mov rcx, qword [rdx + 0x38]
xorps xmm0, xmm0
lea r8, [rsp + 0x28]
movups xmmword [r8 + 0x30], xmm0
mov dword [r8], eax
mov dword [r8 + 4], 1
mov qword [r8 + 8], rcx
movups xmmword [r8 + 0x10], xmm0
movups xmmword [r8 + 0x20], xmm0
movabs rax, 0x400000000
lea rdx, [rsp + 0x68]
mov qword [rdx], rax
mov qword [rdx + 8], r8
lea rcx, [rdi + 0xe8]
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.secur32.dll_DecryptMessage]
cmp eax, 0x80090318
je 0x14003d6b0
test eax, eax
je 0x14003d600
cmp eax, 0x90317
je 0x14003d6aa
cmp eax, 0x90321
jne 0x14003d6ce
mov dword [rdi + 0xa0], 0x10000
xor ebx, ebx
mov byte [rdi + 0xa4], bl
cmp dword [rsp + 0x5c], 5
mov rdx, qword [rdi + 0x48]
mov eax, 0
cmove eax, dword [rsp + 0x58]
sub rdx, rax
mov rcx, rdi
call fcn.14003d4ce
and qword [rdi + 0x108], 0
mov byte [rsi + 1], bl
jmp 0x14003d6dc
mov rax, qword [rdi + 0x28]
mov rdx, qword [rdi + 0x20]
sub rdx, rax
jb 0x14003d6ed
mov r14, qword [rsp + 0x40]
mov r15d, dword [rsp + 0x38]
lea rbx, [rdi + 0x10]
sub r14, qword [rdi + 0x38]
add r15, r14
and qword [rdi + 0x20], 0
mov r8, qword [rdi + 0x18]
lea r9, [r8 + rax]
lea rcx, [rsp + 0x78]
mov qword [rcx + 0x18], rax
mov qword [rcx + 0x20], rdx
mov qword [rcx], r8
mov qword [rcx + 8], r9
mov qword [rcx + 0x10], rbx
call fcn.14000a287
mov rcx, qword [rdi + 0x38]
mov rdx, qword [rdi + 0x40]
mov r8, r14
mov r9, r15
call fcn.14003d32a
lea r8, [rdx + rax]
mov rcx, rbx
mov rdx, rax
call fcn.140009418
and qword [rdi + 0x28], 0
xor ebx, ebx
cmp dword [rsp + 0x5c], 5
mov rdx, qword [rdi + 0x48]
mov eax, dword [rsp + 0x58]
cmovne eax, ebx
sub rdx, rax
mov rcx, rdi
call fcn.14003d4ce
xor eax, eax
cmp qword [rdi + 0x48], rbx
sete al
mov qword [rdi + 0x108], rax
mov byte [rsi + 1], 0
jmp 0x14003d6dc
mov byte [rsi + 1], 1
jmp 0x14003d6ca
cmp dword [rsp + 0x3c], 4
mov eax, 1
cmove eax, dword [rsp + 0x38]
mov qword [rdi + 0x108], rax
mov byte [rsi + 1], 0
xor ebx, ebx
jmp 0x14003d6dc
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov bl, 1
mov byte [rsi], bl
add rsp, 0xa0
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
ud2
Function at 0x14003d6f9
Capabilities:
Receive data
Receive data on socket

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x68
mov r15, rdx
mov r12, rcx
mov qword [rsp + 0x40], r8
mov rcx, r8
call fcn.14003d8d8
mov qword [rsp + 0x50], rax
mov rbp, qword [r12 + 8]
mov esi, 0x7fffffff
cmp rdx, rsi
mov qword [rsp + 0x48], rdx
cmovb rsi, rdx
mov rdi, qword [r12 + 0x10]
mov r13, qword [r12 + 0x18]
lea rcx, [rsp + 0x20]
mov rdx, rbp
mov r8, r15
xor r9d, r9d
call fcn.140086a76
mov al, byte [rsp + 0x29]
cmp al, 3
je 0x14003d85b
mov rbx, qword [rsp + 0x20]
cmp al, 2
je 0x14003d86d
mov cl, byte [rsp + 0x28]
lea r8, [rsp + 0x2a]
movzx edx, word [r8 + 4]
lea r9, [rsp + 0x3a]
mov word [r9 + 4], dx
mov edx, dword [r8]
mov dword [r9], edx
mov qword [rsp + 0x30], rbx
mov byte [rsp + 0x38], cl
mov byte [rsp + 0x39], al
cmp rdi, 0xffffffffffffffff
je 0x14003d8bc
mov rcx, rdi
mov rdx, qword [rsp + 0x50]
mov r8d, esi
xor r9d, r9d
call qword [sym.imp.ws2_32.dll_recv]
cmp eax, 0xffffffff
jne 0x14003d862
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
cmp eax, 0x274a
je 0x14003d86b
mov ebx, eax
test r13, r13
sete r14b
shl rbx, 0x20
or rbx, 2
mov rcx, rbx
call fcn.140018dc8
cmp al, 0xd
setne al
or al, r14b
jne 0x14003d835
mov rcx, qword [r13]
mov rdx, qword [r13 + 8]
lock inc qword [rdx]
jle 0x14003d8bc
add rcx, 0x10
mov r8, qword [r13 + 0x10]
mov r9b, byte [r13 + 0x18]
call fcn.140036306
mov r14, rax
xor ecx, ecx
call fcn.140035775
test r14, r14
je 0x14003d835
mov ecx, 1
mov rdx, rbx
call fcn.1400363ec
mov rbx, r14
mov rcx, rbx
call fcn.140084440
cmp al, 0xd
jne 0x14003d86d
mov rcx, r12
lea rdx, [rsp + 0x30]
call fcn.1400869b4
mov rcx, rbx
call fcn.1400846d6
jmp 0x14003d741
mov edi, 1
jmp 0x14003d86f
movsxd rsi, eax
xor ebx, ebx
xor edi, edi
jmp 0x14003d871
xor ebx, ebx
xor edi, edi
xor esi, esi
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x60], rbx
test rdi, rdi
jne 0x14003d8a5
test rbx, rbx
jne 0x14003d8a5
cmp rsi, qword [rsp + 0x48]
ja 0x14003d8bc
lea rcx, [rsp + 0x58]
call fcn.14003d8be
mov rcx, qword [rsp + 0x40]
mov rdx, rsi
call fcn.14003d8eb
xor ebx, ebx
mov rax, rdi
mov rdx, rbx
add rsp, 0x68
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
ud2
Function at 0x14003db11
Capabilities:
Decrypt data via sspi

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0xa0
mov rax, qword [rdx + 0x170]
cmp qword [rdx + 0x168], rax
jb 0x14003dd05
mov rdi, rdx
mov rsi, rcx
mov rcx, qword [rdx + 0x160]
xorps xmm0, xmm0
lea r8, [rsp + 0x28]
movups xmmword [r8 + 0x30], xmm0
mov dword [r8], eax
mov dword [r8 + 4], 1
mov qword [r8 + 8], rcx
movups xmmword [r8 + 0x10], xmm0
movups xmmword [r8 + 0x20], xmm0
movabs rax, 0x400000000
lea rdx, [rsp + 0x68]
mov qword [rdx], rax
mov qword [rdx + 8], r8
lea rcx, [rdi + 0x1e8]
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.secur32.dll_DecryptMessage]
cmp eax, 0x80090318
je 0x14003dcc8
test eax, eax
je 0x14003dbf7
cmp eax, 0x90317
je 0x14003dcc2
cmp eax, 0x90321
jne 0x14003dce6
mov dword [rdi + 0x1c8], 0x10000
xor ebx, ebx
mov byte [rdi + 0x1cc], bl
cmp dword [rsp + 0x5c], 5
mov rdx, qword [rdi + 0x170]
mov eax, 0
cmove eax, dword [rsp + 0x58]
sub rdx, rax
mov rcx, rdi
call fcn.14003daa7
and qword [rdi + 0x208], 0
mov byte [rsi + 1], bl
jmp 0x14003dcf4
mov rax, qword [rdi + 0x150]
mov rdx, qword [rdi + 0x148]
sub rdx, rax
jb 0x14003dd05
mov r14, qword [rsp + 0x40]
mov r15d, dword [rsp + 0x38]
lea rbx, [rdi + 0x138]
sub r14, qword [rdi + 0x160]
add r15, r14
and qword [rdi + 0x148], 0
mov r8, qword [rdi + 0x140]
lea r9, [r8 + rax]
lea rcx, [rsp + 0x78]
mov qword [rcx + 0x18], rax
mov qword [rcx + 0x20], rdx
mov qword [rcx], r8
mov qword [rcx + 8], r9
mov qword [rcx + 0x10], rbx
call fcn.14000a287
mov rcx, qword [rdi + 0x160]
mov rdx, qword [rdi + 0x168]
mov r8, r14
mov r9, r15
call fcn.14003d32a
lea r8, [rdx + rax]
mov rcx, rbx
mov rdx, rax
call fcn.140009418
and qword [rdi + 0x150], 0
xor ebx, ebx
cmp dword [rsp + 0x5c], 5
mov rdx, qword [rdi + 0x170]
mov eax, dword [rsp + 0x58]
cmovne eax, ebx
sub rdx, rax
mov rcx, rdi
call fcn.14003daa7
xor eax, eax
cmp qword [rdi + 0x170], rbx
sete al
mov qword [rdi + 0x208], rax
mov byte [rsi + 1], 0
jmp 0x14003dcf4
mov byte [rsi + 1], 1
jmp 0x14003dce2
cmp dword [rsp + 0x3c], 4
mov eax, 1
cmove eax, dword [rsp + 0x38]
mov qword [rdi + 0x208], rax
mov byte [rsi + 1], 0
xor ebx, ebx
jmp 0x14003dcf4
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov bl, 1
mov byte [rsi], bl
add rsp, 0xa0
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
ud2
Function at 0x14003dd07
Capabilities:
Receive data
Receive data on socket

Disassembly:
cmp dword [rcx], 2
jne 0x14003dd19
add rcx, 8
jmp fcn.14003d6f9
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x68
mov rsi, r8
mov rbx, rdx
mov rdi, rcx
mov rcx, r8
call fcn.14003d8d8
lea rcx, [rsp + 0x48]
mov qword [rcx], rax
mov qword [rcx + 8], rdx
xorps xmm0, xmm0
movups xmmword [rcx + 0x10], xmm0
mov qword [rdi + 0xe0], rbx
call fcn.14003deb2
mov r14, rax
mov r15, rdx
lea r12, [rsp + 0x20]
mov rcx, rdi
call fcn.14003df10
test rdx, rdx
jne 0x14003ddca
mov rcx, r12
mov rdx, rdi
call fcn.14003c723
mov eax, dword [rsp + 0x20]
cmp eax, 2
je 0x14003de13
test al, 1
je 0x14003ddca
cmp qword [rdi + 0x108], 0
je 0x14003ddb1
mov rcx, rdi
call fcn.14003d343
mov rbx, rdx
test rax, rax
jne 0x14003de1f
test rbx, rbx
je 0x14003ddca
and qword [rdi + 0x108], 0
mov rcx, r12
mov rdx, rdi
call fcn.14003d526
cmp byte [rsp + 0x20], 0
jne 0x14003de13
cmp byte [rsp + 0x21], 0
je 0x14003dd61
mov rcx, rdi
call fcn.14003df10
mov rbx, rdx
test rax, rax
je 0x14003de1f
cmp r15, rbx
cmovb rbx, r15
mov rcx, r14
mov rdx, rax
mov r8, rbx
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rdi + 0x28]
add rax, rbx
cmp rax, qword [rdi + 0x20]
ja 0x14003deb0
mov qword [rdi + 0x28], rax
lea rcx, [rsp + 0x48]
mov rdx, rbx
call fcn.14003defd
jmp 0x14003de52
mov rbx, qword [rsp + 0x28]
mov qword [rsp + 0x20], rbx
jmp 0x14003de29
mov qword [rsp + 0x20], rbx
test rbx, rbx
je 0x14003de52
mov rcx, rbx
call fcn.140018dc8
and qword [rdi + 0xe0], 0
cmp al, 0xd
jne 0x14003de62
lea rcx, [rsp + 0x20]
call fcn.14003b61a
mov edi, 1
xor ebx, ebx
xor eax, eax
jmp 0x14003de66
and qword [rdi + 0xe0], 0
mov al, 1
xor ebx, ebx
xor edi, edi
jmp 0x14003de66
xor edi, edi
mov al, 1
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x40], rbx
test al, al
je 0x14003de9c
test rbx, rbx
jne 0x14003de9c
mov rbx, qword [rsp + 0x58]
cmp rbx, qword [rsp + 0x50]
ja 0x14003deb0
lea rcx, [rsp + 0x38]
call fcn.14003d8be
mov rcx, rsi
mov rdx, rbx
call fcn.14003d8eb
xor ebx, ebx
mov rax, rdi
mov rdx, rbx
add rsp, 0x68
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
ud2
Function at 0x140046c5c
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x718
mov rdi, r8
mov r14, rdx
mov qword [rsp + 0x438], rcx
mov rcx, qword [rdx + 0x498]
call fcn.14004874d
test al, al
jne 0x140046ca4
lea rcx, [r14 + 0x3b8]
mov rdx, qword [r14 + 0x498]
add rdx, 0x10
call fcn.14004f6c4
mov rax, qword [r14 + 0x390]
cmp rax, 2
mov qword [rsp + 0x40], r14
jne 0x140046cc4
mov qword [rsp + 0x2c0], 2
jmp 0x140046d28
lea rsi, [r14 + 0x390]
lea rdx, [r14 + 0x3a8]
test al, 1
je 0x140046cf8
mov rcx, qword [r14 + 0x398]
mov rax, qword [r14 + 0x3a0]
mov r8, qword [rax + 0x10]
dec r8
and r8, 0xfffffffffffffff0
add rcx, r8
add rcx, 0x10
jmp 0x140046d06
mov rcx, qword [r14 + 0x398]
mov rax, qword [r14 + 0x3a0]
call qword [rax + 0x70]
mov r14, rax
lea r15, [rsp + 0x2c0]
mov rcx, r15
mov rdx, rsi
call fcn.140088485
mov qword [r15 + 0x18], r14
mov r14, qword [rsp + 0x40]
mov rax, qword [r14 + 0x3b0]
mov rcx, qword [rsp + 0x2c0]
mov rdx, qword [rsp + 0x2c8]
movups xmm0, xmmword [rsp + 0x2d0]
movaps xmmword [rsp + 0x480], xmm0
mov qword [rsp + 0x470], rcx
mov qword [rsp + 0x478], rdx
mov qword [rsp + 0x490], rax
cmp dword [rsp + 0x470], 2
je 0x140046d86
lea rdx, [rsp + 0x488]
lea rcx, [rsp + 0x470]
call fcn.140088534
mov qword [rsp + 0x620], 2
and qword [rsp + 0x640], 0
lea r12, [r14 + 0x48]
lea rax, [r14 + 0x3b8]
mov qword [rsp + 0x188], rax
lea rax, [r14 + 0x4a8]
mov qword [rsp + 0x180], rax
lea rbx, [rsp + 0x190]
mov dword [rsp + 0x54], eax
mov dword [rsp + 0x74], eax
mov qword [rsp + 0x90], rdi
Function at 0x14004878d
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
mov eax, 0x11d8
call fcn.14008f0e0
sub rsp, rax
movaps xmmword [rsp + 0x11c0], xmm6
mov qword [rsp + 0x80], r8
mov r14, rdx
mov qword [rsp + 0x178], rcx
mov rdx, qword [rdx + 0x498]
add rdx, 0x10
lea rsi, [rsp + 0x220]
mov rcx, rsi
call fcn.140016bcc
mov rsi, qword [rsi + 8]
mov r15d, dword [rsi + 0xe0]
cmp r15d, 1
jne 0x1400488d6
lea rax, [rsi + 8]
mov qword [rsp + 0x58], rax
lea rbx, [rsi + 0x1b8]
lea r13, [rsi + 0xe0]
call fcn.14007f757
mov rbp, rax
mov r12d, edx
mov rdi, qword [rsi + 0xa0]
mov eax, dword [rsi + 0xa8]
mov dword [rsp + 0xf0], eax
test r15b, 1
je 0x1400488d6
mov rax, qword [rsi + 0xe4]
mov qword [rsp + 0x228], rax
mov qword [rsp + 0x220], rbx
lea rcx, [rsp + 0x220]
call fcn.14001c15f
mov r9d, dword [rax + 0x48]
cmp r9d, 0x3b9aca00
je 0x14004f6c2
mov r8, qword [rax + 0x40]
mov rcx, rbp
mov edx, r12d
call fcn.140081a83
xor ecx, ecx
cmp rax, rdi
setne cl
mov eax, 0xff
cmovb ecx, eax
test cl, cl
jne 0x140048895
cmp edx, dword [rsp + 0xf0]
setne cl
jb 0x1400488d6
cmp cl, 1
jne 0x1400488d6
lea rcx, [rsp + 0x430]
mov rdx, r13
mov r8, rbx
call fcn.14001e5fa
cmp qword [rsp + 0x430], 0
je 0x1400488d6
mov rcx, qword [rsp + 0x58]
lea rdx, [rsp + 0x430]
mov r8b, 1
call fcn.14001c1cc
mov r15d, dword [r13]
jmp 0x140048827
mov rcx, rsi
call fcn.140016bfb
lea rax, [r14 + 0x3b8]
mov qword [rsp + 0x3d0], rax
lea rax, [r14 + 0x4a8]
mov qword [rsp + 0x9f8], rax
lea rax, [r14 + 0x48]
mov qword [rsp + 0xf0], rax
mov eax, 0x120
lea r12, [rsp + 0x220]
add rax, r12
mov qword [rsp + 0x740], rax
mov eax, 0x119
lea r13, [rsp + 0x430]
lea rcx, [r13 + rax]
mov qword [rsp + 0x5c8], rcx
mov ecx, 0x11d
lea rdx, [rcx + r13]
mov qword [rsp + 0x5c0], rdx
lea rdx, [rsp + 0xb70]
add rax, rdx
mov qword [rsp + 0xa08], rax
add rcx, rdx
mov qword [rsp + 0xa00], rcx
xorps xmm6, xmm6
lea r15, [rsp + 0x228]
lea rax, [r14 + 0x390]
mov qword [rsp + 0x3d8], rax
lea rax, [r14 + 0x3a8]
mov qword [rsp + 0xa18], rax
lea rax, [r14 + 0x430]
mov qword [rsp + 0x5d8], rax
lea rax, [r14 + 0x50]
mov qword [rsp + 0x5b0], rax
lea rax, [r14 + 0x58]
mov qword [rsp + 0x738], rax
lea rax, [r14 + 0x3f4]
mov qword [rsp + 0x748], rax
lea rax, [r14 + 0x1c8]
mov qword [rsp + 0x5a8], rax
lea rax, [r14 + 0x230]
mov qword [rsp + 0x398], rax
lea rdi, [r14 + 0x1a0]
lea rax, [r14 + 0x238]
mov qword [rsp + 0x5b8], rax
lea rax, [r14 + 0x358]
mov qword [rsp + 0x730], rax
lea rax, [r14 + 0x469]
mov qword [rsp + 0xa10], rax
mov qword [rsp + 0x1c8], rax
mov dword [rsp + 0xe4], eax
mov dword [rsp + 0xe0], eax
mov dword [rsp + 0x18c], eax
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], rax
mov dword [rsp + 0xc0], eax
mov dword [rsp + 0xbc], eax
mov dword [rsp + 0xac], eax
mov qword [rsp + 0x158], rax
mov qword [rsp + 0x3c8], rax
mov qword [rsp + 0x168], rax
mov qword [rsp + 0x140], rax
mov rbp, qword [rsp + 0x80]
mov qword [rsp + 0x58], rdi
Function at 0x140053681
Capabilities:
Check for software breakpoints
Resolve function by parsing pe exports

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
mov eax, 0x2db8
call fcn.14008f0e0
sub rsp, rax
movdqa xmmword [rsp + 0x2da0], xmm10
movdqa xmmword [rsp + 0x2d90], xmm9
movaps xmmword [rsp + 0x2d80], xmm8
movaps xmmword [rsp + 0x2d70], xmm7
movdqa xmmword [rsp + 0x2d60], xmm6
mov rbp, rdx
mov r13, rcx
movabs r15, 0x8000000000000001
lea r12, [rcx + 0x138]
lea rax, [rcx + 0x1a0]
mov qword [rsp + 0x98], rax
lea rbx, [rcx + 0x220]
mov eax, 0xb8
add rcx, rax
mov qword [rsp + 0xb0], rcx
lea rcx, [r13 + 0x241]
mov qword [rsp + 0x4f8], rcx
mov ecx, 0xe0
lea rdx, [rcx + r13]
mov qword [rsp + 0x4d0], rdx
lea rdx, [rsp + 0x1390]
add rcx, rdx
mov qword [rsp + 0x4d8], rcx
add rax, rdx
mov qword [rsp + 0x4e0], rax
pcmpeqd xmm6, xmm6
xorps xmm7, xmm7
movss xmm8, dword [0x140093630]
lea rax, [r13 + 0x140]
mov qword [rsp + 0x4f0], rax
lea rax, [r13 + 0x1f0]
mov qword [rsp + 0xf8], rax
lea rax, [r13 + 0x90]
mov qword [rsp + 0x130], rax
lea rax, [r13 + 0x158]
mov qword [rsp + 0x4c0], rax
lea rax, [r13 + 0xd0]
mov qword [rsp + 0x4c8], rax
lea rax, [r13 + 0x30]
mov qword [rsp + 0x270], rax
lea rax, [r13 + 0x10]
mov qword [rsp + 0xa0], rax
mov qword [rsp + 0x178], 0
js 0x1400537bd
add byte [rax], al
add byte [rax], al
add byte [rax], al
mov qword [rsp + 0x268], rax
mov dword [rsp + 0x138], eax
xor eax, eax
mov qword [rsp + 0x48], rbp
and al, 0x48
mov qword [rsp + 0x50], r13
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x80], rbx
Function at 0x14007bc6d
Capabilities:
Get remote cert context via schannel

Disassembly:
sub rsp, 0x28
lea r8, [rsp + 0x20]
and qword [r8], 0
mov edx, 0x53
call qword [sym.imp.secur32.dll_QueryContextAttributesW]
mov edx, eax
xor eax, eax
test edx, edx
setne cl
jne 0x14007bc97
mov rdx, qword [rsp + 0x20]
jmp 0x14007bc9f
shl rdx, 0x20
or rdx, 2
mov al, cl
add rsp, 0x28
ret

Function at 0x14007bd36
Capabilities:
Create tcp socket
Create udp socket
Enumerate pe sections
Resolve function by parsing pe exports

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x138
mov rax, qword [rcx]
cmp byte [rax], 0
mov byte [rax], 0
je 0x14007c37a
lea rsi, str.127.0.0.1:34254
lea rcx, [rsp + 0x38]
mov qword [rcx], rsi
mov qword [rcx + 8], 0xf
call fcn.14000d1f1
mov rdi, rax
test dil, 1
je 0x14007bdb3
lea rcx, [rsp + 0x38]
call fcn.14000d84d
cmp ax, 1
jne 0x14007bdb3
movabs rax, 0xffffffff00
and rdi, rax
shr rdi, 8
movzx eax, dx
shl rax, 0x30
shl rdi, 0x10
or rdi, rax
mov eax, 1
jmp 0x14007bdb7
xor edi, edi
xor eax, eax
or rax, rdi
test al, 1
jne 0x14007bdcc
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x40], 0xf
test ax, ax
je 0x14007c0c9
cmp qword [rsp + 0x40], 0
jne 0x14007c25b
mov esi, edi
shr esi, 0x10
shr rdi, 0x18
xor r14d, r14d
lea rcx, [rsp + 0x38]
mov r14, qword [rcx]
mov r15, qword [rcx + 8]
mov edx, 0x5b
call fcn.14000d566
test al, al
je 0x14007c251
lea rdi, [rsp + 0x70]
lea rdx, [rsp + 0x38]
mov rcx, rdi
call fcn.14000d306
cmp byte [rdi], 1
jne 0x14007c251
mov edi, dword [rsp + 0x71]
mov rax, qword [rsp + 0x75]
mov qword [rsp + 0xc0], rax
mov eax, dword [rsp + 0x7d]
mov dword [rsp + 0xc8], eax
lea rcx, [rsp + 0x38]
mov r12, qword [rcx]
mov r13, qword [rcx + 8]
mov edx, 0x25
call fcn.14000d566
test al, al
je 0x14007c1ea
mov rcx, qword [rsp + 0x38]
mov r8, qword [rsp + 0x40]
xor ebx, ebx
mov r9d, 0xa
or al, byte [rax]
add byte [rax], al
xor r10d, r10d
ud2

Function at 0x14007c3a1
Capabilities:
Set socket configuration

Disassembly:
sub rsp, 0x38
mov eax, edx
lea r9, [rsp + 0x34]
mov dword [r9], r8d
mov dword [rsp + 0x20], 4
mov edx, 0xffff
mov r8d, eax
call qword [sym.imp.ws2_32.dll_setsockopt]
jo 0x14007c3c5
invalid
Function at 0x14007df76
Capabilities:
Write file on windows

Disassembly:
mov r9, rcx
mov ecx, 0xfffffff5
jmp 0x14007d758

Function at 0x14007ecd5
Capabilities:
Query environment variable

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx

Function at 0x140080983
Capabilities:
Read file on windows

Disassembly:
push rsi
sub rsp, 0xb0
mov rsi, rcx
movups xmm0, xmmword [0x1400ee3f0]
fiadd dword [rsi]
add byte [rax - 0x73], cl
and al, 0x60

Function at 0x1400817ec
Capabilities:
Resolve dns

Disassembly:
push rsi
push rdi
sub rsp, 0x68
mov rax, r8
mov rdi, rdx
mov rsi, rcx
xorps xmm0, xmm0
lea r8, [rsp + 0x30]
movaps xmmword [r8], xmm0
movaps xmmword [r8 + 0x20], xmm0
movaps xmmword [r8 + 0x10], xmm0
mov dword [r8 + 8], 1
lea r9, [rsp + 0x28]
and qword [r9], 0
mov rcx, rax
xor edx, edx
call qword [sym.imp.ws2_32.dll_getaddrinfo]
test eax, eax
je 0x14008183d
call fcn.14008185d
mov ecx, 1
jmp 0x14008184f
mov rax, qword [rsp + 0x28]
movzx ecx, word [rdi]
mov qword [rsi + 0x10], rax
mov word [rsi + 0x18], cx
xor ecx, ecx
mov qword [rsi + 8], rax
mov qword [rsi], rcx
add rsp, 0x68
pop rdi
pop rsi
ret

Function at 0x14008188e
Capabilities:
Initialize winsock library

Disassembly:
push rsi
push rdi
sub rsp, 0x1b8
mov rax, qword [rcx]
mov rdi, qword [rax]
and qword [rax], 0
test rdi, rdi
je 0x1400818e0
lea rsi, [rsp + 0x20]
mov r8d, 0x198
mov rcx, rsi
xor edx, edx
call sub.VCRUNTIME140.dll_memset
mov cx, 0x202
mov rdx, rsi
call qword [sym.imp.ws2_32.dll_WSAStartup]
test eax, eax
jne 0x1400818e0
mov rax, qword [sym.imp.ws2_32.dll_WSACleanup]
mov qword [rdi], rax
add rsp, 0x1b8
pop rdi
pop rsi
ret
ud2

Function at 0x140086652
Capabilities:
Encode data using xor

Disassembly:
mov rax, qword [rcx]
mov rdx, rax
xor rdx, 3
lock cmpxchg qword [rcx], rdx
jne 0x140086655
test al, 1
je 0x140086670
test al, 2
jne 0x140086670
xor rax, 3
ret
ud2

Function at 0x140086c32
Capabilities:
Set socket configuration

Disassembly:
sub rsp, 0x38
cmp rcx, 0xffffffffffffffff
je 0x140086c74
movzx eax, dl
lea r9, [rsp + 0x34]
mov dword [r9], eax
mov dword [rsp + 0x20], 4
mov edx, 6
mov r8d, 1
call qword [sym.imp.ws2_32.dll_setsockopt]
cmp eax, 0xffffffff
je 0x140086c69
xor eax, eax
jmp 0x140086c6e
call fcn.14008185d
nop
add rsp, 0x38
ret
ud2
Function at 0x140086c76
Capabilities:
Send data
Send data on socket

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x48
mov qword [rsp + 0x40], r8
mov rdi, rdx
mov rbx, rcx
mov r14, qword [rcx + 8]
mov r15, qword [rcx + 0x10]
mov r12d, 0x7fffffff
cmp r9, r12
cmovb r12, r9
mov rsi, qword [rcx + 0x18]
lea rcx, [rsp + 0x20]
mov rdx, r14
mov r8, rdi
call fcn.140086c2a
mov al, byte [rsp + 0x29]
cmp al, 3
je 0x140086db0
mov rbp, qword [rsp + 0x20]
cmp al, 2
je 0x140086da9
mov cl, byte [rsp + 0x28]
lea r8, [rsp + 0x2a]
movzx edx, word [r8 + 4]
lea r9, [rsp + 0x3a]
mov word [r9 + 4], dx
mov edx, dword [r8]
mov dword [r9], edx
mov qword [rsp + 0x30], rbp
mov byte [rsp + 0x38], cl
mov byte [rsp + 0x39], al
cmp r15, 0xffffffffffffffff
je 0x140086dd0
mov rcx, r15
mov rdx, qword [rsp + 0x40]
mov r8d, r12d
xor r9d, r9d
call qword [sym.imp.ws2_32.dll_send]
cmp eax, 0xffffffff
jne 0x140086db7
test rsi, rsi
sete r13b
call fcn.14008185d
mov rbp, rax
mov rcx, rax
call fcn.140018dc8
cmp al, 0xd
setne al
or al, r13b
jne 0x140086d83
mov rcx, qword [rsi]
mov rdx, qword [rsi + 8]
lock inc qword [rdx]
jle 0x140086dd0
add rcx, 0x10
mov r8, qword [rsi + 0x10]
mov r9b, byte [rsi + 0x18]
call fcn.140036306
mov r13, rax
xor ecx, ecx
call fcn.140035775
test r13, r13
je 0x140086d83
mov ecx, 1
mov rdx, rbp
call fcn.1400363ec
mov rbp, r13
mov rcx, rbp
call fcn.140084440
cmp al, 0xd
jne 0x140086da9
mov rcx, rbx
lea rdx, [rsp + 0x30]
call fcn.1400869b4
mov rcx, rbp
call fcn.1400846d6
jmp 0x140086caa
mov eax, 1
jmp 0x140086dbc
mov eax, 2
jmp 0x140086dbc
movsxd rbp, eax
xor eax, eax
mov rdx, rbp
add rsp, 0x48
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
ud2
Function at 0x14008f85c
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.kernel32.dll_GetModuleHandleW]
test rax, rax
je 0x14008f8a6
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14008f8a6
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14008f8a6
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14008f8a6
cmp dword [rcx + 0x84], 0xe
jbe 0x14008f8a6
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14008f8a8
xor al, al
add rsp, 0x28
ret