joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140054d71
Capabilities:
Check for software breakpoints

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
mov eax, 0x2068
call fcn.1400a1b80
sub rsp, rax
movaps xmmword [rsp + 0x2050], xmm8
movaps xmmword [rsp + 0x2040], xmm7
movaps xmmword [rsp + 0x2030], xmm6
mov rbx, rdx
mov r14, rcx
lea r15, [rcx + 0x198]
mov eax, 0xe0
lea rsi, [rsp + 0x13b0]
lea rcx, [rsi + rax]
mov qword [rsp + 0x2d8], rcx
lea rcx, [rsp + 0x110]
add rax, rcx
mov qword [rsp + 0x2e0], rax
mov eax, 0xb8
lea rcx, [rsi + rax]
mov qword [rsp + 0x2d0], rcx
lea rcx, [rsp + 0x2f8]
add rcx, rax
mov qword [rsp + 0x2c0], rcx
add rax, r14
mov qword [rsp + 0x2b8], rax
xorps xmm6, xmm6
lea rdi, [r14 + 0x1b1]
lea rax, [r14 + 0x170]
mov qword [rsp + 0x108], rax
lea rax, [r14 + 0xc8]
mov qword [rsp + 0x2f0], rax
lea rax, [r14 + 0x10]
mov qword [rsp + 0x270], rax
lea rax, [r14 + 0x148]
mov qword [rsp + 0xf8], rax
lea rax, [r14 + 0x18]
mov qword [rsp + 0x2a0], rax
lea rax, [r14 + 8]
mov qword [rsp + 0x2a8], rax
lea r13, [r14 + 0xf8]
lea rax, [r14 + 0x118]
mov qword [rsp + 0x268], rax
lea rax, [r14 + 0x180]
mov qword [rsp + 0x2e8], rax
lea rax, [r14 + 0xa1]
mov qword [rsp + 0x2c8], rax
lea rax, [r14 + 0x99]
mov qword [rsp + 0x2b0], rax
lea rbp, [rsp + 0x710]
lea r12, [rsp + 0x400]
mov qword [rsp + 0x230], rax
mov qword [rsp + 0x100], rax
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rax
xor eax, eax
mov qword [rsp + 0x68], rdx
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x28], rdi
Function at 0x14007eb42
Capabilities:
Query or enumerate registry value

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x70
mov rax, r8
mov r14, rdx
mov rsi, rcx
lea rdi, [rsp + 0x58]
mov r8d, 0xb
mov rcx, rdi
mov rdx, rax
call fcn.14007ec6a
lea r13, [rsp + 0x38]
mov dword [r13], 0x800
lea r15, [rsp + 0x3c]
and dword [r15], 0
mov ecx, 0x800
call fcn.1400862c7
mov rbx, rax
lea r12, [rsp + 0x40]
mov qword [r12], rax
mov qword [r12 + 8], rdx
and qword [r12 + 0x10], 0
mov rdi, qword [rdi]
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], rbx
mov rcx, r14
mov rdx, rdi
xor r8d, r8d
mov r9, r15
call sub.advapi32.dll_RegQueryValueExW
cmp eax, 0xea
jne 0x14007ebdf
mov edx, dword [rsp + 0x38]
mov rcx, r12
call fcn.14001092c
mov rbx, qword [rsp + 0x40]
jmp 0x14007ebaa
test eax, eax
jne 0x14007ec01
mov eax, dword [rsp + 0x38]
mov qword [rsp + 0x50], rax
mov eax, dword [rsp + 0x3c]
cmp eax, 0xb
jbe 0x14007ec1f
movabs rax, 0xde00000002
jmp 0x14007ec09
shl rax, 0x20
or rax, 2
mov qword [rsi], rax
mov byte [rsi + 0x18], 0xc
mov rdx, qword [rsp + 0x48]
mov rcx, rbx
call fcn.140010c6f
jmp 0x14007ec33
mov rcx, qword [rsp + 0x50]
mov qword [rsi + 0x10], rcx
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rsi], xmm0
mov byte [rsi + 0x18], al
mov rdx, qword [rsp + 0x60]
mov rcx, rdi
call fcn.140085aa1
nop
add rsp, 0x70
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret

Function at 0x1400828e9
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, 0xc0
rol byte [rax], 0
add byte [rdi], cl
sub dword [rsp + 0xb0], esi

Function at 0x140082f84
Capabilities:
Get remote cert context via schannel

Disassembly:
sub rsp, 0x28
lea r8, [rsp + 0x20]
and qword [r8], 0
and dword [rax], 0
mov edx, 0x53
call qword [sym.imp.secur32.dll_QueryContextAttributesW]
adc eax, 0x2355c
mov edx, eax
Function at 0x14008a272
Capabilities:
Create thread

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x38
mov rdi, r8
mov rbx, rdx
mov r14, rcx
mov ecx, 0x10
mov edx, 8
call fcn.14008a1fe
mov rsi, rax
mov qword [rax], rbx
mov qword [rax + 8], rdi
and qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x10000
lea r8, [0x14008a301]
xor edi, edi
xor ecx, ecx
mov rdx, r14
mov r9, rax
call qword [sym.imp.kernel32.dll_CreateThread]
mov rdx, rax
test rax, rax
jne 0x14008a2f4
mov rcx, qword [rsi]
mov rax, qword [rsi + 8]
call qword [rax]
mov rcx, qword [rsi]
mov rdx, qword [rsi + 8]
call fcn.1400895e8
mov rcx, rsi
call fcn.140003b79
mov edi, 1
call fcn.14003f61f
mov rdx, rax
mov rax, rdi
add rsp, 0x38
pop rbx
pop rdi
pop rsi
pop r14
ret

Function at 0x14008a761
Capabilities:
Query environment variable

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x478
mov rdi, rcx
lea rbx, [rsp + 0x78]
mov rcx, rbx
call fcn.140089e7a
lea rsi, [rsp + 0x40]
mov rcx, rsi
mov rdx, rbx
call fcn.14008a933
mov rax, qword [rsi]
mov qword [rsp + 0x38], rax
test rax, rax
je 0x14008a8b7
mov qword [rsp + 0x30], rdi
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x60]
mov qword [rax], 2
xorps xmm0, xmm0
movups xmmword [rax + 8], xmm0
mov r8d, 0x200
mov r12d, 2
xor r15d, r15d
mov r14d, 0xffffffff
xor r13d, r13d
cmp r8, 0x201
jae 0x14008a7f7
lea rbp, [rsp + 0x78]
mov edi, 0x200
mov rbx, r8
jmp 0x14008a82c
sub r8, r13
lea rcx, [rsp + 0x60]
mov rdx, r8
call fcn.140084968
mov r12, qword [rsp + 0x60]
mov r15, qword [rsp + 0x68]
cmp r15, r14
mov r13d, 0xffffffff
cmovb r13, r15
mov qword [rsp + 0x70], r13
mov rbp, r12
mov rdi, r13
mov rbx, r13
xor ecx, ecx
call qword [sym.imp.kernel32.dll_SetLastError]
mov rcx, qword [rsp + 0x38]
mov rdx, rbp
mov r8d, ebx
call qword [sym.imp.kernel32.dll_GetEnvironmentVariableW]
mov esi, eax
test eax, eax
jne 0x14008a855
call qword [sym.imp.kernel32.dll_GetLastError]
test eax, eax
jne 0x14008a8bd
mov r8d, esi
cmp rbx, r8
jne 0x14008a87e
call qword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 0x7a
jne 0x14008a92f
add rbx, rbx
cmp rbx, r14
cmovae rbx, r14
mov r8, rbx
jmp 0x14008a7df
jb 0x14008a7df
cmp rdi, r8
jb 0x14008a92f
lea rsi, [rsp + 0x40]
mov rcx, rsi
mov rdx, rbp
call fcn.140085ad0
mov bl, byte [rsi + 0x18]
mov rcx, r12
mov rdx, r15
call fcn.140085aa1
cmp bl, 2
jne 0x14008a8f2
mov rbx, qword [rsp + 0x40]
jmp 0x14008a8da
mov byte [rdi + 0x18], 2
jmp 0x14008a91a
call fcn.14003f61f
mov rbx, rax
mov qword [rsp + 0x40], rax
mov byte [rsp + 0x58], 2
mov rcx, r12
mov rdx, r15
call fcn.140085aa1
mov rax, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x28]
mov byte [rax + 0x18], 2
mov rcx, rbx
call fcn.14001e441
jmp 0x14008a90d
movups xmm0, xmmword [rsp + 0x40]
movups xmm1, xmmword [rsp + 0x50]
mov rax, qword [rsp + 0x30]
movups xmmword [rax + 0x10], xmm1
movups xmmword [rax], xmm0
mov rsi, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x38]
mov rdx, rsi
call fcn.140085aa1
nop
add rsp, 0x478
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
ud2
Function at 0x14008ae8d
Capabilities:
Read file on windows

