joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180005eec
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.180004c00
cmp eax, r15d
mov ebx, eax
jne 0x1800060bc
mov rcx, qword [0x180052eb0]
mov edi, 0x105
xor edx, edx
mov r8, rdi
lea ebx, [r15 + 8]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
cmp rax, r15
mov rsi, rax
je 0x1800060b1
mov rcx, qword [0x180052eb0]
mov r8, rdi
xor edx, edx
mov ebp, edi
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
cmp rax, r15
mov rdi, rax
je 0x18000609f
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]
cmp eax, 0xea
mov ebx, eax
jne 0x18000601f
cmp dword [rsp + 0x48], 0x105
jbe 0x180005fde
add dword [rsp + 0x44], 1
mov ebx, r15d
jmp 0x180006068
cmp dword [rsp + 0x40], ebp
jbe 0x18000608d
mov rcx, qword [0x180052eb0]
mov r8, rdi
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov ebp, dword [rsp + 0x40]
mov rcx, qword [0x180052eb0]
mov r8, rbp
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
cmp rax, r15
mov rdi, rax
jne 0x180005fd6
mov ebx, 8
jmp 0x18000608d
cmp eax, r15d
jne 0x180006083
cmp r12d, r15d
je 0x18000603f
mov r8d, dword [0x180053010]
mov edx, dword [rsp + 0x40]
xor r9d, r9d
mov rcx, rdi
call fcn.180041618
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
cmp eax, r15d
mov ebx, eax
jne 0x180006083
mov rcx, qword [0x1800530a0]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x18000608d
jmp 0x180005f7d
cmp ebx, 0x103
cmove ebx, r15d
mov rcx, qword [0x180052eb0]
mov r8, rdi
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rcx, qword [0x180052eb0]
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 0x180006d58
Capabilities:
Query or enumerate registry value

Disassembly:
sub rsp, 0x28
test byte [0x180052574], 4
je 0x180006d77
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov ecx, 0x121
call fcn.180011298
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov ecx, 0x120
call fcn.180011298
mov rcx, qword [0x1800530a0]
mov edx, 0x2710
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [0x180053028]
lea rdx, [0x18000684c]
mov r9d, 1
xor r8d, r8d
add rsp, 0x28
jmp fcn.180005eec
Function at 0x180008040
Capabilities:
Allocate thread local storage

