joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14002df8a
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0xf8
mov r14, rdx
mov rsi, rcx
mov ecx, 0x18
mov edx, 8
call fcn.14008a2ad
mov rdi, rax
mov eax, 1
mov qword [rdi], rax
mov qword [rdi + 8], rax
mov byte [rdi + 0x10], 0
cmp r14, 0xffffffffffffffff
je 0x14002e164
xorps xmm0, xmm0
lea rdx, [rsp + 0x70]
movaps xmmword [rdx + 0x70], xmm0
movaps xmmword [rdx + 0x60], xmm0
movaps xmmword [rdx + 0x50], xmm0
movaps xmmword [rdx + 0x40], xmm0
movaps xmmword [rdx + 0x30], xmm0
movaps xmmword [rdx + 0x20], xmm0
movaps xmmword [rdx + 0x10], xmm0
movaps xmmword [rdx], xmm0
lea r8, [rsp + 0x2c]
mov dword [r8], 0x80
mov rcx, r14
call sub.ws2_32.dll_getpeername
cmp eax, 0xffffffff
je 0x14002e01e
movsxd r8, dword [rsp + 0x2c]
lea rcx, [rsp + 0x30]
lea rdx, [rsp + 0x70]
call case.0x140067359.273
jmp 0x14002e02f
call fcn.140088391
mov qword [rsp + 0x38], rax
mov word [rsp + 0x30], 2
lea rbx, [rsp + 0x50]
xorps xmm0, xmm0
lea rdx, [rsp + 0x70]
movaps xmmword [rdx + 0x70], xmm0
movaps xmmword [rdx + 0x60], xmm0
movaps xmmword [rdx + 0x50], xmm0
movaps xmmword [rdx + 0x40], xmm0
movaps xmmword [rdx + 0x30], xmm0
movaps xmmword [rdx + 0x20], xmm0
movaps xmmword [rdx + 0x10], xmm0
movaps xmmword [rdx], xmm0
lea r8, [rsp + 0x2c]
mov dword [r8], 0x80
mov rcx, r14
call sub.ws2_32.dll_getsockname
cmp eax, 0xffffffff
je 0x14002e125
movsxd r8, dword [rsp + 0x2c]
lea rdx, [rsp + 0x70]
mov rcx, rbx
call case.0x140067359.273
cmp word [rsp + 0x30], 2
je 0x14002e136
cmp word [rsp + 0x50], 2
je 0x14002e136
movups xmm0, xmmword [rsp + 0x30]
movups xmm1, xmmword [rsp + 0x40]
movaps xmmword [rsp + 0x80], xmm1
movaps xmmword [rsp + 0x70], xmm0
movups xmm0, xmmword [rbx]
movups xmm1, xmmword [rbx + 0x10]
movaps xmmword [rsp + 0x90], xmm0
movaps xmmword [rsp + 0xa0], xmm1
mov ecx, 0x40
mov edx, 4
call fcn.14008a2ad
mov r14, rax
movaps xmm0, xmmword [rsp + 0x70]
movaps xmm1, xmmword [rsp + 0x80]
movaps xmm2, xmmword [rsp + 0x90]
movaps xmm3, xmmword [rsp + 0xa0]
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm1
movups xmmword [rax + 0x20], xmm2
movups xmmword [rax + 0x30], xmm3
xor ecx, ecx
call fcn.1400864e8
mov qword [rsi], r14
lea rax, [0x1400be028]
mov qword [rsi + 8], rax
jmp 0x14002e13a
call fcn.140088391
mov qword [rsp + 0x58], rax
mov word [rsp + 0x50], 2
and qword [rsi], 0
mov qword [rsi + 0x10], rdi
mov word [rsi + 0x18], 1
lea rcx, [rsp + 0x30]
call fcn.14002e168
mov rcx, rbx
call fcn.14002e168
nop
add rsp, 0xf8
pop rbx
pop rdi
pop rsi
pop r14
ret
ud2
Function at 0x1400438e0
Capabilities:
Link many functions at runtime

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x30
mov rsi, rcx
mov r14, qword [0x1400fd120]
test r14, r14
jne 0x140043a17
lea rcx, str.api_ms_win_core_synch_l1_2_0.dll
call qword [sym.imp.kernel32.dll_GetModuleHandleA]
test rax, rax
je 0x14004394a
mov rbx, rax
lea rdx, str.WaitOnAddress
mov rcx, rax
call qword [sym.imp.kernel32.dll_GetProcAddress]
test rax, rax
je 0x14004394a
mov rdi, rax
lea rdx, str.WakeByAddressSingle
mov rcx, rbx
call qword [sym.imp.kernel32.dll_GetProcAddress]
test rax, rax
je 0x14004394a
mov r15, rax
xor ebx, ebx
jmp 0x1400439cf
lea rcx, [0x1400cdb28]
call qword [sym.imp.kernel32.dll_GetModuleHandleA]
test rax, rax
je 0x140043a2b
mov rdi, rax
lea rdx, str.NtCreateKeyedEvent
mov rcx, rax
call qword [sym.imp.kernel32.dll_GetProcAddress]
test rax, rax
je 0x140043a2b
mov r14, rax
lea rdx, str.NtReleaseKeyedEvent
mov rcx, rdi
call qword [sym.imp.kernel32.dll_GetProcAddress]
test rax, rax
je 0x140043a2b
mov rbx, rax
lea rdx, str.NtWaitForKeyedEvent
mov rcx, rdi
call qword [sym.imp.kernel32.dll_GetProcAddress]
test rax, rax
je 0x140043a2b
mov rdi, rax
lea rcx, [rsp + 0x28]
mov edx, 0xc0000000
xor r8d, r8d
xor r9d, r9d
call r14
test eax, eax
jne 0x140043a2b
mov r15, qword [rsp + 0x28]
mov ecx, 0x18
call fcn.140043a2f
mov r14, rax
mov qword [rax], rbx
mov qword [rax + 8], rdi
mov qword [rax + 0x10], r15
xor eax, eax
lock cmpxchg qword [0x1400fd120], r14
je 0x140043a17
mov rdi, rax
cmp qword [r14], 0
je 0x140043a07
mov rcx, qword [r14 + 0x10]
call qword [sym.imp.kernel32.dll_CloseHandle]
mov edx, 8
mov rcx, r14
call fcn.14000c6a0
mov r14, rdi
and qword [rsi + 8], 0
mov qword [rsi], r14
add rsp, 0x30
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
ud2
Function at 0x14005ddc2
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, 0x6c8
mov rbp, r8
mov rdi, rdx
mov qword [rsp + 0x88], rcx
mov rdx, qword [rdx + 0x3f0]
add rdx, 0x10
lea rsi, [rsp + 0x170]
mov rcx, rsi
call fcn.14001867c
cmp qword [rsi], 0
jne 0x14005f855
mov rcx, qword [rsp + 0x178]
mov dl, byte [rsp + 0x180]
mov rax, qword [rcx + 0x168]
or rax, qword [rcx + 0x178]
je 0x14005de2e
call fcn.140041e0b
jmp 0x14005de57
mov rsi, qword [rcx + 0x218]
call fcn.140041e0b
cmp rsi, 1
ja 0x14005de57
mov rdx, qword [rdi + 0x3f0]
add rdx, 0x10
lea rcx, [rdi + 0x390]
call fcn.14006647d
mov rdx, qword [rdi + 0x368]
cmp rdx, 2
jne 0x14005de72
mov qword [rsp + 0x170], 2
jmp 0x14005dec1
lea rsi, [rdi + 0x368]
lea rbx, [rdi + 0x380]
mov rcx, qword [rdi + 0x370]
mov rax, qword [rdi + 0x378]
test rdx, rdx
je 0x14005dea1
mov rdx, rax
call fcn.140072fe3
mov rcx, rax
mov rax, rdx
mov rdx, rbx
call qword [rax + 0x70]
mov rbx, rax
lea r14, [rsp + 0x170]
mov rcx, r14
mov rdx, rsi
call fcn.140095d7e
mov qword [r14 + 0x18], rbx
mov rax, qword [rdi + 0x388]
mov rcx, qword [rsp + 0x170]
mov rdx, qword [rsp + 0x178]
movups xmm0, xmmword [rsp + 0x180]
movaps xmmword [rsp + 0x460], xmm0
mov qword [rsp + 0x450], rcx
mov qword [rsp + 0x458], rdx
mov qword [rsp + 0x470], rax
cmp dword [rsp + 0x450], 2
je 0x14005df1f
lea rdx, [rsp + 0x468]
lea rcx, [rsp + 0x450]
call fcn.140095e31
mov qword [rsp + 0x5d8], 2
and qword [rsp + 0x5f8], 0
lea r14, [rdi + 0x48]
lea rax, [rdi + 0x390]
mov qword [rsp + 0x2b0], rax
lea rax, [rdi + 0x400]
mov qword [rsp + 0x2a8], rax
add byte [rax], al
lea r12, [rsp + 0x2b8]
mov dword [rsp + 0x74], eax
mov dword [rsp + 0x70], eax
mov qword [rsp + 0x60], rbp
mov qword [rsp + 0x78], r14
je 0x14005df93
invalid
Function at 0x14006b3e6
Capabilities:
Encrypt data via sspi

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x78
mov r13, r9
mov rsi, rdx
mov rdi, rcx
mov qword [rdx + 0x138], r8
lea rbx, [rsp + 0x28]
mov rcx, rbx
call fcn.14006b629
mov eax, dword [rbx]
cmp eax, 2
je 0x14006b5af
test eax, eax
je 0x14006b562
mov rdx, qword [rsi + 0x1b8]
cmp rdx, qword [rsi + 0x1b0]
jne 0x14006b599
mov rcx, qword [rsp + 0xe0]
mov r15d, dword [rsp + 0x2c]
mov r14, qword [rsp + 0x30]
mov eax, r14d
shr r14, 0x20
cmp rcx, r14
cmovb r14, rcx
lea r12, [r14 + r15]
add rax, r12
lea rbp, [rsi + 0x1a0]
cmp rdx, rax
jae 0x14006b47f
mov rcx, rbp
mov rdx, rax
call fcn.14000e5ec
mov rdx, qword [rsi + 0x1b0]
mov rcx, qword [rbp]
mov r8, r15
mov r9, r12
call fcn.14006d0e9
cmp rdx, r14
jne 0x14006b622
mov rcx, rax
mov rdx, r13
mov r8, r14
call sub.VCRUNTIME140.dll_memcpy
mov rdx, qword [rsi + 0x1b0]
cmp rdx, r15
jb 0x14006b61e
mov r13, qword [rsi + 0x1a0]
mov rcx, r13
mov r8, r15
mov r9, r12
call fcn.14006d0e9
mov rcx, qword [rsi + 0x1b0]
cmp rcx, r12
jb 0x14006b61e
xor r8d, r8d
test rax, rax
cmove edx, r8d
sub ecx, r12d
add r12, qword [rsi + 0x1a0]
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x2c], 7
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x38], edx
mov dword [rsp + 0x3c], 1
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x48], ecx
mov dword [rsp + 0x4c], 6
mov qword [rsp + 0x50], r12
movabs rax, 0x400000000
lea r8, [rsp + 0x68]
mov qword [r8], rax
mov qword [r8 + 8], rbx
lea rcx, [rsi + 0x1c0]
xor edx, edx
xor r9d, r9d
call qword [sym.imp.secur32.dll_EncryptMessage]
test eax, eax
je 0x14006b56e
mov ebx, eax
shl rbx, 0x20
or rbx, 2
jmp 0x14006b5b4
movabs rbx, 0x8009031700000002
jmp 0x14006b5b4
mov eax, dword [rsp + 0x38]
add eax, dword [rsp + 0x28]
add eax, dword [rsp + 0x48]
cmp qword [rsi + 0x1b0], rax
jb 0x14006b58a
mov qword [rsi + 0x1b0], rax
and qword [rsi + 0x1b8], 0
mov qword [rsi + 0x200], r14
lea rbx, [rsp + 0x28]
mov rcx, rbx
mov rdx, rsi
call fcn.14006c1c6
cmp qword [rbx], 0
je 0x14006b60d
mov rbx, qword [rsp + 0x30]
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x28], 1
mov rcx, rbx
call fcn.14001bf6c
cmp al, 0xd
jne 0x14006b5e9
lea rcx, [rsp + 0x30]
mov qword [rdi], 2
and qword [rsi + 0x138], 0
call fcn.14002967e
jmp 0x14006b5fc
mov qword [rdi], 1
mov qword [rdi + 8], rbx
and qword [rsi + 0x138], 0
add rsp, 0x78
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rax, qword [rsi + 0x200]
and qword [rdi], 0
mov qword [rdi + 8], rax
jmp 0x14006b5f4
ud2
call fcn.14000ca30
ud2
Function at 0x14006c2af
Capabilities:
Encrypt data via sspi

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x78
mov r13, r9
mov rsi, rdx
mov rdi, rcx
mov qword [rdx + 0x38], r8
lea rbx, [rsp + 0x28]
mov rcx, rbx
call fcn.14006c4e9
mov eax, dword [rbx]
cmp eax, 2
je 0x14006c475
test eax, eax
je 0x14006c428
mov rdx, qword [rsi + 0xb8]
cmp rdx, qword [rsi + 0xb0]
jne 0x14006c45f
mov rcx, qword [rsp + 0xe0]
mov r15d, dword [rsp + 0x2c]
mov r14, qword [rsp + 0x30]
mov eax, r14d
shr r14, 0x20
cmp rcx, r14
cmovb r14, rcx
lea r12, [r14 + r15]
add rax, r12
lea rbp, [rsi + 0xa0]
cmp rdx, rax
jae 0x14006c345
mov rcx, rbp
mov rdx, rax
call fcn.14000e5ec
mov rdx, qword [rsi + 0xb0]
mov rcx, qword [rbp]
mov r8, r15
mov r9, r12
call fcn.14006d0e9
cmp rdx, r14
jne 0x14006c4e2
mov rcx, rax
mov rdx, r13
mov r8, r14
call sub.VCRUNTIME140.dll_memcpy
mov rdx, qword [rsi + 0xb0]
cmp rdx, r15
jb 0x14006c4de
mov r13, qword [rsi + 0xa0]
mov rcx, r13
mov r8, r15
mov r9, r12
call fcn.14006d0e9
mov rcx, qword [rsi + 0xb0]
cmp rcx, r12
jb 0x14006c4de
xor r8d, r8d
test rax, rax
cmove edx, r8d
sub ecx, r12d
add r12, qword [rsi + 0xa0]
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x2c], 7
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x38], edx
mov dword [rsp + 0x3c], 1
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x48], ecx
mov dword [rsp + 0x4c], 6
mov qword [rsp + 0x50], r12
movabs rax, 0x400000000
lea r8, [rsp + 0x68]
mov qword [r8], rax
mov qword [r8 + 8], rbx
lea rcx, [rsi + 0xc0]
xor edx, edx
xor r9d, r9d
call qword [sym.imp.secur32.dll_EncryptMessage]
test eax, eax
je 0x14006c434
mov ebx, eax
shl rbx, 0x20
or rbx, 2
jmp 0x14006c47a
movabs rbx, 0x8009031700000002
jmp 0x14006c47a
mov eax, dword [rsp + 0x38]
add eax, dword [rsp + 0x28]
add eax, dword [rsp + 0x48]
cmp qword [rsi + 0xb0], rax
jb 0x14006c450
mov qword [rsi + 0xb0], rax
and qword [rsi + 0xb8], 0
mov qword [rsi + 0x100], r14
lea rbx, [rsp + 0x28]
mov rcx, rbx
mov rdx, rsi
call fcn.14006d026
cmp qword [rbx], 0
je 0x14006c4cd
mov rbx, qword [rsp + 0x30]
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x28], 1
mov rcx, rbx
call fcn.14001bf6c
cmp al, 0xd
jne 0x14006c4ac
lea rcx, [rsp + 0x30]
mov qword [rdi], 2
and qword [rsi + 0x38], 0
call fcn.14002967e
jmp 0x14006c4bc
mov qword [rdi], 1
mov qword [rdi + 8], rbx
and qword [rsi + 0x38], 0
add rsp, 0x78
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rax, qword [rsi + 0x100]
and qword [rdi], 0
mov qword [rdi + 8], rax
jmp 0x14006c4b7
ud2
call fcn.14000ca30
ud2
Function at 0x14006d2f2
Capabilities:
Decrypt data via sspi

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x70
mov rax, qword [rdx + 0x98]
cmp qword [rdx + 0x90], rax
jb 0x14006d47c
mov rdi, rdx
mov rsi, rcx
mov rcx, qword [rdx + 0x80]
xorps xmm0, xmm0
lea r8, [rsp + 0x20]
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 + 0x60]
mov qword [rdx], rax
mov qword [rdx + 8], r8
lea rcx, [rdi + 0xc0]
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.secur32.dll_DecryptMessage]
cmp eax, 0x80090318
je 0x14006d3c7
test eax, eax
je 0x14006d3e3
cmp eax, 0x90317
je 0x14006d45c
cmp eax, 0x90321
jne 0x14006d464
mov dword [rdi + 0x40], 0x10000
xor ebx, ebx
mov byte [rdi + 0x44], bl
cmp dword [rsp + 0x54], 5
mov rdx, qword [rdi + 0x98]
mov eax, 0
cmove eax, dword [rsp + 0x50]
sub rdx, rax
mov rcx, rdi
call fcn.14006d286
and qword [rdi + 0xf8], 0
mov byte [rsi + 1], bl
jmp 0x14006d472
cmp dword [rsp + 0x34], 4
mov eax, 1
cmove eax, dword [rsp + 0x30]
mov qword [rdi + 0xf8], rax
mov byte [rsi + 1], 0
jmp 0x14006d460
mov r8, qword [rsp + 0x38]
mov rcx, qword [rdi + 0x80]
mov rdx, qword [rdi + 0x90]
sub r8, rcx
mov r9d, dword [rsp + 0x30]
add r9, r8
lea rbx, [rdi + 0x60]
and qword [rdi + 0x70], 0
call fcn.14006d0e9
lea r8, [rdx + rax]
mov rcx, rbx
mov rdx, rax
call fcn.14000c931
and qword [rdi + 0x78], 0
xor ebx, ebx
cmp dword [rsp + 0x54], 5
mov rdx, qword [rdi + 0x98]
mov eax, dword [rsp + 0x50]
cmovne eax, ebx
sub rdx, rax
mov rcx, rdi
call fcn.14006d286
xor eax, eax
cmp qword [rdi + 0x98], rbx
sete al
mov qword [rdi + 0xf8], rax
mov byte [rsi + 1], 0
jmp 0x14006d472
mov byte [rsi + 1], 1
xor ebx, ebx
jmp 0x14006d472
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov bl, 1
mov byte [rsi], bl
add rsp, 0x70
pop rbx
pop rdi
pop rsi
ret
ud2
Function at 0x14006d682
Capabilities:
Decrypt data via sspi

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x70
mov rax, qword [rdx + 0x198]
cmp qword [rdx + 0x190], rax
jb 0x14006d81e
mov rdi, rdx
mov rsi, rcx
mov rcx, qword [rdx + 0x180]
xorps xmm0, xmm0
lea r8, [rsp + 0x20]
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 + 0x60]
mov qword [rdx], rax
mov qword [rdx + 8], r8
lea rcx, [rdi + 0x1c0]
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.secur32.dll_DecryptMessage]
cmp eax, 0x80090318
je 0x14006d75d
test eax, eax
je 0x14006d77c
cmp eax, 0x90317
je 0x14006d7fe
cmp eax, 0x90321
jne 0x14006d806
mov dword [rdi + 0x140], 0x10000
xor ebx, ebx
mov byte [rdi + 0x144], bl
cmp dword [rsp + 0x54], 5
mov rdx, qword [rdi + 0x198]
mov eax, 0
cmove eax, dword [rsp + 0x50]
sub rdx, rax
mov rcx, rdi
call fcn.14006d616
and qword [rdi + 0x1f8], 0
mov byte [rsi + 1], bl
jmp 0x14006d814
cmp dword [rsp + 0x34], 4
mov eax, 1
cmove eax, dword [rsp + 0x30]
mov qword [rdi + 0x1f8], rax
mov byte [rsi + 1], 0
jmp 0x14006d802
mov r8, qword [rsp + 0x38]
mov rcx, qword [rdi + 0x180]
mov rdx, qword [rdi + 0x190]
sub r8, rcx
mov r9d, dword [rsp + 0x30]
add r9, r8
lea rbx, [rdi + 0x160]
and qword [rdi + 0x170], 0
call fcn.14006d0e9
lea r8, [rdx + rax]
mov rcx, rbx
mov rdx, rax
call fcn.14000c931
and qword [rdi + 0x178], 0
xor ebx, ebx
cmp dword [rsp + 0x54], 5
mov rdx, qword [rdi + 0x198]
mov eax, dword [rsp + 0x50]
cmovne eax, ebx
sub rdx, rax
mov rcx, rdi
call fcn.14006d616
xor eax, eax
cmp qword [rdi + 0x198], rbx
sete al
mov qword [rdi + 0x1f8], rax
mov byte [rsi + 1], 0
jmp 0x14006d814
mov byte [rsi + 1], 1
xor ebx, ebx
jmp 0x14006d814
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov bl, 1
mov byte [rsi], bl
add rsp, 0x70
pop rbx
pop rdi
pop rsi
ret
ud2

