joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140002ad0
Capabilities:
Create process on windows

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rbp
mov qword [r11 + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0xc0
mov rax, qword [0x14000a040]
xor rax, rsp
mov qword [rsp + 0xb0], rax
mov rbx, rcx
mov qword [r11 - 0x38], rcx
mov r8, qword [rcx + 0x10]
mov rcx, qword [rcx + 0x18]
mov rax, rcx
sub rax, r8
xor r14d, r14d
cmp rax, 3
jb 0x140002b9a
lea rax, [r8 + 3]
mov qword [rbx + 0x10], rax
mov rdi, rbx
cmp rcx, 0xf
jbe 0x140002b2f
mov rdi, qword [rbx]
lea rax, [0x1400075e7]
mov esi, 3
lea r15, [0x1400075e4]
cmp rax, rdi
jbe 0x140002b62
lea rax, [rdi + r8]
cmp r15, rax
ja 0x140002b62
cmp rdi, r15
ja 0x140002b5a
mov rbp, r14
jmp 0x140002b65
mov rbp, rdi
sub rbp, r15
jmp 0x140002b65
mov rbp, rsi
lea rcx, [rdi + 3]
inc r8
mov rdx, rdi
call sub.VCRUNTIME140.dll_memmove
mov r8, rbp
mov rdx, r15
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcpy
lea rcx, [rdi + rbp]
sub rsi, rbp
lea rdx, [r15 + 3]
add rdx, rbp
mov r8, rsi
call sub.VCRUNTIME140.dll_memcpy
jmp 0x140002bae
mov esi, 3
mov qword [rsp + 0x28], rsi
mov edx, esi
mov rcx, rbx
call fcn.1400050d0
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
movups xmmword [rsp + 0x40], xmm0
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0x60], xmm0
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rsp + 0x80], xmm0
movups xmmword [rsp + 0x90], xmm0
mov dword [rsp + 0x30], 0x70
mov dword [rsp + 0x34], 0x40
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x40], r14
lea rax, str.cmd.exe
mov qword [rsp + 0x48], rax
mov rax, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x140002c0d
mov rax, qword [rbx]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], r14
mov dword [rsp + 0x60], r14d
mov qword [rsp + 0x68], r14
lea rcx, [rsp + 0x30]
call qword [sym.imp.SHELL32.dll_ShellExecuteExA]
test eax, eax
jne 0x140002c43
mov edx, 0xffffffff
mov rcx, qword [rsp + 0x98]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea rdx, [rsp + 0xa8]
mov rcx, qword [rsp + 0x98]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov rcx, qword [rsp + 0x98]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x140002c9e
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x140002c99
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140002cda
mov rcx, r8
call fcn.140005f5c
mov qword [rbx + 0x10], r14
mov qword [rbx + 0x18], 0xf
mov byte [rbx], 0
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.140005cc0
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x14000574c
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
lea r8, [rsp + 0x60]
mov edi, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x140005786
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x14000578b
mov r9d, dword [rsp + 0x60]
and qword [rsp + 0x30], 0
mov r8d, edi
and dword [rsp + 0x28], 0
xor edx, edx
mov ecx, 0x1300
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x1400057d4
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x1400073c0]
cmp byte [rcx + rax], 0
je 0x1400057d4
dec r8
sub rdx, 1
jne 0x1400057ba
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x14000687c
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400068c6
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400068c6
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400068c6
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400068c6
cmp dword [rcx + 0x84], 0xe
jbe 0x1400068c6
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400068c8
xor al, al
add rsp, 0x28
ret
Function at 0x18001c1d4
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
push rdi
sub rsp, 0x40
and dword [rsp + 0x68], 0
lea rax, [r11 - 0x18]
mov qword [r11 - 0x20], rax
lea r9, [r11 + 0x20]
mov qword [r11 - 0x28], r8
mov rdi, rdx
xor r8d, r8d
mov dword [rsp + 0x30], 4
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
je 0x180041a50
test byte [0x1800b78f0], 4
jne 0x180041a6c
mov eax, ebx
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
cmp dword [rsp + 0x68], 4
jne 0x180041a62
cmp dword [rsp + 0x30], 4
je 0x18001c226
mov ebx, 0x3f2
jmp 0x18001c219
mov ecx, 0xb
lea rdx, [0x18009f440]
mov r9d, ebx
mov r8, rdi
call fcn.180087538
nop
jmp 0x18001c226
Function at 0x18001e4e0
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x50]
sub rsp, 0x150
mov rax, qword [0x1800b7160]
xor rax, rsp
mov qword [rbp + 0x48], rax
mov rax, qword [rbp + 0xd0]
mov r15d, edx
mov rbx, qword [rbp + 0xb0]
mov edx, 0xc8000006
mov r12, qword [rbp + 0xb8]
mov rdi, rcx
mov rsi, qword [rbp + 0xc0]
mov r13, qword [rbp + 0xc8]
mov r14, qword [rbp + 0xd8]
mov qword [rsp + 0x58], rax
xor eax, eax
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rax
lea rax, [rbp - 0x40]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x70]
mov dword [rsp + 0x50], r9d
mov r9d, 0x10
mov qword [rsp + 0x60], r8
lea r8, [rbp - 0x38]
mov dword [rsp + 0x28], 8
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x68], rcx
mov dword [rbp - 0x38], 0xf689d7c8
mov dword [rbp - 0x34], 0x436b6f1f
mov dword [rbp - 0x30], 0x4fe5538a
mov dword [rbp - 0x2c], 0x22c351e3
call qword [sym.imp.WS2_32.dll_WSAIoctl]
nop dword [rax + rax]
cmp eax, 0xffffffff
je 0x1800455f0
mov rax, qword [section..data]
test dword [rax + 0x1c], 0x40000000
jne 0x1800455a0
mov rax, qword [rsp + 0x60]
lea r8, [rbp - 0x40]
mov qword [rbp - 0x48], rax
lea rdx, [rsp + 0x78]
mov eax, dword [rsp + 0x50]
xor r9d, r9d
mov dword [rbp - 0x50], eax
mov rcx, rdi
lea rax, [rbp - 0x50]
mov dword [rbp - 0x70], 1
mov qword [rbp - 0x78], rax
mov eax, dword [rsi]
mov dword [rbp - 0x80], eax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x60], rax
mov eax, dword [rbx]
mov dword [rbp - 0x58], eax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x78], r12
mov dword [rbp - 0x68], 0x28
mov qword [rsp + 0x20], 0
call qword [case.0x180030b5c.0]
cmp eax, 0xffffffff
je 0x1800455f0
cmp dword [rbp - 0x68], 0x10
mov eax, dword [rbp - 0x80]
mov dword [rsi], eax
mov eax, dword [rbp - 0x58]
mov dword [rbx], eax
mov ebx, dword [rbp - 0x40]
mov dword [r14], 0
jb 0x1800455c9
mov rdi, qword [rbp - 0x60]
test rdi, rdi
je 0x1800455c4
mov rcx, qword [rsp + 0x58]
mov rdx, r12
cmp r15d, 2
je 0x18001e6b4
mov eax, dword [rdi + 0x20]
mov dword [r14], eax
movsxd rax, dword [rsi]
mov dword [rcx], eax
mov r8, rax
mov rcx, r13
call sub.api_ms_win_core_crt_l1_1_0.dll_memcpy
movups xmm0, xmmword [rdi + 0x10]
movups xmmword [r13 + 8], xmm0
mov eax, ebx
mov rcx, qword [rbp + 0x48]
xor rcx, rsp
call fcn.18002d5c0
mov rbx, qword [rsp + 0x198]
add rsp, 0x150
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov eax, dword [rdi + 0x14]
mov dword [r14], eax
movsxd rax, dword [rsi]
mov dword [rcx], eax
mov r8, rax
mov rcx, r13
call sub.api_ms_win_core_crt_l1_1_0.dll_memcpy
mov eax, dword [rdi + 0x10]
mov dword [r13 + 4], eax
jmp 0x18001e68a
lea r8, [rbp]
mov dword [rbp], 0x20
lea rdx, [rbp - 0x20]
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_getsockname]
nop dword [rax + rax]
nop
jmp 0x18001e5c9
mov rdi, qword [rsp + 0x68]
test byte [0x1800b78f0], 8
je 0x18001e68a
mov ecx, 0x2c
lea rdx, [0x18009f218]
mov r8d, edi
call fcn.1800876bc
nop
jmp 0x18001e68a
mov eax, 0xffffffff
jmp 0x18001e68c
Function at 0x1800202d0
Capabilities:
Set socket configuration

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x40
mov rax, qword [0x1800b7160]
xor rax, rsp
mov qword [rsp + 0x38], rax
xor ebx, ebx
mov esi, r9d
xor r15d, r15d
mov ebp, r8d
mov r14d, edx
mov rdi, rcx
test byte [0x1800b78f0], 8
jne 0x180046390
lea rax, [rdi - 1]
cmp rax, 0xfffffffffffffffd
ja 0x18004641a
test esi, esi
je 0x18004641a
cmp r14d, 2
je 0x180020385
mov dword [rsp + 0x30], esi
mov edx, 0x29
lea r9, [rsp + 0x30]
mov dword [rsp + 0x20], 4
mov r8d, 9
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_setsockopt]
nop dword [rax + rax]
cmp eax, 0xffffffff
je 0x1800463a9
test ebp, ebp
jne 0x18002039f
mov eax, ebx
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.18002d5c0
mov rbx, qword [rsp + 0x80]
add rsp, 0x40
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
test ebp, ebp
jne 0x180020329
mov ecx, esi
call qword [sym.imp.WS2_32.dll_htonl]
nop dword [rax + rax]
mov dword [rsp + 0x30], eax
xor edx, edx
jmp 0x180020332
mov ecx, esi
call qword [sym.imp.WS2_32.dll_htonl]
nop dword [rax + rax]
xor edx, edx
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0x30]
mov dword [rsp + 0x30], eax
mov rcx, rdi
lea r8d, [rdx + 9]
call qword [sym.imp.WS2_32.dll_setsockopt]
nop dword [rax + rax]
cmp eax, 0xffffffff
je 0x1800463e1
test ebx, ebx
cmovne ebx, r15d
jmp 0x180020361
mov dword [rsp + 0x28], esi
mov r9d, r14d
mov r8d, edi
mov dword [rsp + 0x20], ebp
call fcn.18008bea0
nop
jmp 0x18002030d
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
nop dword [rax + rax]
mov ebx, eax
test byte [0x1800b78f3], 0x40
je 0x18002035d
mov ecx, 0x16
lea rdx, [0x18009f218]
mov r9d, eax
mov r8d, edi
call fcn.180087020
nop
jmp 0x18002035d
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
nop dword [rax + rax]
mov r15d, eax
test byte [0x1800b78f3], 0x40
je 0x1800203dc
mov ecx, 0x17
lea rdx, [0x18009f218]
mov r9d, eax
mov r8d, edi
call fcn.180087020
nop
jmp 0x1800203dc
mov eax, 0x57
jmp 0x180020363
Function at 0x1800218fc
Capabilities:
Get local ipv4 addresses

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x40
mov rax, qword [0x1800b7160]
xor rax, rsp
mov qword [rsp + 0x38], rax
xor edi, edi
mov ecx, 0x3c00
mov dword [rsp + 0x30], ecx
mov rsi, r8
mov r14d, edx
test r8, r8
je 0x18004702a
and qword [r8], rdi
lea ebp, [rdi + 3]
call fcn.180017d38
mov rdi, rax
test rax, rax
je 0x1800219b2
lea rax, [rsp + 0x30]
mov r9, rdi
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov edx, r14d
xor ecx, ecx
call qword [sym.imp.IPHLPAPI.DLL_GetAdaptersAddresses]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
jne 0x180047034
mov qword [rsi], rdi
xor edi, edi
mov rcx, rdi
call sym.DNSAPI.dll_DnsApiFree
test byte [0x1800b78f1], 4
jne 0x18004704f
mov eax, ebx
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.18002d5c0
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x78]
add rsp, 0x40
pop r14
pop rdi
pop rsi
ret
mov ebx, 0xe
jmp 0x18002197a
mov ebx, 0x57
jmp 0x18002197a
cmp eax, 0x6f
jne 0x18002197a
add ebp, 0xffffffff
je 0x180021975
mov ecx, dword [rsp + 0x30]
jmp 0x18002193d
mov ecx, 0xc
lea rdx, [0x1800a29b0]
mov r8d, ebx
call fcn.1800876bc
nop
jmp 0x18002198f
Function at 0x180022fb8
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov rax, qword [rcx + 0xa8]
xor r12d, r12d
mov ebx, r8d
mov r14d, edx
mov rdi, rcx
mov r15d, r12d
mov rbp, qword [rax + 0x258]
movzx esi, word [rax + 0x268]
mov cl, byte [0x1800b78f1]
lea r13, [0x18009f1f8]
test cl, 4
jne 0x180047ba6
test ebx, ebx
jne 0x1800230af
test r14d, r14d
je 0x180047bc1
mov rcx, qword [rdi + 0xa8]
add rbp, r14
sub esi, r14d
jne 0x180023085
lea rax, [rcx + 0x26c]
cmp rbp, rax
ja 0x18002308b
movzx ecx, word [rcx + 0x26a]
call qword [sym.imp.WS2_32.dll_ntohs]
nop dword [rax + rax]
movzx ecx, ax
mov rax, qword [rdi + 0xa8]
mov word [rax + 0x26a], cx
cmp ecx, 0xc
jb 0x180047c28
mov esi, ecx
test byte [0x1800b78f1], 2
jne 0x180047c33
mov rcx, qword [rdi + 0xa8]
cmp esi, dword [rcx + 0x210]
ja 0x18002308b
mov r15d, 1
test r15d, r15d
je 0x1800230cf
mov qword [rcx + 0x258], rbp
mov rcx, rdi
mov rax, qword [rdi + 0xa8]
mov word [rax + 0x268], si
call fcn.180023378
mov ebx, eax
mov rbp, qword [rsp + 0x68]
mov eax, ebx
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x70]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
mov dword [rcx + 0x8c], 0x20
mov rdx, qword [rdi + 0xa8]
mov rcx, qword [rdi + 0x20]
lea r8, [rdx + 0x8c]
add rdx, 0x6c
call qword [sym.imp.WS2_32.dll_getsockname]
nop dword [rax + rax]
cmp eax, 0xffffffff
je 0x180047c1e
mov rax, qword [rdi + 0xa8]
xor edx, edx
mov dword [rax + 0xac], r12d
lea r8d, [rdx + 1]
mov rax, qword [rdi + 0xa8]
mov byte [rax + 0x250], 1
mov rax, qword [rdi + 0xa8]
mov qword [rax + 0x258], r12
mov rcx, qword [rdi + 0xa8]
add rcx, 0x26c
movzx eax, word [rcx]
rol ax, 8
mov word [rcx], ax
movzx eax, word [rcx + 4]
rol ax, 8
mov word [rcx + 4], ax
movzx eax, word [rcx + 6]
rol ax, 8
mov word [rcx + 6], ax
movzx eax, word [rcx + 8]
rol ax, 8
mov word [rcx + 8], ax
movzx eax, word [rcx + 0xa]
rol ax, 8
mov word [rcx + 0xa], ax
mov rcx, qword [rdi + 0xa8]
call fcn.1800232ec
mov rax, qword [section..data]
test byte [rax + 0x1c], 0x80
jne 0x180047c59
mov ebx, r12d
jmp 0x1800230af
mov ecx, 0x86
mov r9d, esi
mov rdx, r13
call fcn.180087020
mov cl, byte [0x1800b78f1]
jmp 0x18002300e
test cl, 2
je 0x180047bdd
mov r8d, dword [rdi + 0x20]
mov ecx, 0x87
mov rdx, r13
call fcn.1800876bc
mov cl, byte [0x1800b78f1]
mov rax, qword [rdi + 0xa8]
add rax, 0x26a
cmp word [rax], r12w
jne 0x180047bff
cmp rbp, rax
jne 0x180047bff
mov ebx, 0x251f
jmp 0x1800230af
test cl, 2
je 0x180047c1e
mov ecx, 0x88
mov r8d, esi
jmp 0x180047c16
mov r8d, ecx
mov ecx, 0x89
mov rdx, r13
call fcn.1800876bc
mov ebx, 0x251e
jmp 0x1800230af
test byte [0x1800b78f1], 4
je 0x180047c1e
jmp 0x180047c0e
mov rax, qword [rdi + 0xa8]
mov ecx, 0x8a
mov r9d, dword [rdi + 0x20]
mov r8d, esi
mov rdx, r13
mov qword [rsp + 0x20], rax
call fcn.18008ae1c
nop
jmp 0x180023076
mov rdx, qword [rdi + 0xa8]
lea rcx, str.Received_TCP_packet
call fcn.18006fa34
nop
jmp 0x180023199
Function at 0x180023378
Capabilities:
Receive data
Receive data on socket

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x50
mov rax, qword [0x1800b7160]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rsi, qword [rcx + 0xa8]
xor edi, edi
mov dword [rsp + 0x44], edi
mov rbx, rcx
mov rbp, qword [rsi + 0x258]
test rbp, rbp
jne 0x1800234ca
lea rbp, [rsi + 0x26a]
lea r14d, [rdi + 2]
mov qword [rsi + 0x258], rbp
mov word [rsi + 0x268], r14w
mov dword [rcx + 0x64], 1
mov rcx, qword [rcx + 0x28]
call qword [sym.imp.api_ms_win_core_threadpool_l1_2_0.dll_StartThreadpoolIo]
nop dword [rax + rax]
lock inc dword [rbx + 0xb4]
lea r15, [rsi + 0x100]
mov qword [r15 + 8], rbp
lea rsi, [rbx + 0xb8]
mov dword [r15], r14d
mov rcx, rsi
mov dword [rsp + 0x40], edi
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_EnterCriticalSection]
nop dword [rax + rax]
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x180047d2f
lea rax, [rbx + 0x30]
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x44]
lea rax, [rsp + 0x40]
mov r8d, 1
mov rdx, r15
mov qword [rsp + 0x20], rax
call qword [sym.imp.WS2_32.dll_WSARecv]
nop dword [rax + rax]
cmp eax, 0xffffffff
jne 0x180023471
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
nop dword [rax + rax]
mov edi, eax
mov rcx, rsi
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_LeaveCriticalSection]
nop dword [rax + rax]
mov edx, edi
mov rcx, rbx
call fcn.1800234e0
mov ebx, eax
cmp eax, 0x3e5
jne 0x1800234a0
test byte [0x1800b78f1], 4
jne 0x180047d18
mov eax, ebx
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.18002d5c0
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
movzx r14d, word [rsi + 0x268]
jmp 0x1800233d9
mov ecx, 0x8f
lea rdx, [0x18009f1f8]
call fcn.180087008
nop
jmp 0x1800234a0
mov rcx, rsi
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_LeaveCriticalSection]
nop dword [rax + rax]
mov edx, 0x2736
mov rcx, rbx
call fcn.1800234e0
mov ebx, eax
jmp 0x1800234a0
Function at 0x180023888
Capabilities:
Send data
Send data on socket

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
xor r12d, r12d
mov rdi, rdx
mov r15d, r12d
mov rbp, rcx
lea r13d, [r12 + 1]
test byte [0x1800b78f1], r13b
jne 0x18004826c
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetTickCount64]
nop dword [rax + rax]
mov qword [rbp + 0xe8], rax
lea rbx, [rdi + 0x26c]
movzx eax, word [rbp + 0xe4]
mov rcx, rdi
mov word [rbx], ax
lea rdx, [rdi + 0x2c]
add word [rbp + 0xe4], r13w
and byte [rbx + 3], 0xbf
call fcn.180023aec
mov rdx, qword [rdi + 0x260]
mov rcx, qword [rdi + 0x220]
mov rax, rdx
test rdx, rdx
jne 0x18004828f
movzx esi, cx
sub si, bx
test rax, rax
jne 0x1800482ba
mov al, r12b
mov byte [rdi + 0x253], al
lea r14, [rdi + 0x26a]
movzx eax, word [rbx]
movzx ecx, si
rol ax, 8
mov word [rbx], ax
movzx eax, word [rbx + 4]
rol ax, 8
mov word [rbx + 4], ax
movzx eax, word [rbx + 6]
rol ax, 8
mov word [rbx + 6], ax
movzx eax, word [rbx + 8]
rol ax, 8
mov word [rbx + 8], ax
movzx eax, word [rbx + 0xa]
rol ax, 8
mov word [rbx + 0xa], ax
call qword [sym.imp.WS2_32.dll_htons]
nop dword [rax + rax]
mov word [r14], ax
add si, 2
je 0x1800239bd
mov rcx, qword [rbp + 0x20]
xor r9d, r9d
movzx r8d, si
mov rdx, r14
call qword [sym.imp.WS2_32.dll_send]
nop dword [rax + rax]
lea ecx, [rax + 1]
cmp ecx, r13d
jbe 0x1800482cb
sub si, ax
cdqe
add r14, rax
test si, si
jne 0x18002398a
mov esi, r12d
movzx eax, word [rbx]
rol ax, 8
mov word [rbx], ax
movzx eax, word [rbx + 4]
rol ax, 8
mov word [rbx + 4], ax
movzx eax, word [rbx + 6]
rol ax, 8
mov word [rbx + 6], ax
movzx eax, word [rbx + 8]
rol ax, 8
mov word [rbx + 8], ax
movzx eax, word [rbx + 0xa]
rol ax, 8
mov word [rbx + 0xa], ax
test r15d, r15d
jne 0x180048304
mov edx, esi
mov rcx, rdi
call fcn.180023a34
mov rbx, qword [rsp + 0x60]
mov eax, esi
mov rsi, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x68]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
mov r9d, dword [rbp + 0x20]
lea rdx, [0x18009f1f8]
mov ecx, 0x3a
mov qword [rsp + 0x20], rdi
mov r8, rbp
call fcn.180088904
nop
jmp 0x1800238c2
test dword [rdi + 0x254], 0x1000000
jne 0x180023918
mov eax, 0xffff
mov rcx, rdx
add word [rbx + 0xa], ax
mov r15d, r13d
mov rax, qword [rdi + 0x260]
jmp 0x180023918
cmp rcx, rax
mov al, r13b
jne 0x18002392a
jmp 0x180023927
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
nop dword [rax + rax]
mov esi, eax
test byte [0x1800b78f3], 0x40
je 0x1800239c0
mov r8d, dword [rbp + 0x20]
lea rdx, [0x18009f1f8]
mov ecx, 0x3b
mov r9d, eax
call fcn.180087020
nop
jmp 0x1800239c0
add ax, r13w
mov word [rbx + 0xa], ax
jmp 0x180023a03
Function at 0x1800271c0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r14
push r15
mov rbp, rsp
sub rsp, 0x70
mov rax, qword [0x1800b7160]
xor rax, rsp
mov qword [rbp - 0x10], rax
movups xmm0, xmmword [rcx]
xor esi, esi
xor edi, edi
and dword [rbp - 0x30], esi
mov r14, r8
and qword [rbp - 0x28], rsi
mov r15, rdx
movdqu xmmword [rbp - 0x20], xmm0
test rdx, rdx
je 0x180027262
test r8, r8
je 0x180027262
and qword [r8], rsi
lea rcx, [rbp - 0x20]
and dword [rdx], esi
lea r8, [rbp - 0x28]
xor edx, edx
call fcn.180026f48
mov ebx, eax
test eax, eax
je 0x180043ade
mov rcx, rdi
call sym.DNSAPI.dll_DnsApiFree
mov rcx, rsi
call sym.DNSAPI.dll_DnsApiFree
mov rcx, qword [rbp - 0x28]
test rcx, rcx
jne 0x180043bd7
mov eax, ebx
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.18002d5c0
mov rbx, qword [rsp + 0xb8]
add rsp, 0x70
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
mov eax, 0x57
jmp 0x180027241
mov rcx, qword [rbp - 0x28]
lea rax, [rbp - 0x30]
mov qword [rsp + 0x30], rax
lea r8, str.DNSQueryTimeoutsMB
and qword [rsp + 0x28], rsi
mov r9d, 0x20
and qword [rsp + 0x20], rsi
xor edx, edx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
jne 0x180027222
mov ecx, dword [rbp - 0x30]
cmp ecx, 4
jbe 0x180027222
call fcn.180017d38
mov ecx, dword [rbp - 0x30]
mov rsi, rax
shr ecx, 1
call fcn.180017d38
mov rdi, rax
test rsi, rsi
je 0x180043bcd
test rax, rax
je 0x180043bcd
mov rcx, qword [rbp - 0x28]
lea rax, [rbp - 0x30]
mov qword [rsp + 0x30], rax
lea r9d, [rbx + 0x20]
mov qword [rsp + 0x28], rsi
lea r8, str.DNSQueryTimeoutsMB
and qword [rsp + 0x20], 0
xor edx, edx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
jne 0x180027222
mov edx, dword [rbp - 0x30]
cmp edx, 2
jbe 0x180027222
shr edx, 1
mov r8, rdi
mov r9d, edx
mov rcx, rsi
call fcn.180079130
test eax, eax
jne 0x180043bb6
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
jmp 0x180043bc6
mov r9, r15
mov r8, r14
xor edx, edx
mov rcx, rdi
call fcn.1800725c8
mov ebx, eax
jmp 0x180027222
mov ebx, 0xe
jmp 0x180027222
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
nop dword [rax + rax]
nop
jmp 0x18002723f
Function at 0x180028f20
Capabilities:
Set socket configuration

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x70
mov rax, qword [0x1800b7160]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov r14d, r9d
movzx esi, dx
mov rdi, r8
mov rbx, rcx
test byte [0x1800b78f0], 8
mov ebp, dword [rsp + 0xc0]
jne 0x180049606
lea rax, [rbx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x18004962d
test r14d, r14d
je 0x180049625
cmp word [rdi], 2
mov ecx, esi
jne 0x180028fd4
mov eax, dword [rdi + 4]
mov dword [rsp + 0x40], eax
call qword [sym.imp.WS2_32.dll_htonl]
nop dword [rax + rax]
mov dword [rsp + 0x20], 8
lea r9, [rsp + 0x40]
mov dword [rsp + 0x44], eax
xor edx, edx
mov r8d, 0xc
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_setsockopt]
nop dword [rax + rax]
cmp eax, 0xffffffff
je 0x180028ff6
xor eax, eax
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.18002d5c0
add rsp, 0x70
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
movups xmm0, xmmword [rdi + 8]
mov dword [rsp + 0x58], ecx
lea r9, [rsp + 0x48]
mov dword [rsp + 0x20], 0x14
mov edx, 0x29
movdqu xmmword [rsp + 0x48], xmm0
jmp 0x180028f9f
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
nop dword [rax + rax]
mov edi, eax
test byte [0x1800b78f3], 0x40
jne 0x180049637
mov eax, edi
jmp 0x180028fbb
mov dword [rsp + 0x30], ebp
mov r9d, esi
mov dword [rsp + 0x28], r14d
mov r8d, ebx
mov qword [rsp + 0x20], rdi
call fcn.18008bfb4
nop
jmp 0x180028f5a
test ebp, ebp
jne 0x180028f71
mov eax, 0x57
jmp 0x180028fbb
mov ecx, 0x19
lea rdx, [0x18009f218]
mov r9d, edi
mov r8d, ebx
call fcn.180087020
nop
jmp 0x180029011