Disassembly:
push rbx
sub rsp, 0x20
lea rcx, [0x180057065]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test rax, rax
mov rbx, rax
je 0x180008085
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
mov dword [0x180051284], eax
je 0x18000807d
lea rdx, [0x1800571dc]
mov rcx, rbx
call fcn.180007ce4
jmp 0x1800080a0
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x1800080a0
mov edx, 1
lea r8, [0x180052270]
lea rcx, [0x180052258]
mov r9d, edx
call fcn.180010534
add rsp, 0x20
pop rbx
ret
Function at 0x1800089f4
Capabilities:
Enumerate processes via ntquerysysteminformation
Get system information on windows
Set registry value

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
sub rsp, 0x40
xor ebp, ebp
call fcn.18000451c
lea r11, [rsp + 0x30]
lea rax, [rsp + 0x30]
lea r8, [rsp + 0x30]
lea rdx, [0x180058248]
lea rcx, [0x180057750]
xor r9d, r9d
mov dword [rsp + 0x28], 1
and dword [rsp + 0x20], ebp
mov qword [rsp + 0x38], r11
mov qword [rsp + 0x30], rax
call fcn.1800170c8
test eax, eax
je 0x180008ac1
mov rbx, qword [rsp + 0x30]
lea r8, [rsp + 0x60]
lea rdx, [rsp + 0x68]
lea rcx, [rbx + 0x28]
mov rsi, rbx
call fcn.180016d90
test eax, eax
jne 0x180008a94
mov rcx, qword [rsp + 0x68]
lea rdx, [0x18005820e]
call qword [sym.imp.SHLWAPI.dll_StrStrIA]
test rax, rax
jne 0x180008a94
lea r9d, [rax + 2]
lea r8d, [rax + 0x30]
lea rdx, [0x18005820e]
lea rcx, [rbx + 0x28]
call fcn.180016ef4
mov rcx, qword [rsi]
mov rax, qword [rsi + 8]
mov rbx, qword [rbx]
mov qword [rax], rcx
mov qword [rcx + 8], rax
mov rcx, qword [0x180052eb0]
mov r8, rsi
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
lea r11, [rsp + 0x30]
cmp rbx, r11
jne 0x180008a4b
movzx ebx, byte [0x180053084]
movzx edi, byte [0x180053085]
cmp ebx, 6
jb 0x180008b50
and dword [rsp + 0x68], ebp
lea r8, [rsp + 0x70]
lea rdx, [0x1800577dc]
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x180008b28
mov rcx, qword [rsp + 0x70]
lea r9d, [rax + 4]
lea rax, [rsp + 0x68]
mov dword [rsp + 0x28], r9d
lea rdx, [0x180057922]
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp ebx, 6
ja 0x180008b32
cmp edi, 2
jb 0x180008b50
mov r9d, 1
lea r8, [0x180052218]
lea rcx, [0x180052200]
mov edx, r9d
call fcn.180010534
mov ebp, eax
xor ebx, ebx
mov dword [rsp + 0x60], 0x10000
test rbx, rbx
je 0x180008b71
mov rcx, qword [0x180052eb0]
mov r8, rbx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov r8d, dword [rsp + 0x60]
mov rcx, qword [0x180052eb0]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
test rax, rax
mov rbx, rax
je 0x180008bb0
mov r8d, dword [rsp + 0x60]
lea r9, [rsp + 0x60]
mov rdx, rax
mov ecx, 5
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
cmp eax, 0xc0000004
mov edi, eax
jne 0x180008bb5
jmp 0x180008b5a
mov edi, 0xc000009a
test edi, edi
js 0x180008bdf
lea rdx, [0x180053148]
mov rcx, rbx
call fcn.180008960
cmp dword [rbx], 0
je 0x180008bd4
mov ecx, dword [rbx]
add rbx, rcx
jmp 0x180008bd6
xor ebx, ebx
test rbx, rbx
je 0x180008bdf
test eax, eax
jne 0x180008bb9
mov ecx, edi
call qword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
mov rbx, qword [rsp + 0x78]
mov eax, ebp
add rsp, 0x40
pop rdi
pop rsi
pop rbp
ret
Function at 0x18000941c
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, [0x1800530c0]
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]
cmp rax, 0xffffffffffffffff
mov rbp, rax
je 0x180009518
lea r9d, [rdi + 1]
lea rdx, [0x1800573e4]
lea rcx, [rsp + 0x70]
xor r8d, r8d
call fcn.1800197e8
cmp rax, rdi
mov rbx, rax
je 0x180009508
xor edx, edx
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GetFileSize]
lea r8d, [rdi + 2]
lea rdx, [0x1800530c0]
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 0x1800094ec
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 0x1800094f4
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov rcx, qword [0x180052eb0]
mov r8, rbx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x18000950d
mov edi, 8
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x180009520
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 0x180009538
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
and dword [rax + 0x18], 0
mov rbx, rdx
xor edx, edx
mov r12, rcx
lea rcx, [rax - 0x80]
lea r8d, [rdx + 0x60]
call sub.ntdll.dll_memset
and qword [rsp + 0x50], 0
xor eax, eax
mov rcx, rbx
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rax
mov dword [rsp + 0x80], 0x68
xor edi, edi
call fcn.180016d00
test rax, rax
mov rsi, rax
je 0x1800095f0
mov edx, 0x104
mov rcx, rax
call fcn.18001a024
test rax, rax
mov rbp, rax
je 0x1800095d7
mov rcx, rax
call qword [sym.imp.SHELL32.dll_PathGetShortPath]
mov rcx, rbp
mov rdi, rsi
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov rdx, rbp
mov rcx, rsi
add eax, 1
movsxd r8, eax
call qword [sym.imp.ntdll.dll_wcstombs]
mov r8, rbp
jmp 0x1800095da
mov r8, rsi
mov rcx, qword [0x180052eb0]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
test rdi, rdi
cmovne rbx, rdi
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], rbx
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 0x1800096a3
mov rax, qword [0x1800530a0]
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]
test eax, eax
mov dword [rsp + 0x120], eax
jne 0x180009678
mov dword [rsp + 0x120], 0x102
jmp 0x18000968b
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 0x1800096b0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x120], eax
test rdi, rdi
je 0x1800096c7
mov rcx, qword [0x180052eb0]
mov r8, rdi
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 0x180009a24
Capabilities:
Get file attributes

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
push r13
push r14
sub rsp, 0x20
mov r14, rdx
mov rbx, rcx
mov esi, 8
xor edi, edi
xor ebp, ebp
call qword [sym.imp.KERNEL32.dll_lstrlenA]
mov rcx, qword [0x180052eb0]
movsxd r8, eax
xor edx, edx
add r8, 0xc
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
test rax, rax
mov r12, rax
je 0x180009bb4
mov rdx, rbx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_lstrcpyA]
mov r8w, 0x5c
xor edx, edx
mov rcx, r12
call qword [sym.imp.SHLWAPI.dll_StrRChrA]
test rax, rax
mov r13, rax
jne 0x180009aa4
lea esi, [rdi + 3]
jmp 0x180009b74
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
test al, 0x10
jne 0x180009ab5
mov byte [r13], dil
mov ecx, 0x162e
call fcn.1800177e0
test rax, rax
mov rdi, rax
jne 0x180009ad1
mov esi, 0x3ee
jmp 0x180009b74
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_lstrlenA]
mov rcx, qword [0x180052eb0]
xor edx, edx
movsxd r8, eax
add r8, 0x14
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
test rax, rax
mov rbp, rax
je 0x180009b74
mov r8, r14
mov rdx, rbx
mov rcx, rdi
call fcn.1800096e8
test eax, eax
mov esi, eax
jne 0x180009b74
lea rdx, [0x180057d3b]
mov r8, rdi
mov rcx, rbp
call qword [sym.imp.USER32.dll_wsprintfA]
mov rdx, r12
mov rcx, rbp
call fcn.180009538
mov rcx, r12
mov esi, eax
call qword [sym.imp.KERNEL32.dll_lstrlenA]
lea rdx, [0x180057d25]
mov rcx, r12
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_lstrcatA]
mov rcx, r12
call fcn.180017738
lea rdx, [0x180057d30]
mov rcx, r12
mov byte [rbx + r12], 0
call qword [sym.imp.KERNEL32.dll_lstrcatA]
mov rcx, r12
call fcn.180017738
mov rcx, rdi
call fcn.180017738
mov rcx, qword [0x180052eb0]
mov r8, r12
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
test rdi, rdi
je 0x180009b9d
mov rcx, qword [0x180052eb0]
mov r8, rdi
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
test rbp, rbp
je 0x180009bb4
mov rcx, qword [0x180052eb0]
mov r8, rbp
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x58]
mov eax, esi
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop r13
pop r12
ret
Function at 0x18000a030
Capabilities:
Delete file

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x20
mov ecx, 0xf00
xor ebx, ebx
call fcn.1800177e0
cmp rax, rbx
mov rdi, rax
je 0x18000a13f
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_lstrlenA]
lea rcx, [0x180057e38]
mov rdx, rdi
mov dword [rsp + 0x40], eax
add eax, 0xffffffff
mov byte [rax + rdi], bl
mov esi, eax
call fcn.180009cf4
cmp eax, ebx
jne 0x18000a12d
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x50]
mov rcx, rdi
mov byte [rsi + rdi], 0x31
call fcn.180016e8c
cmp eax, ebx
jne 0x18000a124
mov edx, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x50]
lea r9, [rsp + 0x48]
lea r8, [0x180057e69]
call fcn.18001a828
cmp rax, rbx
je 0x18000a110
mov edx, dword [rsp + 0x40]
mov rsi, rax
sub eax, dword [rsp + 0x50]
add eax, dword [rsp + 0x48]
lea r9, [rsp + 0x48]
lea r8, [0x180057e69]
mov ecx, eax
sub edx, eax
add rcx, qword [rsp + 0x50]
call fcn.18001a828
cmp rax, rbx
jne 0x18000a0b9
cmp rsi, rbx
je 0x18000a110
mov eax, dword [rsp + 0x48]
lea rdx, str._s:_r
mov rcx, rsi
mov byte [rax + rsi], bl
call qword [sym.imp.SHLWAPI.dll_StrTrimA]
xor edx, edx
mov rcx, rsi
call fcn.180019fa0
mov rbx, rax
mov r8, qword [rsp + 0x50]
mov rcx, qword [0x180052eb0]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
mov rcx, qword [0x180052eb0]
mov r8, rdi
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov byte [rbx + 1], 0x34
mov rax, rbx
add rsp, 0x20
pop rdi
pop rsi
pop rbx
ret