Function at 0x14006d822
Capabilities:
Receive data
Receive data on socket

Disassembly:
cmp dword [rcx], 2
jne fcn.14006d834
add rcx, 8
jmp fcn.140093775
Function at 0x14006effa
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, 0x88
movaps xmmword [rsp + 0x70], xmm6
mov rdi, r9
mov rbx, r8
mov r14, rdx
mov rsi, rcx
mov rax, qword [rsp + 0xf0]
cmp dword [rdx], 2
jne 0x14006f18e
mov qword [rsp + 0x38], rsi
lea rsi, [r14 + 8]
lea r13, [rsp + 0x4a]
lea r15, [rsp + 0x62]
mov r12d, 0xffffffff
invalid
dec dword [rcx + rdi - 0x20]
cmovb r12, rax
mov rax, qword [r14 + 0x20]
mov qword [rsp + 0x68], rax
lea rbp, [rsp + 0x40]
xorps xmm6, xmm6
mov qword [rsp + 0x50], r14
mov rdx, qword [r14 + 0x18]
mov rcx, rbp
mov r8, rbx
mov r9b, 1
call fcn.140093551
mov al, byte [rsp + 0x49]
cmp al, 3
je 0x14006f1a9
mov rcx, qword [rsp + 0x40]
cmp al, 2
je 0x14006f1b7
invalid
add dword [rax], eax
invalid
mov dl, byte [rsp + 0x48]
movzx r8d, word [r13 + 4]
mov word [r15 + 4], r8w
mov r8d, dword [r13]
mov dword [r15], r8d
mov qword [rsp + 0x58], rcx
mov byte [rsp + 0x60], dl
mov byte [rsp + 0x61], al
cmp qword [rsp + 0x68], 0xffffffffffffffff
je 0x14006f201
test byte [rbx + 1], al
add byte [rax], al
and dword [rsp + 0x40], 0
mov rcx, qword [r14 + 0x20]
movups xmmword [rsp + 0x28], xmm6
and dword [rsp + 0x20], 0
mov rdx, rdi
mov r8d, r12d
mov r9, rbp
call sub.ws2_32.dll_WSASend
cmp eax, 0xffffffff
jne 0x14006f1c5
call fcn.140088391
mov rbp, rax
mov rcx, rax
call fcn.14001bf6c
cmp al, 0xd
jne 0x14006f163
mov rax, qword [r14 + 0x28]
test rax, rax
je 0x14006f163
mov rcx, qword [rax]
mov rdx, qword [rax + 8]
lock inc qword [rdx]
jle 0x14006f201
mov r14, r12
mov r12, rdi
mov rdi, r15
mov r15, r13
add rcx, 0x10
mov r8, qword [rax + 0x10]
mov r9b, byte [rax + 0x18]
call fcn.140042a73
mov r13, rax
xor ecx, ecx
call fcn.140041dc7
test r13, r13
je 0x14006f152
mov ecx, 1
mov rdx, rbp
call fcn.140042b93
mov rbp, r13
mov r13, r15
mov r15, rdi
mov rdi, r12
mov r12, r14
mov r14, qword [rsp + 0x50]
mov rcx, rbp
call fcn.14008f010
cmp al, 0xd
jne 0x14006f1d8
mov rcx, rsi
lea rdx, [rsp + 0x58]
call fcn.1400934ee
mov rcx, rbp
call fcn.14001be52
lea rbp, [rsp + 0x40]
jmp 0x14006f065
mov qword [rsp + 0x20], rax
mov rcx, rsi
mov rdx, r14
mov r8, rbx
mov r9, rdi
stc
call fcn.14006eac5
mov rax, rsi
jmp 0x14006f1e8
mov rax, qword [rsp + 0x38]
mov qword [rax], 2
add byte [rdx], al
add byte [rax], al
add bl, ch
invalid
mov rax, qword [rsp + 0x38]
mov qword [rax], 1
jmp 0x14006f1d2
mov ecx, dword [rsp + 0x40]
mov rax, qword [rsp + 0x38]
and al, 0x38
and qword [rax], 0
mov qword [rax + 8], rcx
jmp 0x14006f1e8
mov rax, qword [rsp + 0x38]
mov qword [rax], 1
mov qword [rax + 8], rbp
movaps xmm6, xmmword [rsp + 0x70]
add rsp, 0x88
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
ud2
Function at 0x140071a53
Capabilities:
Resolve function by parsing pe exports
Set socket configuration

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x348
add rax, qword [rax]
add byte [rax - 0x77], cl
ror dword [rax - 0x77], cl
and al, 0x50
movzx eax, byte [rdx + 0x378]
test eax, eax
mov qword [rsp + 0x58], r8
je 0x140071aa8
cmp eax, 3
jne case.default.0x140071aa6
mov r15, r8
lea r12, [rbx + 0x1f0]
add dword [rax], eax
add byte [rdi], cl
mov dh, 0x83
add byte [rdx], 0
add byte [rax - 0x73], cl
or eax, 0x87625
movsxd rax, dword [rcx + rax*4]
add rax, rcx
jmp rax
mov rax, qword [rbx]
mov rcx, qword [rbx + 8]
mov qword [rbx + 0x10], rax
adc byte [rax - 0x77], cl
sbb byte [r8 - 0x7d], cl
invalid
and byte [rax], al
mov qword [rbx + 0x40], rax
Function at 0x14007a8dc
Capabilities:
Query or enumerate registry value

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x68
mov rax, r8
mov r14, rdx
mov rsi, rcx
lea rdi, [rsp + 0x50]
mov r8d, 0xb
mov rcx, rdi
mov rdx, rax
call fcn.14007a7af
lea r13, [rsp + 0x30]
mov dword [r13], 0x800
lea r15, [rsp + 0x34]
and dword [r15], 0
mov ecx, 0x800
call fcn.14000cc9a
mov rbx, rax
lea r12, [rsp + 0x38]
mov qword [r12], rax
mov qword [r12 + 8], rdx
and qword [r12 + 0x10], 0
mov rdi, qword [rdi]
mov rbp, qword [sym.imp.advapi32.dll_RegQueryValueExW]
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], rbx
mov rcx, r14
mov rdx, rdi
xor r8d, r8d
mov r9, r15
call rbp
cmp eax, 0xea
jne 0x14007a97e
mov edx, dword [rsp + 0x30]
mov rcx, r12
call fcn.14000c974
mov rbx, qword [rsp + 0x38]
jmp 0x14007a94c
test eax, eax
jne 0x14007a9a0
mov eax, dword [rsp + 0x30]
mov qword [rsp + 0x48], rax
mov eax, dword [rsp + 0x34]
cmp eax, 0xb
jbe 0x14007a9be
movabs rax, 0xde00000002
jmp 0x14007a9a8
shl rax, 0x20
or rax, 2
mov qword [rsi], rax
mov byte [rsi + 0x18], 0xc
mov rdx, qword [rsp + 0x40]
mov rcx, rbx
call fcn.14000cbda
jmp 0x14007a9d2
mov rcx, qword [rsp + 0x48]
mov qword [rsi + 0x10], rcx
movups xmm0, xmmword [rsp + 0x38]
movups xmmword [rsi], xmm0
mov byte [rsi + 0x18], al
mov rdx, qword [rsp + 0x58]
mov rcx, rdi
call fcn.14008837b
nop
add rsp, 0x68
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x14008305f
Capabilities:
Get client handle via schannel
Get outbound credentials handle via credssp

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0xb8
xorps xmm0, xmm0
movaps xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0xa8], xmm0
movups xmmword [rsp + 0x98], xmm0
movups xmmword [rsp + 0x88], xmm0
movups xmmword [rsp + 0x78], xmm0
mov dword [rsp + 0x68], 4
mov dword [rsp + 0xb0], 0x400010
mov rax, qword [rcx + 0x18]
test rax, rax
je 0x1400830c2
mov edx, dword [rcx + 0x28]
mov dword [rsp + 0x90], edx
mov qword [rsp + 0x98], rax
mov rax, qword [rcx + 0x30]
test rax, rax
je 0x1400830f8
mov r8, qword [rcx + 0x40]
xor edx, edx
test r8, r8
je 0x1400830f1
lea r9, [0x1400f7738]
xor r10d, r10d
movzx r11d, byte [rax + r10]
or edx, dword [r9 + r11*4]
inc r10
cmp r8, r10
jne 0x1400830e0
mov dword [rsp + 0xa0], edx
mov r15, qword [rcx + 0x10]
lea rsi, [r15*8]
test r15, r15
je 0x140083149
mov rax, r15
shr rax, 0x3c
jne 0x14008320b
mov rbx, qword [rcx]
mov ecx, 8
mov rdx, rsi
call fcn.14008ed7a
test rax, rax
je 0x140083212
mov rdi, rax
xor eax, eax
mov rcx, qword [rbx + rax*8]
mov qword [rdi + rax*8], rcx
inc rax
cmp r15, rax
jne 0x140083134
mov eax, r15d
jmp 0x140083150
xor eax, eax
mov edi, 8
lea rcx, [rsp + 0x68]
mov dword [rcx + 4], eax
mov qword [rcx + 8], rdi
lea rax, [rsp + 0x50]
mov qword [rsp + 0x38], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
mov qword [rsp + 0x20], rcx
and qword [rsp + 0x40], 0
lea rdx, [0x1400d0cd8]
xor ecx, ecx
mov r8d, 2
xor r9d, r9d
call qword [sym.imp.secur32.dll_AcquireCredentialsHandleA]
test eax, eax
je 0x1400831a7
mov ebx, eax
shl rbx, 0x20
or rbx, 2
mov r14d, 1
jmp 0x1400831df
mov r14, qword [rsp + 0x50]
mov r12, qword [rsp + 0x58]
mov ecx, 8
mov edx, 0x20
call fcn.14008ed7a
test rax, rax
je 0x14008321c
mov rbx, rax
mov eax, 1
mov qword [rbx], rax
mov qword [rbx + 8], rax
mov qword [rbx + 0x10], r14
mov qword [rbx + 0x18], r12
xor r14d, r14d
test r15, r15
je 0x1400831f4
mov edx, 8
mov rcx, rdi
mov r8, rsi
call fcn.140002771
mov rax, r14
mov rdx, rbx
add rsp, 0xb8
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
call fcn.14000ca30
ud2
mov ecx, 8
mov rdx, rsi
jmp 0x140083226
mov ecx, 8
mov edx, 0x20
call fcn.14009f43b
ud2