Disassembly:
push rsi
push rdi
sub rsp, 0xa8
mov rdi, rdx
mov rsi, rcx
movups xmm0, xmmword [0x1400d7b80]
lea rax, [rsp + 0x60]
and al, 0x60
movaps xmmword [rax], xmm0
mov ecx, 0xffffffff
cmp r9, rcx
cmovb rcx, r9
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
mov dword [rsp + 0x30], ecx
mov qword [rsp + 0x28], r8
mov qword [rsp + 0x20], rax
mov rcx, rdx
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ntdll.dll_NtReadFile]
cmp eax, 0x103
jne 0x14008aef7
mov rcx, rdi
mov edx, 0xffffffff
call qword [sym.imp.kernel32.dll_WaitForSingleObject]
mov eax, dword [rsp + 0x60]
cmp eax, 0xc0000011
jne 0x14008af06
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
jmp 0x14008af3b
cmp eax, 0x103
je 0x14008af45
test eax, eax
js 0x14008af20
mov rax, qword [rsp + 0x68]
mov qword [rsi + 8], rax
and qword [rsi], 0
jmp 0x14008af3b
mov ecx, eax
call qword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov qword [rsi], 1
add rsp, 0xa8
pop rdi
pop rsi
ret
lea rcx, [rsp + 0x58]
mov byte [rcx + 4], 0
and dword [rcx], 0
lea rax, [0x1400d7be0]
lea rdx, [rsp + 0x78]
mov qword [rdx], rax
mov qword [rdx + 8], 1
add byte [rax], al
lea rax, [rsp + 0x50]
mov qword [rdx + 0x10], rax
xorps xmm0, xmm0
movups xmmword [rdx + 0x18], xmm0
call fcn.140086f87
mov rcx, rax
call fcn.14003ee28
mov ecx, 7
int 0x29
ud2

Function at 0x14008c212
Capabilities:
Resolve dns

Disassembly:
push rsi
push rdi
sub rsp, 0x68
mov rax, r8
mov edi, edx
mov rsi, rcx
xorps xmm0, xmm0
lea r8, [rsp + 0x30]
movaps xmmword [r8], xmm0
movaps xmmword [r8 + 0x20], xmm0
and byte [rcx + 0xf], al
sub dword [rax + 0x10], eax
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]
adc eax, 0x1a316
test eax, eax
je 0x14008c266
call fcn.140086394
mov qword [rsi + 8], rax
mov eax, 1
jmp 0x14008c279
mov rax, qword [rsp + 0x28]
mov qword [rsi + 8], rax
mov qword [rsi + 0x10], rax
mov word [rsi + 0x18], di
xor eax, eax
mov qword [rsi], rax
add rsp, 0x68
pop rdi
pop rsi
ret

Function at 0x14008c29d
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 0x14008c2ef
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 0x14008c2ef
mov rax, qword [sym.imp.ws2_32.dll_WSACleanup]
mov qword [rdi], rax
add rsp, 0x1b8
pop rdi
pop rsi
ret
ud2
Function at 0x14008c794
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x58
mov rsi, rcx
lea rdi, [rsp + 0x40]
mov rcx, rdi
call fcn.14008c801
lea rbx, [rsp + 0x28]
mov rcx, rbx
mov rdx, rdi
call fcn.14008a933
mov rdi, qword [rbx]
test rdi, rdi
je 0x14008c7f2
mov rbx, qword [rsp + 0x30]
mov r14, qword [rsp + 0x38]
mov rcx, rdi
call qword [sym.imp.kernel32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14008c7e7
mov qword [rsi + 8], rbx
mov qword [rsi + 0x10], r14
jmp 0x14008c7f4
mov rcx, rdi
mov rdx, rbx
call fcn.140085aa1
xor edi, edi
mov qword [rsi], rdi
add rsp, 0x58
pop rbx
pop rdi
pop rsi
pop r14
ret

Function at 0x14008cd73
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x40
mov ebx, r8d
mov rdi, rdx
mov rsi, rcx
mov r14, qword [rdx]
lea rcx, [rdx + 8]
call fcn.14008cf56
test rax, rax
jne 0x14008cec1
xor bl, 1
test r14, r14
movzx ecx, bl
mov eax, 2
cmove eax, ecx
mov r12, qword [rdi + 8]
mov rdi, qword [rdi + 0x18]
test al, al
je 0x14008cdf1
movzx eax, al
cmp eax, 1
jne 0x14008cddf
xor eax, eax
cmp rdi, rax
je 0x14008cde7
movzx ecx, byte [r12 + rax]
cmp ecx, 9
je 0x14008cdf1
inc rax
cmp ecx, 0x20
jne 0x14008cdc6
jmp 0x14008cdf1
xor r14d, r14d
xor r15d, r15d
jmp 0x14008ce03
test rdi, rdi
je 0x14008cdf1
mov r14b, 1
jmp 0x14008cde2
mov rcx, rsi
mov dx, 0x22
call fcn.14008a076
mov r14b, 1
mov r15b, 1
add rdi, r12
lea rbx, [rsp + 0x28]
mov qword [rbx], r12
mov qword [rbx + 8], rdi
and word [rbx + 0x10], 0
xor edi, edi
mov rcx, rbx
call fcn.140084842
invalid
jmp qword [rsi - 0x7b]
invalid
je case.0x140080dbe.132
mov ebp, edx
test r14b, r14b
je 0x14008ce7b
invalid
cmp bp, 0x22
je 0x14008ce40
movzx eax, bp
cmp eax, 0x5c
jne 0x14008ce79
inc rdi
jmp 0x14008ce7b
mov rdx, rdi
inc rdx
je 0x14008ced3
invalid
xchg dword [rax], eax
add byte [rax], al
invalid
mov rcx, rsi
call fcn.140084968
mov rcx, qword [rsi]
mov rax, qword [rsi + 0x10]
mov eax, dword [rsi + 0x10]
sub rdi, 1
jb case.0x14007c078.143
mov word [rcx + rax*2], 0x5c
inc rax
jmp case.0x14007c078.141
mov word [rcx + rax*2], 0x5c
inc rax
mov qword [rsi + 0x10], rax
xor edi, edi
mov rcx, rsi
mov edx, ebp
call fcn.14008a076
invalid
invalid
jmp 0x14008ce19
test r15b, r15b
je 0x14008cebf
mov rcx, rsi
mov rdx, rdi
call fcn.140084968
jp 0x14008ce95
dec dword [rax - 0x75]
invalid
mov rax, qword [rsi + 0x10]
sub rdi, 1
jb 0x14008ceaf
mov word [rcx + rax*2], 0x5c
inc rax
jmp 0x14008ce9e
mov qword [rsi + 0x10], rax
mov rcx, rsi
mov ecx, esi
mov dx, 0x22
call fcn.14008a076
xor edx, edx
mov rax, rdx
add rsp, 0x40
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop rsp
pop r14
pop r15
ret
ud2
Function at 0x14008d760
Capabilities:
Generate random numbers via winapi

Disassembly:
sub rsp, 0x38
xorps xmm0, xmm0
lea rdx, [rsp + 0x20]
movaps xmmword [rdx], xmm0
xor ecx, ecx
mov r8d, 0x10
mov r9d, 2
call qword [sym.imp.bcrypt.dll_BCryptGenRandom]
test eax, eax
js 0x14008d793
mov rax, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x28]
jmp 0x14008d798
call fcn.14008d79e
nop
add rsp, 0x38
ret

Function at 0x14008d79e
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
sub rsp, 0x38
xorps xmm0, xmm0
lea rcx, [rsp + 0x20]
movaps xmmword [rcx], xmm0
mov edx, 0x10
call qword [sym.imp.advapi32.dll_SystemFunction036]
test al, al
je 0x14008d7cb
mov rax, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x28]
add rsp, 0x38
ret
call fcn.14003f61f
ud2
Function at 0x1400906d7
Capabilities:
Read file on windows

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x40
cmp qword [rdx], 0
jne 0x140090818
mov rdi, rdx
mov rsi, rcx
mov rbx, qword [rdx + 0x18]
mov r8, qword [rbx + 8]
test r8, r8
jne 0x14009070c
mov edx, 0x10
mov rcx, rbx
call fcn.14001092c
mov r8, qword [rbx + 8]
mov rdx, qword [rbx + 0x10]
cmp r8, rdx
jne 0x14009072a
mov edx, 1
mov rcx, rbx
call fcn.14001092c
mov r8, qword [rbx + 8]
mov rdx, qword [rbx + 0x10]
sub r8, rdx
add rdx, qword [rbx]
mov rax, qword [rdi + 0x10]
mov ecx, 0xffffffff
cmp r8, rcx
cmovae r8, rcx
lea r9, [rsp + 0x2c]
and dword [r9], 0
mov rcx, qword [rdi + 0x20]
mov qword [rsp + 0x20], rax
call sub.kernel32.dll_ReadFile
test eax, eax
je 0x140090776
mov ebx, dword [rsp + 0x2c]
mov eax, 2
test rbx, rbx
je 0x1400907a4
mov qword [rdi], rax
mov qword [rdi + 8], rbx
mov byte [rsi + 1], 1
jmp 0x1400907a8
call fcn.14003f61f
mov rbx, rax
mov rcx, rax
call fcn.140087109
mov ecx, eax
mov r8d, 1
mov r9d, 0x3e5
call fcn.14008712f
test al, al
je 0x1400907ac
lea rax, [rsp + 0x30]
jmp 0x1400907d9
mov byte [rsi + 1], 0
xor eax, eax
jmp 0x1400907fb
mov rcx, rbx
call fcn.140087109
mov ecx, eax
mov r8d, 1
mov r9d, 0x6d
call fcn.14008712f
test al, al
je 0x1400907f5
mov qword [rsp + 0x30], 1
lea rax, [rsp + 0x38]
and qword [rax], 0
mov rcx, rbx
call fcn.14001e441
mov rax, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x38]
cmp rax, 2
jne 0x140090805
mov qword [rsi + 8], rbx
mov al, 1
mov byte [rsi], al
add rsp, 0x40
pop rbx
pop rdi
pop rsi
ret
test rax, rax
jne 0x14009075f
mov eax, 1
jmp 0x140090769
ud2
Function at 0x14009510b
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword [0x1401013cc]
mov rdx, qword gs:[0x58]
mov rax, qword [rdx + rax*8]
cmp qword [rax + 0x98], 0
je 0x14009510b
mov eax, dword [0x1401013cc]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
lea rax, [rax + 0xa0]
ret
push rsi
push rdi
sub rsp, 0x88
mov rsi, rcx
mov eax, dword [0x1401013cc]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
movzx eax, byte [rax + 0xd0]
test rax, rax
je 0x140095142
cmp eax, 1
je 0x14009516f
xor esi, esi
jmp 0x140095242
mov eax, dword [0x1401013cc]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
lea rdi, [rax + 0x98]
lea rdx, [0x14009524f]
mov rcx, rdi
call fcn.140089836
mov byte [rdi + 0x38], 1
mov edi, 3
test rsi, rsi
je 0x1400951dc
mov rax, qword [rsi + 0x30]
mov qword [rsp + 0x50], rax
movups xmm0, xmmword [rsi]
movups xmm1, xmmword [rsi + 0x10]
movups xmm2, xmmword [rsi + 0x20]
movaps xmmword [rsp + 0x40], xmm2
and qword [rsi], 0
movaps xmmword [rsp + 0x30], xmm1
movaps xmmword [rsp + 0x20], xmm0
cmp qword [rsp + 0x20], 0
je 0x1400951d2
mov rax, qword [rsp + 0x28]
mov rdi, qword [rsp + 0x30]
movups xmm0, xmmword [rsp + 0x38]
movaps xmmword [rsp + 0x60], xmm0
mov rcx, qword [rsp + 0x48]
mov qword [rsp + 0x70], rcx
mov rcx, qword [rsp + 0x50]
mov qword [rsp + 0x78], rcx
jmp 0x1400951de
lea rcx, [rsp + 0x20]
call fcn.140093a2f
xor eax, eax
mov ecx, dword [0x1401013cc]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
lea rsi, [rcx + 0xa0]
mov rdx, qword [rsi + 0x28]
lea rcx, [rsp + 0x20]
mov qword [rcx + 0x30], rdx
movups xmm0, xmmword [rsi + 0x18]
movaps xmmword [rcx + 0x20], xmm0
movups xmm0, xmmword [rsi + 8]
movaps xmmword [rcx + 0x10], xmm0
movups xmm0, xmmword [rsi - 8]
movaps xmmword [rcx], xmm0
mov qword [rsi - 8], 1
mov qword [rsi], rax
mov qword [rsi + 8], rdi
movaps xmm0, xmmword [rsp + 0x60]
movaps xmm1, xmmword [rsp + 0x70]
movups xmmword [rsi + 0x10], xmm0
movups xmmword [rsi + 0x20], xmm1
call fcn.140093a2f
mov rax, rsi
add rsp, 0x88
pop rdi
pop rsi
ret

Function at 0x1400968ca
Capabilities:
Encode data using xor

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

Function at 0x140097b06
Capabilities:
Set socket configuration

Disassembly:
sub rsp, 0x38
test rcx, rcx
je 0x140097b4a
movzx eax, r8b
lea r9, [rsp + 0x34]
mov dword [r9], eax
mov rcx, qword [rdx]
mov dword [rsp + 0x20], 4
mov edx, 6
mov r8d, 1
call sub.ws2_32.dll_setsockopt
cmp eax, 0xffffffff
je 0x140097b3f
xor eax, eax
jmp 0x140097b44
call fcn.140086394
nop
add rsp, 0x38
ret
ud2
Function at 0x1400a209c
Capabilities:
Parse pe header

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

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
push rbx
sub rsp, 0x60
xor ebx, ebx
mov dword [rax + 0x10], 0
mov word [rax + 0x14], 0x500
lea rax, [rax + 0x18]
mov qword [rsp + 0x50], rax
lea rcx, [rsp + 0x78]
mov dword [rsp + 0x48], ebx
mov r9d, 0x220
mov dword [rsp + 0x40], ebx
lea r8d, [rbx + 0x20]
mov dword [rsp + 0x38], ebx
mov dl, 2
mov dword [rsp + 0x30], ebx
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], ebx
call qword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
mov dword [rsp + 0x70], eax
test eax, eax
je 0x1800016d0
mov rdx, qword [rsp + 0x80]
lea r8, [rsp + 0x70]
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
mov ecx, dword [rsp + 0x70]
test eax, eax
cmove ecx, ebx
mov dword [rsp + 0x70], ecx
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.ADVAPI32.dll_FreeSid]
movzx eax, byte [rsp + 0x70]
add rsp, 0x60
pop rbx
ret
Function at 0x180002ff0
Capabilities:
Connect to http server
Create http request

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
mov rbx, r8
mov dword [rsp + 0x68], 0x3a980
mov edi, edx
mov rsi, rcx
call fcn.180008110
mov ecx, 1
call fcn.180005e60
test al, 8
mov r10d, 0x84400200
mov eax, 0x84c03200
mov ecx, 0x32
cmovne r10d, eax
mov dword [0x181777700], r10d
call fcn.180005e60
cmp ax, 1
jne 0x180003057
bts r10d, 0x13
mov dword [0x181777700], r10d
mov ecx, 0x23
call fcn.180005e60
movzx r10d, ax
xor ebp, ebp
test r10d, r10d
je 0x180003097
sub r10d, 1
je 0x18000308e
sub r10d, 1
je 0x180003087
cmp r10d, 2
je 0x180003097
mov rax, qword [0x181776720]
jmp 0x1800030c0
xor r8d, r8d
xor edx, edx
jmp 0x1800030a9
xor r8d, r8d
lea edx, [r8 + 1]
jmp 0x1800030a9
mov ecx, 0x20
call fcn.180005e80
mov r8, rax
mov edx, 3
xor r9d, r9d
mov dword [rsp + 0x20], ebp
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetOpenA]
mov qword [0x181776720], rax
mov r9d, 4
lea r8, [rsp + 0x68]
mov rcx, rax
lea edx, [r9 + 1]
call qword [sym.imp.WININET.dll_InternetSetOptionA]
mov rcx, qword [0x181776720]
lea r8, [rsp + 0x68]
mov r9d, 4
lea edx, [r9 + 2]
call qword [sym.imp.WININET.dll_InternetSetOptionA]
mov rax, qword [0x181777708]
xor r9d, r9d
mov rcx, qword [0x181776720]
movzx r8d, di
mov qword [rsp + 0x38], rax
mov rdx, rsi
mov dword [rsp + 0x30], ebp
mov dword [rsp + 0x28], 3
mov qword [rsp + 0x20], rbp
call qword [sym.imp.WININET.dll_InternetConnectA]
mov ecx, 0x23
mov qword [0x181776730], rax
mov r11, rax
call fcn.180005e60
cmp ax, 4
jne 0x18000319c
mov ecx, 0x21
call fcn.180005e90
mov ecx, 0x21
mov r10d, eax
call fcn.180005e80
mov r8, rax
mov r9d, r10d
mov edx, 0x2b
mov rcx, r11
call qword [sym.imp.WININET.dll_InternetSetOptionA]
mov ecx, 0x22
call fcn.180005e90
mov ecx, 0x22
mov r10d, eax
call fcn.180005e80
mov rcx, qword [0x181776730]
mov r8, rax
mov r9d, r10d
mov edx, 0x2c
call qword [sym.imp.WININET.dll_InternetSetOptionA]
call fcn.180008130
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret

Function at 0x1800032b0
Capabilities:
Check http status code

Disassembly:
mov rax, rsp
push rbx
sub rsp, 0x130
xor ebx, ebx
mov dword [rax + 0x10], 0x100
lea r9, [rax + 0x10]
mov qword [rsp + 0x20], rbx
lea r8, [rsp + 0x30]
lea edx, [rbx + 0x13]
call qword [sym.imp.WININET.dll_HttpQueryInfoA]
test eax, eax
jne 0x1800032e8
add rsp, 0x130
pop rbx
ret
lea rcx, [rsp + 0x30]
call qword [sym.imp.msvcrt.dll_atoi]
cmp eax, 0xc8
sete bl
mov eax, ebx
add rsp, 0x130
pop rbx
ret
Function at 0x180003310
Capabilities:
Send data
Send http request

Disassembly:
push rbp
push rbx
push r12
lea rbp, [rsp - 0x410]
sub rsp, 0x510
mov rbx, rcx
lea rax, [0x1800113f0]
xor r12d, r12d
mov qword [rbp - 0x80], rax
lea rcx, [rbp + 0x10]
mov qword [rbp - 0x78], r12
xor edx, edx
mov r8d, 0x400
call sub.msvcrt.dll_memset
xor edx, edx
lea rcx, [rbp - 0x70]
mov r8d, 0x80
call sub.msvcrt.dll_memset
mov edx, dword [0x181776718]
xor eax, eax
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], rax
test edx, edx
je 0x180003586
mov qword [rsp + 0x530], rsi
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x538], rdi
mov qword [rsp + 0x540], r14
mov qword [rsp + 0x548], r15
call fcn.1800072e0
mov rcx, qword [rsp + 0x50]
lea r8, [0x180011390]
mov r9, rbx
mov edx, 0x400
call fcn.180001090
mov rcx, qword [0x181777680]
mov rax, qword [rcx]
call qword [rax + 0x18]
lea r8, [0x1800113f4]
mov edx, 0x80
mov r9d, eax
lea rcx, [rbp - 0x70]
call fcn.180001090
lea rax, [rbp - 0x70]
or r10, 0xffffffffffffffff
inc r10
cmp byte [rax + r10], r12b
jne 0x180003403
mov ecx, ntohl
call fcn.180005e80
mov rcx, rax
lea r8, [rbp - 0x70]
mov eax, dword [0x181776718]
lea rdx, [rsp + 0x40]
mov dword [rsp + 0x28], eax
mov r9d, r10d
mov rax, qword [0x181776728]
mov qword [rsp + 0x20], rax
call fcn.1800067e0
mov rcx, qword [rsp + 0x48]
or rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp byte [rcx + rax], r12b
jne 0x180003450
mov r9, qword [rsp + 0x50]
mov edx, 0x400
test rax, rax
jne 0x18000347a
lea r8, [0x180011390]
lea rcx, [rbp + 0x10]
call fcn.180001090
jmp 0x18000348f
mov qword [rsp + 0x20], rcx
lea r8, [0x1800113f8]
lea rcx, [rbp + 0x10]
call fcn.180001090
call fcn.180008110
mov r14, qword [rsp + 0x60]
mov esi, r12d
mov r15, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x40]
mov ecx, 0x1b
call fcn.180005e80
mov rcx, qword [0x181776730]
lea r8, [rbp + 0x10]
mov rdx, rax
xor r9d, r9d
mov rax, qword [0x181777708]
mov qword [rsp + 0x38], rax
mov eax, dword [0x181777700]
mov dword [rsp + 0x30], eax
lea rax, [rbp - 0x80]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r12
call qword [sym.imp.WININET.dll_HttpOpenRequestA]
mov rcx, rax
mov rdi, rax
call fcn.180003230
or r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp byte [rbx + r8], r12b
jne 0x180003500
mov r9, r15
mov dword [rsp + 0x20], r14d
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.WININET.dll_HttpSendRequestA]
mov rcx, rdi
call fcn.1800032b0
mov rcx, rdi
test eax, eax
jne 0x18000354a
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov ecx, 0x1f4
call qword [sym.imp.KERNEL32.dll_Sleep]
inc esi
cmp esi, 4
jb 0x1800034a6
jmp 0x180003550
call qword [sym.imp.WININET.dll_InternetCloseHandle]
lea rcx, [rsp + 0x40]
call fcn.180007380
mov dword [0x181776718], r12d
call fcn.180008130
mov r15, qword [rsp + 0x548]
mov r14, qword [rsp + 0x540]
mov rdi, qword [rsp + 0x538]
mov rsi, qword [rsp + 0x530]
add rsp, 0x510
pop r12
pop rbx
pop rbp
ret