Function at 0x18000a150
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.1800177e0
test rax, rax
mov rbx, rax
je 0x18000a1d0
mov r9d, 1
mov r8d, r12d
mov rdx, r13
mov rcx, rax
call fcn.180017050
test eax, eax
mov edi, eax
jne 0x18000a1b5
mov r8d, esi
mov rdx, rbx
mov rcx, rbp
call fcn.180009bd8
mov edi, eax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
mov rcx, qword [0x180052eb0]
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 0x18000a1ec
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]
test eax, eax
mov ebx, eax
jne 0x18000a2e7
test rbp, rbp
je 0x18000a2b8
test esi, esi
je 0x18000a2b8
mov rcx, qword [0x180052eb0]
mov r8, rsi
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
test rax, rax
mov rdi, rax
je 0x18000a2b1
mov r8, rsi
mov rdx, rbp
mov rcx, rax
call sub.ntdll.dll_memcpy
cmp dword [rsp + 0x70], ebx
je 0x18000a27b
mov r8d, dword [0x180053010]
xor r9d, r9d
mov edx, esi
mov rcx, rdi
call fcn.1800415d4
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 [0x180052eb0]
mov r8, rdi
xor edx, edx
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x18000a2dc
mov ebx, 8
jmp 0x18000a2dc
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 0x18000b710
Capabilities:
Allocate thread local storage

Disassembly:
push rbx
sub rsp, 0x20
lea rcx, [0x180057884]
xor ebx, ebx
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
cmp rax, rbx
je 0x18000b7d1
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
mov dword [0x180052fc8], eax
je 0x18000b7d6
cmp byte [0x180053084], 6
ja 0x18000b78d
lea rcx, [0x180057b48]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea rcx, [0x180057ac2]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea rcx, [0x180057b57]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea rcx, [0x180057b5e]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea rcx, [0x18005779f]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea rcx, [0x180057b50]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea rcx, [0x18005790c]
call fcn.180040640
mov r11, qword [0x180052ff0]
mov edx, 0xe
or dword [r11 + 0x34], 1
lea r8, [0x180051f30]
lea rcx, [0x180051de0]
mov r9d, edx
call fcn.180010534
mov ebx, eax
jmp 0x18000b7d6
mov ebx, 0x7e
mov eax, ebx
add rsp, 0x20
pop rbx
ret
Function at 0x18000ba18
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 [0x180053084], 5
mov rbx, rcx
mov rcx, qword [0x180052eb0]
mov eax, 0x1388
mov r12, rdx
cmovbe ebp, eax
mov r8d, 0x2000
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
test rax, rax
mov rsi, rax
je 0x18000bb01
lea r9, [rsp + 0x80]
mov r8d, 0x2000
mov rdx, rsi
mov rcx, r12
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x18000babf
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x18000badd
mov rcx, qword [rbx + 0x60]
mov edx, ebp
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0xffffffff
jne 0x18000baac
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x102
je 0x18000baed
test eax, eax
jne 0x18000badd
mov eax, dword [rbx + 0x50]
cmp eax, 1
je 0x18000badd
mov r8d, dword [rsp + 0x80]
test r8d, r8d
je 0x18000bae6
mov rcx, qword [rbx]
xor r9d, r9d
mov rdx, rsi
mov rax, qword [rcx]
call qword [rax + 0x20]
jmp 0x18000ba6a
mov dword [rbx + 0x50], 1
jmp 0x18000baed
mov dword [rbx + 0x50], 2
mov rcx, qword [0x180052eb0]
mov r8, rsi
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x18000bb08
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 0x18000c62c
Capabilities:
Read data from internet
Receive data

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, r9
mov r12d, r8d
mov rsi, rdx
mov rdi, rcx
xor ebx, ebx
call fcn.18000bbfc
cmp rax, rbx
mov r13, rax
je 0x18000c69a
mov rdx, rdi
mov rcx, rax
call fcn.18000bb34
mov rdx, qword [rsi + 0x20]
lea r9, [rsi + 0x28]
mov r8d, dword [r9]
mov dword [rsi + 0x2c], r8d
mov rcx, qword [r13]
mov rax, qword [rcx]
call qword [rax + 0x18]
lea ecx, [rbx + 1]
lea r8, [r13 - 0x34]
cmp eax, ebx
cmove ebx, ecx
xor edx, edx
xor ecx, ecx
call fcn.18001e034
jmp 0x18000c6bc
cmp dword [rsp + 0x60], ebx
mov r9, rbp
mov r8d, r12d
mov rdx, rsi
mov rcx, rdi
je 0x18000c6b4
call qword [sym.imp.WININET.dll_InternetReadFileExW]
jmp 0x18000c6ba
call qword [sym.imp.WININET.dll_InternetReadFileExA]
mov ebx, eax
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov eax, ebx
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r13
pop r12
pop rdi
ret
Function at 0x18000ea8c
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
mov rbp, rdx
mov rsi, rcx
mov ebx, 8
call qword [sym.imp.KERNEL32.dll_lstrlenA]
mov rcx, qword [0x180052eb0]
xor edx, edx
lea r8d, [rax + 5]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
test rax, rax
mov rdi, rax
je 0x18000eb47
lea rdx, [0x18005737e]
mov r8, rsi
mov rcx, rax
call qword [sym.imp.USER32.dll_wsprintfA]
mov rdx, qword [0x180053020]
lea r8, [rsp + 0x50]
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
mov ebx, eax
jne 0x18000eb35
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_lstrlenA]
mov rcx, qword [rsp + 0x50]
lea r9d, [rbx + 1]
add eax, r9d
xor r8d, r8d
mov rdx, rdi
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rbp
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov rcx, qword [rsp + 0x50]
mov ebx, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [0x180052eb0]
mov r8, rdi
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x58]
mov eax, ebx
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x18000fbac
Capabilities:
Delete file

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x20], rbp
push rsi
push rdi
push r12
sub rsp, 0x60
and qword [r11 - 0x40], 0
mov rdi, qword [r8]
xor eax, eax
test rdi, rdi
mov qword [r11 - 0x38], rax
mov r12, r9
mov rbp, r8
mov esi, 0xe8
mov qword [r11 - 0x30], rdi
mov word [rsp + 0x42], cx
mov dword [rsp + 0x44], edx
je 0x18000fbf2
add rdi, 1
mov qword [r11 - 0x30], rdi
mov rcx, qword [0x180052eb0]
xor edx, edx
lea r8d, [rdx + 0x42]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
test rax, rax
je 0x18000fc1c
lea rcx, [rsp + 0x38]
mov rdx, rax
call fcn.18000f840
mov rbx, rax
jmp 0x18000fc1e
xor ebx, ebx
test rbx, rbx
je 0x18000fce9
lea r8, [rsp + 0x80]
lea rdx, [rsp + 0x90]
mov rcx, rbx
call fcn.180016d90
test eax, eax
mov esi, eax
jne 0x18000fcd7
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
mov ecx, dword [rsp + 0x80]
cmp ecx, 0x10
jbe 0x18000fc91
mov dword [rsp + 0x20], ecx
mov rcx, qword [rsp + 0x90]
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x48]
lea rdx, [rsp + 0x80]
call fcn.18000f908
mov rdi, qword [rsp + 0x48]
mov ecx, dword [rsp + 0x80]
jmp 0x18000fc93
xor eax, eax
test rax, rax
je 0x18000fcb2
mov qword [r12], rax
mov rax, qword [rsp + 0xa0]
xor esi, esi
mov dword [rax], ecx
mov qword [rbp], rdi
add rdi, 1
jmp 0x18000fcc0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov esi, 0xe8
mov r8, qword [rsp + 0x90]
mov rcx, qword [0x180052eb0]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rcx, qword [0x180052eb0]
mov r8, rbx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rax, qword [0x180052fe8]
mov rbx, qword [rax]
test rbx, rbx
je 0x18000fd49
mov rcx, qword [rbx]
test rcx, rcx
je 0x18000fd49
cmp dword [rbx + 0xc1c], 0
jne 0x18000fd49
cmp dword [rbx + 0xc18], 0
jne 0x18000fd49
or edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
and qword [rsp + 0x28], 0
lea rax, [0x18000f9a0]
lea rdx, [rsp + 0x38]
mov r9, rdi
xor r8d, r8d
mov rcx, rbx
mov qword [rsp + 0x20], rax
call fcn.18002c798
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
lea r11, [rsp + 0x60]
mov eax, esi
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r12
pop rdi
pop rsi
ret