Function at 0x14008370d
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 0x140083737
mov rdx, qword [rsp + 0x20]
jmp 0x14008373f
shl rdx, 0x20
or rdx, 2
mov al, cl
add rsp, 0x28
ret
Function at 0x140084802
Capabilities:
Hash data using murmur3

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
mov rsi, qword [rsp + 0x58]
mov eax, dword [rdx]
mov edi, r8d
rol edi, 0x19
mov r10d, dword [rdx + 4]
mov ebx, eax
rol ebx, 0x19
mov r11d, dword [rdx + 8]
mov ebp, r10d
rol ebp, 0x19
mov r14d, r11d
rol r14d, 0x19
mov r15d, r8d
rol r15d, 0xe
xor r15d, edi
mov edi, eax
rol edi, 0xe
xor edi, ebx
mov ebx, r10d
rol ebx, 0xe
xor ebx, ebp
mov ebp, r11d
rol ebp, 0xe
xor ebp, r14d
shr r8d, 3
xor r8d, r15d
add r8d, eax
shr eax, 3
xor eax, edi
add eax, r10d
shr r10d, 3
xor r10d, ebx
add r10d, r11d
shr r11d, 3
xor r11d, ebp
add r11d, dword [rdx + 0xc]
add r8d, dword [rsi + 0xc]
add eax, dword [r9]
add r10d, dword [r9 + 4]
add r11d, dword [r9 + 8]
mov edx, dword [rsi + 4]
mov edi, edx
rol edi, 0xf
mov r9d, dword [rsi]
mov esi, edx
rol esi, 0xd
xor esi, edi
shr edx, 0xa
xor edx, esi
add edx, r11d
mov r11d, r9d
rol r11d, 0xf
mov esi, r9d
rol esi, 0xd
xor esi, r11d
shr r9d, 0xa
xor r9d, esi
mov r11d, edx
rol r11d, 0xf
add r9d, r10d
mov r10d, edx
rol r10d, 0xd
xor r10d, r11d
mov r11d, edx
shr r11d, 0xa
xor r11d, r10d
add r11d, eax
mov eax, r9d
rol eax, 0xf
mov r10d, r9d
rol r10d, 0xd
xor r10d, eax
mov eax, r9d
shr eax, 0xa
xor eax, r10d
add eax, r8d
mov dword [rcx], eax
mov dword [rcx + 4], r11d
mov dword [rcx + 8], r9d
mov dword [rcx + 0xc], edx
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret