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

Disassembly:
push rbx
push rdi
push r13
sub rsp, 0x30
mov rcx, qword [0x180037c20]
mov ebx, dword [0x180036630]
lea r8, [rsp + 0x60]
mov edx, 1
mov dword [rsp + 0x50], 0x28
call fcn.180004ba4
lea r13, [0x180036630]
mov edi, eax
test eax, eax
jne 0x180004e91
mov rcx, qword [rsp + 0x60]
lea rax, [rsp + 0x50]
lea r9, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea rdx, [0x18003b19e]
xor r8d, r8d
mov qword [rsp + 0x20], r13
mov dword [rsp + 0x50], 0x28
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edi, eax
test eax, eax
jne 0x180004e30
cmp dword [rsp + 0x50], 0x28
je 0x180004e3c
lea rcx, [0x180036638]
call fcn.180019b78
movzx eax, word [0x180036634]
mov ecx, 0x8000
test cx, ax
jne 0x180004e86
mov ecx, 0x801c
lea rdx, [0x18003b19e]
mov r9d, 3
or ax, cx
mov rcx, qword [rsp + 0x60]
xor r8d, r8d
mov dword [rsp + 0x28], 0x28
mov qword [rsp + 0x20], r13
mov word [0x180036634], ax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edi, eax
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [0x180036630], 0
jne 0x180004ed0
mov dword [0x180036630], ebx
test ebx, ebx
je 0x180004ec6
mov r9d, 3
lea rcx, [0x18003b19e]
mov rdx, r13
lea r8d, [r9 + 0x25]
call fcn.180004d1c
cmp dword [0x180036630], 0
jne 0x180004ed0
mov dword [0x180036630], 0x3e8
cmp qword [0x180037d58], 0
jne 0x180004f38
mov rcx, qword [0x180037ae8]
xor edx, edx
lea r8d, [rdx + 0x27]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rbx, rax
test rax, rax
je 0x180004f31
mov edx, dword [0x180036644]
mov ecx, dword [0x180036640]
mov r9d, dword [0x18003663c]
mov r8d, dword [0x180036638]
bswap edx
bswap ecx
mov dword [rsp + 0x28], edx
mov dword [rsp + 0x20], ecx
lea rdx, [0x18003b356]
bswap r9d
bswap r8d
mov rcx, rax
call qword [sym.imp.USER32.dll_wsprintfA]
mov qword [0x180037d58], rbx
mov eax, edi
add rsp, 0x30
pop r13
pop rdi
pop rbx
ret

Function at 0x180004f44
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
movzx edi, r8w
mov eax, ecx
mov ebx, 0x57
test ecx, ecx
jne 0x180004f6a
mov rcx, rdx
call qword [sym.imp.SHLWAPI.dll_StrToIntA]
test eax, eax
je 0x180004fcd
mov rcx, qword [0x180037c20]
lea r8, [rsp + 0x30]
mov edx, 1
mov dword [0x180036630], eax
mov word [0x180036634], di
call fcn.180004ba4
mov ebx, eax
test eax, eax
jne 0x180004fcd
mov rcx, qword [rsp + 0x30]
lea rax, [0x180036630]
lea r9d, [rbx + 3]
lea rdx, [0x18003b19e]
xor r8d, r8d
mov dword [rsp + 0x28], 0x28
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov rcx, qword [rsp + 0x30]
mov ebx, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x180004fdc
Capabilities:
Set registry value

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x80
mov r14, r8
lea r8, [rax + 0x20]
mov r13d, edx
mov r12, rcx
xor edi, edi
call fcn.1800194a0
mov edx, eax
cmp eax, edi
je 0x18000519c
cmp eax, 8
jbe 0x180005183
mov rbp, qword [rsp + 0xc8]
add edx, 0xfffffff8
mov ebx, dword [rdx + rbp + 4]
lea rcx, [rbp + 4]
call fcn.180028dfc
not eax
cmp ebx, eax
jne 0x180005183
mov rax, qword [rsp + 0xc8]
mov rcx, qword [0x180037ae8]
xor edx, edx
mov ebx, dword [rax]
lea r8d, [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rsi, rax
cmp rax, rdi
je 0x180005183
lea rcx, [rbp + 4]
mov rdx, rax
call fcn.18001dd8c
cmp eax, ebx
jne 0x180005171
lea rdx, [0x18003c0d1]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_lstrcmpiA]
cmp eax, edi
jne 0x1800050a3
mov edx, r13d
mov rcx, r12
call fcn.180028dfc
not eax
mov dword [0x180037b90], eax
lea rcx, [0x180038000]
mov r9d, ebx
mov r8, rsi
mov rdx, r14
call fcn.180006da8
mov rcx, qword [0x180037c38]
mov ebp, 1
lea r8, [rsp + 0x30]
mov edx, ebp
call fcn.180004ba4
cmp eax, edi
jne 0x180005103
mov rcx, qword [rsp + 0x30]
lea r9d, [rbp + 2]
xor r8d, r8d
mov rdx, r14
mov dword [rsp + 0x28], r13d
mov qword [rsp + 0x20], r12
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov rcx, qword [rsp + 0x30]
cmp eax, edi
cmove edi, ebp
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rbx, rsi
lea rcx, [rsp + 0x38]
lea rdx, [rsp + 0x50]
mov r8d, 6
lea rax, [rbx + 4]
mov ebx, dword [rbx]
mov dword [rcx], ebx
mov qword [rdx], rax
add rbx, rax
add rcx, 4
add rdx, 8
sub r8, rbp
jne 0x180005116
cmp dword [rsp + 0x38], ebp
jb 0x180005171
mov edx, dword [rsp + 0x3c]
cmp edx, ebp
jbe 0x180005106
mov rcx, qword [rsp + 0x58]
dec edx
call fcn.180028dfc
xor eax, dword [0x180037cb0]
cmp eax, 0x369d482b
jne 0x180005106
mov r8d, dword [rsp + 0x38]
mov rdx, qword [rsp + 0x50]
xor r9d, r9d
mov ecx, 0x102
call fcn.18000f3c8
jmp 0x180005106
mov rcx, qword [0x180037ae8]
mov r8, rsi
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov r8, qword [rsp + 0xc8]
mov rcx, qword [0x180037ae8]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x1800051b3
mov rcx, qword [0x180037f28]
lea rdx, [0x180036636]
add rcx, 8
call fcn.180018ebc
lea r11, [rsp + 0x80]
mov eax, edi
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret
Function at 0x180005404
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x60
xor r15d, r15d
mov r13, r8
mov r14, rdx
lea r8, [rax - 0x38]
xor edx, edx
mov r12d, r9d
mov dword [rax - 0x44], r15d
mov dword [rax - 0x48], r15d
mov dword [rax - 0x40], r15d
call fcn.180004ba4
mov ebx, eax
cmp eax, r15d
jne 0x1800055d3
mov rcx, qword [0x180037ae8]
mov edi, 0x105
xor edx, edx
mov r8, rdi
lea ebx, [r15 + 8]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rsi, rax
cmp rax, r15
je 0x1800055c8
mov rcx, qword [0x180037ae8]
mov r8, rdi
xor edx, edx
mov ebp, edi
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rdi, rax
cmp rax, r15
je 0x1800055b6
mov edx, dword [rsp + 0x44]
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x4c]
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x48]
mov r8, rsi
mov qword [rsp + 0x20], r15
mov dword [rsp + 0x48], 0x105
mov dword [rsp + 0x40], ebp
call qword [sym.imp.ADVAPI32.dll_RegEnumValueA]
mov ebx, eax
cmp eax, 0xea
jne 0x180005536
cmp dword [rsp + 0x48], 0x105
jbe 0x1800054f5
inc dword [rsp + 0x44]
mov ebx, r15d
jmp 0x18000557f
cmp dword [rsp + 0x40], ebp
jbe 0x1800055a4
mov rcx, qword [0x180037ae8]
mov r8, rdi
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov ebp, dword [rsp + 0x40]
mov rcx, qword [0x180037ae8]
mov r8, rbp
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rdi, rax
cmp rax, r15
jne 0x1800054ed
mov ebx, 8
jmp 0x1800055a4
cmp eax, r15d
jne 0x18000559a
cmp r12d, r15d
je 0x180005556
mov r8d, dword [0x180037c94]
mov edx, dword [rsp + 0x40]
xor r9d, r9d
mov rcx, rdi
call fcn.180028d3c
mov r9d, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x44]
mov r8, rdi
mov rdx, rsi
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], rax
call r14
mov ebx, eax
cmp eax, r15d
jne 0x18000559a
mov rcx, qword [0x180037ca8]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x1800055a4
jmp 0x180005495
cmp ebx, 0x103
cmove ebx, r15d
mov rcx, qword [0x180037ae8]
mov r8, rdi
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rcx, qword [0x180037ae8]
mov r8, rsi
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea r11, [rsp + 0x60]
mov eax, ebx
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x180006074
Capabilities:
Query or enumerate registry value

Disassembly:
sub rsp, 0x28
mov rcx, qword [0x180037b68]
mov edx, 1
mov r8d, edx
call fcn.180014e48
mov rcx, qword [0x180037c30]
lea rdx, [0x180006018]
mov r9d, 1
xor r8d, r8d
add rsp, 0x28
jmp fcn.180005404

Function at 0x180006414
Capabilities:
Query or enumerate registry value

Disassembly:
sub rsp, 0x28
test byte [0x180036634], 4
je 0x180006433
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov ecx, 0x121
call fcn.18000f3c8
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov ecx, 0x120
call fcn.18000f3c8
mov rcx, qword [0x180037ca8]
mov edx, 0x2710
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [0x180037c30]
lea rdx, [0x180005e14]
mov r9d, 1
xor r8d, r8d
add rsp, 0x28
jmp fcn.180005404
Function at 0x1800077b0
Capabilities:
Access pe header
Allocate or change rwx memory
Get file version info

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r12
push r13
push r15
sub rsp, 0x40
xor ebx, ebx
mov r15, rdx
mov rsi, rcx
mov rdi, rbx
mov qword [rsp + 0x28], rbx
mov bpl, bl
call qword [sym.imp.ntdll.dll_RtlImageNtHeader]
mov r13, rax
cmp rax, rbx
jne 0x1800077ef
lea ebx, [rdi + 0xb]
jmp 0x18000799e
lea rdx, [rsp + 0x20]
mov r8d, 1
mov rcx, rsi
call fcn.180016c74
cmp eax, ebx
jne 0x1800078a9
mov rcx, qword [rsp + 0x20]
xor edx, edx
mov ebp, ebx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov dword [rsp + 0x80], eax
cmp eax, ebx
je 0x180007892
mov rcx, qword [0x180037ae8]
mov r8d, eax
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov r12, rax
cmp rax, rbx
je 0x180007892
mov r8d, dword [rsp + 0x80]
mov rcx, qword [rsp + 0x20]
mov r9, rax
xor edx, edx
call sub.VERSION.dll_GetFileVersionInfoW
cmp eax, ebx
je 0x180007880
lea r9, [rsp + 0x80]
lea r8, [rsp + 0x30]
lea rdx, [0x18002f740]
mov rcx, r12
call sub.VERSION.dll_VerQueryValueA
cmp eax, ebx
je 0x180007880
mov rax, qword [rsp + 0x30]
mov ebp, dword [rax + 8]
mov rcx, qword [0x180037ae8]
mov r8, r12
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov r8, qword [rsp + 0x20]
mov rcx, qword [0x180037ae8]
xor edx, edx
shr ebp, 0x10
call qword [sym.imp.KERNEL32.dll_HeapFree]
lea r8, [0x1800370f0]
mov rax, rbx
mov ecx, ebx
mov rdx, r8
cmp bpl, byte [rdx]
jb 0x1800078c6
mov eax, ecx
lea rax, [rax + rax*4]
add rax, r8
inc ecx
add rdx, 5
cmp ecx, 5
jb 0x1800078b8
lea r8, [rsp + 0x88]
lea rdx, [rsp + 0x80]
mov rcx, r15
mov qword [0x180037ae0], rax
call fcn.180004c38
cmp eax, ebx
jne 0x180007940
cmp dword [rsp + 0x88], 0x10
jne 0x180007940
mov r8, qword [rsp + 0x80]
mov eax, dword [r13 + 0x58]
cmp dword [r8], eax
jne 0x18000792c
cmp qword [r8 + 8], rbx
je 0x18000792c
mov eax, dword [r13 + 0x50]
cmp qword [r8 + 8], rax
jae 0x18000792c
mov rax, qword [r8 + 8]
lea rdi, [rsi + rax]
mov qword [rsp + 0x28], rdi
mov rcx, qword [0x180037ae8]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
cmp rdi, rbx
jne 0x180007991
xor ecx, ecx
mov edx, 0x1000000
mov r8d, 0x3000
lea r9d, [rcx + 0x40]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [0x180037ba8], rax
cmp rax, rbx
je 0x18000799e
mov eax, dword [r13 + 0x58]
lea rdx, [rsp + 0x28]
mov rcx, rsi
mov qword [0x180037ad8], r15
mov qword [0x180037ad0], rsi
mov dword [0x180037ac8], eax
call fcn.1800075e8
cmp eax, ebx
jne 0x18000799e
mov rdi, qword [rsp + 0x28]
mov rdx, rdi
mov rcx, rsi
call fcn.180007328
mov ebx, eax
mov rbp, qword [rsp + 0x78]
mov eax, ebx
mov rbx, qword [rsp + 0x70]
add rsp, 0x40
pop r15
pop r13
pop r12
pop rdi
pop rsi
ret
Function at 0x1800079b8
Capabilities:
Allocate thread local storage

Disassembly:
push rbx
sub rsp, 0x20
lea rcx, [0x18003b065]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rbx, rax
test rax, rax
je 0x1800079fd
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [0x180036f78], eax
cmp eax, 0xffffffff
je 0x1800079f5
lea rdx, [0x18003b1c6]
mov rcx, rbx
call fcn.1800077b0
jmp 0x180007a18
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x180007a18
mov edx, 1
lea r8, [0x180036df8]
lea rcx, [0x180036de0]
mov r9d, edx
call fcn.18000e648
add rsp, 0x20
pop rbx
ret

Function at 0x180008e50
Capabilities:
Get file size

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r12
sub rsp, 0x40
mov rsi, rdx
mov rbx, rcx
xor edi, edi
call qword [sym.imp.KERNEL32.dll_GetTickCount]
lea r8d, [rdi + 3]
mov qword [rsp + 0x30], rdi
lea r9, [0x180037cd0]
mov edx, 0x80000000
mov rcx, rbx
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x70], eax
mov dword [rsp + 0x20], r8d
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbp, rax
cmp rax, 0xffffffffffffffff
je 0x180008f4c
lea r9d, [rdi + 1]
lea rdx, [0x18003b3c5]
lea rcx, [rsp + 0x70]
xor r8d, r8d
call fcn.180016118
mov rbx, rax
cmp rax, rdi
je 0x180008f3c
xor edx, edx
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GetFileSize]
lea r8d, [rdi + 2]
lea rdx, [0x180037cd0]
xor r9d, r9d
mov rcx, rbp
mov qword [rsp + 0x28], rbx
mov r12d, eax
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateFileMappingA]
cmp rax, rdi
je 0x180008f20
mov rcx, rbx
mov dword [rsi + 0x10], edi
mov qword [rsi], rax
mov dword [rsi + 8], r12d
call qword [sym.imp.KERNEL32.dll_lstrlenA]
lea rcx, [rsi + 0x14]
mov rdx, rbx
mov dword [rsi + 0xc], eax
call qword [sym.imp.KERNEL32.dll_lstrcpyA]
jmp 0x180008f28
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov rcx, qword [0x180037ae8]
mov r8, rbx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x180008f41
mov edi, 8
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x180008f54
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov eax, edi
add rsp, 0x40
pop r12
pop rdi
pop rsi
ret
Function at 0x180008f6c
Capabilities:
Create process on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
push rsi
push rdi
push r12
sub rsp, 0xf0
xor edi, edi
mov r12, rcx
lea rcx, [rax - 0x80]
and dword [rax + 0x18], edi
lea r8d, [rdi + 0x60]
xor edx, edx
call sub.ntdll.dll_memset
and qword [rsp + 0x50], rdi
xor eax, eax
xor ecx, ecx
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rax
mov dword [rsp + 0x80], 0x68
xor ebx, ebx
call fcn.180014444
mov rsi, rax
test rax, rax
je 0x18000901f
mov edx, 0x104
mov rcx, rax
call fcn.1800173c0
mov rbp, rax
test rax, rax
je 0x180009006
mov rcx, rax
call qword [sym.imp.SHELL32.dll_PathGetShortPath]
mov rcx, rbp
mov rbx, rsi
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov rdx, rbp
mov rcx, rsi
inc eax
movsxd r8, eax
call qword [sym.imp.ntdll.dll_wcstombs]
mov r8, rbp
jmp 0x180009009
mov r8, rsi
mov rcx, qword [0x180037ae8]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
test rbx, rbx
cmovne rdi, rbx
lea rax, [rsp + 0x50]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x80]
mov rdx, r12
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rdi
and qword [rsp + 0x30], 0
xor ecx, ecx
mov dword [rsp + 0x28], 0xc000000
and dword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x1800090d2
mov rax, qword [0x180037ca8]
xor r8d, r8d
lea rdx, [rsp + 0x68]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x50]
lea ecx, [r8 + 2]
or r9d, 0xffffffff
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
mov dword [rsp + 0x120], eax
test eax, eax
jne 0x1800090a7
mov dword [rsp + 0x120], 0x102
jmp 0x1800090ba
mov rcx, qword [rsp + 0x50]
lea rdx, [rsp + 0x120]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1800090df
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x120], eax
test rbx, rbx
je 0x1800090f6
mov rcx, qword [0x180037ae8]
mov r8, rbx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, dword [rsp + 0x120]
lea r11, [rsp + 0xf0]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsp, r11
pop r12
pop rdi
pop rsi
ret

Function at 0x18000971c
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
sub rsp, 0x20
mov rbp, rcx
mov ecx, 0x929
mov esi, r9d
mov r12d, r8d
mov r13, rdx
mov edi, 0x3ee
call fcn.180014e98
mov rbx, rax
test rax, rax
je 0x18000979c
mov r9d, 1
mov r8d, r12d
mov rdx, r13
mov rcx, rax
call fcn.180014790
mov edi, eax
test eax, eax
jne 0x180009781
mov r8d, esi
mov rdx, rbx
mov rcx, rbp
call fcn.1800092c4
mov edi, eax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
mov rcx, qword [0x180037ae8]
mov r8, rbx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov eax, edi
add rsp, 0x20
pop r13
pop r12
pop rdi
ret
Function at 0x1800097b8
Capabilities:
Set registry value

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
sub rsp, 0x40
mov rbp, r8
mov r12, rdx
mov rdx, rcx
lea r8, [rax - 0x18]
mov rcx, 0xffffffff80000001
mov esi, r9d
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
mov ebx, eax
test eax, eax
jne 0x1800098b3
test rbp, rbp
je 0x180009884
test esi, esi
je 0x180009884
mov rcx, qword [0x180037ae8]
mov r8, rsi
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rdi, rax
test rax, rax
je 0x18000987d
mov r8, rsi
mov rdx, rbp
mov rcx, rax
call sub.ntdll.dll_memcpy
cmp dword [rsp + 0x70], ebx
je 0x180009847
mov r8d, dword [0x180037c94]
xor r9d, r9d
mov edx, esi
mov rcx, rdi
call fcn.180028cf0
mov rcx, qword [rsp + 0x30]
mov r9d, 3
xor r8d, r8d
mov rdx, r12
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], rdi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov rcx, qword [0x180037ae8]
mov r8, rdi
xor edx, edx
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x1800098a8
mov ebx, 8
jmp 0x1800098a8
and dword [rsp + 0x28], 0
mov rcx, qword [rsp + 0x30]
and qword [rsp + 0x20], 0
mov r9d, 3
xor r8d, r8d
mov rdx, r12
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ebx, eax
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
mov eax, ebx
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop r12
ret

Function at 0x180009f20
Capabilities:
Allocate thread local storage

