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

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x88
lea rbp, [rsp + 0xc0]
xor eax, eax
mov qword [rbp - 0x48], rax
mov qword [rbp + 0x10], rcx
mov rsi, rdx
mov rdi, r8
mov rbx, r9
xor edx, edx
mov dword [rbp - 0x40], edx
lea rdx, [rbp - 0x40]
cmp dword [rcx], ecx
call fcn.1401395c0
mov rcx, qword [rbp + 0x10]
mov rdx, qword [rcx + 8]
test rsi, rsi
je 0x140181f11
add rsi, 0xc
jmp 0x140181f13
xor esi, esi
mov qword [rbp - 0x48], rsi
mov r14, qword [rbp + 0x30]
mov qword [rsp + 0x20], r14
mov r14, qword [rbp + 0x38]
mov qword [rsp + 0x28], r14
mov rcx, rdx
mov qword [rbp - 0x50], rcx
mov rdx, rsi
mov qword [rbp - 0x58], rdx
mov r8, rdi
mov qword [rbp - 0x60], r8
mov r9, rbx
mov qword [rbp - 0x68], r9
lea rcx, [rbp - 0x90]
call fcn.140005980
mov rcx, qword [rbp - 0x50]
mov rdx, qword [rbp - 0x58]
mov r8, qword [rbp - 0x60]
mov r9, qword [rbp - 0x68]
call sub.ADVAPI32.dll_RegQueryValueExW
mov esi, eax
lea rcx, [rbp - 0x90]
call fcn.1400059d0
nop
xor ecx, ecx
mov qword [rbp - 0x48], rcx
cmp byte [rbp - 0x40], 0
je 0x140181f8c
mov rcx, qword [rbp + 0x10]
xor edx, edx
call fcn.140139650
mov eax, esi
add rsp, 0x88
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret

Function at 0x1401a9460
Capabilities:
Hash data using murmur3

Disassembly:
push rdi
push rsi
sub rsp, 0x28
mov esi, ecx
cmp edx, 0xffffffff
jne 0x1401a9474
mov edi, 0xd5313557
jmp 0x1401a949b
mov ecx, edx
call fcn.1401a9390
mov rdx, rax
lea rcx, [0x1405d26a0]
lea r8, [0x1405d62b0]
call fcn.140092180
mov rcx, rax
call fcn.1401a9320
mov edi, eax
mov eax, edi
rol eax, 0xd
add eax, edi
mov edi, eax
xor edi, esi
mov eax, edi
rol eax, 0xf
add eax, edi
add rsp, 0x28
pop rsi
pop rdi
ret
Function at 0x1401bb980
Capabilities:
Create process on windows

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0xb8
lea rbp, [rsp + 0xf0]
xorps xmm4, xmm4
movaps xmmword [rbp - 0x50], xmm4
xor eax, eax
mov qword [rbp - 0x40], rax
mov rax, qword [rbp + 0x48]
test rcx, rcx
jne 0x1401bb9b5
xor ecx, ecx
jmp 0x1401bb9c1
add rcx, 0xc
mov qword [rbp - 0x40], rcx
mov rcx, qword [rbp - 0x40]
test rdx, rdx
jne 0x1401bb9ca
xor edx, edx
jmp 0x1401bb9d6
add rdx, 0xc
mov qword [rbp - 0x48], rdx
mov rdx, qword [rbp - 0x48]
xor r10d, r10d
cmp byte [rbp + 0x30], 0
setne r10b
test rax, rax
jne 0x1401bb9eb
xor r11d, r11d
jmp 0x1401bb9f7
add rax, 0xc
mov qword [rbp - 0x50], rax
mov r11, qword [rbp - 0x50]
mov dword [rsp + 0x20], r10d
mov eax, dword [rbp + 0x38]
mov dword [rsp + 0x28], eax
mov rax, qword [rbp + 0x40]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], r11
mov rax, qword [rbp + 0x50]
mov qword [rsp + 0x40], rax
mov rax, qword [rbp + 0x58]
mov qword [rsp + 0x48], rax
mov qword [rbp - 0x58], rcx
mov qword [rbp - 0x60], rdx
mov qword [rbp - 0x68], r8
mov qword [rbp - 0x70], r9
lea rcx, [rbp - 0x98]
call fcn.140005980
mov rcx, qword [rbp - 0x58]
mov rdx, qword [rbp - 0x60]
mov r8, qword [rbp - 0x68]
mov r9, qword [rbp - 0x70]
call sub.KERNEL32.dll_CreateProcessW
mov esi, eax
lea rcx, [rbp - 0x98]
call fcn.1400059d0
xor eax, eax
test esi, esi
setne al
movzx eax, al
add rsp, 0xb8
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret

Function at 0x140215330
Capabilities:
Hash data using murmur3

Disassembly:
xor eax, eax
mov r8d, dword [rdx + 8]
test r8d, r8d
jle 0x14021536e
mov r9d, eax
lea r9, [rdx + r9*8 + 0x10]
mov r9, qword [r9]
mov r10, r9
test r10, r10
jne 0x140215353
xor r10d, r10d
jmp 0x140215357
mov r10d, dword [r9 + 0x14]
mov r9d, ecx
rol r9d, 0xd
add r9d, ecx
mov ecx, r9d
xor ecx, r10d
inc eax
cmp r8d, eax
jg 0x14021533b
mov eax, ecx
rol eax, 0xf
add eax, ecx
ret

Function at 0x1402188e0
Capabilities:
Hash data using murmur3

Disassembly:
push rdi
push rsi
sub rsp, 0x28
mov esi, ecx
mov edi, edx
call fcn.1400010ce
mov eax, dword [rax]
add eax, 0x165667b1
add eax, 8
imul edx, esi, 0xc2b2ae3d
add edx, eax
rol edx, 0x11
imul eax, edx, 0x27d4eb2f
imul edx, edi, 0xc2b2ae3d
add edx, eax
rol edx, 0x11
imul eax, edx, 0x27d4eb2f
mov edx, eax
shr edx, 0xf
xor eax, edx
imul eax, eax, 0x85ebca77
mov edx, eax
shr edx, 0xd
xor eax, edx
imul eax, eax, 0xc2b2ae3d
mov edx, eax
shr edx, 0x10
xor eax, edx
add rsp, 0x28
pop rsi
pop rdi
ret
Function at 0x140218950
Capabilities:
Hash data using murmur3

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
mov esi, ecx
mov edi, edx
mov ebx, r8d
call fcn.1400010ce
mov eax, dword [rax]
add eax, 0x165667b1
add eax, 0xc
imul edx, esi, 0xc2b2ae3d
add edx, eax
rol edx, 0x11
imul eax, edx, 0x27d4eb2f
imul edx, edi, 0xc2b2ae3d
add edx, eax
rol edx, 0x11
imul eax, edx, 0x27d4eb2f
imul edx, ebx, 0xc2b2ae3d
add edx, eax
rol edx, 0x11
imul eax, edx, 0x27d4eb2f
mov edx, eax
shr edx, 0xf
xor eax, edx
imul eax, eax, 0x85ebca77
mov edx, eax
shr edx, 0xd
xor eax, edx
imul eax, eax, 0xc2b2ae3d
mov edx, eax
shr edx, 0x10
xor eax, edx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret

Function at 0x14021d3e0
Capabilities:
Encode data using xor
Hash data using murmur3

Disassembly:
push rdi
push rsi
push rbp
push rbx
sub rsp, 0x28
mov rsi, r8
mov edi, edx
xor ebx, ebx
mov ebp, dword [rsi + 8]
test ebp, ebp
jle 0x14021d414
mov ecx, ebx
mov rcx, qword [rsi + rcx*8 + 0x10]
mov rax, qword [rcx]
call qword [rax + 0x28]
mov edx, edi
rol edx, 0xd
add edx, edi
mov edi, eax
xor edi, edx
inc ebx
cmp ebp, ebx
jg 0x14021d3f6
mov eax, edi
rol eax, 0xf
add eax, edi
add rsp, 0x28
pop rbx
pop rbp
pop rsi
pop rdi
ret

Function at 0x14021d430
Capabilities:
Encode data using xor
Hash data using murmur3

Disassembly:
push rdi
push rsi
push rbp
push rbx
sub rsp, 0x28
mov rsi, r8
mov edi, edx
xor ebx, ebx
mov ebp, dword [rsi + 8]
test ebp, ebp
jle 0x14021d464
mov ecx, ebx
mov rcx, qword [rsi + rcx*8 + 0x10]
mov rax, qword [rcx]
call qword [rax + 0x28]
mov edx, edi
rol edx, 0xd
add edx, edi
mov edi, eax
xor edi, edx
inc ebx
cmp ebp, ebx
jg 0x14021d446
mov eax, edi
rol eax, 0xf
add eax, edi
add rsp, 0x28
pop rbx
pop rbp
pop rsi
pop rdi
ret
Function at 0x140002f40
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov rbx, r8
mov r14, rdx
mov rdi, rcx
je 0x140002f77
mov rbx, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x40]
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x38], rsi
mov rsi, rbx
mov r9, qword [rax]
test r9, r9
je 0x140002f98
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x140002f9a
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x140002ff3
test ecx, ecx
jle 0x140002fd3
cmp rbx, rbp
mov rcx, r9
cmovl rbp, rbx
mov r8, rbp
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rdi + 0x58]
sub rbx, rbp
add r14, rbp
sub dword [rax], ebp
mov rcx, qword [rdi + 0x40]
movsxd rax, ebp
add qword [rcx], rax
test rbx, rbx
jle 0x140002ff3
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x140002ff3
mov r8, rbx
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
sub rbx, rax
mov rbp, qword [rsp + 0x30]
sub rsi, rbx
mov rbx, qword [rsp + 0x40]
mov rax, rsi
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x140003020
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push r14
sub rsp, 0x20
mov rbp, r8
mov r14, rdx
mov rsi, rcx
test r8, r8
jg 0x140003051
xor eax, eax
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
cmp qword [rcx + 0x68], 0
je 0x14000306f
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsgetn_char____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x38]
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x38], rdi
mov rdi, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x140003090
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x140003092
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x1400030c4
cmp rax, rbp
mov rbx, rbp
mov rcx, r14
cmovb rbx, rax
mov r8, rbx
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rsi + 0x50]
add r14, rbx
sub rdi, rbx
sub dword [rax], ebx
mov rcx, qword [rsi + 0x38]
movsxd rax, ebx
add qword [rcx], rax
cmp qword [rsi + 0x80], 0
mov rbx, rdi
je 0x140003161
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x140003102
mov rcx, qword [rsi + 0x88]
mov rdx, qword [rsi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rsi + 0x38]
mov qword [rax], rcx
mov rax, qword [rsi + 0x50]
mov dword [rax], edx
cmp rdi, 0xfff
jbe 0x140003141
nop dword [rax + rax]
mov r9, qword [rsi + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
sub rdi, rax
add r14, rax
mov rbx, rdi
cmp rax, 0xfff
jne 0x140003182
cmp rdi, rax
ja 0x140003110
test rbx, rbx
je 0x140003161
mov r9, qword [rsi + 0x80]
mov r8, rdi
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
sub rbx, rax
sub rbp, rbx
mov rbx, qword [rsp + 0x30]
mov rax, rbp
mov rbp, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
sub rbp, rdi
jmp 0x140003164
Function at 0x140003590
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x70
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x1400035b4
xor eax, eax
mov rbx, qword [rsp + 0x88]
add rsp, 0x70
pop rdi
ret
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x1400035eb
mov rax, qword [rcx + 0x58]
movsxd rcx, dword [rax]
add rcx, rdx
cmp rdx, rcx
jae 0x1400035eb
mov rcx, rbx
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Pninc_void____ptr64]
mov byte [rax], dil
mov eax, edi
mov rbx, qword [rsp + 0x88]
add rsp, 0x70
pop rdi
ret
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0x80], rsi
je 0x140003714
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x14000362e
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x140003659
mov rdx, qword [rbx + 0x80]
movsx ecx, dil
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x140003719
lea rax, [rsp + 0x90]
mov byte [rsp + 0x40], dil
mov qword [rsp + 0x38], rax
lea rdx, [rbx + 0x74]
lea rax, [rsp + 0x68]
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x41]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x40]
lea rax, [rsp + 0x98]
mov qword [rsp + 0x20], rax
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::out_struct__Mbstatet____ptr64__char_const____ptr64__char_const____ptr64__char_const____ptr64____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x1400036ce
sub eax, 1
je 0x1400036ce
cmp eax, 2
jne 0x140003714
movsx ecx, byte [rsp + 0x40]
mov rdx, qword [rbx + 0x80]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x140003719
mov rsi, qword [rsp + 0x90]
lea rax, [rsp + 0x48]
sub rsi, rax
je 0x1400036ff
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x48]
mov r8, rsi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rsi, rax
jne 0x140003714
lea rax, [rsp + 0x40]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x98], rax
mov eax, edi
jne 0x140003719
mov eax, 0xffffffff
mov rsi, qword [rsp + 0x80]
mov rbx, qword [rsp + 0x88]
add rsp, 0x70
pop rdi
ret
Function at 0x140003b60
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x50
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x140003c29
cmp byte [rcx + 0x71], 0
je 0x140003c29
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x68], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x140003c1c
mov rcx, qword [rbx + 0x68]
lea rax, [rsp + 0x60]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x50]
lea r8, [rsp + 0x30]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x140003bd8
sub eax, 1
je 0x140003bdc
cmp eax, 2
jne 0x140003c1c
mov rdi, qword [rsp + 0x68]
mov al, 1
mov byte [rbx + 0x71], 0
add rsp, 0x50
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x60]
lea rax, [rsp + 0x30]
sub rdi, rax
je 0x140003c0a
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x30]
mov r8, rdi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rdi, rax
jne 0x140003c1c
cmp byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x68]
sete al
add rsp, 0x50
pop rbx
ret
mov rdi, qword [rsp + 0x68]
xor al, al
add rsp, 0x50
pop rbx
ret
mov al, 1
add rsp, 0x50
pop rbx
ret
Function at 0x140002fa0
Capabilities:
Get socket status
Send data
Send data on socket

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x270
mov rax, qword [0x1400c1008]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov r14, r8
mov rbx, rdx
mov rdi, rcx
xor r15d, r15d
mov qword [rsp + 0x48], r15
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x50]
call sub.VCRUNTIME140.dll_memset
nop
test rdi, rdi
je 0x1400030f1
cmp rbx, 0xffffffffffffffff
je 0x1400030f1
test r14, r14
je 0x1400030f1
movabs rax, 0x4000000000000000
or qword [r14 + 8], rax
mov dword [rsp + 0x48], r15d
mov dword [rsp + 0x4c], 0xf4240
mov esi, 0xa080
mov qword [rsp + 0x40], rsi
mov edi, r15d
mov qword [rsp + 0x38], r15
nop word [rax + rax]
mov dword [rsp + 0x50], r15d
mov eax, r15d
mov dword [rsp + 0x30], eax
mov ecx, eax
cmp eax, r15d
jae 0x14000305e
cmp qword [rsp + rcx*8 + 0x58], rbx
je 0x14000305e
inc eax
jmp 0x140003048
test eax, eax
jne 0x14000306b
mov qword [rsp + rcx*8 + 0x58], rbx
inc dword [rsp + 0x50]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8, [rsp + 0x50]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.WS2_32.dll_select]
cmp eax, 0xffffffff
je 0x1400030ef
cmp eax, 1
jne 0x1400030a3
lea rdx, [rsp + 0x50]
mov rcx, rbx
call qword [sym.imp.WS2_32.dll___WSAFDIsSet]
test eax, eax
je 0x1400030f1
xor r9d, r9d
mov r8d, esi
mov rdx, r14
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
jne 0x1400030ce
test rdi, rdi
jne 0x1400030cc
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2746
je 0x1400030eb
jmp 0x1400030f1
cdqe
add rdi, rax
mov qword [rsp + 0x38], rdi
mov esi, 0xa080
sub rsi, rdi
mov qword [rsp + 0x40], rsi
jne 0x140003040
xor eax, eax
jmp 0x1400030fd
jmp 0x1400030f1
mov eax, 1
jmp 0x1400030fd
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.140001ea0
lea r11, [rsp + 0x270]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
Function at 0x140003360
Capabilities:
Connect socket
Initialize winsock library
Resolve dns

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x1e0
mov rax, qword [0x1400c1008]
xor rax, rsp
mov qword [rsp + 0x1d0], rax
mov rdi, rcx
mov dword [rsp + 0x20], 1
xor edx, edx
mov r8d, 0x198
lea rcx, [rsp + 0x30]
call sub.VCRUNTIME140.dll_memset
nop
cmp dword [0x140199d98], 0
jne 0x1400033d3
mov ecx, 0x202
lea rdx, [rsp + 0x30]
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x1400034f4
mov dword [0x140199d98], 1
mov edx, socket
lea r9, [rdx - 0x15]
lea rcx, [rdi + 0x64]
cmp dword [rdi + 0x1c], 1
jne 0x1400033f3
mov dword [rdi + 0x18], 1
lea r8, [rdi + 0x28]
jmp 0x1400033fa
lea r8, [0x1400c6d00]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy_s]
mov edx, 0xa
lea r9, [rdx - 0xb]
lea rcx, [rdi + 0x82]
cmp dword [rdi + 0x20], 1
jne 0x140003423
mov dword [rdi + 0x18], 1
lea r8, [rdi + 0x3c]
jmp 0x14000342a
lea r8, [0x1400c6c54]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy_s]
lea r8, [rdi + 0xd0]
xorps xmm0, xmm0
movups xmmword [r8], xmm0
movups xmmword [r8 + 0x10], xmm0
movups xmmword [r8 + 0x20], xmm0
mov dword [rdi + 0xd4], 2
mov dword [rdi + 0xd8], 1
mov dword [rdi + 0xdc], 6
mov dword [r8], 1
lea r9, [rdi + 0x98]
lea rdx, [rdi + 0x82]
lea rcx, [rdi + 0x64]
call qword [sym.imp.WS2_32.dll_getaddrinfo]
test eax, eax
jne 0x1400034f4
mov rbx, qword [rdi + 0x98]
test rbx, rbx
je 0x1400034f4
mov r8d, dword [rbx + 0xc]
mov edx, dword [rbx + 8]
mov ecx, dword [rbx + 4]
call qword [sym.imp.WS2_32.dll_socket]
mov qword [rdi + 0x108], rax
cmp rax, 0xffffffffffffffff
je 0x1400034f4
mov r8d, dword [rbx + 0x10]
mov rdx, qword [rbx + 0x20]
mov rcx, rax
call qword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x1400034f0
mov rcx, qword [rdi + 0x108]
call qword [sym.imp.WS2_32.dll_closesocket]
cmp eax, 0xffffffff
je 0x1400034f4
mov qword [rdi + 0x108], 0xffffffffffffffff
mov rbx, qword [rbx + 0x28]
jmp 0x140003490
xor eax, eax
jmp 0x140003500
mov eax, 1
jmp 0x140003500
mov rcx, qword [rsp + 0x1d0]
xor rcx, rsp
call fcn.140001ea0
lea r11, [rsp + 0x1e0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret
Function at 0x14000c1e0
Capabilities:
Access the windows event log

Disassembly:
mov qword [rsp + 0x18], rbx
push rsi
push rdi
push r14
mov eax, 0x10070
call fcn.1400ae240
sub rsp, rax
mov rax, qword [0x1400c1008]
xor rax, rsp
mov qword [rsp + 0x10060], rax
movsxd rsi, r8d
mov rdi, rdx
mov rbx, rcx
xor r14d, r14d
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x58], r14
xor edx, edx
mov r8d, 0x10000
lea rcx, [rsp + 0x60]
call sub.VCRUNTIME140.dll_memset
nop
test rbx, rbx
je 0x14000c337
test rdi, rdi
je 0x14000c337
cmp byte [rdi], r14b
je 0x14000c337
cmp dword [rbx + 0x128d8], r14d
jne 0x14000c335
cmp dword [rbx + 0x8b0], r14d
jne 0x14000c335
cmp dword [rbx + 0x8b4], 1
jne 0x14000c335
cmp qword [rbx + 0x84020], r14
je 0x14000c335
mov edx, 0x8000
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strnlen]
mov qword [rsp + 0x20], 0xffffffffffffffff
mov r9, rdi
mov r8d, 0x8000
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x50]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_mbstowcs_s]
mov word [rsp + 0x1005e], r14w
lea rax, [rsp + 0x60]
mov qword [rsp + 0x58], rax
cmp esi, 5
ja case.0x14000c2d9.0
lea rdx, [0x140000000]
mov ecx, dword [rdx + rsi*4 + 0xc360]
add rcx, rdx
jmp rcx
mov ecx, 2
jmp 0x14000c2f1
mov eax, 1
movzx ecx, ax
jmp 0x14000c2f6
mov ecx, 4
mov eax, 1
mov r10, qword [rbx + 0x84020]
test r10, r10
je 0x14000c335
mov r8d, eax
mov qword [rsp + 0x40], r14
lea rdx, [rsp + 0x58]
mov qword [rsp + 0x38], rdx
mov dword [rsp + 0x30], r14d
mov word [rsp + 0x28], ax
mov qword [rsp + 0x20], r14
mov r9d, 0x40000002
movzx edx, cx
mov rcx, r10
call qword [sym.imp.ADVAPI32.dll_ReportEventW]
jmp 0x14000c339
jmp 0x14000c339
mov rcx, qword [rsp + 0x10060]
xor rcx, rsp
call fcn.140001ea0
mov rbx, qword [rsp + 0x100a0]
add rsp, 0x10070
pop r14
pop rdi
pop rsi
ret
Function at 0x14000ce20
Capabilities:
Access the windows event log

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
mov eax, 0x10070
call fcn.1400ae240
sub rsp, rax
mov rax, qword [0x1400c1008]
xor rax, rsp
mov qword [rsp + 0x10060], rax
mov rdi, rdx
mov rbx, rcx
mov r14d, 1
mov ecx, r14d
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
xor r15d, r15d
mov qword [rsp + 0x50], r15
xor edx, edx
mov r8d, 0x10000
lea rcx, [rsp + 0x60]
call sub.VCRUNTIME140.dll_memset
nop
test rbx, rbx
je 0x14000cf5b
test rdi, rdi
je 0x14000cf5b
cmp byte [rdi], r15b
je 0x14000cf5b
mov ecx, r14d
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rsi, rax
cmp dword [rbx + 0x12850], r15d
je 0x14000cec8
mov rcx, rbx
call fcn.14000c740
mov r8, rdi
lea rdx, str.DIAG:__s_n
mov rcx, rsi
call fcn.1400010a0
cmp dword [rbx + 0x128d8], 0
jne 0x14000cf59
cmp dword [rbx + 0x8b4], 1
jne 0x14000cf59
cmp dword [rbx + 0x12850], 0
je 0x14000cf59
cmp qword [rbx + 0x84020], 0
je 0x14000cf59
mov edx, 0x8000
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strnlen]
mov r8, rax
mov rdx, rdi
lea rcx, [rsp + 0x60]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_mbstowcs]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x50], rax
mov rcx, qword [rbx + 0x84020]
test rcx, rcx
je 0x14000cf59
mov r8d, r14d
mov edx, 4
mov qword [rsp + 0x40], r15
lea rax, [rsp + 0x50]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], r15d
mov word [rsp + 0x28], r14w
mov qword [rsp + 0x20], r15
mov r9d, 0x40000002
call qword [sym.imp.ADVAPI32.dll_ReportEventW]
jmp 0x14000cf5d
jmp 0x14000cf5d
mov rcx, qword [rsp + 0x10060]
xor rcx, rsp
call fcn.140001ea0
lea r11, [rsp + 0x10070]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
Function at 0x14000d7d0
Capabilities:
Access the windows event log

