joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180001978
Capabilities:
Access pe header
Get common file path
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
sub rsp, 0x40
mov esi, r9d
mov r13d, edx
mov rbp, rcx
mov ebx, 8
call qword [sym.imp.ntdll.dll_RtlImageNtHeader]
test rax, rax
je 0x180001aa8
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetTempPathA]
mov rcx, qword [0x180059270]
xor edx, edx
lea r8d, [rax + 0x11]
mov r12d, eax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rdi, rax
test rax, rax
je 0x180001aad
lea ecx, [r12 + 1]
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_GetTempPathA]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_GetTickCount]
lea rcx, [rdi + rbx]
lea rdx, [0x18005d163]
mov r8d, eax
call qword [sym.imp.USER32.dll_wsprintfA]
xor r9d, r9d
mov r8d, r13d
mov rdx, rbp
mov rcx, rdi
mov dword [rsp + 0x20], 1
call fcn.180019710
mov ebx, eax
test eax, eax
jne 0x180001a94
test esi, esi
je 0x180001a94
lea r8, [rsp + 0x30]
lea rdx, [0x18005d257]
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
mov ebx, eax
test eax, eax
jne 0x180001a94
movsx r8d, byte [0x18005d200]
xor edx, edx
mov rcx, rdi
call qword [sym.imp.SHLWAPI.dll_StrRChrA]
mov rcx, rdi
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_lstrlenA]
mov rcx, qword [rsp + 0x30]
inc eax
lea rdx, [rbx + 1]
mov r9d, 1
mov dword [rsp + 0x28], eax
xor r8d, r8d
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 rcx, qword [0x180059270]
mov r8, rdi
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x180001aad
mov ebx, 0xb
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
mov eax, ebx
mov rbx, qword [rsp + 0x60]
add rsp, 0x40
pop r13
pop r12
pop rdi
ret
Function at 0x180001ac8
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, 0x50
mov rsi, r8
mov r13, rdx
mov r14, rcx
lea r8, [rax - 0x30]
lea rdx, [0x18005d257]
xor r15d, r15d
mov rcx, 0xffffffff80000001
mov rdi, r9
lea r12, [r9 + 0x208]
mov ebp, r15d
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
mov ebx, eax
cmp eax, r15d
jne 0x180001bb7
mov rcx, qword [rsp + 0x48]
lea rax, [rsp + 0x98]
lea r9, [rsp + 0x40]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x44]
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], rax
mov r8, rdi
mov edx, ebp
mov dword [rsp + 0x40], 0x104
mov dword [rsp + 0x98], 0x208
mov qword [rsp + 0x20], r15
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
mov ebx, eax
cmp eax, r15d
jne 0x180001ba7
cmp dword [rsp + 0x44], 1
jne 0x180001b97
mov eax, dword [rsp + 0x98]
mov rdx, r14
mov rcx, r12
shr rax, 1
mov word [r12 + rax*2], r15w
call qword [sym.imp.SHLWAPI.dll_StrStrIW]
cmp rax, r15
jne 0x180001b9b
inc ebp
jmp 0x180001b20
mov qword [r13], rdi
cmp rsi, r15
je 0x180001ba7
mov qword [rsi], r12
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp ebx, r15d
je 0x180001bc9
mov rcx, qword [0x180059270]
mov r8, rdi
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
lea r11, [rsp + 0x50]
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 0x180001bec
Capabilities:
Delete registry value

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbx
sub rsp, 0x20
mov rcx, qword [0x180059270]
mov rbx, r8
xor edx, edx
mov r8d, 0x410
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
test rax, rax
je 0x180001c2f
lea rdx, [rsp + 0x48]
mov r9, rax
xor r8d, r8d
mov rcx, rbx
call fcn.180001ac8
mov ebx, eax
jmp 0x180001c34
mov ebx, 8
test ebx, ebx
jne 0x180001cad
lea r8, [rsp + 0x30]
lea rdx, [0x18005d257]
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
mov ebx, eax
test eax, eax
jne 0x180001c99
mov rcx, qword [rsp + 0x30]
and qword [rsp + 0x38], 0
lea r8, [rsp + 0x38]
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x180001c8e
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov r8, qword [rsp + 0x48]
mov rcx, qword [0x180059270]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, ebx
add rsp, 0x20
pop rbx
ret
Function at 0x180001dcc
Capabilities:
Delete registry value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdx, qword [0x1800593f8]
mov rdi, rcx
lea r8, [rsp + 0x38]
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
mov ebx, eax
test eax, eax
jne 0x180001e29
mov rcx, qword [rsp + 0x38]
mov rdx, rdi
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov rcx, rdi
mov ebx, eax
call fcn.180018b48
mov rcx, qword [rsp + 0x38]
mov rdx, rax
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x180001f34
Capabilities:
Access pe header

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
sub rsp, 0x50
and qword [rsp + 0x70], 0
mov ebp, r8d
mov rbx, rcx
cmp edx, 0x20
jb 0x1800020a2
mov r9d, dword [rcx + 0x1c]
mov eax, dword [rcx + 0x14]
add r9d, dword [rcx + 0x10]
lea r9d, [r9 + rax + 0x20]
cmp edx, r9d
jne 0x1800020a2
add qword [rcx], rcx
add qword [rcx + 8], rcx
mov rcx, qword [rcx + 8]
call qword [sym.imp.ntdll.dll_RtlImageNtHeader]
test rax, rax
je 0x18000209b
mov eax, dword [0x180059440]
mov dword [rsp + 0x40], eax
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [rsp + 0x44], eax
mov rax, qword [0x180059438]
mov qword [rsp + 0x30], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
lea r9, [rsp + 0x88]
lea rcx, [rsp + 0x30]
xor r8d, r8d
mov rdx, rbx
mov qword [rsp + 0x38], rax
call fcn.18001b7c0
mov edi, eax
test eax, eax
jne 0x1800020a7
cmp dword [rbx + 0x18], eax
je 0x180002058
mov ecx, 0xd80
call fcn.180017950
mov rsi, rax
test rax, rax
je 0x180002058
mov r9d, dword [rbx + 0x10]
mov r8, qword [rbx]
and qword [rsp + 0x20], 0
lea rdx, [rbx + 0x20]
mov rcx, rax
call fcn.180001e38
test eax, eax
jne 0x180002046
mov r9d, dword [rbx + 0x14]
mov r8, qword [rbx + 8]
lea rax, [rsp + 0x70]
lea rdx, [rbx + 0x20]
mov rcx, rsi
mov qword [rsp + 0x20], rax
call fcn.180001e38
mov r8, qword [rsp + 0x70]
test r8, r8
je 0x180002046
mov rcx, qword [0x180059270]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rcx, qword [0x180059270]
mov r8, rsi
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
test ebp, ebp
je 0x1800020a7
mov rcx, qword [rsp + 0x88]
lea rdx, [0x18005e10e]
xor r9d, r9d
xor r8d, r8d
call fcn.18001a718
test rax, rax
je 0x180002094
mov eax, dword [rax]
add rax, qword [rsp + 0x88]
je 0x180002094
lea rcx, [0x1800587a0]
xor edx, edx
call rax
jmp 0x1800020a7
mov edi, 0x7f
jmp 0x1800020a7
mov edi, 0xb
jmp 0x1800020a7
mov edi, 0x57
mov rcx, qword [0x180059270]
xor edx, edx
mov r8d, 0x400
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
lea rdx, [0x18005e141]
mov r8d, edi
mov rcx, rax
mov rbx, rax
call qword [sym.imp.USER32.dll_wsprintfA]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrlenA]
xor r9d, r9d
mov rdx, rbx
mov r8d, eax
mov ecx, 0x10d
call fcn.1800112ec
mov rcx, qword [0x180059270]
mov r8, rbx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
lea r11, [rsp + 0x50]
mov eax, edi
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r12
pop rdi
pop rsi
ret
Function at 0x1800024d4
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rcx, qword [0x180059270]
xor edx, edx
mov r8d, 0x105
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rdi, rax
test rax, rax
je 0x180002574
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
lea edx, [r9 + 0x22]
mov qword [rsp + 0x20], rax
call qword [sym.imp.SHELL32.dll_SHGetFolderPathA]
mov ebx, 1
test eax, eax
jne 0x180002528
mov r8d, ebx
mov edx, ebx
mov rcx, rdi
call fcn.1800178a8
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
lea edx, [r9 + 0x20]
mov qword [rsp + 0x20], rdi
call qword [sym.imp.SHELL32.dll_SHGetFolderPathA]
test eax, eax
jne 0x180002550
mov r8d, ebx
mov edx, ebx
mov rcx, rdi
call fcn.1800178a8
lea rcx, [0x18005d417]
mov edx, ebx
call fcn.180002118
mov rcx, qword [0x180059270]
mov r8, rdi
xor edx, edx
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x180002579
mov ebx, 8
mov eax, ebx
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret

Function at 0x180002c60
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
sub rsp, 0x30
xor ebx, ebx
mov rsi, r8
mov r12, rdx
mov r13, rcx
mov ebp, ebx
cmp r8, rbx
je 0x180002c95
mov rcx, r8
call qword [sym.imp.KERNEL32.dll_lstrlenA]
mov ebp, eax
mov rcx, qword [0x180059270]
lea r8d, [rbp + 1]
xor edx, edx
add r8, 0x10
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rdi, rax
cmp rax, rbx
je 0x180002d1f
mov qword [rax], r13
mov qword [rax + 8], r12
cmp ebp, ebx
je 0x180002cce
lea rcx, [rax + 0x10]
mov rdx, rsi
call qword [sym.imp.KERNEL32.dll_lstrcpyA]
jmp 0x180002cd1
mov byte [rax + 0x10], bl
lea rax, [rsp + 0x60]
lea r8, [0x180002c04]
mov r9, rdi
mov qword [rsp + 0x28], rax
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x20], ebx
call qword [sym.imp.KERNEL32.dll_CreateThread]
cmp rax, rbx
je 0x180002d03
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x180002d24
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [0x180059270]
mov r8, rdi
xor edx, edx
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x180002d24
mov ebx, 8
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x68]
mov eax, ebx
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop r13
pop r12
pop rdi
ret
Function at 0x180004ea4
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
push rsi
push rdi
push r12
sub rsp, 0x40
and dword [rax + 0x20], 0
mov r12, rcx
mov rcx, qword [0x1800593d8]
mov rsi, r8
mov rbp, rdx
lea r8, [rax - 0x28]
xor edx, edx
call fcn.180004e10
mov ebx, eax
test eax, eax
jne 0x180004f71
mov rcx, qword [rsp + 0x30]
lea r9, [rsp + 0x78]
xor r8d, r8d
mov rdx, r12
mov qword [rsp + 0x28], rsi
and qword [rsp + 0x20], 0
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ebx, eax
test eax, eax
jne 0x180004f66
mov r8d, dword [rsi]
mov rcx, qword [0x180059270]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rdi, rax
test rax, rax
je 0x180004f61
mov rcx, qword [rsp + 0x30]
lea r9, [rsp + 0x78]
xor r8d, r8d
mov rdx, r12
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ebx, eax
test eax, eax
jne 0x180004f4d
mov qword [rbp], rdi
jmp 0x180004f66
mov rcx, qword [0x180059270]
mov r8, rdi
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x180004f66
mov ebx, 8
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rbp, qword [rsp + 0x68]
mov eax, ebx
mov rbx, qword [rsp + 0x60]
add rsp, 0x40
pop r12
pop rdi
pop rsi
ret

Function at 0x180004f88
Capabilities:
Delete registry value
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 rsi, rcx
mov rcx, qword [0x1800593d8]
mov r12d, r8d
mov rdi, rdx
lea r8, [rax - 0x18]
mov edx, 1
mov ebp, r9d
call fcn.180004e10
mov ebx, eax
test eax, eax
jne 0x180005000
mov rcx, qword [rsp + 0x30]
mov rdx, rsi
test rdi, rdi
je 0x180004fed
mov r9d, ebp
xor r8d, r8d
mov dword [rsp + 0x28], r12d
mov qword [rsp + 0x20], rdi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
jmp 0x180004ff3
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
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 rdi, qword [rsp + 0x68]
mov eax, ebx
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop r12
ret
Function at 0x1800051c4
Capabilities:
Get hostname
Get session user name

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x30
mov eax, dword [0x1800593d0]
and dword [rsp + 0x40], 0
lea rdx, [rsp + 0x48]
mov dword [rsp + 0x48], eax
mov rdi, rcx
call fcn.18001897c
lea rdx, [rsp + 0x40]
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_GetUserNameW]
mov edx, dword [rsp + 0x40]
test edx, edx
je 0x180005250
mov rcx, qword [0x180059270]
mov r8, rdx
xor edx, edx
add r8, r8
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rbx, rax
test rax, rax
je 0x180005250
lea rdx, [rsp + 0x40]
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_GetUserNameW]
test eax, eax
je 0x18000523e
mov edx, dword [rsp + 0x40]
mov rcx, rbx
add edx, edx
call fcn.180044c10
xor dword [rdi], eax
mov rcx, qword [0x180059270]
mov r8, rbx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
and dword [rsp + 0x40], 0
lea rdx, [rsp + 0x40]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetComputerNameW]
mov edx, dword [rsp + 0x40]
test edx, edx
je 0x1800052bc
mov rcx, qword [0x180059270]
mov r8, rdx
xor edx, edx
add r8, r8
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rbx, rax
test rax, rax
je 0x1800052bc
lea rdx, [rsp + 0x40]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetComputerNameW]
test eax, eax
je 0x1800052aa
mov edx, dword [rsp + 0x40]
mov rcx, rbx
add edx, edx
call fcn.180044c10
xor dword [rdi + 0xc], eax
mov rcx, qword [0x180059270]
mov r8, rbx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, 1
cpuid
mov r8d, eax
mov eax, dword [rdi + 4]
mov dword [rsp + 0x24], ebx
mov rbx, qword [rsp + 0x50]
xor eax, edx
xor eax, ecx
xor eax, r8d
mov dword [rdi + 4], eax
add rsp, 0x30
pop rdi
ret
Function at 0x1800052e4
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push rbx
push rdi
push r13
sub rsp, 0x30
mov rcx, qword [0x1800593d8]
mov edi, dword [0x180058760]
lea r8, [rsp + 0x60]
mov edx, 1
mov dword [rsp + 0x50], 0x28
call fcn.180004e10
lea r13, [0x180058760]
mov ebx, eax
test eax, eax
jne 0x1800053c1
mov rcx, qword [rsp + 0x60]
lea rax, [rsp + 0x50]
lea r9, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea rdx, [0x18005d1ac]
xor r8d, r8d
mov qword [rsp + 0x20], r13
mov dword [rsp + 0x50], 0x28
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ebx, eax
test eax, eax
jne 0x180005360
cmp dword [rsp + 0x50], 0x28
je 0x18000536c
lea rcx, [0x180058768]
call fcn.1800051c4
movzx eax, word [0x180058764]
mov ecx, 0x8000
test cx, ax
jne 0x1800053b6
mov ecx, 0x800c
lea rdx, [0x18005d1ac]
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 [0x180058764], ax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ebx, eax
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [0x180058760], 0
jne 0x180005400
mov dword [0x180058760], edi
test edi, edi
je 0x1800053f6
mov r9d, 3
lea rcx, [0x18005d1ac]
mov rdx, r13
lea r8d, [r9 + 0x25]
call fcn.180004f88
cmp dword [0x180058760], 0
jne 0x180005400
mov dword [0x180058760], 0x3e8
cmp qword [0x1800592b8], 0
jne 0x180005465
mov rcx, qword [0x180059270]
xor edx, edx
lea r8d, [rdx + 0x27]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov qword [0x1800592b8], rax
test rax, rax
je 0x180005465
mov edx, dword [0x180058774]
mov ecx, dword [0x180058770]
mov r9d, dword [0x18005876c]
mov r8d, dword [0x180058768]
bswap edx
bswap ecx
mov dword [rsp + 0x28], edx
mov dword [rsp + 0x20], ecx
lea rdx, [0x18005d391]
bswap r9d
bswap r8d
mov rcx, rax
call qword [sym.imp.USER32.dll_wsprintfA]
mov eax, ebx
add rsp, 0x30
pop r13
pop rdi
pop rbx
ret

Function at 0x180005470
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 0x180005496
mov rcx, rdx
call qword [sym.imp.SHLWAPI.dll_StrToIntA]
test eax, eax
je 0x1800054f9
mov rcx, qword [0x1800593d8]
lea r8, [rsp + 0x30]
mov edx, 1
mov dword [0x180058760], eax
mov word [0x180058764], di
call fcn.180004e10
mov ebx, eax
test eax, eax
jne 0x1800054f9
mov rcx, qword [rsp + 0x30]
lea rax, [0x180058760]
lea r9d, [rbx + 3]
lea rdx, [0x18005d1ac]
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 0x180005508
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 [0x180059270]
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 0x1800055b6
lea r8, [rsp + 0x38]
mov rdx, rax
xor ecx, ecx
call qword [sym.imp.WININET.dll_FindFirstUrlCacheEntryA]
mov rsi, rax
test rax, rax
je 0x1800055a4
mov edi, 1
mov rcx, qword [rbx + 8]
mov rdx, rbp
call qword [sym.imp.SHLWAPI.dll_StrStrIA]
test rax, rax
je 0x18000557e
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 0x180005562
mov rcx, rsi
call qword [sym.imp.WININET.dll_FindCloseUrlCache]
mov rcx, qword [0x180059270]
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 0x1800055d0
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x80
xor ebx, ebx
mov r14, r8
mov edi, edx
mov rbp, rcx
cmp edx, 8
jbe 0x1800057b9
mov rcx, qword [0x180059270]
mov r8, rdi
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov r12, rax
cmp rax, rbx
je 0x1800057b9
mov r8, rdi
mov rdx, rbp
mov rcx, rax
call sub.ntdll.dll_memcpy
lea r15d, [rbx + 1]
mov edx, edi
mov r8d, r15d
mov rcx, rbp
call fcn.180004da4
cmp eax, ebx
je 0x180005790
mov r13d, dword [rbp]
mov rcx, qword [0x180059270]
xor edx, edx
lea r8d, [r13 + 0x10]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rsi, rax
cmp rax, rbx
je 0x1800057a7
lea rcx, [rbp + 4]
mov rdx, rax
call fcn.180043fb0
cmp eax, r13d
jne 0x18000577c
lea rdx, [0x18005e16d]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_lstrcmpiA]
cmp eax, ebx
jne 0x1800056a5
mov edx, edi
mov rcx, r12
call fcn.180044c10
not eax
mov dword [0x1800592a4], eax
lea rcx, [0x180059c00]
mov r9d, r13d
mov r8, rsi
mov rdx, r14
call fcn.18000797c
mov rcx, qword [0x1800593f0]
lea r8, [rsp + 0xc8]
mov edx, r15d
call fcn.180004e10
cmp eax, ebx
jne 0x18000570c
mov rcx, qword [rsp + 0xc8]
mov r9d, 3
xor r8d, r8d
mov rdx, r14
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], r12
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov rcx, qword [rsp + 0xc8]
cmp eax, ebx
cmove ebx, r15d
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdi, rsi
lea rcx, [rsp + 0x30]
lea rdx, [rsp + 0x48]
mov r8d, 6
lea rax, [rdi + 4]
mov edi, dword [rdi]
mov dword [rcx], edi
mov qword [rdx], rax
add rdi, rax
add rcx, 4
add rdx, 8
sub r8, r15
jne 0x18000571f
cmp dword [rsp + 0x30], r15d
jb 0x18000577c
mov edx, dword [rsp + 0x34]
cmp edx, r15d
jbe 0x18000570f
mov rcx, qword [rsp + 0x50]
dec edx
call fcn.180044c10
xor eax, dword [0x18005944c]
cmp eax, 0x661ca87
jne 0x18000570f
mov r8d, dword [rsp + 0x30]
mov rdx, qword [rsp + 0x48]
xor r9d, r9d
mov ecx, 0x102
call fcn.1800112ec
jmp 0x18000570f
mov rcx, qword [0x180059270]
mov r8, rsi
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x1800057a7
mov rcx, qword [0x180059bf0]
lea rdx, [0x180058766]
add rcx, 8
call fcn.180005020
mov rcx, qword [0x180059270]
mov r8, r12
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
lea r11, [rsp + 0x80]
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 0x1800060f4
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.180004e10
mov ebx, eax
cmp eax, r15d
jne 0x1800062c3
mov rcx, qword [0x180059270]
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 0x1800062b8
mov rcx, qword [0x180059270]
mov r8, rdi
xor edx, edx
mov ebp, edi
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rdi, rax
cmp rax, r15
je 0x1800062a6
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 0x180006226
cmp dword [rsp + 0x48], 0x105
jbe 0x1800061e5
inc dword [rsp + 0x44]
mov ebx, r15d
jmp 0x18000626f
cmp dword [rsp + 0x40], ebp
jbe 0x180006294
mov rcx, qword [0x180059270]
mov r8, rdi
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov ebp, dword [rsp + 0x40]
mov rcx, qword [0x180059270]
mov r8, rbp
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rdi, rax
cmp rax, r15
jne 0x1800061dd
mov ebx, 8
jmp 0x180006294
cmp eax, r15d
jne 0x18000628a
cmp r12d, r15d
je 0x180006246
mov r8d, dword [0x1800593d0]
mov edx, dword [rsp + 0x40]
xor r9d, r9d
mov rcx, rdi
call fcn.180044b7c
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 0x18000628a
mov rcx, qword [0x180059460]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x180006294
jmp 0x180006185
cmp ebx, 0x103
cmove ebx, r15d
mov rcx, qword [0x180059270]
mov r8, rdi
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rcx, qword [0x180059270]
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 0x180007058
Capabilities:
Query or enumerate registry value

Disassembly:
sub rsp, 0x28
test byte [0x180058764], 4
je 0x180007077
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov ecx, 0x121
call fcn.1800112ec
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov ecx, 0x120
call fcn.1800112ec
mov rcx, qword [0x180059460]
mov edx, 0x2710
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [0x1800593e8]
lea rdx, [0x180006b3c]
mov r9d, 1
xor r8d, r8d
add rsp, 0x28
jmp fcn.1800060f4
Function at 0x18000832c
Capabilities:
Allocate thread local storage

Disassembly:
push rbx
sub rsp, 0x20
lea rcx, [0x18005d065]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rbx, rax
test rax, rax
je 0x180008371
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [0x18005739c], eax
cmp eax, 0xffffffff
je 0x180008369
lea rdx, [0x18005d1dc]
mov rcx, rbx
call fcn.180007fd8
jmp 0x18000838c
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x18000838c
mov edx, 1
lea r8, [0x180058460]
lea rcx, [0x180058448]
mov r9d, edx
call fcn.180010574
add rsp, 0x20
pop rbx
ret