Disassembly:
push rbx
sub rsp, 0x20
lea rcx, [0x18003b7b4]
xor ebx, ebx
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
cmp rax, rbx
je 0x180009fe1
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [0x180037be0], eax
cmp eax, 0xffffffff
je 0x180009fe6
cmp byte [0x180037c8c], 6
ja 0x180009f9d
lea rcx, [0x18003ba68]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea rcx, [0x18003b86a]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea rcx, [0x18003ba77]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea rcx, [0x18003ba7e]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea rcx, [0x18003b767]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea rcx, [0x18003ba70]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea rcx, [0x18003b834]
call fcn.1800282bc
mov r11, qword [0x180037c00]
mov edx, 0xd
or dword [r11 + 0x34], 1
lea r8, [0x180036b20]
lea rcx, [0x1800369c0]
mov r9d, edx
call fcn.18000e648
mov ebx, eax
jmp 0x180009fe6
mov ebx, 0x7e
mov eax, ebx
add rsp, 0x20
pop rbx
ret
Function at 0x18000a22c
Capabilities:
Read data from internet
Receive data

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
push r12
sub rsp, 0x70
and dword [rax + 8], 0
or ebp, 0xffffffff
cmp byte [0x180037c8c], 5
mov rbx, rcx
mov rcx, qword [0x180037ae8]
mov eax, 0x1388
mov r12, rdx
cmovbe ebp, eax
mov r8d, 0x4000
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rsi, rax
test rax, rax
je 0x18000a315
lea r9, [rsp + 0x80]
mov r8d, 0x4000
mov rdx, rsi
mov rcx, r12
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x18000a2d3
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x18000a2f1
mov rcx, qword [rbx + 0x60]
mov edx, ebp
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0xffffffff
jne 0x18000a2c0
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x102
je 0x18000a301
test eax, eax
jne 0x18000a2f1
mov eax, dword [rbx + 0x50]
cmp eax, 1
je 0x18000a2f1
mov r8d, dword [rsp + 0x80]
test r8d, r8d
je 0x18000a2fa
mov rcx, qword [rbx]
xor r9d, r9d
mov rdx, rsi
mov rax, qword [rcx]
call qword [rax + 0x20]
jmp 0x18000a27e
mov dword [rbx + 0x50], 1
jmp 0x18000a301
mov dword [rbx + 0x50], 2
mov rcx, qword [0x180037ae8]
mov r8, rsi
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x18000a31c
mov dword [rbx + 0x50], 1
mov rcx, qword [rbx]
lea rdx, [rsp + 0x20]
mov r8d, 1
mov rax, qword [rcx]
call qword [rax + 0x60]
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop r12
ret

Function at 0x18000a7dc
Capabilities:
Delete internet cache
Enumerate internet cache

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
push rdi
sub rsp, 0x20
mov rbp, rcx
mov rcx, qword [0x180037ae8]
xor edx, edx
mov r8d, 0x1000
xor edi, edi
mov dword [rax + 0x10], 0x1000
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rbx, rax
test rax, rax
je 0x18000a88a
lea r8, [rsp + 0x38]
mov rdx, rax
xor ecx, ecx
call qword [sym.imp.WININET.dll_FindFirstUrlCacheEntryA]
mov rsi, rax
test rax, rax
je 0x18000a878
mov edi, 1
mov rcx, qword [rbx + 8]
mov rdx, rbp
call qword [sym.imp.SHLWAPI.dll_StrStrIA]
test rax, rax
je 0x18000a852
mov rcx, qword [rbx + 8]
call qword [sym.imp.WININET.dll_DeleteUrlCacheEntry]
lea r8, [rsp + 0x38]
mov rdx, rbx
mov rcx, rsi
mov dword [rsp + 0x38], 0x1000
call qword [sym.imp.WININET.dll_FindNextUrlCacheEntryA]
test eax, eax
jne 0x18000a836
mov rcx, rsi
call qword [sym.imp.WININET.dll_FindCloseUrlCache]
mov rcx, qword [0x180037ae8]
mov r8, rbx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
mov eax, edi
add rsp, 0x20
pop rdi
ret