Disassembly:
mov qword [rsp + 0x20], rbx
push rsi
push rdi
push r12
push r14
push r15
mov eax, 0x18070
call fcn.1400ae240
sub rsp, rax
mov rax, qword [0x1400c1008]
xor rax, rsp
mov qword [rsp + 0x18060], rax
mov r14d, r8d
mov rdi, rdx
mov rbx, rcx
mov r15d, 1
mov ecx, r15d
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
xor r12d, r12d
mov qword [rsp + 0x50], r12
xor edx, edx
mov r8d, 0x10000
lea rcx, [rsp + 0x8060]
call sub.VCRUNTIME140.dll_memset
xor edx, edx
mov r8d, 0x8000
lea rcx, [rsp + 0x60]
call sub.VCRUNTIME140.dll_memset
nop
test rbx, rbx
je 0x14000d961
test rdi, rdi
je 0x14000d961
cmp byte [rdi], r12b
je 0x14000d961
mov ecx, r15d
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rsi, rax
cmp dword [rbx + 0x12850], r12d
je 0x14000d891
mov rcx, rbx
call fcn.14000c740
mov r9d, r14d
mov r8, rdi
lea rdx, str.DIAG:__s___d__n
mov rcx, rsi
call fcn.1400010a0
cmp dword [rbx + 0x128d8], 0
jne 0x14000d95f
cmp dword [rbx + 0x12850], 0
je 0x14000d95f
cmp qword [rbx + 0x84020], 0
je 0x14000d95f
cmp dword [rbx + 0x8b4], 1
jne 0x14000d95f
mov dword [rsp + 0x28], r14d
mov qword [rsp + 0x20], rdi
lea r9, str._s___d_
mov edx, 0x8000
mov r8, 0xffffffffffffffff
lea rcx, [rsp + 0x60]
call fcn.140001030
mov edx, 0x8000
lea rcx, [rsp + 0x60]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strnlen]
mov r8, rax
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x8060]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_mbstowcs]
lea rax, [rsp + 0x8060]
mov qword [rsp + 0x50], rax
mov rcx, qword [rbx + 0x84020]
test rcx, rcx
je 0x14000d95f
mov r8d, r15d
mov edx, 4
mov qword [rsp + 0x40], r12
lea rax, [rsp + 0x50]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], r12d
mov word [rsp + 0x28], r15w
mov qword [rsp + 0x20], r12
mov r9d, 0x40000002
call qword [sym.imp.ADVAPI32.dll_ReportEventW]
jmp 0x14000d963
jmp 0x14000d963
mov rcx, qword [rsp + 0x18060]
xor rcx, rsp
call fcn.140001ea0
mov rbx, qword [rsp + 0x180b8]
add rsp, 0x18070
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret