joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1800039ec
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x40
mov rdx, qword [0x180023bd0]
mov rsi, r8
lea r8, [rsp + 0x30]
mov rcx, 0xffffffff80000001
mov rdi, r9
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
mov ebx, eax
test eax, eax
jne 0x180003a4f
mov eax, dword [rsp + 0x70]
mov rcx, qword [rsp + 0x30]
lea r9d, [rbx + 3]
mov dword [rsp + 0x28], eax
xor r8d, r8d
mov rdx, rsi
mov qword [rsp + 0x20], rdi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov rcx, qword [rsp + 0x30]
mov ebx, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rsi, qword [rsp + 0x58]
mov eax, ebx
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret

Function at 0x180003db4
Capabilities:
Get hostname
Get session user name

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov eax, dword [0x180023ab4]
and dword [rsp + 0x38], 0
lea rdx, [rsp + 0x40]
mov dword [rsp + 0x40], eax
mov rdi, rcx
call fcn.180012204
lea rdx, [rsp + 0x38]
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_GetUserNameW]
mov r11d, dword [rsp + 0x38]
test r11d, r11d
je 0x180003e42
mov rcx, qword [0x180023a50]
mov r8, r11
xor edx, edx
add r8, r8
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rbx, rax
test rax, rax
je 0x180003e42
lea rdx, [rsp + 0x38]
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_GetUserNameW]
test eax, eax
je 0x180003e30
mov edx, dword [rsp + 0x38]
mov rcx, rbx
add edx, edx
call fcn.180018044
xor dword [rdi], eax
mov rcx, qword [0x180023a50]
mov r8, rbx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
and dword [rsp + 0x38], 0
lea rdx, [rsp + 0x38]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetComputerNameW]
mov r11d, dword [rsp + 0x38]
test r11d, r11d
je 0x180003eb0
mov rcx, qword [0x180023a50]
mov r8, r11
xor edx, edx
add r8, r8
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rbx, rax
test rax, rax
je 0x180003eb0
lea rdx, [rsp + 0x38]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetComputerNameW]
test eax, eax
je 0x180003e9e
mov edx, dword [rsp + 0x38]
mov rcx, rbx
add edx, edx
call fcn.180018044
xor dword [rdi + 0xc], eax
mov rcx, qword [0x180023a50]
mov r8, rbx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x180003fe0
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
mov qword [rsp + 0x20], rbx
push rsi
sub rsp, 0x30
mov rdx, qword [0x180023bd0]
lea r8, [rsp + 0x50]
mov rcx, 0xffffffff80000001
mov dword [rsp + 0x40], 0x28
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
mov ebx, eax
test eax, eax
jne 0x18000409b
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x40]
lea rsi, [0x1800233e0]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x48]
lea rdx, [0x1800252c4]
xor r8d, r8d
mov qword [rsp + 0x20], rsi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ebx, eax
test eax, eax
jne 0x180004052
cmp dword [rsp + 0x40], 0x28
je 0x180004090
lea rcx, [0x1800233e8]
call fcn.180003db4
mov rcx, qword [rsp + 0x50]
or word [0x1800233e4], 0x1c
lea rdx, [0x1800252c4]
mov r9d, 3
xor r8d, r8d
mov dword [rsp + 0x28], 0x28
mov qword [rsp + 0x20], rsi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ebx, eax
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [0x1800233e0]
mov edx, 0x3fd
lea rcx, [0x1800233e8]
test eax, eax
cmove eax, edx
xor edx, edx
mov dword [0x1800233e0], eax
call fcn.18001225c
mov qword [0x180023a68], rax
mov eax, ebx
mov rbx, qword [rsp + 0x58]
add rsp, 0x30
pop rsi
ret

Function at 0x1800040d4
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
mov sil, r9b
movzx ebp, r8w
mov edi, ecx
mov ebx, 0x57
test ecx, ecx
jne 0x180004109
mov rcx, rdx
call qword [sym.imp.SHLWAPI.dll_StrToIntA]
mov edi, eax
test eax, eax
je 0x180004176
mov rdx, qword [0x180023bd0]
lea r8, [rsp + 0x30]
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
mov ebx, eax
test eax, eax
jne 0x180004176
mov rcx, qword [rsp + 0x30]
lea rax, [0x1800233e0]
lea r9d, [rbx + 3]
lea rdx, [0x1800252c4]
xor r8d, r8d
mov dword [rsp + 0x28], 0x28
mov qword [rsp + 0x20], rax
mov dword [0x1800233e0], edi
mov word [0x1800233e4], bp
mov byte [0x1800233e6], sil
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov rcx, qword [rsp + 0x30]
mov ebx, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov eax, ebx
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x180004190
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 [0x180023a50]
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 0x18000423e
lea r8, [rsp + 0x38]
mov rdx, rax
xor ecx, ecx
call qword [sym.imp.WININET.dll_FindFirstUrlCacheEntryA]
mov rsi, rax
test rax, rax
je 0x18000422c
mov edi, 1
mov rcx, qword [rbx + 8]
mov rdx, rbp
call qword [sym.imp.SHLWAPI.dll_StrStrIA]
test rax, rax
je 0x180004206
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 0x1800041ea
mov rcx, rsi
call qword [sym.imp.WININET.dll_FindCloseUrlCache]
mov rcx, qword [0x180023a50]
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
Function at 0x18000672c
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, [0x180023c60]
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 0x180006828
lea r9d, [rdi + 1]
lea rdx, [0x180025461]
lea rcx, [rsp + 0x70]
xor r8d, r8d
call fcn.180012370
mov rbx, rax
cmp rax, rdi
je 0x180006818
xor edx, edx
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GetFileSize]
lea r8d, [rdi + 2]
lea rdx, [0x180023c60]
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 0x1800067fc
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 0x180006804
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov rcx, qword [0x180023a50]
mov r8, rbx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x18000681d
mov edi, 8
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x180006830
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 0x180006bb4
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0xe0
mov rdi, rcx
mov rbx, rdx
xor esi, esi
lea rcx, [rsp + 0x78]
lea r8d, [rsi + 0x60]
xor edx, edx
call sub.ntdll.dll_memset
xor eax, eax
xor r9d, r9d
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x70]
xor r8d, r8d
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rsi
mov rdx, rdi
xor ecx, ecx
mov dword [rsp + 0x28], 0xc000000
mov qword [rsp + 0x50], rsi
mov dword [rsp + 0x70], 0x68
mov dword [rsp + 0x20], esi
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
cmp eax, esi
je 0x180006c5c
mov rcx, qword [rsp + 0x50]
or edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
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 0x180006c64
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
lea r11, [rsp + 0xe0]
mov eax, esi
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
Function at 0x180006c7c
Capabilities:
Delete file
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 [0x180023a50]
movsxd r8, eax
xor edx, edx
add r8, 0xc
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov r12, rax
test rax, rax
je 0x180006e05
mov rdx, rbx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_lstrcpyA]
lea r8d, [rsi + 0x54]
xor edx, edx
mov rcx, r12
call qword [sym.imp.SHLWAPI.dll_StrRChrA]
mov r13, rax
test rax, rax
jne 0x180006cfb
lea esi, [rdi + 3]
jmp 0x180006dc5
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
test al, 0x10
jne 0x180006d0c
mov byte [r13], dil
mov ecx, 0x162e
call fcn.180006e28
mov rdi, rax
test rax, rax
jne 0x180006d28
mov esi, 0x3ee
jmp 0x180006dc5
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_lstrlenA]
mov rcx, qword [0x180023a50]
xor edx, edx
movsxd r8, eax
add r8, 0x14
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rbp, rax
test rax, rax
je 0x180006dc5
mov r8, r14
mov rdx, rbx
mov rcx, rdi
call fcn.180006848
mov esi, eax
test eax, eax
jne 0x180006dc5
lea rdx, [0x180025aa7]
mov r8, rdi
mov rcx, rbp
call qword [sym.imp.USER32.dll_wsprintfA]
mov rdx, r12
mov rcx, rbp
call fcn.180006bb4
mov rcx, r12
mov esi, eax
call qword [sym.imp.KERNEL32.dll_lstrlenA]
lea rdx, [0x180025a91]
mov rcx, r12
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_lstrcatA]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
lea rdx, [0x180025a9c]
mov rcx, r12
mov byte [rbx + r12], 0
call qword [sym.imp.KERNEL32.dll_lstrcatA]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
mov rcx, qword [0x180023a50]
mov r8, r12
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
test rdi, rdi
je 0x180006dee
mov rcx, qword [0x180023a50]
mov r8, rdi
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
test rbp, rbp
je 0x180006e05
mov rcx, qword [0x180023a50]
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 0x180006e28
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov esi, ecx
xor edx, edx
xor ecx, ecx
xor ebx, ebx
call qword [sym.imp.KERNEL32.dll_GetTempPathA]
mov edi, eax
test eax, eax
je 0x180006ea5
mov rcx, qword [0x180023a50]
lea r8d, [rax + 0xf]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rbx, rax
test rax, rax
je 0x180006ea5
mov rdx, rax
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_GetTempPathA]
test eax, eax
je 0x180006e91
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov r9, rbx
xor edx, edx
lea r8d, [rsi + rax]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetTempFileNameA]
test eax, eax
jne 0x180006ea5
mov rcx, qword [0x180023a50]
mov r8, rbx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
xor ebx, ebx
mov rsi, qword [rsp + 0x38]
mov rax, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x1800074a0
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.180006e28
mov rbx, rax
test rax, rax
je 0x180007520
mov r9d, 1
mov r8d, r12d
mov rdx, r13
mov rcx, rax
call fcn.18001182c
mov edi, eax
test eax, eax
jne 0x180007505
mov r8d, esi
mov rdx, rbx
mov rcx, rbp
call fcn.180006eb8
mov edi, eax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
mov rcx, qword [0x180023a50]
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 0x18000753c
Capabilities:
Set registry value

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x20], rsi
push rdi
sub rsp, 0x40
mov rbp, rcx
lea rcx, [rax - 0x18]
mov bl, dl
mov edi, 8
call qword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
movzx eax, word [rsp + 0x34]
mov r11d, dword [rsp + 0x34]
shr ax, 8
mov byte [rsp + 0x38], bl
movzx r9d, al
shr r11d, 0x10
shl r9d, 0x10
movzx eax, r11w
shr ax, 8
movzx edx, al
movzx eax, r11b
shl eax, 8
add r9d, edx
mov edx, dword [rsp + 0x30]
add r9d, eax
movzx eax, byte [rsp + 0x34]
shr edx, 0x10
shl eax, 0x18
add r9d, eax
movzx eax, word [rsp + 0x30]
shr ax, 8
movzx r8d, al
movzx eax, dx
shr ax, 8
shl r8d, 0x10
movzx ecx, al
movzx eax, dl
xor edx, edx
add r8d, ecx
mov rcx, qword [0x180023a50]
shl eax, 8
add r8d, eax
movzx eax, byte [rsp + 0x30]
mov dword [rsp + 0x30], r9d
shl eax, 0x18
add r8d, eax
mov dword [rsp + 0x34], r8d
lea r8d, [rdi + 0xb]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rsi, rax
test rax, rax
je 0x180007698
lea edx, [rdi + 1]
lea rcx, [rsp + 0x30]
mov r8, rax
call fcn.180012054
mov rdx, qword [0x180023be0]
lea r8, [rsp + 0x60]
mov rcx, 0xffffffff80000001
mov byte [rsi + 0x12], 0
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
mov edi, eax
test eax, eax
jne 0x180007686
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov r8d, dword [0x180023ab4]
xor r9d, r9d
lea ebx, [rax + rax + 2]
mov rcx, rbp
mov edx, ebx
call fcn.180017fc8
mov rcx, qword [rsp + 0x60]
lea r9d, [rdi + 1]
xor r8d, r8d
mov rdx, rsi
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rbp
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov rcx, qword [rsp + 0x60]
mov edi, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [0x180023a50]
mov r8, rsi
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x68]
mov eax, edi
add rsp, 0x40
pop rdi
ret
Function at 0x180007b20
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
sub rsp, 0x40
mov rbx, qword [rdx + 0x20]
and dword [rsp + 0x68], 0
mov rbp, rdx
mov rdi, rcx
lea rdx, [0x18002527e]
mov rcx, rbx
call qword [sym.imp.SHLWAPI.dll_StrStrIA]
mov rcx, qword [rbp]
xor r9d, r9d
cmp rax, rbx
mov rax, qword [rbp + 0x48]
mov r8, rbx
sete r9b
xor edx, edx
mov qword [rsp + 0x20], rax
call fcn.18000a328
xor r8d, r8d
lea r9, [rsp + 0x68]
lea esi, [r8 + 0x21]
mov rcx, rdi
mov edx, esi
call qword [sym.imp.WININET.dll_InternetQueryOptionA]
mov eax, dword [rsp + 0x68]
test eax, eax
je 0x180007cc7
mov rcx, qword [0x180023a50]
lea r8d, [rax + 1]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rbx, rax
test rax, rax
je 0x180007cc7
lea r9, [rsp + 0x68]
mov r8, rax
mov edx, esi
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetQueryOptionA]
test eax, eax
je 0x180007cb5
mov ecx, dword [rsp + 0x68]
and qword [rsp + 0x30], 0
and dword [rsp + 0x28], 0
mov byte [rcx + rbx], 0
lea r8d, [rsi - 0x1e]
xor r9d, r9d
mov rcx, rbx
mov edx, 0xc0000000
mov dword [rsp + 0x20], 2
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x180007cb5
mov rcx, qword [0x180023a50]
xor edx, edx
mov r8d, 0x2000
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rdi, rax
test rax, rax
je 0x180007cac
mov rcx, qword [rbp]
and dword [rsp + 0x78], 0
and dword [rsp + 0x7c], 0
mov r10, qword [rcx]
mov rdx, qword [rsp + 0x78]
xor r9d, r9d
xor r8d, r8d
call qword [r10 + 0x28]
mov rcx, qword [rbp]
and dword [rsp + 0x68], 0
lea r9, [rsp + 0x68]
mov rax, qword [rcx]
mov r8d, 0x2000
mov rdx, rdi
call qword [rax + 0x18]
mov r8d, dword [rsp + 0x68]
test r8d, r8d
je 0x180007c9a
and qword [rsp + 0x20], 0
lea r9, [rsp + 0x70]
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x180007c9a
mov eax, dword [rsp + 0x68]
cmp dword [rsp + 0x70], eax
jne 0x180007c9a
cmp eax, 0x2000
je 0x180007c47
mov rcx, qword [0x180023a50]
mov r8, rdi
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [0x180023a50]
mov r8, rbx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rbx, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
pop rsi
pop rbp
ret
Function at 0x180007d98
Capabilities:
Read data from internet
Receive data

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
and dword [rsp + 0x30], 0
mov rbx, rcx
mov dword [rcx + 0x40], 3
mov rcx, qword [0x180023a50]
mov rsi, rdx
mov r8d, 0x2000
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rdi, rax
test rax, rax
je 0x180007e5a
lea r9, [rsp + 0x30]
mov r8d, 0x2000
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x180007e1b
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x180007e36
mov rcx, qword [rbx + 0x50]
or edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x180007e36
mov eax, dword [rbx + 0x40]
cmp eax, 1
je 0x180007e36
mov r8d, dword [rsp + 0x30]
test r8d, r8d
je 0x180007e3f
mov rcx, qword [rbx]
xor r9d, r9d
mov rdx, rdi
mov rax, qword [rcx]
call qword [rax + 0x20]
jmp 0x180007dda
mov dword [rbx + 0x40], 1
jmp 0x180007e46
mov dword [rbx + 0x40], 2
mov rcx, qword [0x180023a50]
mov r8, rdi
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x180007e61
mov dword [rbx + 0x40], 1
mov eax, dword [rbx + 0x40]
cmp eax, 1
je 0x180007e71
mov eax, dword [rbx + 0x40]
cmp eax, 2
jne 0x180007ea1
mov eax, dword [rbx + 0x44]
test al, 1
je 0x180007e83
mov rdx, rbx
mov rcx, rsi
call fcn.180007b20
mov rcx, qword [rbx]
and dword [rsp + 0x30], 0
and dword [rsp + 0x34], 0
mov rax, qword [rcx]
mov rdx, qword [rsp + 0x30]
xor r9d, r9d
xor r8d, r8d
call qword [rax + 0x28]
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x180008714
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 r12, r9
mov r13d, r8d
mov rbp, rdx
mov rdi, rcx
xor ebx, ebx
call fcn.180007eb4
mov rsi, rax
cmp rax, rbx
je 0x18000878a
mov eax, dword [rax + 0x40]
cmp eax, ebx
jne 0x180008759
mov rdx, rdi
mov rcx, rsi
call fcn.180007d98
mov rdx, qword [rbp + 0x20]
lea r9, [rbp + 0x28]
mov r8d, dword [r9]
mov dword [rbp + 0x2c], r8d
mov rcx, qword [rsi]
mov rax, qword [rcx]
call qword [rax + 0x18]
mov ecx, 1
lea r8, [rsi - 0x34]
cmp eax, ebx
cmove ebx, ecx
xor edx, edx
xor ecx, ecx
call fcn.180014800
jmp 0x1800087ac
mov r9, r12
mov r8d, r13d
mov rdx, rbp
mov rcx, rdi
cmp dword [rsp + 0x60], ebx
je 0x1800087a4
call qword [sym.imp.WININET.dll_InternetReadFileExW]
jmp 0x1800087aa
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 0x18000a3c0
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 [0x180023a50]
xor edx, edx
lea r8d, [rax + 5]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rdi, rax
test rax, rax
je 0x18000a47b
lea rdx, [0x180025421]
mov r8, rsi
mov rcx, rax
call qword [sym.imp.USER32.dll_wsprintfA]
mov rdx, qword [0x180023bd8]
lea r8, [rsp + 0x50]
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
mov ebx, eax
test eax, eax
jne 0x18000a469
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 [0x180023a50]
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 0x18000b398
Capabilities:
Enumerate threads

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
push rdi
sub rsp, 0x40
and dword [rax - 0x28], 0
xor edx, edx
mov rbx, rcx
lea r8d, [rdx + 0x18]
lea rcx, [rax - 0x24]
call sub.ntdll.dll_memset
test rbx, rbx
je 0x18000b3cc
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor edx, edx
mov dword [rsp + 0x20], 0x1c
lea ecx, [rdx + 4]
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x18000b472
lea rcx, [0x18002501d]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea rdx, [0x180025bfc]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, [rsp + 0x20]
mov rcx, rbx
mov rsi, rax
call sub.KERNEL32.dll_Thread32First
jmp 0x18000b465
mov ecx, dword [0x180023c18]
cmp dword [rsp + 0x2c], ecx
jne 0x18000b458
mov r8d, dword [rsp + 0x28]
xor edx, edx
mov ecx, 0x1f03ff
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rdi, rax
test rax, rax
je 0x18000b458
xor r8d, r8d
mov rdx, rax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_QueueUserAPC]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rsp + 0x20]
mov rcx, rbx
call sub.KERNEL32.dll_Thread32Next
test eax, eax
jne 0x18000b41a
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
Function at 0x18000ba44
Capabilities:
Read file on windows
Write file on windows

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x18], rbp
push rsi
push rdi
push r12
sub rsp, 0x60
and qword [r11 - 0x38], 0
xor eax, eax
mov rbp, rdx
mov r12d, r9d
mov edi, r8d
mov rsi, rcx
lea edx, [rax + 1]
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
mov qword [r11 - 0x30], rax
mov qword [r11 - 0x28], rax
mov qword [r11 - 0x20], rax
call qword [sym.imp.KERNEL32.dll_CreateEventA]
mov qword [rsp + 0x58], rax
test rax, rax
je 0x18000bb58
mov rcx, qword [0x180023c48]
and dword [rsp + 0x88], 0
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rcx
lea rax, [rsp + 0x40]
lea r9, [rsp + 0x88]
mov r8d, edi
mov rdx, rbp
mov rcx, rsi
mov qword [rsp + 0x20], rax
test r12d, r12d
je 0x18000bad6
call qword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x18000badc
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x18000bb27
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
cmp eax, 0x3e5
jne 0x18000bb45
xor r8d, r8d
lea rdx, [rsp + 0x30]
mov r9d, 0x2710
lea ecx, [r8 + 2]
call qword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
mov rcx, rsi
mov ebx, eax
cmp eax, 1
jne 0x18000bb3f
lea r8, [rsp + 0x88]
lea rdx, [rsp + 0x40]
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_GetOverlappedResult]
mov eax, dword [rsp + 0x88]
add rbp, rax
sub edi, dword [rsp + 0x88]
je 0x18000bb49
jmp 0x18000baae
call qword [sym.imp.KERNEL32.dll_CancelIo]
test edi, edi
jne 0x18000bb4b
xor ebx, ebx
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x18000bb60
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
lea r11, [rsp + 0x60]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r12
pop rdi
pop rsi
ret