joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140041524
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
cmp qword [rcx + 0x10], 0
mov rbx, rcx
je 0x140041547
mov eax, 0x8000ffff
jmp 0x140041683
add rcx, 0x38
call fcn.140004430
test eax, eax
js 0x140041683
xor r9d, r9d
mov byte [rbx + 0x60], 1
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rbx + 0x68], rax
test rax, rax
jne 0x140041591
cmp byte [rbx + 0x60], al
je 0x140041587
lea rcx, [rbx + 0x38]
mov byte [rbx + 0x60], al
call qword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
call fcn.14001b508
jmp 0x140041683
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov rdi, rax
test rax, rax
jne 0x1400415ca
call fcn.14001b508
mov rcx, rbx
mov edi, eax
call fcn.140041720
test eax, eax
jns 0x140041681
test edi, edi
cmovns edi, eax
jmp 0x140041681
xor r9d, r9d
xor r8d, r8d
mov rdx, rdi
mov rcx, rbx
call fcn.140041358
mov esi, eax
test eax, eax
jns 0x1400415f9
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rbx
call fcn.140041720
mov eax, esi
jmp 0x140041683
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov rsi, rax
test rax, rax
je 0x1400415a9
xor r9d, r9d
xor r8d, r8d
mov rdx, rax
mov rcx, rbx
call fcn.140041358
mov edi, eax
test eax, eax
jns 0x14004163b
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rbx
call fcn.140041720
jmp 0x140041681
lea rax, [rbx + 8]
mov r9, rbx
mov qword [rsp + 0x28], rax
lea r8, [0x140041700]
and dword [rsp + 0x20], 0
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rbx], rax
test rax, rax
je 0x1400415a9
mov rcx, qword [rbx + 0x68]
or edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x140041681
call fcn.14001b508
mov edi, eax
mov eax, edi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
Function at 0x140044d74
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x30
mov rdi, rdx
mov rbx, rcx
mov rcx, qword [0x140106190]
lea rsi, [0x140106190]
cmp rcx, rsi
je 0x140044dbf
test byte [rcx + 0x1c], 1
je 0x140044dbf
cmp byte [rcx + 0x19], 5
jb 0x140044dbf
mov eax, dword [rdi]
lea r8, [0x1400de050]
mov rcx, qword [rcx + 0x10]
mov edx, 0x2c
mov r9, rbx
mov dword [rsp + 0x20], eax
call fcn.1400240b4
mov rcx, qword [rbx]
lea rax, [rsp + 0x60]
and dword [rsp + 0x50], 0
lea r9, [rsp + 0x68]
mov qword [rsp + 0x28], rax
lea rdx, [0x1400de288]
lea rax, [rsp + 0x50]
mov dword [rsp + 0x60], 4
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebx, eax
test eax, eax
jne 0x140044e0c
mov eax, dword [rsp + 0x68]
sub eax, 4
neg eax
sbb ebx, ebx
and ebx, 0xd
mov r10, qword [0x140106190]
cmp r10, rsi
je 0x140044e4d
test byte [r10 + 0x1c], 2
je 0x140044e4d
cmp byte [r10 + 0x19], 5
jb 0x140044e4d
mov eax, dword [rsp + 0x50]
lea r8, [0x1400de050]
mov rcx, qword [r10 + 0x10]
mov edx, 0x2d
mov r9d, ebx
mov dword [rsp + 0x20], eax
call fcn.1400053dc
mov r10, qword [0x140106190]
test ebx, ebx
jne 0x140044e8f
cmp r10, rsi
je 0x140044e82
test byte [r10 + 0x1c], 2
je 0x140044e82
cmp byte [r10 + 0x19], 4
jb 0x140044e82
mov eax, dword [rsp + 0x50]
lea edx, [rbx + 0x2e]
mov r9d, dword [rdi]
lea r8, [0x1400de050]
mov rcx, qword [r10 + 0x10]
mov dword [rsp + 0x20], eax
call fcn.1400053dc
mov eax, dword [rsp + 0x50]
mov dword [rdi], eax
mov r10, qword [0x140106190]
cmp r10, rsi
je 0x140044ece
test byte [r10 + 0x1c], 1
je 0x140044ece
movzx edx, byte [r10 + 0x19]
mov eax, ebx
neg eax
sbb ecx, ecx
and ecx, 0xfffffffd
add ecx, 5
cmp edx, ecx
jb 0x140044ece
mov ecx, dword [rdi]
lea r8, [0x1400de050]
mov dword [rsp + 0x20], ecx
mov edx, 0x2f
mov rcx, qword [r10 + 0x10]
mov r9d, ebx
call fcn.1400053dc
mov eax, ebx
add rsp, 0x30
pop rdi
pop rsi
pop rbx
ret
Function at 0x14006bbb8
Capabilities:
Create thread

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
push rbp
push rdi
push r12
push r14
push r15
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x10], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov r12, r9
mov r15, r8
mov r14, rdx
and qword [rbp - 0x18], 0
lea rax, [0x140106190]
mov rcx, qword [0x140106190]
cmp rcx, rax
je 0x14006bc20
test byte [rcx + 0x1c], 2
je 0x14006bc20
cmp byte [rcx + 0x19], 5
jb 0x14006bc20
mov edx, SafeArrayDestroy
lea r8, [0x1400e3f28]
mov rcx, qword [rcx + 0x10]
call fcn.140003538
mov rax, qword [r14]
lea r8, [rbp - 0x18]
lea rdx, [0x1400e3ed0]
mov rcx, r14
mov rax, qword [rax]
call qword [case.0x14006d218.0]
mov ebx, eax
test eax, eax
js 0x14006bda4
lea rcx, [rbp + 0x30]
call fcn.140073a18
mov ebx, eax
test eax, eax
js 0x14006bda4
mov rdi, qword [rbp + 0x30]
mov rax, qword [rdi]
mov rcx, rdi
mov rax, qword [rax + 8]
call qword [case.0x14006d218.0]
mov rsi, qword [rbp - 0x18]
xor ebx, ebx
mov qword [rdi + 0x48], r15
mov rcx, qword [rdi + 0x50]
cmp rcx, rsi
je 0x14006bcad
test rsi, rsi
je 0x14006bc97
mov rax, qword [rsi]
mov rcx, rsi
mov rax, qword [rax + 8]
call qword [case.0x14006d218.0]
mov rcx, qword [rdi + 0x50]
test rcx, rcx
je 0x14006bca9
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x14006d218.0]
mov qword [rdi + 0x50], rsi
and qword [rsp + 0x28], rbx
and dword [rsp + 0x20], ebx
mov r9, rdi
lea r8, [0x14006b0b0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rdi + 0x60], rax
test rax, rax
jne 0x14006bce7
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
test ebx, ebx
js 0x14006bd93
and qword [rsp + 0x28], 0
mov qword [rsp + 0x20], r12
mov r9, r14
mov r8d, 1
lea rdx, [0x1400e3f38]
mov rcx, rdi
call qword [sym.imp.SHLWAPI.dll_ConnectToConnectionPoint]
mov ebx, eax
test eax, eax
js 0x14006bd93
and dword [rbp - 0x20], 0
and dword [rbp + 0x30], 0
and dword [rbp + 0x38], 0
mov rcx, qword [rbp - 0x18]
mov rax, qword [rcx]
lea r9, [rbp + 0x38]
lea r8, [rbp + 0x30]
lea rdx, [rbp - 0x20]
mov rax, qword [rax + 0x28]
call qword [case.0x14006d218.0]
cmp dword [rbp + 0x30], 0
jne 0x14006bd75
cmp dword [rbp + 0x38], 0
jne 0x14006bd75
and qword [rsp + 0x28], 0
mov qword [rsp + 0x20], r12
mov r9, r14
xor r8d, r8d
lea rdx, [0x1400e3f38]
xor ecx, ecx
call qword [sym.imp.SHLWAPI.dll_ConnectToConnectionPoint]
mov ebx, 0x80070490
jmp 0x14006bd93
mov rcx, qword [rbp - 0x18]
mov rax, qword [rcx]
mov edx, 2
mov r8d, 0x3e8
mov rax, qword [rax + 0x18]
call qword [case.0x14006d218.0]
mov ebx, eax
mov rax, qword [rdi]
mov rcx, rdi
mov rax, qword [rax + 0x10]
call qword [case.0x14006d218.0]
nop
mov rcx, qword [rbp - 0x18]
test rcx, rcx
je 0x14006bdba
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x14006d218.0]
mov eax, ebx
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
Function at 0x14006c394
Capabilities:
Reference sql statements

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
mov rbp, rsp
sub rsp, 0x60
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov r14, rdx
mov rdi, rcx
mov rsi, qword [rcx]
mov qword [rbp - 0x10], rsi
lea rax, [rsi + 0x48]
mov qword [rbp - 8], rax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop
mov rax, qword [str.Xr_r_]
lea rcx, str.Xr_r_
mov rax, qword [rax + 0x18]
call qword [case.0x14006d218.0]
add rax, 0x18
mov qword [rbp + 0x58], rax
lea r8, [rbp + 0x58]
lea rdx, [rbp - 0x10]
call fcn.14006b3b4
mov ebx, eax
or r12, 0xffffffffffffffff
xor r15d, r15d
test eax, eax
js 0x14006c518
lea rdx, str.SELECT_System.ItemNameDisplay__System.ItemUrl_FROM_SystemIndex_WHERE_System.Shell.SFGAOFlagsStrings__SOME_ARRAY_stream__AND_NOT_System.Shell.SFGAOFlagsStrings__SOME_ARRAY_hidden__AND_System.Shell.OmitFromView___true_AND__System.ItemType__.wpl_OR_System.ItemType__.m3u_
lea rcx, [rbp + 0x40]
call fcn.140004a80
nop
lea rdx, [0x1400e3dd0]
mov rax, r12
inc rax
cmp word [rdx + rax*2], r15w
jne 0x14006c426
mov r8d, eax
lea rcx, [rbp + 0x40]
call fcn.1400044f8
mov rdx, qword [rbp + 0x58]
mov r8d, dword [rdx - 0x10]
lea rcx, [rbp + 0x40]
call fcn.1400044f8
lea rdx, str._ORDER_BY_System.ItemNameDisplay_ASC
mov rax, r12
inc rax
cmp word [rdx + rax*2], r15w
jne 0x14006c457
mov r8d, eax
lea rcx, [rbp + 0x40]
call fcn.1400044f8
mov rcx, qword [rdi + 0x10]
mov rax, qword [rcx]
mov r8, qword [rbp + 0x40]
lea rdx, [0x1400e72b0]
mov rax, qword [rax + 0x38]
call qword [case.0x14006d218.0]
mov ebx, eax
test eax, eax
js 0x14006c4f0
mov qword [rbp + 0x50], r15
mov rcx, qword [rdi + 0x10]
mov rax, qword [rcx]
lea rdx, [rbp + 0x50]
mov qword [rsp + 0x28], rdx
lea rdx, [rbp - 0x18]
mov qword [rsp + 0x20], rdx
xor r9d, r9d
lea r8, str.:s_f
xor edx, edx
mov rax, qword [rax + 0x20]
call qword [case.0x14006d218.0]
mov ebx, eax
test eax, eax
js 0x14006c4d9
mov r8, r14
mov rdx, qword [rbp + 0x50]
mov rcx, rdi
call fcn.14006b530
mov ebx, eax
mov rcx, qword [rbp + 0x50]
test rcx, rcx
je 0x14006c4f0
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x14006d218.0]
nop
mov rdx, qword [rbp + 0x40]
add rdx, 0xffffffffffffffe8
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
add eax, r12d
test eax, eax
jg 0x14006c518
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x14006d218.0]
nop
mov rdx, qword [rbp + 0x58]
add rdx, 0xffffffffffffffe8
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
add eax, r12d
test eax, eax
jg 0x14006c540
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x14006d218.0]
nop
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, ebx
add rsp, 0x60
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x14006d8e0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
sub rsp, 0x80
mov rax, qword [0x140109388]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov rsi, rdx
mov rcx, r9
mov rdx, qword [r8]
mov rdi, r9
mov r8d, dword [rdx - 0x10]
call fcn.1400044f8
or rbx, 0xffffffffffffffff
lea rdx, [0x1400dd99c]
mov rax, rbx
xor ebp, ebp
inc rax
cmp word [rdx + rax*2], bp
jne 0x14006d923
mov r8d, eax
mov rcx, rdi
call fcn.1400044f8
mov r9, qword [rsi]
mov rdx, rbx
inc rdx
cmp word [r9 + rdx*2], bp
jne 0x14006d93d
mov eax, 0x811c9dc5
mov r8, rbp
add rdx, rdx
je 0x14006d969
movzx ecx, byte [r8 + r9]
inc r8
imul eax, eax, 0x1000193
xor eax, ecx
cmp r8, rdx
jb 0x14006d954
mov r9d, reloc.OLEAUT32.dll_SafeArrayGetDim
lea rdx, [rsp + 0x20]
mov ecx, eax
lea r8d, [r9 + 0x11]
call qword [sym.imp.msvcrt.dll__ultow_s]
lea rax, [rsp + 0x20]
inc rbx
cmp word [rax + rbx*2], bp
jne 0x14006d985
mov r8d, ebx
lea rdx, [rsp + 0x20]
mov rcx, rdi
call fcn.1400044f8
xor eax, eax
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.1400cc8d0
mov rbx, qword [rsp + 0xa0]
add rsp, 0x80
pop rdi
pop rsi
pop rbp
ret
Function at 0x14008069c
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x30
mov rdi, rcx
call fcn.140004430
mov ebx, eax
test eax, eax
js 0x140080791
and qword [rsp + 0x40], 0
lea rax, [rsp + 0x40]
mov r9d, 0x20219
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, str.SoftwareMicrosoftMediaPlayerPreferencesHME_
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ecx, eax
test eax, eax
jne 0x140080716
mov rax, qword [rdi + 0x88]
test rax, rax
je 0x14008070a
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
and qword [rdi + 0x88], 0
mov ecx, eax
mov rax, qword [rsp + 0x40]
mov qword [rdi + 0x88], rax
test ecx, ecx
jne 0x140080783
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rdi + 0xa0], rax
test rax, rax
je 0x14008077c
mov rcx, rdi
call fcn.1400815d0
mov ebx, eax
test eax, eax
js 0x140080791
xor edx, edx
mov rcx, rdi
call fcn.140080b58
mov ebx, eax
test eax, eax
js 0x140080791
and qword [rsp + 0x28], 0
lea r8, [0x140081620]
and dword [rsp + 0x20], 0
mov r9, rdi
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rdi + 0xa8], rax
jmp 0x140080791
mov ebx, 0x8000ffff
jmp 0x140080791
movzx ebx, cx
or ebx, 0x80070000
test ecx, ecx
cmovle ebx, ecx
mov eax, ebx
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
Function at 0x140081668
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push rbx
push rdi
mov rbp, rsp
sub rsp, 0x40
and qword [rbp + 0x28], 0
lea r8, [rbp + 0x20]
and dword [rbp + 0x20], 0
lea rdx, [rbp + 0x28]
xor ecx, ecx
xor bl, bl
call qword [sym.imp.NETAPI32.dll_NetGetJoinInformation]
mov rcx, qword [rbp + 0x28]
mov edi, eax
test rcx, rcx
je 0x1400816a3
call qword [sym.imp.NETAPI32.dll_NetApiBufferFree]
test edi, edi
jne 0x1400816b4
cmp dword [rbp + 0x20], 3
lea eax, [rdi + 1]
movzx ebx, bl
cmove ebx, eax
lea rax, [rbp + 0x38]
mov r9d, 0x20019
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.SystemCurrentControlSetControlLsa
mov rcx, 0xffffffff80000002
mov dil, bl
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14008173c
mov rcx, qword [rbp + 0x38]
lea rax, [rbp + 0x20]
mov qword [rsp + 0x30], rax
lea r8, str.AllowOnlineID
lea rax, [rbp + 0x30]
mov dword [rbp + 0x20], 4
mov qword [rsp + 0x28], rax
lea rdx, str.Pku2u
lea rax, [rbp + 0x28]
mov r9d, reloc.OLEAUT32.dll_SafeArrayGetDim
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
jne 0x140081732
cmp dword [rbp + 0x28], 4
jne 0x140081732
cmp dword [rbp + 0x30], eax
sete dil
mov rcx, qword [rbp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, dil
add rsp, 0x40
pop rdi
pop rbx
pop rbp
ret
Function at 0x140081800
Capabilities:
Create thread
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x30
xor ebp, ebp
or r14, 0xffffffffffffffff
mov rsi, rdx
mov rdi, rcx
mov ebx, ebp
test rdx, rdx
jne 0x14008182f
mov eax, ebp
jmp 0x14008183b
mov rax, r14
inc rax
cmp word [rdx + rax*2], bp
jne 0x140081832
mov r8d, eax
call fcn.140004e40
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rdi + 0x10], rax
mov r15d, 0x80070000
test rax, rax
jne 0x14008187b
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
or ebx, r15d
test eax, eax
cmovle ebx, eax
test ebx, ebx
js 0x140081949
mov edx, 1
mov rcx, rsi
lea r8d, [rdx + 0x12]
call qword [sym.imp.KERNEL32.dll_FindFirstChangeNotificationW]
mov qword [rdi + 0x18], rax
cmp rax, r14
jne 0x1400818a7
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
or ebx, r15d
test eax, eax
cmovle ebx, eax
test ebx, ebx
js 0x140081949
lea r9, [rsp + 0x50]
mov qword [rsp + 0x50], rbp
xor r8d, r8d
lea rcx, [0x1400da108]
xor edx, edx
call qword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
mov ebx, eax
test eax, eax
js 0x14008193a
mov rcx, qword [rsp + 0x50]
mov edx, 1
lea r8d, [rdx + 0x12]
call qword [sym.imp.KERNEL32.dll_FindFirstChangeNotificationW]
mov qword [rdi + 0x20], rax
cmp rax, r14
jne 0x1400818ff
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
or ebx, r15d
test eax, eax
cmovle ebx, eax
test ebx, ebx
js 0x14008193a
mov qword [rsp + 0x28], rbp
lea r8, [0x1400821a0]
mov r9, rdi
mov dword [rsp + 0x20], ebp
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rdi + 8], rax
test rax, rax
jne 0x14008193a
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
or ebx, r15d
test eax, eax
cmovle ebx, eax
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
test ebx, ebx
jns 0x140081977
mov rcx, qword [rdi + 0x18]
cmp rcx, r14
je 0x14008195c
call qword [sym.imp.KERNEL32.dll_FindCloseChangeNotification]
mov qword [rdi + 0x18], r14
mov rcx, qword [rdi + 0x20]
cmp rcx, r14
je 0x14008196f
call qword [sym.imp.KERNEL32.dll_FindCloseChangeNotification]
mov qword [rdi + 0x20], r14
mov rcx, rdi
call fcn.14008271c
mov rbp, qword [rsp + 0x60]
mov eax, ebx
mov rbx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x68]
add rsp, 0x30
pop r15
pop r14
pop rdi
ret
Function at 0x1400af1a8
Capabilities:
Get routing table

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
mov r15, rdx
mov rcx, qword [0x140106190]
lea rax, [0x140106190]
cmp rcx, rax
je 0x1400af1fb
test byte [rcx + 0x1c], 1
je 0x1400af1fb
cmp byte [rcx + 0x19], 5
jb 0x1400af1fb
mov rcx, qword [rcx + 0x10]
lea r8, [0x1400e6e58]
mov edx, 0x41
mov r9, r15
call fcn.140003620
xor r12d, r12d
or eax, 0xffffffff
test r15, r15
mov qword [rsp + 0x68], r12
mov ebx, 0x80004003
mov dword [rsp + 0x60], r12d
cmovne ebx, r12d
mov edi, r12d
mov esi, r12d
mov ebp, eax
mov r14d, eax
mov r13d, 0x8007000e
je 0x1400af23e
lea ecx, [r12 + 0x3c]
call fcn.1400cbc90
test rax, rax
mov rdi, rax
cmove ebx, r13d
test ebx, ebx
js 0x1400af322
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, rdi
call qword [sym.imp.IPHLPAPI.DLL_GetIpForwardTable]
cmp eax, 0x7a
jne 0x1400af2a3
mov rcx, rdi
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete___void____ptr64_]
mov ecx, dword [rsp + 0x60]
call fcn.1400cbc90
mov rdi, rax
test rax, rax
jne 0x1400af27e
mov ebx, r13d
jmp 0x1400af322
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, rax
call qword [sym.imp.IPHLPAPI.DLL_GetIpForwardTable]
test eax, eax
je 0x1400af2ab
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
jmp 0x1400af2ab
mov ebx, eax
or ebx, 0x80070000
test ebx, ebx
js 0x1400af322
cmp dword [rdi], r12d
jbe 0x1400af2dc
mov ecx, dword [rdi]
lea rax, [rdi + 8]
cmp dword [rax - 4], r12d
jne 0x1400af2d2
cmp dword [rax], r12d
jne 0x1400af2d2
cmp dword [rax + 0x20], r14d
jae 0x1400af2d2
mov ebp, dword [rax + 0xc]
mov r14d, dword [rax + 0x20]
add rax, 0x38
sub rcx, 1
jne 0x1400af2ba
xor r8d, r8d
lea rdx, [rsp + 0x68]
lea ecx, [r8 + 2]
call fcn.1400bf964
mov rsi, qword [rsp + 0x68]
mov ebx, eax
test eax, eax
js 0x1400af322
mov rax, rsi
test rsi, rsi
je 0x1400af31d
cmp dword [rax + 4], ebp
je 0x1400af38f
cmp ebp, 0xffffffff
jne 0x1400af314
cmp dword [rax + 0x68], 1
je 0x1400af38f
mov rax, qword [rax + 8]
test rax, rax
jne 0x1400af300
mov ebx, 0x80004005
mov rcx, rdi
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete___void____ptr64_]
mov rcx, rsi
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete___void____ptr64_]
mov rcx, qword [0x140106190]
lea rax, [0x140106190]
cmp rcx, rax
je 0x1400af378
test byte [rcx + 0x1c], 1
je 0x1400af378
movzx eax, byte [rcx + 0x19]
mov edx, ebx
sar edx, 0x1f
and edx, 0xfffffffd
add edx, 5
cmp eax, edx
jl 0x1400af378
mov rcx, qword [rcx + 0x10]
lea r8, [0x1400e6e58]
mov edx, 0x42
mov r9d, ebx
call fcn.1400035ec
mov eax, ebx
mov rbx, qword [rsp + 0x70]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov rcx, qword [rax + 0x18]
test rcx, rcx
je 0x1400af31d
mov rdx, qword [rcx + 0x10]
test rdx, rdx
je 0x1400af3b4
cmp dword [rcx + 0x18], r12d
jle 0x1400af3b4
movsxd r8, dword [rcx + 0x18]
cmp r8, 0x80
jbe 0x1400af3ba
mov rcx, qword [rcx + 8]
jmp 0x1400af393
mov rcx, r15
call sub.msvcrt.dll_memcpy
jmp 0x1400af322
Function at 0x1400afab0
Capabilities:
Create thread

Disassembly:
mov rax, rsp
push rsi
push rdi
push r14
sub rsp, 0xe0
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov rax, qword [0x140109388]
xor rax, rsp
mov qword [rsp + 0xd0], rax
mov ebx, edx
mov rdi, rcx
mov qword [rsp + 0x38], rcx
lea r14, [0x140106190]
mov rcx, qword [0x140106190]
cmp rcx, r14
je 0x1400afb1e
test byte [rcx + 0x1c], 1
je 0x1400afb1e
cmp byte [rcx + 0x19], 5
jb 0x1400afb1e
mov edx, reloc.OLEAUT32.dll_SafeArrayDestroy
mov r9d, ebx
lea r8, [0x1400e6f00]
mov rcx, qword [rcx + 0x10]
call fcn.1400035ec
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [rdi + 0x80], ebx
and dword [rdi + 0x84], 0
cmp qword [rdi + 0x78], 0
je 0x1400afc2e
cmp qword [rdi + 0x38], 0
je 0x1400afb89
xor edx, edx
cmp dword [rdi + 0x40], edx
jbe 0x1400afb61
mov r8, qword [rdi + 0x30]
mov rcx, qword [r8 + rdx*8]
test rcx, rcx
jne 0x1400afb63
inc edx
cmp edx, dword [rdi + 0x40]
jb 0x1400afb51
xor ecx, ecx
mov qword [rsp + 0x30], rcx
test rcx, rcx
je 0x1400afb89
lea rdx, [rsp + 0x30]
lea rcx, [rdi + 0x30]
call fcn.140018ea8
mov rcx, qword [rax]
and dword [rcx], 0
cmp qword [rsp + 0x30], 0
jne 0x1400afb6d
lea rcx, [0x1400da010]
cmp qword [rdi + 0x78], 0
cmovne rcx, qword [rdi + 0x78]
mov r8d, 0x40
lea rdx, [rsp + 0x50]
call qword [sym.imp.ole32.dll_StringFromGUID2]
lea rcx, [rsp + 0x50]
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov rbx, rax
test rax, rax
je 0x1400afc9f
xor ecx, ecx
call sub.KERNEL32.dll_SetLastError
mov qword [rdi + 0x28], 1
xor ecx, ecx
call sub.KERNEL32.dll_SetLastError
call fcn.1400af73c
mov esi, eax
test eax, eax
js 0x1400afc10
and qword [rsp + 0x28], 0
and dword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [0x1400af8b0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
test rax, rax
je 0x1400afc10
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
nop
jmp 0x1400afc33
mov esi, 0x80004005
mov rcx, qword [0x140106190]
cmp rcx, r14
je 0x1400afc70
test byte [rcx + 0x1c], 1
je 0x1400afc70
mov edx, esi
sar edx, 0x1f
and edx, 0xfffffffd
add edx, 5
movzx eax, byte [rcx + 0x19]
cmp eax, edx
jl 0x1400afc70
mov edx, reloc.OLEAUT32.dll_SafeArrayGetDim
mov r9d, esi
lea r8, [0x1400e6f00]
mov rcx, qword [rcx + 0x10]
call fcn.1400035ec
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, esi
mov rcx, qword [rsp + 0xd0]
xor rcx, rsp
call fcn.1400cc8d0
mov rbx, qword [rsp + 0x110]
add rsp, 0xe0
pop r14
pop rdi
pop rsi
ret
mov ecx, 0x8007000e
call fcn.140004f64
int3
Function at 0x1400afcac
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
push r14
sub rsp, 0x260
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x140109388]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov r14, rcx
lea rsi, [0x140106190]
mov rcx, qword [0x140106190]
cmp rcx, rsi
je 0x1400afd10
test byte [rcx + 0x1c], 1
je 0x1400afd10
mov edx, SafeArrayUnlock
lea r8, [0x1400e6f00]
mov rcx, qword [rcx + 0x10]
call fcn.140003538
mov rax, qword [str.Xr_r_]
lea rcx, str.Xr_r_
mov rax, qword [rax + 0x18]
call qword [case.0x14006d218.0]
add rax, 0x18
mov qword [rsp + 0x28], rax
xor edi, edi
cmp qword [r14 + 0x28], rdi
je 0x1400afdd8
lea rdx, [rsp + 0x40]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
dec eax
cmp eax, 0x102
jbe 0x1400afd6e
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx edi, ax
or edi, 0x80070000
test eax, eax
cmovle edi, eax
test edi, edi
jne 0x1400afdd8
lea r9, str.wmpnsslog_02d.sqm
lea r8, [rsp + 0x40]
lea rdx, str._ws_ws
lea rcx, [rsp + 0x28]
call fcn.140008b90
mov rcx, qword [0x140106190]
mov ebx, 2
cmp rcx, rsi
je 0x1400afdbf
test byte [rcx + 0x1c], bl
je 0x1400afdbf
cmp byte [rcx + 0x19], 4
jb 0x1400afdbf
lea edx, [rbx + 0x10]
mov r9, qword [rsp + 0x28]
lea r8, [0x1400e6f00]
mov rcx, qword [rcx + 0x10]
call fcn.140003558
xor ecx, ecx
call sub.KERNEL32.dll_SetLastError
and qword [r14 + 0x28], 0
jmp 0x1400afddd
mov ebx, 2
mov rcx, qword [0x140106190]
cmp rcx, rsi
je 0x1400afe1a
test byte [rcx + 0x1c], 1
je 0x1400afe1a
movzx eax, byte [rcx + 0x19]
mov edx, 5
test edi, edi
cmovns ebx, edx
cmp eax, ebx
jb 0x1400afe1a
mov edx, SafeArrayUnlock
mov r9d, edi
lea r8, [0x1400e6f00]
mov rcx, qword [rcx + 0x10]
call fcn.1400035ec
nop
mov rdx, qword [rsp + 0x28]
add rdx, 0xffffffffffffffe8
or ecx, 0xffffffff
lock xadd dword [rdx + 0x10], ecx
sub ecx, 1
jg 0x1400afe40
mov rcx, qword [rdx]
mov r8, qword [rcx]
mov rax, qword [r8 + 8]
call qword [case.0x14006d218.0]
mov eax, edi
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.1400cc8d0
lea r11, [rsp + 0x260]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret