joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18004fa10
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x398]
sub rsp, 0x490
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rdi
mov rax, qword [0x1800f30e0]
xor rax, rsp
mov qword [rbp + 0x380], rax
mov rdi, rcx
mov qword [rsp + 0x40], rcx
xor ebx, ebx
mov dword [rsp + 0x30], ebx
mov qword [rcx + 0x18], SafeArrayGetLBound
mov qword [rcx + 0x10], rbx
cmp qword [rcx + 0x18], 0x10
jb 0x18004fa6a
mov rax, qword [rcx]
jmp 0x18004fa6d
mov rax, rdi
mov byte [rax], bl
mov r8d, 6
lea rdx, str.unknow
call fcn.1800025d0
mov dword [rsp + 0x30], 1
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x70], SafeArrayGetLBound
mov qword [rsp + 0x68], rbx
mov byte [rsp + 0x58], 0
mov r8d, 0x24
lea rdx, [0x1800b8978]
lea rcx, [rsp + 0x58]
call fcn.1800025d0
nop
lea rdx, [rsp + 0x58]
cmp qword [rsp + 0x70], 0x10
cmovae rdx, qword [rsp + 0x58]
lea r8, [rsp + 0x48]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x18004fbbe
xor edx, edx
mov r8d, 0x400
lea rcx, [rbp - 0x80]
call fcn.180078610
mov dword [rsp + 0x54], ebx
mov dword [rsp + 0x50], 0x400
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x80]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x54]
xor r8d, r8d
lea rdx, str.svcVersion
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x18004fb4b
cmp byte [rbp - 0x80], al
je 0x18004fbaf
lea rax, [rbp - 0x80]
or rbx, 0xffffffffffffffff
nop
inc rbx
cmp byte [rax + rbx], 0
jne 0x18004fb40
jmp 0x18004fbaf
xor edx, edx
mov r8d, 0x400
lea rcx, [rbp - 0x80]
call fcn.180078610
mov dword [rsp + 0x50], ebx
mov dword [rsp + 0x54], 0x400
lea rax, [rsp + 0x54]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x80]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x50]
xor r8d, r8d
lea rdx, str.Version
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x18004fbbe
cmp byte [rbp - 0x80], al
je 0x18004fbaf
lea rax, [rbp - 0x80]
or rbx, 0xffffffffffffffff
inc rbx
cmp byte [rax + rbx], 0
jne 0x18004fba6
mov r8, rbx
lea rdx, [rbp - 0x80]
mov rcx, rdi
call fcn.1800025d0
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x18004fbcf
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rax, qword [rsp + 0x70]
cmp rax, 0x10
jb 0x18004fc27
inc rax
mov rcx, qword [rsp + 0x58]
cmp rax, 0x1000
jb 0x18004fc22
test cl, 0x1f
je 0x18004fbf5
call fcn.1800837e4
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x18004fc04
call fcn.1800837e4
int3
sub rcx, rax
cmp rcx, 8
jae 0x18004fc13
call fcn.1800837e4
int3
cmp rcx, 0x27
jbe 0x18004fc1f
call fcn.1800837e4
int3
mov rcx, rax
call fcn.1800591c4
mov rax, rdi
mov rcx, qword [rbp + 0x380]
xor rcx, rsp
call fcn.180059260
lea r11, [rsp + 0x490]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
Function at 0x180051210
Capabilities:
Send data
Send data on socket

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x1800f30e0]
xor rax, rsp
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x40]
mov byte [rsp + 0x40], 0
mov qword [rsp + 0x50], rax
mov rbx, rcx
mov dword [rsp + 0x48], 1
call fcn.180077d60
mov rbx, qword [rbx + 8]
xor ecx, ecx
call qword [sym.imp.WS2_32.dll_WSASetLastError]
xor eax, eax
lea r9, [rsp + 0x44]
mov qword [rsp + 0x30], rax
lea rdx, [rsp + 0x48]
mov qword [rsp + 0x28], rax
mov rcx, rbx
mov dword [rsp + 0x44], eax
lea r8d, [rax + 1]
mov dword [rsp + 0x20], eax
call qword [sym.imp.WS2_32.dll_WSASend]
mov ebx, eax
call fcn.180077d60
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x40
je 0x180051294
cmp eax, 0x4d2
jne 0x180051299
call fcn.180077d60
test ebx, ebx
jne 0x1800512a2
call fcn.180077d60
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.180059260
add rsp, 0x60
pop rbx
ret
Function at 0x1800515a0
Capabilities:
Print debug messages

