joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140091f00
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x90
mov rax, qword [0x1400b9040]
xor rax, rsp
mov qword [rsp + 0x80], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
xor edi, edi
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x60], 7
mov word [rsp + 0x48], di
mov dword [rsp + 0x40], ecx
movabs rdx, 0xda2eb8a7564e8f4d
mov qword [rsp + 0x20], rdx
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x30], rax
movabs rcx, 0xcdabc30afa3a8e9e
mov qword [rsp + 0x20], rcx
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x20], rdx
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x20], rcx
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x78], rax
movdqa xmm0, xmmword [rsp + 0x30]
xorps xmm0, xmmword [rsp + 0x70]
movdqa xmmword [rsp + 0x30], xmm0
lea rax, [rsp + 0x30]
mov rdx, 0xffffffffffffffff
nop dword [rax]
inc rdx
cmp word [rax + rdx*2], 0
jne 0x140091fb0
lea rcx, [rsp + 0x48]
cmp rdx, 7
ja 0x140091fe2
mov qword [rsp + 0x58], rdx
lea rbx, [rdx + rdx]
mov r8, rbx
lea rdx, [rsp + 0x30]
call sub.VCRUNTIME140.dll_memcpy
mov word [rsp + rbx + 0x48], di
jmp 0x140091fec
lea r9, [rsp + 0x30]
call fcn.1400907e0
mov qword [rsp + 0x68], rdi
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop dword [rax]
nop word [rax + rax]
mov r10, qword [rax + 0x30]
movsxd rcx, dword [r10 + 0x3c]
mov ebx, dword [rcx + r10 + 0x88]
add rbx, r10
cmp rbx, r10
je 0x140092086
mov r9d, dword [rbx + 0x18]
test r9d, r9d
je 0x140092086
mov edi, dword [rbx + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
lea rcx, [rdi + r9*4]
mov ecx, dword [rcx + r10]
add rcx, r10
mov r8d, 0x5a1f024
movzx edx, byte [rcx]
inc rcx
test dl, dl
je 0x140092081
nop
movsx edx, dl
xor edx, r8d
imul r8d, edx, 0x1000193
movzx edx, byte [rcx]
lea rcx, [rcx + 1]
test dl, dl
jne 0x140092060
cmp r8d, 0x548992f6
je 0x14009208b
test r9d, r9d
jne 0x140092040
mov rax, qword [rax]
jmp 0x140092010
mov ecx, dword [rbx + 0x1c]
add rcx, r10
mov eax, dword [rbx + 0x24]
add rax, r10
movzx eax, word [rax + r9*2]
mov r8d, dword [rcx + rax*4]
add r8, r10
lea rdx, [rsp + 0x40]
lea rcx, [0x140091b90]
call r8
mov rbx, qword [rsp + 0x68]
mov rdx, qword [rsp + 0x60]
cmp rdx, 7
jbe 0x1400920fc
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400920f7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400920f7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400985e0
mov rax, rbx
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.1400985c0
mov rbx, qword [rsp + 0xa8]
add rsp, 0x90
pop rdi
ret
Function at 0x140093b10
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x40
mov rdi, rcx
mov qword [rsp + 0x30], rcx
xor ebp, ebp
mov dword [rsp + 0x20], ebp
mov r14d, 7
mov rax, qword gs:[0x58]
mov rsi, qword [rax]
mov r15d, 0x14
mov eax, dword [r15 + rsi]
mov r12d, 0x20
test al, 1
jne 0x140093bb8
or eax, 1
mov dword [r15 + rsi], eax
mov ebx, r12d
add rbx, rsi
call qword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov edx, eax
mov dword [rbx + 0x1384], 0xffffffff
mov dword [rbx + 4], eax
mov ecx, 1
lea r8, [rbx + 8]
nop word [rax + rax]
mov eax, edx
shr eax, 0x1e
xor eax, edx
imul edx, eax, 0x6c078965
add edx, ecx
mov dword [r8], edx
inc rcx
lea r8, [r8 + 4]
cmp rcx, 0x270
jb 0x140093b90
mov dword [rbx], 0x270
mov eax, dword [r15 + rsi]
mov ecx, 0x13a8
test al, 2
jne 0x140093bd9
or eax, 2
mov dword [r15 + rsi], eax
mov qword [rsi + rcx], rbp
mov qword [rsi + rcx + 8], 0x33
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], rbp
mov qword [rdi + 0x18], 0xf
mov byte [rdi], 0
mov dword [rsp + 0x20], 1
lea r15, [rcx + rsi]
mov ebx, r12d
add rbx, rsi
lea r12, str.abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ
nop word [rax + rax]
dec r14
mov qword [rsp + 0x28], rbx
mov rbp, qword [r15]
mov rdx, qword [r15 + 8]
sub rdx, rbp
cmp rdx, 0xffffffffffffffff
jne 0x140093c45
mov rcx, rbx
call fcn.140095a90
mov esi, eax
shl rsi, 0x20
mov rcx, rbx
call fcn.140095a90
mov eax, eax
or rsi, rax
jmp 0x140093c55
inc rdx
lea rcx, [rsp + 0x28]
call fcn.1400958e0
mov rsi, rax
lea rax, [rsi + rbp]
movzx r9d, byte [rax + r12]
mov rcx, qword [rdi + 0x10]
mov rdx, qword [rdi + 0x18]
cmp rcx, rdx
jae 0x140093c8a
lea rax, [rcx + 1]
mov qword [rdi + 0x10], rax
mov rax, rdi
cmp rdx, 0xf
jbe 0x140093c7f
mov rax, qword [rdi]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x140093c92
mov rcx, rdi
call fcn.140004ed0
test r14, r14
jne 0x140093c10
mov rax, rdi
mov rbx, qword [rsp + 0x78]
mov rbp, qword [rsp + 0x80]
add rsp, 0x40
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
Function at 0x140095a90
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
sub rsp, 8
mov r9, rcx
mov r10d, 0x270
mov ecx, dword [rcx]
cmp ecx, r10d
jne 0x140095af1
lea r8, [r9 + 8]
nop dword [rax + rax]
mov edx, dword [r8 - 4]
xor edx, dword [r8]
lea r8, [r8 + 4]
btr edx, 0x1f
xor edx, dword [r8 - 8]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x62c]
xor ecx, edx
mov dword [r8 + 0x9b8], ecx
sub r10, 1
jne 0x140095ab0
mov ecx, dword [r9]
jmp 0x140095bd8
cmp ecx, 0x4e0
jb 0x140095bd8
lea r10, [r9 + 0x9c4]
mov qword [rsp], rbx
mov r11d, dword [r10]
mov ebx, 0xe3
mov eax, r11d
mov r11d, dword [r10 + 4]
mov edx, r11d
lea r10, [r10 + 4]
xor edx, eax
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r10 + 0x630]
xor ecx, edx
mov dword [r10 - 0x9c4], ecx
sub rbx, 1
jne 0x140095b10
lea r10, [r9 + 0xd50]
mov ebx, 0x18c
mov r11d, dword [r10]
nop dword [rax + rax]
mov eax, r11d
mov r11d, dword [r10 + 4]
mov edx, r11d
lea r10, [r10 + 4]
xor edx, eax
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r10 - 0xd50]
xor ecx, edx
mov dword [r10 - 0x9c4], ecx
sub rbx, 1
jne 0x140095b60
mov eax, dword [r9 + 0x1380]
mov edx, eax
xor edx, dword [r9 + 4]
mov rbx, qword [rsp]
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r9 + 0x634]
xor ecx, edx
mov dword [r9 + 0x9c0], ecx
xor ecx, ecx
mov dword [r9], ecx
mov eax, ecx
mov edx, dword [r9 + rax*4 + 4]
lea eax, [rcx + 1]
mov dword [r9], eax
mov ecx, edx
mov eax, dword [r9 + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
xor eax, edx
add rsp, 8
ret
Function at 0x140095d70
Capabilities:
Get system information on windows
Make suspicious ntquerysysteminformation call

Disassembly:
mov qword [rsp + 0x20], rbp
push rdi
push r14
push r15
sub rsp, 0x30
mov rax, qword [0x1400b9040]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov r14, rdx
xor ebp, ebp
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
xor edx, edx
mov r8d, 0x2000
mov rcx, rax
mov r15, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [rsp + 0x20], ebp
mov rdi, rax
test rax, rax
je 0x140095e79
lea r9, [rsp + 0x20]
mov r8d, 0x2000
mov rdx, rax
mov ecx, 0xb
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
test eax, eax
jns 0x140095e1b
mov r8, rdi
xor edx, edx
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov r8d, dword [rsp + 0x20]
xor edx, edx
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rdi, rax
test rax, rax
je 0x140095e79
mov r8d, dword [rsp + 0x20]
lea r9, [rsp + 0x20]
mov rdx, rax
mov ecx, 0xb
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
test eax, eax
js 0x140095e79
cmp dword [rdi], ebp
jbe 0x140095e79
mov qword [rsp + 0x50], rbx
mov ebx, ebp
mov qword [rsp + 0x60], rsi
nop dword [rax + rax]
movsxd rax, ebx
mov rdx, r14
imul rsi, rax, 0x128
lea rcx, [rsi + 0x30]
add rcx, rdi
call qword [sym.imp.VCRUNTIME140.dll_strstr]
test rax, rax
jne 0x140095e57
inc ebx
cmp ebx, dword [rdi]
jb 0x140095e30
jmp 0x140095e5c
mov rbp, qword [rsi + rdi + 0x18]
mov r8, rdi
xor edx, edx
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rsi, qword [rsp + 0x60]
mov rax, rbp
mov rbx, qword [rsp + 0x50]
jmp 0x140095e7b
xor eax, eax
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.1400985c0
mov rbp, qword [rsp + 0x68]
add rsp, 0x30
pop r15
pop r14
pop rdi
ret
Function at 0x140097914
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 0x14009794e
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x140097953
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 0x14009799c
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x14009ec20]
cmp byte [rcx + rax], 0
je 0x14009799c
dec r8
sub rdx, 1
jne 0x140097982
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x1400980e8
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
mov rdx, rcx
mov ecx, 0x105
call fcn.140097a2c
mov ebx, eax
test eax, eax
jne 0x140098118
and dword [rsp + 0x38], eax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x3c], eax
jmp 0x14009817b
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140098172
test al, 0x10
je 0x140098172
bt eax, 0xa
jae 0x14009816b
mov r9d, 0x2000000
lea rcx, [rsp + 0x38]
mov r8d, 0x80
mov rdx, rdi
call fcn.14009818c
mov rcx, qword [rsp + 0x38]
mov edi, eax
cmp rcx, 0xffffffffffffffff
je 0x140098167
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x140098167
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_abort]
int3
test edi, edi
jne 0x140098172
and dword [rsp + 0x3c], 0
jmp 0x140098177
or dword [rsp + 0x3c], 0xffffffff
mov dword [rsp + 0x38], ebx
mov rax, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x1400993a8
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400993f2
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400993f2
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400993f2
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400993f2
cmp dword [rcx + 0x84], 0xe
jbe 0x1400993f2
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400993f4
xor al, al
add rsp, 0x28
ret
Function at 0x180014b30
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x80
imul ebp, ecx, 0x2df
mov rdi, r9
mov r15, r8
mov r14, rdx
mov esi, ecx
mov ebx, ecx
cmp ecx, ebp
ja 0x180014d44
xor r12d, r12d
nop word [rax + rax]
mov eax, ebx
sub eax, 0x31
je 0x180014cca
sub eax, 0x3a
je 0x180014bac
sub eax, 0x4c
je 0x180014c02
sub eax, 0x3d25
je 0x180014b99
cmp eax, 0x3d71
je 0x180014d44
jmp 0x180014bed
mov rdx, rdi
mov ecx, 0x95
call fcn.18000f470
mov byte [rsp + 0x78], al
jmp 0x180014bed
xor r9d, r9d
mov qword [rsp + 0x20], r12
xor r8d, r8d
mov rcx, rdi
lea edx, [r9 + 0x3e]
call fcn.18000db80
xor r8d, r8d
xor ecx, ecx
test al, al
jne 0x180014c96
mov qword [rsp + 0x28], r12
lea edx, [rcx + 0x72]
xor r9d, r9d
mov qword [rsp + 0x20], r12
call fcn.1800064a0
test al, al
je 0x180014cc3
imul eax, esi, 0x93
add ebx, eax
cmp ebx, ebp
jbe 0x180014b70
jmp 0x180014d44
mov rbx, qword [rsp + 0xd0]
xor r9d, r9d
mov qword [rsp + 0x50], r12
xor r8d, r8d
mov qword [rsp + 0x48], r12
xor ecx, ecx
mov qword [rsp + 0x40], r12
mov eax, dword [rbx]
lea edx, [r9 + 0x55]
mov qword [rsp + 0x38], r12
mov dword [rsp + 0xb0], eax
lea rax, [rsp + 0xb0]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r12
mov dword [rsp + 0x68], 1
call fcn.18000d660
mov dword [rsp + 0x60], eax
lea r9, [rsp + 0x68]
mov eax, dword [rbx]
lea rcx, [rsp + 0x70]
mov dword [rsp + 0x70], eax
mov r8d, 0x60
lea rax, [rsp + 0x60]
mov rdx, r15
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], r14
call fcn.180012ca0
mov dword [rsp + 0x78], eax
jmp 0x180014d44
mov r9, rdi
mov edx, 0xe5
call fcn.180006700
test al, al
je 0x180014cc3
mov rdx, qword [r14]
mov r9d, 0x9e
xor r8d, r8d
xor ecx, ecx
call fcn.18001aec0
mov byte [rsp + 0x78], al
jmp 0x180014d44
mov byte [rsp + 0x78], r12b
jmp 0x180014d44
mov rax, qword [rdi + 0x28]
test rax, rax
jne 0x180014cdd
lea ecx, [rax + 1]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
movsd xmm4, qword [rax]
movsd xmm2, qword [rdi]
ucomisd xmm4, xmm2
jp 0x180014cf2
jne 0x180014cf2
xorps xmm0, xmm0
jmp 0x180014d3e
movsd xmm3, qword [rdi + 8]
subsd xmm2, xmm4
subsd xmm3, qword [rax + 8]
movsd xmm0, qword [0x180071da0]
movaps xmm1, xmm3
andps xmm1, xmmword [0x180072090]
comisd xmm0, xmm1
jbe 0x180014d2c
movsd xmm0, qword [rax + 0x10]
addsd xmm0, qword [rdi + 0x10]
mulsd xmm0, qword [0x180071dd0]
jmp 0x180014d3a
movsd xmm0, qword [rdi + 0x10]
subsd xmm0, qword [rax + 0x10]
divsd xmm0, xmm3
mulsd xmm0, xmm2
movsd qword [rsp + 0x78], xmm0
mov rax, qword [rsp + 0x78]
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
Function at 0x180021a80
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
lea ebp, [rdx + 0x192]
mov r14, r8
mov r12, rcx
cmp edx, ebp
jae case.0x180021ae0.2
mov r15, qword [rsp + 0x88]
lea esi, [rdx - 0x43]
lea r13, [0x180000000]
nop word [rax + rax]
cmp esi, 0xcd
ja case.0x180021ae0.5
movzx eax, byte [rsi + r13 + 0x21bc0]
mov ecx, dword [r13 + rax*4 + 0x21ba8]
add rcx, r13
jmp rcx
test r15, r15
jne case.0x180021ae0.5
mov byte [rsp + 0x78], r15b
mov eax, dword [rsp + 0x78]
mov rbx, qword [rsp + 0x70]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov qword [0x180079288], r14
lea r8, [0x180022770]
mov qword [rsp + 0x28], 0
mov r9, r14
xor edx, edx
mov qword [r14 + 0x80], r12
xor ecx, ecx
mov dword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov r15, rax
jmp case.0x180021ae0.5
mov rax, r15
mov byte [rsp + 0x78], 1
xchg qword [0x180079290], rax
jmp case.0x180021ae0.5
test r14, r14
je 0x180021b9e
mov rbx, qword [r14 + 0x10]
test rbx, rbx
je 0x180021b83
mov rcx, qword [rbx + 0x10]
mov rdi, qword [rbx]
test rcx, rcx
je 0x180021b72
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rbx, rdi
test rdi, rdi
jne 0x180021b60
mov dword [rsp + 0x78], 0
add esi, 0x43
lea eax, [rsi + 0x43]
cmp eax, ebp
jb 0x180021ac0
jmp case.0x180021ae0.2
mov eax, 1
jmp 0x180021af4
Function at 0x180068380
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
sub rsp, 0x28
mov rax, qword [0x1800792d0]
test rax, rax
je 0x1800683ad
lea rdx, [rsp + 0x38]
call rax
jmp 0x1800683ca
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rdx, qword [rsp + 0x30]
lea r8, [rsp + 0x38]
mov rcx, rax
call fcn.1800687a0
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
Function at 0x1800027d0
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 r14
push r15
sub rsp, 0x20
mov r15, qword [0x1801e4050]
xor esi, esi
mov ebp, r8d
mov r14, rdx
mov ebx, esi
mov edi, r8d
mov eax, esi
test r8d, r8d
jle 0x180002832
nop dword [rax]
nop word [rax + rax]
movsxd rdx, ebx
xor r9d, r9d
add rdx, r14
mov r8d, edi
mov rcx, r15
call qword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
je 0x180002835
add ebx, eax
sub edi, eax
cmp ebx, ebp
jl 0x180002810
cmp eax, 0xffffffff
mov rbx, qword [rsp + 0x40]
setne sil
mov rbp, qword [rsp + 0x48]
lea eax, [rsi - 1]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret

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

Disassembly:
push r14
sub rsp, 0x60
mov rax, qword [0x1801d72c0]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov r14, rcx
mov dword [rsp + 0x20], edx
lea rcx, reloc.OLEAUT32.dll_SysReAllocString
mov qword [rsp + 0x28], r8
call fcn.18014f528
test eax, eax
jne 0x18000299f
cmp dword [0x1801d7f8c], 0x7fffffff
je 0x18000298a
mov qword [rsp + 0x58], rbx
xor ebx, ebx
mov qword [rsp + 0x50], rbp
mov rbp, qword [0x1801e4050]
mov qword [rsp + 0x48], rsi
mov esi, 4
mov qword [rsp + 0x40], rdi
mov edi, ebx
nop dword [rax]
movsxd rax, edi
lea rdx, [rsp + 0x20]
add rdx, rax
xor r9d, r9d
mov r8d, esi
mov rcx, rbp
call qword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
je 0x1800028f8
add edi, eax
sub esi, eax
cmp edi, 4
jl 0x1800028d0
mov rbp, qword [0x1801e4050]
cmp eax, 0xffffffff
mov esi, ebx
mov edi, 8
setne sil
dec esi
nop
movsxd rax, ebx
lea rdx, [rsp + 0x28]
add rdx, rax
xor r9d, r9d
mov r8d, edi
mov rcx, rbp
call qword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
je 0x180002938
add ebx, eax
sub edi, eax
cmp ebx, 8
jl 0x180002910
mov r8d, dword [rsp + 0x20]
mov ebx, 0xffffffff
cmp eax, ebx
mov rdx, r14
cmove esi, ebx
call fcn.1800027d0
cmp eax, ebx
lea rcx, reloc.OLEAUT32.dll_SysReAllocString
cmove esi, ebx
call fcn.18014f530
mov rdi, qword [rsp + 0x40]
mov eax, esi
mov rsi, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1801525e0
add rsp, 0x60
pop r14
ret
mov ecx, 6
mov dword [0x1801d7f8c], 0x7ffffffe
call fcn.18014ecd4
int3
mov ecx, 5
call fcn.18014ecd4
int3
Function at 0x1800064c0
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov rsi, rdx
mov rbx, rcx
mov rdi, qword [rcx + 0x10]
test rdi, rdi
je 0x180006576
mov rbx, qword [rcx]
cmp qword [rdi], 0
je 0x180006542
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test rax, rax
je 0x180006561
lea rdx, str.RegDeleteKeyTransactedA
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x180006561
mov qword [rsp + 0x28], 0
mov rdx, qword [rdi]
mov qword [rsp + 0x20], rdx
xor r9d, r9d
xor r8d, r8d
mov rdx, rsi
mov rcx, rbx
call rax
nop
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
cmp dword [rdi + 8], 0
je 0x180006561
mov rcx, rbx
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
jmp qword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov eax, 1
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
cmp byte [0x1801e4948], 0
jne 0x1800065c1
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test rax, rax
je 0x1800065b1
lea rdx, str.RegDeleteKeyExA
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1801e4950], rax
mov byte [0x1801e4948], 1
jmp 0x1800065c8
mov rax, qword [0x1801e4950]
mov byte [0x1801e4948], 1
jmp 0x1800065c8
mov rax, qword [0x1801e4950]
mov rdx, rsi
mov rcx, qword [rbx]
test rax, rax
je 0x18000654b
xor r9d, r9d
mov r8d, dword [rbx + 8]
call rax
nop
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
Function at 0x180006700
Capabilities:
Query or enumerate registry key

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x180
mov rax, qword [0x1801d72c0]
xor rax, rsp
mov qword [rsp + 0x170], rax
mov r9d, dword [rcx + 8]
xor ebp, ebp
mov rsi, rdx
mov qword [rsp + 0x48], rbp
mov r8, rdx
mov qword [rsp + 0x40], rbp
mov rdx, qword [rcx]
mov rdi, rcx
or r9d, 0x2001f
mov qword [rsp + 0x50], rbp
lea rcx, [rsp + 0x40]
call fcn.180006600
mov rcx, qword [rsp + 0x40]
mov ebx, eax
test eax, eax
jne 0x18000681c
lea rax, [rsp + 0x60]
mov dword [rsp + 0x58], 0x100
mov qword [rsp + 0x38], rax
lea r9, [rsp + 0x58]
mov qword [rsp + 0x30], rbp
lea r8, [rsp + 0x70]
mov qword [rsp + 0x28], rbp
xor edx, edx
mov qword [rsp + 0x20], rbp
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
jne 0x1800067f1
nop dword [rax]
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x40]
call fcn.180006700
mov rcx, qword [rsp + 0x40]
mov ebx, eax
test eax, eax
jne 0x18000681c
lea rax, [rsp + 0x60]
mov dword [rsp + 0x58], 0x100
mov qword [rsp + 0x38], rax
lea r9, [rsp + 0x58]
mov qword [rsp + 0x30], rbp
lea r8, [rsp + 0x70]
mov qword [rsp + 0x28], rbp
xor edx, edx
mov qword [rsp + 0x20], rbp
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
je 0x1800067a0
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x180006806
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x40], rbp
mov rdx, rsi
mov dword [rsp + 0x48], ebp
mov rcx, rdi
call fcn.1800064c0
mov rcx, qword [rsp + 0x40]
mov ebx, eax
test rcx, rcx
je 0x180006827
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rcx, qword [rsp + 0x170]
xor rcx, rsp
call fcn.1801525e0
mov rbx, qword [rsp + 0x1b0]
add rsp, 0x180
pop rdi
pop rsi
pop rbp
ret
Function at 0x1800113b0
Capabilities:
Set socket configuration

Disassembly:
push rbp
push rdi
push r12
push r14
push r15
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x1801d72c0]
xor rax, rsp
mov qword [rbp - 0x18], rax
xor r12d, r12d
mov r15, r9
mov r14, rdx
mov rdi, rcx
cmp rcx, 0xffffffffffffffff
je 0x18001159d
mov qword [rsp + 0xc0], rbx
test r8b, r8b
je 0x18001142e
movzx eax, byte [rdx]
test al, 8
je 0x18001142e
or al, 8
mov dword [rbp - 0x20], r12d
mov byte [rdx], al
lea r9, [rbp - 0x20]
mov edx, 0xffff
mov dword [rsp + 0x20], 4
mov r8d, 0x80
call qword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
lea rcx, [rbp - 0x38]
setne dl
call fcn.180011240
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_closesocket]
test eax, eax
mov rcx, r15
mov ebx, eax
setne dl
call fcn.180011240
test ebx, ebx
je 0x180011599
mov qword [rsp + 0x78], rsi
movabs rcx, 0x4d54ee85da812030
mov rsi, qword [0x1801dba60]
add rcx, rsi
mov qword [rsp + 0x70], r13
mov dword [rbp - 0x4c], r12d
lea r13, [0x1801dba58]
cmp rcx, 1
jbe 0x180011498
mov rax, qword [0x1801dba58]
mov edx, 0x2733
mov rcx, r13
call qword [rax + 0x30]
mov rsi, qword [0x1801dba60]
jmp 0x18001149a
mov al, 1
movzx eax, al
lea rdx, [rbp - 0x38]
add rax, 2
mov dword [rbp - 0x50], 0x2733
mov qword [rbp - 0x40], rax
mov rcx, r15
movsd xmm1, qword [rbp - 0x40]
mov qword [rbp - 0x48], r13
movups xmm0, xmmword [rbp - 0x50]
movsd qword [rbp - 0x28], xmm1
movups xmmword [rbp - 0x38], xmm0
call fcn.180010680
test al, al
jne 0x180011537
movabs rax, 0x4d54ee85da812030
mov dword [rbp - 0x4c], r12d
add rax, rsi
cmp rax, 1
jbe 0x1800114fd
mov rax, qword [0x1801dba58]
mov edx, 0x4d5
mov rcx, r13
call qword [rax + 0x30]
jmp 0x1800114ff
mov al, 1
movzx eax, al
lea rdx, [rbp - 0x38]
add rax, 2
mov dword [rbp - 0x50], 0x4d5
mov qword [rbp - 0x40], rax
mov rcx, r15
movsd xmm1, qword [rbp - 0x40]
mov qword [rbp - 0x48], r13
movups xmm0, xmmword [rbp - 0x50]
movsd qword [rbp - 0x28], xmm1
movups xmmword [rbp - 0x38], xmm0
call fcn.180010680
test al, al
je 0x180011569
lea r8, [rbp - 0x20]
mov dword [rbp - 0x20], r12d
mov edx, 0x8004667e
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_ioctlsocket]
and byte [r14], 0xfc
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_closesocket]
test eax, eax
mov rcx, r15
mov ebx, eax
setne dl
call fcn.180011240
mov rsi, qword [rsp + 0x78]
mov eax, ebx
mov r13, qword [rsp + 0x70]
mov rbx, qword [rsp + 0xc0]
mov rcx, qword [rbp - 0x18]
xor rcx, rsp
call fcn.1801525e0
add rsp, 0x80
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
mov eax, ebx
jmp 0x180011575
mov eax, r12d
jmp 0x18001157d