joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000012f0
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x10007f258]
jne 0x100013384
rol rcx, 0x10
test cx, 0xffff
jne 0x100013380
ret 0
ror rcx, 0x10
jmp 0x10002ea88
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x10007f5d0]
call qword [sym.imp.ntdll.dll_RtlCaptureContext]
mov r11, qword [0x10007f6c8]
mov qword [rsp + 0x58], r11
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.ntdll.dll_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x10002eb0d
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [0x10007f5d0]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call sub.ntdll.dll_RtlVirtualUnwind
jmp 0x10002eb2f
mov rax, qword [rsp + 0x88]
mov qword [0x10007f6c8], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x10007f668], rax
mov rax, qword [0x10007f6c8]
mov qword [0x10007f540], rax
mov rax, qword [rsp + 0x90]
mov qword [0x10007f650], rax
mov dword [0x10007f530], 0xc0000409
mov dword [0x10007f534], 1
mov rax, qword [0x10007f258]
mov qword [rsp + 0x68], rax
mov rax, qword [0x10007f260]
mov qword [rsp + 0x70], rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x100078790]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x88
ret
Function at 0x100001670
Capabilities:
Get thread local storage value
Get token membership

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x90
mov rax, qword [0x10007f258]
xor rax, rsp
mov qword [rsp + 0x80], rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [0x10007f200]
xor esi, esi
mov edi, eax
cmp ecx, 0xffffffff
je 0x1000159b1
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
lea rdx, [rsp + 0x64]
mov rcx, rax
call qword [sym.imp.RPCRT4.dll_I_RpcBindingInqTransportType]
cmp eax, esi
jne 0x100002b85
cmp dword [rsp + 0x64], 4
jne 0x1000159cc
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov edx, 8
lea r9, [rsp + 0x70]
lea r8d, [rdx - 7]
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenThreadToken]
cmp eax, esi
je 0x1000159ee
lea rax, [rsp + 0x68]
xor r9d, r9d
lea rcx, [rsp + 0x78]
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x48], esi
mov dword [rsp + 0x40], esi
mov dword [rsp + 0x38], esi
mov dword [rsp + 0x30], esi
lea r8d, [r9 + 2]
mov dl, 1
mov dword [rsp + 0x28], esi
mov byte [rsp + 0x78], sil
mov dword [rsp + 0x20], esi
mov byte [rsp + 0x79], sil
mov byte [rsp + 0x7a], sil
mov byte [rsp + 0x7b], sil
mov byte [rsp + 0x7c], sil
mov byte [rsp + 0x7d], 5
mov qword [rsp + 0x68], rsi
call qword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
cmp eax, esi
je 0x1000159e2
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x70]
lea r8, [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
cmp eax, esi
je 0x1000159d6
cmp dword [rsp + 0x60], esi
mov ebx, esi
setne bl
jmp 0x100001782
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_FreeSid]
jmp 0x10000178f
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x10000179c
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
cmp ebx, esi
jl 0x100015a02
mov eax, ebx
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.1000012f0
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
cmp eax, 0x6bd
jne 0x1000159b9
mov ebx, esi
jmp 0x10000179c
mov rax, rsi
jmp 0x1000016b3
movzx ebx, ax
or ebx, 0x80070000
cmp eax, esi
cmovle ebx, eax
jmp 0x10000179c
mov ebx, 1
jmp 0x10000179c
call fcn.100003c94
mov ebx, eax
jmp 0x100001782
call fcn.100003c94
mov ebx, eax
jmp 0x10000178f
call fcn.100003c94
mov ebx, eax
cmp eax, 0x800703f0
cmove ebx, esi
jmp 0x10000179c
mov rcx, qword [0x10007f250]
lea rax, [0x10007f250]
cmp rcx, rax
je 0x1000017ac
test byte [rcx + 0x1c], 1
je 0x1000017ac
mov rcx, qword [rcx + 0x10]
lea r8, [0x100078ab8]
mov edx, 0xf
mov r9d, ebx
call fcn.10001ba70
nop
jmp 0x1000017ac
Function at 0x100001e8c
Capabilities:
Delete registry value
Query or enumerate registry value

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
push rbp
push rsi
push rdi
sub rsp, 0x60
xor esi, esi
mov rdi, r8
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rsi
mov qword [r8], rsi
cmp rdx, rsi
je 0x1000030d8
lea r9, [rsp + 0x98]
lea r8, [rsp + 0x90]
call fcn.100010734
cmp eax, esi
je 0x100018a7e
mov rcx, qword [rsp + 0x90]
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x50], rsi
lea rax, [rsp + 0x88]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rsi
xor edx, edx
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rsi
call qword [sym.imp.API_MS_Win_Core_LocalRegistry_L1_1_0.dll_RegQueryInfoKeyW]
mov ebx, eax
cmp eax, esi
jne 0x100001f2c
mov ecx, dword [rsp + 0x88]
cmp ecx, 0x48
jae 0x100018a8b
mov rcx, qword [rsp + 0x90]
call qword [sym.imp.API_MS_Win_Core_LocalRegistry_L1_1_0.dll_RegCloseKey]
cmp ebx, esi
jne 0x100018b2e
mov eax, 1
mov rbx, qword [rsp + 0x80]
add rsp, 0x60
pop rdi
pop rsi
pop rbp
ret
lea ecx, [rsi + 6]
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x100001f47
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
jmp 0x100001f3a
call sym.spoolsv.exe_PrvDllAllocSplMem
mov qword [rdi], rax
cmp rax, rsi
jne 0x100018aa5
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
jmp 0x100001f2c
mov rdx, qword [rsp + 0x98]
lea rcx, [rsp + 0x88]
xor r9d, r9d
mov qword [rsp + 0x28], rcx
mov rcx, qword [rsp + 0x90]
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.API_MS_Win_Core_LocalRegistry_L1_1_0.dll_RegQueryValueExW]
mov ebp, 2
mov ebx, eax
cmp eax, esi
jne 0x100018b19
mov edx, dword [rsp + 0x88]
mov rcx, qword [rdi]
call fcn.100011558
mov ecx, eax
call fcn.10001a6c0
mov ebx, eax
cmp eax, esi
je 0x100018b24
mov rdx, qword [rsp + 0x98]
mov rcx, qword [rsp + 0x90]
call qword [sym.imp.API_MS_Win_Core_LocalRegistry_L1_1_0.dll_RegDeleteValueW]
cmp eax, esi
cmove ebx, ebp
cmp ebx, esi
je 0x100018b24
mov rcx, qword [rdi]
call sym.spoolsv.exe_PrvDllFreeSplMem
mov qword [rdi], rsi
cmp ebx, ebp
cmove ebx, esi
jmp 0x100001f2c
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, qword [0x10007f250]
lea rcx, [0x10007f250]
cmp rax, rcx
je 0x1000030e1
test byte [rax + 0x1c], 1
je 0x1000030e1
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [0x10007f250]
lea r8, [0x100078dd0]
mov rcx, qword [rcx + 0x10]
mov r9d, eax
mov edx, 0xb
call fcn.10001ba70
jmp 0x1000030e1
Function at 0x100003d98
Capabilities:
Hide thread from debugger

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x28
test rcx, rcx
je 0x100015a8e
call fcn.100003e00
test eax, eax
je 0x100003dd7
mov r9d, 8
lea r8, [rsp + 0x30]
mov rcx, 0xfffffffffffffffe
lea edx, [r9 - 3]
call qword [sym.imp.ntdll.dll_NtSetInformationThread]
test eax, eax
js 0x100015aa0
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ntdll.dll_NtClose]
mov eax, 1
add rsp, 0x28
ret
mov ecx, 6
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x100003de7
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, qword [0x10007f250]
lea rcx, [0x10007f250]
cmp rax, rcx
je 0x100015a99
test byte [rax + 0x1c], 1
je 0x100015a99
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [0x10007f250]
lea r8, [0x100078ab8]
mov rcx, qword [rcx + 0x10]
mov r9d, eax
mov edx, 0x11
call fcn.10001ba70
jmp 0x100015a99

Function at 0x100003e00
Capabilities:
Get token privileges

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
mov rbx, rcx
mov edi, 1
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
lea rax, [rsp + 0x50]
lea r9d, [rdi + 3]
lea r8, [rsp + 0x48]
lea edx, [rdi + 7]
mov rcx, rbx
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
jne 0x10000451d
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x58]
mov eax, edi
add rsp, 0x30
pop rdi
ret
xor edi, edi
cmp dword [rsp + 0x48], 2
sete dil
jmp 0x100003e46
Function at 0x100003e68
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x30
xor esi, esi
cmp dword [0x10007f1f4], esi
jne 0x10000cec0
mov eax, dword [0x10007f1f4]
add rsp, 0x30
pop rdi
pop rsi
pop rbx
ret
lea rax, [rsp + 0x60]
lea r9d, [rsi + 1]
lea rdx, str.SystemSetup
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rax
call qword [sym.imp.API_MS_Win_Core_LocalRegistry_L1_1_0.dll_RegOpenKeyExW]
cmp eax, esi
jne 0x100003e7e
mov rcx, qword [rsp + 0x60]
lea rax, [rsp + 0x50]
lea rdx, str.SystemSetupInProgress
mov qword [rsp + 0x28], rax
lea rax, [0x10007f1f4]
xor r9d, r9d
xor r8d, r8d
mov dword [0x10007f1f4], esi
mov dword [rsp + 0x50], 4
mov qword [rsp + 0x20], rax
call qword [sym.imp.API_MS_Win_Core_LocalRegistry_L1_1_0.dll_RegQueryValueExW]
mov ecx, dword [0x10007f1f4]
cmp eax, esi
mov edi, eax
cmovne ecx, esi
mov dword [0x10007f1f4], ecx
cmp ecx, esi
jne 0x1000158dc
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.API_MS_Win_Core_LocalRegistry_L1_1_0.dll_RegCloseKey]
nop
jmp 0x100003e7e
mov ebx, esi
mov dword [rsp + 0x58], esi
call fcn.10001b738
cmp eax, esi
je 0x1000158f0
mov edi, esi
lea ebx, [rsi + 1]
cmp edi, esi
jne 0x10000cf44
mov rcx, qword [rsp + 0x60]
lea rax, [rsp + 0x50]
lea rdx, str.MiniSetupInProgress
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x58]
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x50], 4
mov qword [rsp + 0x20], rax
call qword [sym.imp.API_MS_Win_Core_LocalRegistry_L1_1_0.dll_RegQueryValueExW]
cmp eax, esi
jne 0x10000cf44
cmp dword [rsp + 0x58], esi
jne 0x10000cf44
mov eax, dword [0x10007f1f4]
cmp ebx, esi
cmovne eax, esi
mov dword [0x10007f1f4], eax
jmp 0x10000cf44

Function at 0x1000046f8
Capabilities:
Get token privileges

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x30
and dword [rsp + 0x40], 0
and dword [rsp + 0x48], 0
mov rbx, rcx
call sym.spoolsv.exe_PrvWaitForSpoolerInitialization
mov rcx, qword [rbx]
call fcn.100006260
test eax, eax
jne 0x10000478d
lea rdx, [rbx + 8]
xor ecx, ecx
call fcn.1000050a0
test eax, eax
je 0x10000473d
lea rcx, [rbx + 8]
mov edx, 1
call fcn.100007f5c
and qword [rsp + 0x20], 0
xor edx, edx
xor r9d, r9d
lea ecx, [rdx + 3]
xor r8d, r8d
call sym.spoolsv.exe_PrvRouterBroadcastMessage
mov rcx, qword [rbx]
mov r9d, 4
lea r11, [rsp + 0x48]
lea r8, [rsp + 0x40]
lea edx, [r9 + 8]
mov qword [rsp + 0x20], r11
call qword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
je 0x10000478d
mov r8d, dword [rsp + 0x40]
mov edx, 1
mov r9, rbx
mov ecx, edx
call fcn.100002590
mov rcx, qword [rbx]
test rcx, rcx
jne 0x1000184ba
lea rcx, [rbx + 8]
call fcn.100004f34
mov rcx, rbx
call sym.spoolsv.exe_PrvDllFreeSplMem
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
jmp 0x100004799
Function at 0x10000492c
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov ecx, 0x860
xor edi, edi
call sym.spoolsv.exe_PrvDllAllocSplMem
mov rbx, rax
cmp rax, rdi
je 0x1000184c6
mov ecx, 0x2001f
call sym.spoolsv.exe_PrvSplGetClientUserHandle
mov qword [rbx + 8], rax
cmp rax, rdi
je 0x1000184d6
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov edx, 0xe
mov r9, rbx
lea r8d, [rdx - 0xd]
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenThreadToken]
cmp eax, edi
je 0x1000184cd
cmp rbx, rdi
je 0x1000049d4
cmp dword [0x10007f22c], edi
jne 0x100012f99
lea rax, [rsp + 0x40]
lea r8, [fcn.1000046f8]
mov r9, rbx
mov qword [rsp + 0x28], rax
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x20], edi
call qword [sym.imp.KERNEL32.dll_CreateThread]
cmp rax, rdi
je 0x1000184e6
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1000049d4
mov eax, edi
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
mov rcx, rbx
call fcn.1000046f8
nop
jmp 0x1000049d4
xor eax, eax
jmp 0x1000049d6
lea rcx, [rbx + 8]
call fcn.100004f34
mov rcx, rbx
call sym.spoolsv.exe_PrvDllFreeSplMem
mov rbx, rdi
jmp 0x10000498d
mov rcx, qword [rbx]
mov edi, 1
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [rbx + 8]
call fcn.100004f34
mov rcx, rbx
call sym.spoolsv.exe_PrvDllFreeSplMem
jmp 0x1000049d4

Function at 0x100004b28
Capabilities:
Query or enumerate registry key

Disassembly:
mov r11, rsp
push rbx
sub rsp, 0x40
and qword [r11 - 0x10], 0
mov eax, dword [rcx + 0x14]
and qword [r11 - 0x18], 0
and dword [rcx + 0x10], 0
mov r8, qword [rcx + 8]
and qword [r11 - 0x20], 0
and qword [r11 - 0x28], 0
mov rbx, rcx
mov rcx, qword [rcx]
lea r9, [r11 + 8]
xor edx, edx
mov dword [rsp + 0x50], eax
call qword [sym.imp.API_MS_Win_Core_LocalRegistry_L1_1_0.dll_RegEnumKeyExW]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
mov dword [rbx + 0x18], ecx
add rsp, 0x40
pop rbx
ret

Function at 0x100004ff4
Capabilities:
Set registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x20], rsi
push rdi
sub rsp, 0x30
xor ebx, ebx
lea rax, [r11 + 0x18]
mov rsi, rcx
lea rdx, str.SoftwareMicrosoftWindows_NTCurrentVersionPorts
lea r9d, [rbx + 2]
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov qword [r11 + 0x18], rbx
mov qword [r11 - 0x18], rax
call qword [sym.imp.API_MS_Win_Core_LocalRegistry_L1_1_0.dll_RegOpenKeyExW]
mov edi, eax
cmp eax, ebx
jne 0x100005064
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x48]
lea r9d, [rbx + 1]
xor r8d, r8d
mov rdx, rsi
mov dword [rsp + 0x28], 2
mov qword [rsp + 0x20], rax
mov word [rsp + 0x48], bx
call qword [sym.imp.API_MS_Win_Core_LocalRegistry_L1_1_0.dll_RegSetValueExW]
mov edi, eax
mov rcx, qword [rsp + 0x50]
cmp rcx, rbx
je 0x100005074
call qword [sym.imp.API_MS_Win_Core_LocalRegistry_L1_1_0.dll_RegCloseKey]
mov rsi, qword [rsp + 0x58]
cmp edi, ebx
sete bl
mov eax, ebx
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x100005d18
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x450
mov rax, qword [0x10007f258]
xor rax, rsp
mov qword [rsp + 0x440], rax
mov r13, qword [rsp + 0x4b0]
xor r14d, r14d
mov r12, r9
mov ebp, r8d
mov rsi, rdx
mov rbx, rcx
cmp rdx, r14
je 0x10001843d
lea r9, str.winspool
lea r8, [0x1000748c8]
lea rcx, [rsp + 0x30]
mov edx, 0x208
call fcn.100005f58
or rcx, 0xffffffffffffffff
xor eax, eax
lea r15d, [rax + 1]
lea rdi, [rsp + 0x30]
mov edx, 0x208
repne scasw ax, word [rdi]
not rcx
sub rcx, r15
mov eax, ecx
sub edx, ecx
lea rdi, [rsp + rax*2 + 0x30]
mov rcx, rdi
cmp r12, r14
jne 0x100018444
mov eax, dword [r13]
lea r9, [0x100074954]
lea r8, str._s_.2d:
mov dword [rsp + 0x20], eax
call fcn.100005f58
add dword [r13], r15d
call sym.spoolsv.exe_PrvRevertToPrinterSelf
mov rcx, rdi
mov r12, rax
call fcn.100004ff4
cmp r12, r14
je 0x100005dee
mov rcx, r12
call sym.spoolsv.exe_PrvImpersonatePrinterClient
jmp 0x100005dee
xor eax, eax
or r12, 0xffffffffffffffff
lea rdi, [rsp + 0x30]
mov rcx, r12
mov r9d, r15d
xor r8d, r8d
repne scasw ax, word [rdi]
mov rdx, rsi
not rcx
sub rcx, r15
lea eax, [rcx + rcx + 2]
mov rcx, qword [rbx + 0x10]
mov dword [rsp + 0x28], eax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
call qword [sym.imp.API_MS_Win_Core_LocalRegistry_L1_1_0.dll_RegSetValueExW]
cmp dword [rbx + 0x24], r14d
je 0x100005e7a
lea rdx, [rbx + 0x446]
mov rcx, rsi
call qword [sym.imp.msvcrt.dll__wcsicmp]
mov ecx, r14d
cmp eax, r14d
sete cl
mov dword [rbx + 0x28], ecx
cmp ecx, r14d
je 0x100005e7a
lea rax, [rsp + 0x30]
lea r8, str._s__s
lea rcx, [rbx + 0x446]
mov r9, rsi
mov edx, 0x208
mov qword [rsp + 0x20], rax
call fcn.100005f58
mov dword [rbx + 0x24], r14d
cmp dword [rbx + 0x2c], r14d
je 0x100005f0f
cmp word [rbx + 0x444], r14w
jne 0x100005e93
cmp ebp, r14d
jne 0x100005f0f
lea r8, str._15_45
lea rcx, [rsp + 0x30]
mov edx, 0x208
call fcn.100004b94
xor eax, eax
lea rdi, [rsp + 0x30]
mov rcx, r12
mov r9d, r15d
xor r8d, r8d
repne scasw ax, word [rdi]
mov rdx, rsi
not rcx
sub rcx, r15
lea eax, [rcx + rcx + 2]
mov rcx, qword [rbx + 0x18]
mov dword [rsp + 0x28], eax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
call qword [sym.imp.API_MS_Win_Core_LocalRegistry_L1_1_0.dll_RegSetValueExW]
mov eax, r15d
mov rcx, qword [rsp + 0x440]
xor rcx, rsp
call fcn.1000012f0
mov rbx, qword [rsp + 0x4a0]
add rsp, 0x450
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea rax, [rsp + 0x30]
lea rcx, [rbx + 0x34]
lea r8, str._s__s
mov r9, rsi
mov edx, 0x208
mov qword [rsp + 0x20], rax
call fcn.100005f58
mov dword [rbx + 0x2c], r15d
cmp word [rbx + 0x444], r14w
jne 0x100005e93
cmp ebp, r14d
je 0x100005e93
jmp 0x10001846c
xor eax, eax
jmp 0x100005ee4
mov r8, r12
call fcn.100003c08
mov edx, 0x2c
mov rcx, rdi
call qword [sym.imp.msvcrt.dll_wcschr]
cmp rax, r14
je 0x100005dee
mov word [rax], r14w
jmp 0x100005dee
mov word [rbx + 0x444], r15w
jmp 0x100005e93
Function at 0x100009168
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
push rbx
sub rsp, 0x30
mov rcx, qword [rcx + 0x18]
lea rax, [r11 + 0x20]
mov ebx, r8d
mov qword [r11 - 0x10], rax
mov rax, qword [rsp + 0x60]
mov dword [r11 + 0x20], r9d
lea r9, [r11 + 0x18]
xor r8d, r8d
mov dword [rsp + 0x50], ebx
mov qword [r11 - 0x18], rax
call qword [sym.imp.API_MS_Win_Core_LocalRegistry_L1_1_0.dll_RegQueryValueExW]
mov r11d, eax
test eax, eax
jne 0x1000091b0
cmp dword [rsp + 0x50], ebx
lea eax, [r11 + 0x57]
cmovne r11d, eax
mov rcx, qword [rsp + 0x68]
test rcx, rcx
jne 0x10000a6bc
movzx eax, r11w
or eax, 0x80070000
test r11d, r11d
cmovle eax, r11d
add rsp, 0x30
pop rbx
ret
mov eax, dword [rsp + 0x58]
mov dword [rcx], eax
jmp 0x1000091be
Function at 0x100009d50
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
cmp byte [rcx + 0x60], 0
mov r13, r8
mov rbp, rdx
mov rbx, rcx
je 0x100019aef
mov esi, 0x80070057
test rdx, rdx
je 0x100009e57
or rcx, 0xffffffffffffffff
xor eax, eax
mov rdi, rdx
repne scasw ax, word [rdi]
mov eax, dword [rbx + 0x10]
not rcx
dec rcx
cmp rcx, rax
ja 0x100009e57
lea rdx, [rbx + 0x20]
lea rcx, [rsp + 0x50]
call fcn.1000024fc
call qword [sym.imp.KERNEL32.dll_GetTickCount]
xor edi, edi
xor r14d, r14d
xor r12d, r12d
mov r15d, eax
cmp dword [rbx + 8], edi
jbe 0x100009e1f
xor esi, esi
mov rax, qword [rbx + 0x18]
mov rdx, qword [rsi + rax]
test rdx, rdx
je 0x100019b0f
mov rcx, rbp
call qword [sym.imp.msvcrt.dll__wcsicmp]
test eax, eax
je 0x100019af6
mov rax, qword [rbx + 0x18]
mov ecx, r15d
sub ecx, dword [rax + rsi + 8]
cmp ecx, dword [rbx + 0xc]
ja 0x100019b0f
cmp ecx, r12d
jbe 0x100009e12
mov r12d, ecx
mov r14d, edi
inc edi
add rsi, 0x18
cmp edi, dword [rbx + 8]
jb 0x100009dd1
jmp 0x100009e1f
mov eax, dword [rbx + 8]
mov r8, r13
mov rdx, rbp
cmp eax, dword [rbx + 4]
jae 0x100019b32
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 0x18]
lea rcx, [rax + rcx*8]
call fcn.100009e80
mov esi, eax
test eax, eax
js 0x100009e4d
inc dword [rbx + 8]
jmp 0x100009e4d
lea rcx, [rsp + 0x50]
call fcn.100002520
mov eax, esi
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
xor eax, eax
jmp 0x100009e59
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov rcx, qword [rbx + 0x18]
lea rdx, [rdi + rdi*2]
mov dword [rcx + rdx*8 + 8], eax
xor esi, esi
jmp 0x100009e4d
lea rcx, [rdi + rdi*2]
mov r8, r13
mov rdx, rbp
lea rcx, [rax + rcx*8]
call fcn.100009e80
mov esi, eax
cmp eax, 1
je 0x100009e1f
jmp 0x100009e4d
mov eax, r14d
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 0x18]
lea rcx, [rax + rcx*8]
call fcn.100009e80
mov esi, eax
jmp 0x100009e4d
Function at 0x100009fa0
Capabilities:
Resolve dns

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x240
mov rax, qword [0x10007f258]
xor rax, rsp
mov qword [rsp + 0x230], rax
xor ebp, ebp
mov rsi, rdx
mov rdi, rcx
mov ebx, 0x80070057
mov qword [rdx], rbp
cmp rcx, rbp
je 0x10000a053
cmp word [rcx], bp
je 0x10000a053
lea edx, [rbp + 2]
lea rcx, [rsp + 0x80]
mov r8d, edx
call fcn.10000a080
mov ebx, dword [rsp + 0x220]
cmp ebx, ebp
jl 0x10000a044
lea r8d, [rbp + 0x2c]
lea rcx, [rsp + 0x4c]
xor edx, edx
call sub.msvcrt.dll_memset
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x48]
xor edx, edx
mov rcx, rdi
mov dword [rsp + 0x48], 4
mov dword [rsp + 0x4c], ebp
call qword [sym.imp.WS2_32.dll_GetAddrInfoW]
cmp eax, ebp
je 0x100019f8b
cmp eax, 0x2af9
jne 0x10001a002
mov ebx, 1
jmp 0x10000a044
cmp dword [rsp + 0x220], ebp
jne 0x10000a053
call qword [sym.imp.WS2_32.dll_WSACleanup]
mov eax, ebx
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.1000012f0
mov rbx, qword [rsp + 0x270]
add rsp, 0x240
pop rdi
pop rsi
pop rbp
ret
mov rcx, rdi
call fcn.100046230
cmp eax, ebp
jl 0x100019ff0
mov ecx, 0x804
call sub.msvcrt.dll_void____ptr64___cdecl_operator_new_unsigned_long_long_unsigned___int64__
mov rbx, rax
neg rax
sbb ecx, ecx
not ecx
and ecx, 0x8007000e
jl 0x100019ff0
mov rcx, qword [rsp + 0x40]
mov dword [rsp + 0x30], 2
mov r9d, 0x401
mov edx, dword [rcx + 0x10]
mov rcx, qword [rcx + 0x20]
mov r8, rbx
mov dword [rsp + 0x28], ebp
mov qword [rsp + 0x20], rbp
call qword [sym.imp.WS2_32.dll_GetNameInfoW]
cmp eax, ebp
jne 0x100019fe8
mov qword [rsi], rbx
jmp 0x100019ff0
mov rcx, rbx
call sub.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.WS2_32.dll_FreeAddrInfoW]
mov ebx, ebp
jmp 0x10000a044
call fcn.1000461fc
mov ebx, eax
jmp 0x10000a044

Function at 0x10000a080
Capabilities:
Initialize winsock library

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
mov dword [rcx], 0x54535357
movzx eax, dl
lea rdx, [rcx + 8]
movzx ecx, r8b
shl cx, 8
or cx, ax
call qword [sym.imp.WS2_32.dll_WSAStartup]
movzx edx, ax
or edx, 0x80070000
test eax, eax
cmovle edx, eax
mov rax, rbx
mov dword [rbx + 0x1a0], edx
add rsp, 0x20
pop rbx
ret