joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14005260c
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 0x14005262f
mov eax, 0x8000ffff
jmp 0x14005276b
add rcx, 0x38
call fcn.140010d60
test eax, eax
js 0x14005276b
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov byte [rbx + 0x60], 1
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rbx + 0x68], rax
test rax, rax
jne 0x140052679
cmp byte [rbx + 0x60], al
je 0x14005266f
lea rcx, [rbx + 0x38]
mov byte [rbx + 0x60], al
call qword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
call fcn.14002a0d0
jmp 0x14005276b
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 0x1400526b2
call fcn.14002a0d0
mov rcx, rbx
mov edi, eax
call fcn.140052bac
test eax, eax
jns 0x140052769
test edi, edi
cmovns edi, eax
jmp 0x140052769
xor r9d, r9d
xor r8d, r8d
mov rdx, rax
mov rcx, rbx
call fcn.14005277c
mov esi, eax
test eax, eax
jns 0x1400526e1
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rbx
call fcn.140052bac
mov eax, esi
jmp 0x14005276b
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 0x140052691
xor r9d, r9d
xor r8d, r8d
mov rdx, rax
mov rcx, rbx
call fcn.14005277c
mov edi, eax
test eax, eax
jns 0x140052723
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rbx
call fcn.140052bac
jmp 0x140052769
lea rax, [rbx + 8]
lea r8, [0x140052c90]
mov r9, rbx
mov qword [rsp + 0x28], rax
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 0x140052691
mov rcx, qword [rbx + 0x68]
or edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x140052769
call fcn.14002a0d0
mov edi, eax
mov eax, edi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
Function at 0x140056600
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 [0x140148ea8]
lea rsi, [0x140148ea8]
cmp rcx, rsi
je 0x14005664a
test byte [rcx + 0x1c], 1
je 0x14005664a
cmp byte [rcx + 0x19], 5
jb 0x14005664a
mov eax, dword [rdi]
mov rcx, qword [rcx + 0x10]
lea r8, [0x140006310]
mov edx, 0x2c
mov r9, rbx
mov dword [rsp + 0x20], eax
call fcn.140033a78
mov rcx, qword [rbx]
and dword [rsp + 0x50], 0
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x50]
lea r9, [rsp + 0x68]
lea rdx, [0x140006388]
xor r8d, r8d
mov dword [rsp + 0x60], 4
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebx, eax
test eax, eax
jne 0x140056697
mov eax, dword [rsp + 0x68]
sub eax, 4
neg eax
sbb ebx, ebx
and ebx, 0xd
mov r10, qword [0x140148ea8]
cmp r10, rsi
je 0x1400566d8
test byte [r10 + 0x1c], 2
je 0x1400566d8
cmp byte [r10 + 0x19], 5
jb 0x1400566d8
mov eax, dword [rsp + 0x50]
mov rcx, qword [r10 + 0x10]
lea r8, [0x140006310]
mov edx, 0x2d
mov r9d, ebx
mov dword [rsp + 0x20], eax
call fcn.140011e38
mov r10, qword [0x140148ea8]
test ebx, ebx
jne 0x14005671a
cmp r10, rsi
je 0x14005670d
test byte [r10 + 0x1c], 2
je 0x14005670d
cmp byte [r10 + 0x19], 4
jb 0x14005670d
mov eax, dword [rsp + 0x50]
mov r9d, dword [rdi]
mov rcx, qword [r10 + 0x10]
lea edx, [rbx + 0x2e]
lea r8, [0x140006310]
mov dword [rsp + 0x20], eax
call fcn.140011e38
mov eax, dword [rsp + 0x50]
mov dword [rdi], eax
mov r10, qword [0x140148ea8]
cmp r10, rsi
je 0x140056759
test byte [r10 + 0x1c], 1
je 0x140056759
movzx edx, byte [r10 + 0x19]
mov eax, ebx
neg eax
sbb ecx, ecx
and ecx, 0xfffffffd
add ecx, 5
cmp edx, ecx
jl 0x140056759
mov ecx, dword [rdi]
lea r8, [0x140006310]
mov edx, 0x2f
mov dword [rsp + 0x20], ecx
mov rcx, qword [r10 + 0x10]
mov r9d, ebx
call fcn.140011e38
mov eax, ebx
add rsp, 0x30
pop rdi
pop rsi
pop rbx
ret
Function at 0x140082af8
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 rdi, r8
mov r15, rdx
and qword [rbp - 0x18], 0
lea rax, [0x140148ea8]
mov rcx, qword [0x140148ea8]
cmp rcx, rax
je 0x140082b60
test byte [rcx + 0x1c], 2
je 0x140082b60
cmp byte [rcx + 0x19], 5
jb 0x140082b60
mov edx, reloc.Cabinet.dll_FCIDestroy
lea r8, [0x140008a60]
mov rcx, qword [rcx + 0x10]
call fcn.14000fcb0
mov rax, qword [r15]
mov rbx, qword [rax]
mov rcx, rbx
call qword [fcn.140015690]
lea r8, [rbp - 0x18]
lea rdx, [0x140007a20]
mov rcx, r15
call rbx
mov esi, eax
test eax, eax
js 0x140082cdd
lea rcx, [rbp + 0x30]
call fcn.14008cae0
mov esi, eax
test eax, eax
js 0x140082cdd
mov r14, qword [rbp + 0x30]
mov rax, qword [r14]
mov rbx, qword [rax + 8]
mov rcx, rbx
call qword [fcn.140015690]
mov rcx, r14
call rbx
mov rdx, qword [rbp - 0x18]
xor esi, esi
mov qword [r14 + 0x48], rdi
lea rcx, [r14 + 0x50]
cmp qword [rcx], rdx
je 0x140082bcd
call fcn.140028f10
and qword [rsp + 0x28], rsi
and dword [rsp + 0x20], esi
mov r9, r14
lea r8, [0x140081ef0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [r14 + 0x60], rax
test rax, rax
jne 0x140082c07
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
test esi, esi
js 0x140082cc7
and qword [rsp + 0x28], 0
mov qword [rsp + 0x20], r12
mov r9, r15
mov r8d, 1
lea rdx, [0x140005dc0]
mov rcx, r14
call qword [sym.imp.SHLWAPI.dll_ConnectToConnectionPoint]
mov esi, eax
test eax, eax
js 0x140082cc7
and dword [rbp - 0x20], 0
and dword [rbp + 0x30], 0
and dword [rbp + 0x38], 0
mov rbx, qword [rbp - 0x18]
mov rax, qword [rbx]
mov rdi, qword [rax + 0x28]
mov rcx, rdi
call qword [fcn.140015690]
lea r9, [rbp + 0x38]
lea r8, [rbp + 0x30]
lea rdx, [rbp - 0x20]
mov rcx, rbx
call rdi
cmp dword [rbp + 0x30], 0
jne 0x140082ca1
cmp dword [rbp + 0x38], 0
jne 0x140082ca1
and qword [rsp + 0x28], 0
mov qword [rsp + 0x20], r12
mov r9, r15
xor r8d, r8d
lea rdx, [0x140005dc0]
xor ecx, ecx
call qword [sym.imp.SHLWAPI.dll_ConnectToConnectionPoint]
mov esi, 0x80070490
jmp 0x140082cc7
mov rbx, qword [rbp - 0x18]
mov rax, qword [rbx]
mov rdi, qword [rax + 0x18]
mov rcx, rdi
call qword [fcn.140015690]
mov edx, 2
mov r8d, 0x3e8
mov rcx, rbx
call rdi
mov esi, eax
mov rax, qword [r14]
mov rbx, qword [rax + 0x10]
mov rcx, rbx
call qword [fcn.140015690]
mov rcx, r14
call rbx
nop
mov rbx, qword [rbp - 0x18]
test rbx, rbx
je 0x140082cfb
mov rax, qword [rbx]
mov rdi, qword [rax + 0x10]
mov rcx, rdi
call qword [fcn.140015690]
mov rcx, rbx
call rdi
mov eax, esi
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 0x140083850
Capabilities:
Reference sql statements

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r14
push r15
mov rbp, rsp
sub rsp, 0x60
mov qword [rbp - 0x28], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov r15, rdx
mov rsi, rcx
lea rdx, [rbp - 0x18]
call fcn.140082254
nop
mov rax, qword [section..data]
mov rbx, qword [rax + 0x18]
mov rcx, rbx
call qword [fcn.140015690]
lea rcx, section..data
call rbx
add rax, 0x18
mov qword [rbp - 0x30], rax
lea r8, [rbp - 0x30]
lea rdx, [rbp - 0x18]
call fcn.140082270
mov r14d, eax
test eax, eax
js 0x1400839d0
lea rdx, [0x140083a20]
lea rcx, [rbp + 0x40]
call fcn.140011450
nop
mov r8d, 5
lea rdx, [0x1400078e8]
lea rcx, [rbp + 0x40]
call fcn.140010e38
mov rdx, qword [rbp - 0x30]
mov r8d, dword [rdx - 0x10]
lea rcx, [rbp + 0x40]
call fcn.140010e38
mov r8d, 0x24
lea rdx, [0x140083c60]
lea rcx, [rbp + 0x40]
call fcn.140010e38
mov rdi, qword [rsi + 0x10]
mov rax, qword [rdi]
mov rbx, qword [rax + 0x38]
mov rcx, rbx
call qword [fcn.140015690]
mov r8, qword [rbp + 0x40]
lea rdx, [0x140001258]
mov rcx, rdi
call rbx
mov r14d, eax
test eax, eax
js 0x1400839a7
and qword [rbp + 0x48], 0
mov rdi, qword [rsi + 0x10]
mov rax, qword [rdi]
mov rbx, qword [rax + 0x20]
mov rcx, rbx
call qword [fcn.140015690]
lea rax, [rbp + 0x48]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x20]
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8, [0x1400079e0]
xor edx, edx
mov rcx, rdi
call rbx
mov r14d, eax
test eax, eax
js 0x140083988
mov r8, r15
mov rdx, qword [rbp + 0x48]
mov rcx, rsi
call fcn.140082410
mov r14d, eax
mov rbx, qword [rbp + 0x48]
test rbx, rbx
je 0x1400839a7
mov rax, qword [rbx]
mov rdi, qword [rax + 0x10]
mov rcx, rdi
call qword [fcn.140015690]
mov rcx, rbx
call rdi
nop
mov rsi, qword [rbp + 0x40]
lock add dword [rsi - 8], 0xffffffff
jg 0x1400839d0
mov rdi, qword [rsi - 0x18]
mov rax, qword [rdi]
mov rbx, qword [rax + 8]
mov rcx, rbx
call qword [fcn.140015690]
lea rdx, [rsi - 0x18]
mov rcx, rdi
call rbx
nop
mov rsi, qword [rbp - 0x30]
lock add dword [rsi - 8], 0xffffffff
jg 0x1400839f9
mov rdi, qword [rsi - 0x18]
mov rax, qword [rdi]
mov rbx, qword [rax + 8]
mov rcx, rbx
call qword [fcn.140015690]
lea rdx, [rsi - 0x18]
mov rcx, rdi
call rbx
nop
mov rcx, qword [rbp - 0x18]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, r14d
mov rbx, qword [rsp + 0x90]
add rsp, 0x60
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x140083d38
Capabilities:
Reference sql statements

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x60
mov qword [rbp - 0x30], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov r12, rdx
mov r14, rcx
lea rdx, [0x140083f50]
lea rcx, [rbp + 0x40]
call fcn.140011450
nop
xor esi, esi
xor ebx, ebx
xor edi, edi
lea r13, [0x140007a30]
mov r8d, dword [rdi + r13]
lea rdx, [rbp - 0x18]
mov rcx, qword [r14 + 8]
call fcn.140084758
mov rax, qword [rbp - 0x10]
add ebx, dword [rax + 8]
mov rcx, qword [rbp - 0x18]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
add rdi, 4
cmp rdi, 0x10
jb 0x140083d7d
test ebx, ebx
je 0x140083e41
xor edi, edi
lea r8d, [rdi + 6]
lea rdx, [0x140008a70]
lea rcx, [rbp + 0x40]
call fcn.140010e38
xor ebx, ebx
cmp rbx, 0x10
jae 0x140083e2b
mov r8d, dword [rbx + r13]
lea rdx, [rbp - 0x28]
mov rcx, qword [r14 + 8]
call fcn.140084758
nop
mov r15, qword [rbp - 0x20]
cmp qword [r15 + 8], 0
jbe 0x140083e15
test edi, edi
je 0x140083e06
mov r8d, 4
lea rdx, [0x1400078c8]
lea rcx, [rbp + 0x40]
call fcn.140010e38
lea r8, [rbp + 0x40]
lea rdx, [rbp - 0x28]
call fcn.140082270
mov esi, eax
add edi, dword [r15 + 8]
mov rcx, qword [rbp - 0x28]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
add rbx, 4
test esi, esi
jns 0x140083dc9
mov r8d, 1
lea rdx, [0x140006784]
lea rcx, [rbp + 0x40]
call fcn.140010e38
test esi, esi
js 0x140083f03
mov rdi, qword [r14 + 0x20]
mov rax, qword [rdi]
mov rbx, qword [rax + 0x38]
mov rcx, rbx
call qword [fcn.140015690]
mov r8, qword [rbp + 0x40]
lea rdx, [0x140001258]
mov rcx, rdi
call rbx
mov esi, eax
test eax, eax
js 0x140083f03
and qword [rbp + 0x50], 0
mov rdi, qword [r14 + 0x20]
mov rax, qword [rdi]
mov rbx, qword [rax + 0x20]
mov rcx, rbx
call qword [fcn.140015690]
lea rax, [rbp + 0x50]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x58]
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8, [0x1400079e0]
xor edx, edx
mov rcx, rdi
call rbx
mov esi, eax
test eax, eax
js 0x140083ee4
lea r9, [r14 + 0x30]
mov r8, r12
mov rdx, qword [rbp + 0x50]
call fcn.140082af8
mov esi, eax
test eax, eax
js 0x140083ee4
lea rcx, [r14 + 0x28]
mov rbx, qword [rbp + 0x50]
cmp qword [rcx], rbx
je 0x140083ee8
mov rdx, rbx
call fcn.140028f10
mov rbx, qword [rbp + 0x50]
test rbx, rbx
je 0x140083f03
mov rax, qword [rbx]
mov rdi, qword [rax + 0x10]
mov rcx, rdi
call qword [fcn.140015690]
mov rcx, rbx
call rdi
nop
mov r14, qword [rbp + 0x40]
lock add dword [r14 - 8], 0xffffffff
jg 0x140083f2c
mov rdi, qword [r14 - 0x18]
mov rax, qword [rdi]
mov rbx, qword [rax + 8]
mov rcx, rbx
call qword [fcn.140015690]
lea rdx, [r14 - 0x18]
mov rcx, rdi
call rbx
mov eax, esi
mov rbx, qword [rsp + 0xa8]
add rsp, 0x60
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x140085730
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x80
mov rax, qword [0x140148058]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov rbx, rdx
mov rdx, qword [r8]
mov rcx, r9
mov r8d, dword [rdx - 0x10]
mov rdi, r9
call fcn.140010e38
lea rdx, [0x140006050]
mov r8d, 1
mov rcx, rdi
call fcn.140010e38
mov r9, qword [rbx]
or rbx, 0xffffffffffffffff
mov rdx, rbx
xor esi, esi
inc rdx
cmp word [r9 + rdx*2], si
jne 0x14008577f
mov eax, 0x811c9dc5
mov r8, rsi
add rdx, rdx
je 0x1400857ab
movzx ecx, byte [r8 + r9]
imul eax, eax, 0x1000193
inc r8
xor eax, ecx
cmp r8, rdx
jb 0x140085796
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], si
jne 0x1400857c7
lea rdx, [rsp + 0x20]
mov r8d, ebx
mov rcx, rdi
call fcn.140010e38
xor eax, eax
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.140001000
add rsp, 0x80
pop rdi
pop rsi
pop rbx
ret
Function at 0x14009a278
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x30
mov rdi, rcx
call fcn.140010d60
mov ebx, eax
test eax, eax
js 0x14009a36d
and qword [rsp + 0x40], 0
lea rax, [rsp + 0x40]
lea rdx, [0x140008c60]
mov r9d, 0x20219
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ecx, eax
test eax, eax
jne 0x14009a2f2
mov rax, qword [rdi + 0x88]
test rax, rax
je 0x14009a2e6
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 0x14009a35f
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 0x14009a358
mov rcx, rdi
call fcn.14009b250
mov ebx, eax
test eax, eax
js 0x14009a36d
xor edx, edx
mov rcx, rdi
call fcn.14009a750
mov ebx, eax
test eax, eax
js 0x14009a36d
and qword [rsp + 0x28], 0
and dword [rsp + 0x20], 0
lea r8, [0x14009b2a0]
mov r9, rdi
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rdi + 0xa8], rax
jmp 0x14009a36d
mov ebx, 0x8000ffff
jmp 0x14009a36d
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 0x14009b2f0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push rbx
mov rbp, rsp
sub rsp, 0x48
and qword [rbp + 0x20], 0
and dword [rbp + 0x18], 0
lea r8, [rbp + 0x18]
lea rdx, [rbp + 0x20]
xor ecx, ecx
call qword [sym.imp.NETAPI32.dll_NetGetJoinInformation]
mov rcx, qword [rbp + 0x20]
mov ebx, eax
test rcx, rcx
je 0x14009b328
call qword [sym.imp.NETAPI32.dll_NetApiBufferFree]
test ebx, ebx
jne 0x14009b336
cmp dword [rbp + 0x18], 3
jne 0x14009b336
mov bl, 1
jmp 0x14009b338
xor bl, bl
lea rax, [rbp + 0x30]
lea rdx, [0x140008d90]
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14009b3bc
mov rcx, qword [rbp + 0x30]
lea rax, [rbp + 0x18]
lea r8, [0x140008de0]
mov qword [rsp + 0x30], rax
lea rax, [rbp + 0x28]
lea rdx, [0x140008e00]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x20]
mov r9d, reloc.OLEAUT32.dll_SafeArrayGetDim
mov qword [rsp + 0x20], rax
mov dword [rbp + 0x18], 4
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
jne 0x14009b3b2
cmp dword [rbp + 0x20], 4
jne 0x14009b3b2
cmp dword [rbp + 0x28], eax
sete bl
mov rcx, qword [rbp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
add rsp, 0x48
pop rbx
pop rbp
ret
Function at 0x14009b4b0
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 0x14009b4df
mov eax, ebp
jmp 0x14009b4eb
mov rax, r14
inc rax
cmp word [rdx + rax*2], bp
jne 0x14009b4e2
mov r8d, eax
call fcn.1400118b4
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov r15d, 0x80070000
mov qword [rdi + 0x10], rax
test rax, rax
jne 0x14009b52b
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
or ebx, r15d
test eax, eax
cmovle ebx, eax
test ebx, ebx
js 0x14009b5f9
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 0x14009b557
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
or ebx, r15d
test eax, eax
cmovle ebx, eax
test ebx, ebx
js 0x14009b5f9
lea r9, [rsp + 0x50]
lea rcx, [0x14009b648]
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x50], rbp
call qword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
mov ebx, eax
test eax, eax
js 0x14009b5ea
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 0x14009b5af
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
or ebx, r15d
test eax, eax
cmovle ebx, eax
test ebx, ebx
js 0x14009b5ea
lea r8, [0x14009bee0]
mov r9, rdi
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x28], rbp
mov dword [rsp + 0x20], ebp
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rdi + 8], rax
test rax, rax
jne 0x14009b5ea
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 0x14009b627
mov rcx, qword [rdi + 0x18]
cmp rcx, r14
je 0x14009b60c
call qword [sym.imp.KERNEL32.dll_FindCloseChangeNotification]
mov qword [rdi + 0x18], r14
mov rcx, qword [rdi + 0x20]
cmp rcx, r14
je 0x14009b61f
call qword [sym.imp.KERNEL32.dll_FindCloseChangeNotification]
mov qword [rdi + 0x20], r14
mov rcx, rdi
call fcn.14009c4a0
mov rbp, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
mov eax, ebx
mov rbx, qword [rsp + 0x58]
add rsp, 0x30
pop r15
pop r14
pop rdi
ret
Function at 0x1400ccfb4
Capabilities:
Get routing table

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
mov qword [rsp + 8], rcx
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x20
mov r12, rdx
mov rcx, qword [0x140148ea8]
lea rdx, [0x140148ea8]
mov eax, 5
cmp rcx, rdx
je 0x1400cd00b
test byte [rcx + 0x1c], 1
je 0x1400cd00b
cmp byte [rcx + 0x19], al
jb 0x1400cd00b
mov rcx, qword [rcx + 0x10]
lea edx, [rax + 0x3c]
lea r8, [0x140009138]
mov r9, r12
call fcn.14000fda0
xor esi, esi
or eax, 0xffffffff
xor edi, edi
and dword [rsp + 0x50], esi
mov qword [rsp + 0x58], rsi
mov ebp, eax
mov r14d, eax
lea r15d, [rdi + 2]
test r12, r12
jne 0x1400cd033
mov ebx, 0x80004003
jmp 0x1400cd11d
mov ecx, 0x3c
call fcn.140105b34
mov rdi, rax
test rax, rax
jne 0x1400cd04f
mov ebx, 0x8007000e
jmp 0x1400cd11d
lea rdx, [rsp + 0x50]
xor r8d, r8d
mov rcx, rax
call qword [sym.imp.IPHLPAPI.DLL_GetIpForwardTable]
mov ebx, eax
cmp eax, 0x7a
jne 0x1400cd0a5
mov rcx, rdi
call sub.msvcrt.dll_free
mov ecx, dword [rsp + 0x50]
call fcn.140105b34
mov rdi, rax
test rax, rax
je 0x1400cd045
lea rdx, [rsp + 0x50]
xor r8d, r8d
mov rcx, rax
call qword [sym.imp.IPHLPAPI.DLL_GetIpForwardTable]
test eax, eax
je 0x1400cd0af
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
jmp 0x1400cd0ab
or ebx, 0x80070000
test ebx, ebx
js 0x1400cd11d
cmp dword [rdi], esi
jbe 0x1400cd0d8
mov ecx, dword [rdi]
lea rax, [rdi + 8]
cmp dword [rax - 4], esi
jne 0x1400cd0cf
cmp dword [rax], esi
jne 0x1400cd0cf
cmp dword [rax + 0x20], r14d
jae 0x1400cd0cf
mov ebp, dword [rax + 0xc]
mov r14d, dword [rax + 0x20]
add rax, 0x38
dec rcx
jne 0x1400cd0b9
lea rdx, [rsp + 0x58]
xor r8d, r8d
mov ecx, r15d
call fcn.1400e6924
mov rsi, qword [rsp + 0x58]
mov ebx, eax
test eax, eax
js 0x1400cd11d
mov rdx, rsi
test rsi, rsi
je 0x1400cd118
cmp dword [rdx + 4], ebp
je 0x1400cd18b
cmp ebp, 0xffffffff
jne 0x1400cd10f
cmp dword [rdx + 0x68], 1
je 0x1400cd18b
mov rdx, qword [rdx + 8]
test rdx, rdx
jne 0x1400cd0fb
mov ebx, 0x80004005
mov rcx, rdi
call sub.msvcrt.dll_free
mov rcx, rsi
call sub.msvcrt.dll_free
mov rcx, qword [0x140148ea8]
lea rax, [0x140148ea8]
cmp rcx, rax
je 0x1400cd172
test byte [rcx + 0x1c], 1
je 0x1400cd172
movzx eax, byte [rcx + 0x19]
test ebx, ebx
mov edx, 5
cmovns r15d, edx
cmp eax, r15d
jl 0x1400cd172
mov rcx, qword [rcx + 0x10]
lea r8, [0x140009138]
mov edx, 0x42
mov r9d, ebx
call fcn.14000fd64
mov rbp, qword [rsp + 0x68]
mov eax, ebx
mov rbx, qword [rsp + 0x60]
add rsp, 0x20
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
mov rdx, qword [rdx + 0x18]
test rdx, rdx
je 0x1400cd118
cmp qword [rdx + 0x10], 0
je 0x1400cd1ad
cmp dword [rdx + 0x18], 0
jle 0x1400cd1ad
movsxd rax, dword [rdx + 0x18]
cmp rax, 0x80
jbe 0x1400cd1b3
mov rdx, qword [rdx + 8]
jmp 0x1400cd18f
movsxd r8, dword [rdx + 0x18]
mov rdx, qword [rdx + 0x10]
mov rcx, r12
call sub.msvcrt.dll_memcpy
jmp 0x1400cd11d
Function at 0x1400cdd20
Capabilities:
Create thread

Disassembly:
mov rax, rsp
push r12
push r14
push r15
sub rsp, 0xe0
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x140148058]
xor rax, rsp
mov qword [rsp + 0xd0], rax
mov esi, edx
mov r14, rcx
mov qword [rsp + 0x38], rcx
lea r12, [0x140148ea8]
mov rcx, qword [0x140148ea8]
mov r15d, 5
cmp rcx, r12
je 0x1400cdd99
test byte [rcx + 0x1c], 1
je 0x1400cdd99
cmp byte [rcx + 0x19], r15b
jb 0x1400cdd99
lea edx, [r15 + 0xa]
mov r9d, esi
lea r8, [0x140009148]
mov rcx, qword [rcx + 0x10]
call fcn.14000fd64
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [r14 + 0x80], esi
and dword [r14 + 0x84], 0
cmp qword [r14 + 0x78], 0
je 0x1400cdeed
cmp qword [r14 + 0x38], 0
je 0x1400cdde6
xor ecx, ecx
cmp dword [r14 + 0x40], ecx
jbe 0x1400cdde6
mov rdx, qword [r14 + 0x30]
cmp qword [rdx + rcx*8], 0
jne 0x1400cdde0
inc ecx
cmp ecx, dword [r14 + 0x40]
jb 0x1400cddcf
jmp 0x1400cdde6
mov rax, qword [rdx + rcx*8]
jmp 0x1400cdde8
xor eax, eax
mov qword [rsp + 0x30], rax
test rax, rax
je 0x1400cde0e
lea rdx, [rsp + 0x30]
lea rcx, [r14 + 0x30]
call fcn.1400274a4
mov rcx, qword [rax]
and dword [rcx], 0
cmp qword [rsp + 0x30], 0
jne 0x1400cddf2
lea rcx, [0x1400011e8]
cmp qword [r14 + 0x78], 0
cmovne rcx, qword [r14 + 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
jne 0x1400cde4e
mov ecx, 0x8007000e
call fcn.1400119f0
int3
mov edx, 0x10000
mov r8d, 1
mov rcx, rax
call fcn.140107dbc
mov qword [r14 + 0x28], rax
test rax, rax
je 0x1400cdeb5
mov rcx, rax
call fcn.140108e48
test eax, eax
je 0x1400cdeb5
mov edx, esi
mov rcx, r14
call fcn.1400cd750
mov esi, eax
test eax, eax
js 0x1400cdec9
and qword [rsp + 0x28], 0
and dword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [0x1400cda40]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
test rax, rax
je 0x1400cdec9
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1400cdec9
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
nop
jmp 0x1400cdef2
mov esi, 0x80004005
mov rcx, qword [0x140148ea8]
cmp rcx, r12
je 0x1400cdf2f
test byte [rcx + 0x1c], 1
je 0x1400cdf2f
movzx edx, byte [rcx + 0x19]
mov eax, 2
test esi, esi
cmovns eax, r15d
cmp edx, eax
jl 0x1400cdf2f
mov edx, reloc.OLEAUT32.dll_SafeArrayGetDim
mov r9d, esi
lea r8, [0x140009148]
mov rcx, qword [rcx + 0x10]
call fcn.14000fd64
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, esi
mov rcx, qword [rsp + 0xd0]
xor rcx, rsp
call fcn.140001000
lea r11, [rsp + 0xe0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r12
ret