Disassembly:
sub rsp, 0x148
mov rax, qword [0x1800f30e0]
xor rax, rsp
mov qword [rsp + 0x130], rax
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x104
call fcn.180078610
mov r8d, 0x104
lea rdx, [rsp + 0x20]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x180051652
mov edx, 0x5c
mov qword [rsp + 0x140], rbx
lea rcx, [rsp + 0x20]
call fcn.18007ad58
mov rbx, rax
test rax, rax
je 0x18005164e
lea rdx, str.iexplore.exe
lea rcx, [rax + 1]
call fcn.1800893b8
test eax, eax
je 0x18005164e
lea rcx, str.process_is__s__not_start_bho
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea rcx, [rbx + 1]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
xor al, al
mov rbx, qword [rsp + 0x140]
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.180059260
add rsp, 0x148
ret
mov al, 1
jmp 0x18005162e
mov al, 1
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.180059260
add rsp, 0x148
ret

Function at 0x180051670
Capabilities:
Terminate thread

Disassembly:
push rbx
sub rsp, 0x40
mov rax, qword [0x1800f30e0]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rax, qword [rcx + 0x10]
lea rdx, [rsp + 0x20]
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rax, qword [rcx + 8]
mov rbx, rcx
or r9d, 0xffffffff
mov qword [rsp + 0x28], rax
lea ecx, [r8 + 2]
call qword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
lock xadd dword [0x1800ffcc8], eax
test eax, eax
je 0x1800516e7
mov rcx, qword [rbx + 8]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateThread]
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.180059260
add rsp, 0x40
pop rbx
ret
mov rdx, qword [rbx + 8]
lea rcx, [fcn.180046ce0]
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_QueueUserAPC]
mov rcx, qword [rbx + 8]
or edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.180059260
add rsp, 0x40
pop rbx
ret
Function at 0x1800529d0
Capabilities:
Get socket status

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x470
mov rax, qword [0x1800f30e0]
xor rax, rsp
mov qword [rsp + 0x460], rax
mov rdi, rdx
mov rbx, rcx
cmp rcx, 0xffffffffffffffff
jne 0x180052a1c
mov dword [rsp + 0x30], 0x2719
call fcn.180077d60
mov qword [rsp + 0x38], rax
or eax, ebx
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rdi], xmm0
jmp 0x180052ab6
xor ecx, ecx
mov qword [rsp + 0x490], rsi
mov qword [rsp + 0x258], rbx
mov dword [rsp + 0x250], 1
mov qword [rsp + 0x48], rbx
mov dword [rsp + 0x40], 1
call qword [sym.imp.WS2_32.dll_WSASetLastError]
lea ecx, [rbx + 1]
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x40]
xor edx, edx
lea r8, [rsp + 0x250]
call qword [sym.imp.WS2_32.dll_select]
mov esi, eax
call fcn.180077d60
mov rbx, rax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov qword [rsp + 0x38], rbx
mov dword [rsp + 0x30], eax
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rdi], xmm0
test esi, esi
js 0x180052aac
mov dword [rsp + 0x30], 0
call fcn.180077d60
mov qword [rsp + 0x38], rax
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rdi], xmm0
mov eax, esi
mov rsi, qword [rsp + 0x490]
mov rcx, qword [rsp + 0x460]
xor rcx, rsp
call fcn.180059260
mov rbx, qword [rsp + 0x498]
add rsp, 0x470
pop rdi
ret

Function at 0x180052ae0
Capabilities:
Get socket status

Disassembly:
push rbp
push rbx
push rdi
push r14
lea rbp, [rsp - 0x178]
sub rsp, 0x278
mov rax, qword [0x1800f30e0]
xor rax, rsp
mov qword [rbp + 0x160], rax
mov rdi, r8
movzx r14d, dl
mov rbx, rcx
cmp rcx, 0xffffffffffffffff
jne 0x180052b37
mov dword [rsp + 0x30], 0x2719
call fcn.180077d60
mov qword [rsp + 0x38], rax
or eax, ebx
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rdi], xmm0
jmp 0x180052c1f
mov qword [rsp + 0x2b8], rsi
xor ecx, ecx
mov qword [rsp + 0x270], r15
xor r15d, r15d
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x58], rbx
mov dword [rsp + 0x50], 1
call qword [sym.imp.WS2_32.dll_WSASetLastError]
and r14b, 1
lea rax, [rsp + 0x40]
lea ecx, [rbx + 1]
cmove rax, r15
lea rdx, [rsp + 0x50]
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.WS2_32.dll_select]
mov esi, eax
call fcn.180077d60
mov rbx, rax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov qword [rsp + 0x38], rbx
mov dword [rsp + 0x30], eax
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rdi], xmm0
test esi, esi
jne 0x180052bf4
test r14b, r14b
je 0x180052bdb
mov dword [rsp + 0x30], 0x2733
call fcn.180077d60
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x30]
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm0
movups xmm0, xmmword [rax]
jmp 0x180052c0a
mov dword [rsp + 0x30], r15d
call fcn.180077d60
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x30]
movups xmm0, xmmword [rax]
jmp 0x180052c0a
jle 0x180052c0d
mov dword [rsp + 0x30], r15d
call fcn.180077d60
mov qword [rsp + 0x38], rax
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rdi], xmm0
mov r15, qword [rsp + 0x270]
mov eax, esi
mov rsi, qword [rsp + 0x2b8]
mov rcx, qword [rbp + 0x160]
xor rcx, rsp
call fcn.180059260
add rsp, 0x278
pop r14
pop rdi
pop rbx
pop rbp
ret
Function at 0x180052c40
Capabilities:
Get socket status

Disassembly:
push rbp
push rbx
push rdi
push r14
lea rbp, [rsp - 0x178]
sub rsp, 0x278
mov rax, qword [0x1800f30e0]
xor rax, rsp
mov qword [rbp + 0x160], rax
mov rdi, r8
movzx r14d, dl
mov rbx, rcx
cmp rcx, 0xffffffffffffffff
jne 0x180052c97
mov dword [rsp + 0x30], 0x2719
call fcn.180077d60
mov qword [rsp + 0x38], rax
or eax, ebx
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rdi], xmm0
jmp 0x180052d7e
mov qword [rsp + 0x2b8], rsi
xor ecx, ecx
mov qword [rsp + 0x270], r15
xor r15d, r15d
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x58], rbx
mov dword [rsp + 0x50], 1
call qword [sym.imp.WS2_32.dll_WSASetLastError]
and r14b, 1
lea rax, [rsp + 0x40]
lea ecx, [rbx + 1]
cmove rax, r15
lea r8, [rsp + 0x50]
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor edx, edx
call qword [sym.imp.WS2_32.dll_select]
mov esi, eax
call fcn.180077d60
mov rbx, rax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov qword [rsp + 0x38], rbx
mov dword [rsp + 0x30], eax
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rdi], xmm0
test esi, esi
jne 0x180052d53
test r14b, r14b
je 0x180052d3a
mov dword [rsp + 0x30], 0x2733
call fcn.180077d60
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x30]
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm0
movups xmm0, xmmword [rax]
jmp 0x180052d69
mov dword [rsp + 0x30], r15d
call fcn.180077d60
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x30]
movups xmm0, xmmword [rax]
jmp 0x180052d69
jle 0x180052d6c
mov dword [rsp + 0x30], r15d
call fcn.180077d60
mov qword [rsp + 0x38], rax
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rdi], xmm0
mov r15, qword [rsp + 0x270]
mov eax, esi
mov rsi, qword [rsp + 0x2b8]
mov rcx, qword [rbp + 0x160]
xor rcx, rsp
call fcn.180059260
add rsp, 0x278
pop r14
pop rdi
pop rbx
pop rbp
ret
Function at 0x180054e10
Capabilities:
Receive data
Receive data on socket

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x68
mov rax, qword [0x1800f30e0]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov r14, qword [rsp + 0xc0]
mov rdi, rcx
xor ecx, ecx
mov ebx, r9d
mov rbp, r8
mov rsi, rdx
call qword [sym.imp.WS2_32.dll_WSASetLastError]
xor r15d, r15d
mov dword [rsp + 0x54], ebx
mov qword [rsp + 0x30], r15
lea rax, [rsp + 0x54]
mov qword [rsp + 0x28], r15
lea r9, [rsp + 0x50]
mov r8d, ebp
mov qword [rsp + 0x20], rax
mov rdx, rsi
mov dword [rsp + 0x50], r15d
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_WSARecv]
mov edi, eax
call fcn.180077d60
mov rbx, rax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [rsp + 0x40], eax
mov qword [rsp + 0x48], rbx
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [r14], xmm0
mov ecx, dword [r14]
cmp ecx, 0x40
jne 0x180054eb0
mov dword [rsp + 0x40], 0x2746
jmp 0x180054ec0
cmp ecx, 0x4d2
jne 0x180054ed3
mov dword [rsp + 0x40], 0x274d
call fcn.180077d60
mov qword [rsp + 0x48], rax
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [r14], xmm0
test edi, edi
je 0x180054edc
or eax, 0xffffffff
jmp 0x180054ef8
mov dword [rsp + 0x40], r15d
call fcn.180077d60
mov qword [rsp + 0x48], rax
movups xmm0, xmmword [rsp + 0x40]
mov eax, dword [rsp + 0x50]
movups xmmword [r14], xmm0
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.180059260
add rsp, 0x68
pop r15
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x180055eb0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x60
mov qword [rax - 0x38], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x1800f30e0]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov rsi, rdx
mov rdi, rcx
xor ebx, ebx
mov eax, ebx
lock xadd dword [rcx + 0x30], eax
test eax, eax
jne 0x180055f0c
call fcn.1800579c0
mov dword [rsp + 0x20], ebx
call fcn.180077d60
mov qword [rsp + 0x28], rax
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [rsi], xmm0
xor eax, eax
jmp 0x180055fa5
mov qword [rsp + 0x38], rbx
xor eax, eax
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x40], rdi
lea rax, [rsp + 0x38]
mov qword [rsp + 0x48], rax
mov ecx, dword [0x1800ffcbc]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov qword [rsp + 0x50], rax
lea rdx, [rsp + 0x40]
mov ecx, dword [0x1800ffcbc]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
mov r8, rsi
mov dl, 1
mov rcx, rdi
call fcn.18004cf00
test rax, rax
je 0x180055f81
nop dword [rax]
lea rax, [rbx + 1]
cmp rbx, 0xffffffffffffffff
cmove rax, rbx
mov rbx, rax
mov r8, rsi
mov dl, 1
mov rcx, rdi
call fcn.18004cf00
test rax, rax
jne 0x180055f60
mov rdx, qword [rsp + 0x50]
mov ecx, dword [0x1800ffcbc]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x180055fa2
call fcn.1800591c4
mov rax, rbx
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.180059260
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x180055fd0
Capabilities:
Print debug messages
Terminate thread

Disassembly:
sub rsp, 0x48
mov qword [rsp + 0x50], rbx
mov rbx, qword [str..pipe6c459691_c3d3_4686_b2fd_6b3ba6528b42]
mov qword [rsp + 0x60], rdi
mov rdi, qword [0x1800ffca0]
mov byte [0x1800ffb87], 0
test rdi, rdi
je 0x1800560ad
mov qword [rsp + 0x58], rsi
xor edx, edx
mov qword [rsp + 0x40], r14
mov rcx, rbx
xor r14b, r14b
call qword [sym.imp.KERNEL32.dll_WaitNamedPipeA]
test eax, eax
je 0x180056082
mov qword [rsp + 0x30], 0
xor r9d, r9d
mov dword [rsp + 0x28], 0x80
xor r8d, r8d
mov edx, 0xc0000000
mov dword [rsp + 0x20], 3
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x180056082
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
cmp byte [0x1800ffcab], r14b
mov eax, 1
movzx ebx, r14b
mov rcx, rsi
cmove ebx, eax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test bl, bl
je 0x180056082
lea rcx, str.exit_pipe_thread_success
jmp 0x180056094
xor edx, edx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_TerminateThread]
lea rcx, str.exit_pipe_thread_failed__use_TerminateThread
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r14, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x58]
mov rcx, qword [0x1800ffc98]
mov rdi, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x50]
mov qword [0x1800ffca0], 0
test rcx, rcx
je 0x18005610d
cmp dword [0x1800f30b8], 0
jne 0x1800560e0
lea rcx, str.exit_heartbeat_success
jmp 0x1800560ef
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateThread]
lea rcx, str.exit_heartbeat_failed__use_TerminateThread
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rcx, qword [0x1800ffc98]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [0x1800ffc98], 0
mov al, 1
add rsp, 0x48
ret
Function at 0x1800567c0
Capabilities:
Print debug messages
Read file on windows
Write file on windows

Disassembly:
mov rax, rsp
push rbp
push rdi
push r14
lea rbp, [rax - 0x7c8]
sub rsp, 0x8b0
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x1800f30e0]
xor rax, rsp
mov qword [rbp + 0x7a8], rax
mov rsi, rdx
mov rdi, rcx
mov qword [rsp + 0x70], rcx
mov qword [rsp + 0x78], rdx
xor edx, edx
mov rcx, qword [str..pipe6c459691_c3d3_4686_b2fd_6b3ba6528b42]
call qword [sym.imp.KERNEL32.dll_WaitNamedPipeA]
test eax, eax
setne al
test al, al
je 0x180056943
lea rcx, str.save_load_url:_pipe
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
xor ebx, ebx
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor r8d, r8d
mov edx, 0xc0000000
mov rcx, qword [str..pipe6c459691_c3d3_4686_b2fd_6b3ba6528b42]
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov r14, rax
cmp rax, 0xffffffffffffffff
jne 0x18005687a
lea rcx, str.CreateFileA_failed_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x1800569c6
xor edx, edx
mov r8d, 0x804
lea rcx, [rbp - 0x7c]
call fcn.180078610
mov dword [rbp - 0x80], 4
mov rcx, rdi
call fcn.180022ae0
mov r8, rax
mov edx, 0x400
lea rcx, [rbp - 0x7c]
call fcn.180081fd4
mov rcx, rsi
call fcn.180022ae0
mov r8, rax
mov edx, 0x400
lea rcx, [rbp + 0x384]
call fcn.180081fd4
mov dword [rsp + 0x70], ebx
mov qword [rsp + 0x20], rbx
lea r9, [rsp + 0x70]
mov r8d, 0x808
lea rdx, [rbp - 0x80]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x1800568f5
lea rcx, str.write_pipe_failed_n
jmp 0x18005692f
mov dword [rsp + 0x70], ebx
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x788], xmm0
mov qword [rsp + 0x20], rbx
lea r9, [rsp + 0x70]
mov r8d, SafeArrayGetLBound
lea rdx, [rbp + 0x788]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x180056935
lea rcx, str.read_pipe_failed_to_wait_check_end_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1800569c6
lea rcx, str.save_load_url:_insert_load_url
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea rax, [rbp + 0x788]
mov qword [rsp + 0x68], rax
mov qword [rbp + 0x7a0], SafeArrayGetLBound
xor ebx, ebx
mov qword [rbp + 0x798], rbx
mov byte [rbp + 0x788], bl
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rsi
lea rcx, [rbp + 0x788]
call fcn.1800024a0
nop
mov qword [rsp + 0x58], SafeArrayGetLBound
mov qword [rsp + 0x50], rbx
mov byte [rsp + 0x40], bl
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rdi
lea rcx, [rsp + 0x40]
call fcn.1800024a0
nop
lea rdx, [rbp + 0x788]
lea rcx, [rsp + 0x40]
call fcn.180050910
nop
mov rcx, rdi
call fcn.180002870
nop
mov rcx, rsi
call fcn.180002870
mov rcx, qword [rbp + 0x7a8]
xor rcx, rsp
call fcn.180059260
lea r11, [rsp + 0x8b0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x180056ec0
Capabilities:
Send data
Send data on socket

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x68
mov rax, qword [0x1800f30e0]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov r14, qword [rsp + 0xc0]
mov rdi, rcx
xor ecx, ecx
mov ebx, r9d
mov rbp, r8
mov rsi, rdx
call qword [sym.imp.WS2_32.dll_WSASetLastError]
xor r15d, r15d
lea r9, [rsp + 0x50]
mov qword [rsp + 0x30], r15
mov r8d, ebp
mov qword [rsp + 0x28], r15
mov rdx, rsi
mov rcx, rdi
mov dword [rsp + 0x20], ebx
mov dword [rsp + 0x50], r15d
call qword [sym.imp.WS2_32.dll_WSASend]
mov edi, eax
call fcn.180077d60
mov rbx, rax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [rsp + 0x40], eax
mov qword [rsp + 0x48], rbx
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [r14], xmm0
mov ecx, dword [r14]
cmp ecx, 0x40
jne 0x180056f56
mov dword [rsp + 0x40], 0x2746
jmp 0x180056f66
cmp ecx, 0x4d2
jne 0x180056f79
mov dword [rsp + 0x40], 0x274d
call fcn.180077d60
mov qword [rsp + 0x48], rax
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [r14], xmm0
test edi, edi
je 0x180056f82
or eax, 0xffffffff
jmp 0x180056f9e
mov dword [rsp + 0x40], r15d
call fcn.180077d60
mov qword [rsp + 0x48], rax
movups xmm0, xmmword [rsp + 0x40]
mov eax, dword [rsp + 0x50]
movups xmmword [r14], xmm0
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.180059260
add rsp, 0x68
pop r15
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret

Function at 0x180057000
Capabilities:
Get common file path

Disassembly:
sub rsp, 0x438
mov rax, qword [0x1800f30e0]
xor rax, rsp
mov qword [rsp + 0x420], rax
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x400
call fcn.180078610
lea rdx, [rsp + 0x20]
mov ecx, 0x400
call qword [sym.imp.KERNEL32.dll_GetTempPathA]
test eax, eax
je 0x180057057
lea r8, str.skyguard_bho
lea rdx, [rsp + 0x20]
lea rcx, [0x1800ffb88]
call fcn.180001e00
mov rcx, qword [rsp + 0x420]
xor rcx, rsp
call fcn.180059260
add rsp, 0x438
ret

Function at 0x180057730
Capabilities:
Set socket configuration

Disassembly:
push rbx
push rbp
push rsi
push rdi
sub rsp, 0x58
mov rax, qword [0x1800f30e0]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov esi, ecx
mov rbp, r9
xor ecx, ecx
mov edi, r8d
mov ebx, edx
call qword [sym.imp.WS2_32.dll_WSASetLastError]
xor r9d, r9d
mov dword [rsp + 0x28], 1
mov r8d, edi
mov dword [rsp + 0x20], 0
mov edx, ebx
mov ecx, esi
call qword [sym.imp.WS2_32.dll_WSASocketW]
mov rdi, rax
call fcn.180077d60
mov rbx, rax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov qword [rsp + 0x38], rbx
mov dword [rsp + 0x30], eax
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rbp], xmm0
cmp rdi, 0xffffffffffffffff
jne 0x1800577a8
or rax, rdi
jmp 0x1800577f0
cmp esi, 0x17
jne 0x1800577d2
lea r9, [rsp + 0x40]
mov dword [rsp + 0x40], 0
lea edx, [rsi + 0x12]
mov dword [rsp + 0x20], 4
lea r8d, [rsi + 4]
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_setsockopt]
mov dword [rsp + 0x30], 0
call fcn.180077d60
mov qword [rsp + 0x38], rax
mov rax, rdi
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rbp], xmm0
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.180059260
add rsp, 0x58
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x180057810
Capabilities:
Create thread

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x50
mov rax, qword [0x1800f30e0]
xor rax, rsp
mov qword [rsp + 0x48], rax
xor r9d, r9d
mov r14d, r8d
mov rsi, rdx
mov rbp, rcx
xor r8d, r8d
xor ecx, ecx
lea edx, [r9 + 1]
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rsi + 8], rax
mov rdi, rax
test rax, rax
jne 0x180057882
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8, qword [rsi]
lea edx, [rdi + 1]
mov rcx, rsi
mov ebx, eax
call qword [r8]
xor eax, eax
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x30], ebx
call fcn.180077d60
mov qword [rsp + 0x38], rax
test ebx, ebx
jne 0x180057983
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
lea edx, [r9 + 1]
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rbp + 0x10], rax
mov qword [rsi + 0x10], rax
cmp qword [rbp + 0x10], 0
jne 0x1800578d6
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8, qword [rsi]
mov edx, 1
mov rcx, rsi
mov ebx, eax
call qword [r8]
xor eax, eax
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x30], ebx
call fcn.180077d60
mov qword [rsp + 0x38], rax
test ebx, ebx
jne 0x180057995
xor ecx, ecx
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea r8, [0x180058c70]
mov r9, rsi
mov dword [rsp + 0x20], ecx
mov edx, r14d
mov dword [rsp + 0x40], ecx
call fcn.18008aa6c
mov qword [rbp + 8], rax
test rax, rax
jne 0x180057951
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8, qword [rsi]
mov edx, 1
mov rcx, rsi
mov ebx, eax
call qword [r8]
test rdi, rdi
je 0x180057929
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp + 0x10]
test rcx, rcx
je 0x180057938
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x30], ebx
call fcn.180077d60
mov qword [rsp + 0x38], rax
test ebx, ebx
jne 0x1800579a7
test rdi, rdi
je 0x18005796b
or edx, 0xffffffff
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.180059260
add rsp, 0x50
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
lea rdx, str.thread.entry_event
lea rcx, [rsp + 0x30]
call fcn.18004d5b0
int3
lea rdx, str.thread.exit_event
lea rcx, [rsp + 0x30]
call fcn.18004d5b0
int3
lea rdx, str.thread
lea rcx, [rsp + 0x30]
call fcn.18004d5b0
int3