joyce8/EMBER2024-capa huggingface dataset:
Function at 0x555db0
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push rbp
push rbx
sub rsp, 0xa8
mov rbp, rsp
mov qword [rbp + 0x40], 0
mov qword [rbp + 0x78], 0
mov qword [rbp + 0x70], 0
mov qword [rbp + 0x48], rbp
mov qword [rbp + 0xc0], rcx
mov qword [rbp + 0xc8], rdx
nop
lea rcx, [rbp + 0x78]
mov rdx, qword [rbp + 0xc8]
call fcn.0040dd40
mov rcx, qword [rbp + 0x78]
call fcn.00555240
mov byte [rbp + 0x83], al
cmp byte [rbp + 0x83], 0
jne 0x555e25
lea rcx, [rbp + 0x78]
mov edx, 1
mov r8d, 1
call fcn.0040f330
mov rax, qword [rbp + 0xc0]
mov rax, qword [rax + 8]
mov qword [rbp + 0x98], rax
mov rcx, qword [rbp + 0xc0]
mov rdx, qword [rbp + 0xc8]
call fcn.00557030
mov qword [rbp + 0x90], rax
cmp qword [rbp + 0x90], 0
je 0x555f79
nop
mov rcx, qword [rbp + 0xc0]
mov rdx, qword [rbp + 0x90]
call fcn.00555780
mov rcx, qword [rbp + 0xc0]
lea rdx, [rbp + 0x54]
call fcn.00556130
test al, al
je 0x555f59
lea rcx, [rbp + 0x70]
xor rdx, rdx
mov r8d, dword [rbp + 0x58]
add r8d, 1
call fcn.0040d950
mov eax, dword [rbp + 0x54]
sub eax, 1
mov dword [rbp + 0x84], eax
cmp dword [rbp + 0x84], 0
jl 0x555f58
mov eax, dword [rbp + 0x58]
add eax, 1
mov dword [rbp + 0x88], eax
mov rcx, qword [rbp + 0x70]
call fcn.0040ec90
mov rcx, qword [rbp + 0x90]
mov edx, dword [rbp + 0x84]
mov r8, rax
lea r9, [rbp + 0x88]
mov qword [rsp + 0x20], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x38], 0
call sub.advapi32.dll_RegEnumKeyExW
mov rcx, qword [rbp + 0xc0]
mov edx, eax
call fcn.005556a0
test al, al
je 0x555f44
mov rcx, qword [rbp + 0x70]
call fcn.0040ec90
lea rcx, [rbp + 0x40]
mov rdx, rax
call fcn.0040ed30
mov rcx, qword [rbp + 0xc0]
mov rdx, qword [rbp + 0x40]
call fcn.00555db0
sub dword [rbp + 0x84], 1
cmp dword [rbp + 0x84], 0xffffffff
jne 0x555eb8
nop
nop
mov rcx, qword [rbp + 0xc0]
mov rdx, qword [rbp + 0x98]
call fcn.00555780
mov rcx, qword [rbp + 0x90]
call sub.advapi32.dll_RegCloseKey_1
cmp byte [0x005a2ebc], 0
je 0x555fd8
mov rcx, qword [rbp + 0xc0]
movzx rdx, byte [rbp + 0x83]
call fcn.00555760
mov rbx, rax
mov rcx, qword [rbp + 0x78]
call fcn.0040ec90
mov rcx, rbx
mov rdx, rax
mov rax, qword [rbp + 0xc0]
mov r8d, dword [rax + 0x2c]
and r8d, 0x300
xor r9, r9
call sub.advapi32.dll_RegDeleteKeyExW
mov rcx, qword [rbp + 0xc0]
mov edx, eax
call fcn.005556a0
mov byte [rbp + 0x8f], al
jmp 0x556017
mov rcx, qword [rbp + 0xc0]
movzx rdx, byte [rbp + 0x83]
call fcn.00555760
mov rbx, rax
mov rcx, qword [rbp + 0x78]
call fcn.0040ec90
mov rcx, rbx
mov rdx, rax
call sub.advapi32.dll_RegDeleteKeyW
mov rcx, qword [rbp + 0xc0]
mov edx, eax
call fcn.005556a0
mov byte [rbp + 0x8f], al
nop
lea rcx, [rbp + 0x40]
call fcn.0040d690
lea rcx, [rbp + 0x70]
mov edx, 2
call fcn.0040d770
movzx rax, byte [rbp + 0x8f]
lea rsp, [rbp + 0xa8]
pop rbx
pop rbp
ret

Function at 0x556100
Capabilities:
Delete registry value

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
mov rcx, rdx
call fcn.0040ec90
mov rcx, qword [rbx + 8]
mov rdx, rax
call sub.advapi32.dll_RegDeleteValueW
mov rcx, rbx
mov edx, eax
call fcn.005556a0
add rsp, 0x20
pop rbx
ret
Function at 0x5578e0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rbx
sub rsp, 0x98
mov rbp, rsp
mov qword [rbp + 0x40], 0
mov qword [rbp + 0x58], 0
mov qword [rbp + 0x48], rbp
mov qword [rbp + 0xb0], rcx
mov qword [rbp + 0xb8], rdx
mov qword [rbp + 0xc0], r8
nop
mov rax, qword [rbp + 0xb0]
lea rax, [rax + rbp + 0x50]
mov rcx, rbp
neg rcx
mov rax, qword [rax + rcx]
mov rax, qword [rax + 8]
mov qword [rbp + 0x88], rax
mov rax, qword [rbp + 0xb0]
lea rax, [rax + rbp + 0x50]
mov rcx, rbp
neg rcx
mov rcx, qword [rax + rcx]
mov rdx, qword [rbp + 0xb8]
call fcn.00555780
nop
mov rax, qword [rbp + 0xb0]
lea rax, [rax + rbp + 0x50]
mov rcx, rbp
neg rcx
mov rcx, qword [rax + rcx]
lea rdx, [rbp + 0x64]
call fcn.00556130
test al, al
je 0x557a8d
mov rcx, qword [rbp + 0xb0]
mov rdx, qword [rbp + 0xb8]
mov r8, qword [rbp + 0xc0]
xor r9, r9
call fcn.005576b0
lea rcx, [rbp + 0x58]
xor rdx, rdx
mov r8d, dword [rbp + 0x70]
add r8d, 1
call fcn.0040d950
xor rax, rax
mov ebx, dword [rbp + 0x6c]
sub ebx, 1
mov dword [rbp + 0x80], eax
cmp dword [rbp + 0x80], ebx
jg 0x557a8c
add ebx, 1
mov eax, dword [rbp + 0x70]
add eax, 1
mov dword [rbp + 0x84], eax
mov rcx, qword [rbp + 0x58]
call fcn.0040ec90
mov rcx, qword [rbp + 0xb8]
mov edx, dword [rbp + 0x80]
mov r8, rax
lea r9, [rbp + 0x84]
mov qword [rsp + 0x20], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x38], 0
call sub.advapi32.dll_RegEnumValueW
mov rcx, qword [rbp + 0xb0]
lea rcx, [rcx + rbp + 0x50]
mov rdx, rbp
neg rdx
mov rcx, qword [rcx + rdx]
mov edx, eax
call fcn.005556a0
test al, al
je 0x557a79
mov rcx, qword [rbp + 0x58]
call fcn.0040ec90
lea rcx, [rbp + 0x40]
mov rdx, rax
call fcn.0040ed30
mov rcx, qword [rbp + 0xb0]
mov rdx, qword [rbp + 0xb8]
mov r8, qword [rbp + 0xc0]
mov r9, qword [rbp + 0x40]
call fcn.005576b0
add dword [rbp + 0x80], 1
cmp dword [rbp + 0x80], ebx
jne 0x5579d0
nop
nop
Function at 0x560750
Capabilities:
Encode data using xor

Disassembly:
mov r8, rcx
xor rax, rax
xor rcx, rcx
sub edx, 1
cmp ecx, edx
jg 0x560792
add edx, 1
mov r9d, eax
and r9w, 0xf800
movzx r9d, r9w
shr r9d, 0xb
shl eax, 5
or r9w, ax
mov eax, r9d
movzx r9w, byte [r8]
xor ax, r9w
add r8, 1
add ecx, 1
cmp ecx, edx
jne 0x560763
nop
ret
Function at 0x56c680
Capabilities:
Check if file exists
Get file attributes

Disassembly:
sub rsp, 0x28
call fcn.0040e590
mov rcx, rax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x56c69e
test eax, 0x10
jne 0x56c6a3
xor rax, rax
jmp 0x56c6a5
mov al, 1
add rsp, 0x28
ret

Function at 0x56cd90
Capabilities:
Create thread

Disassembly:
push rbp
sub rsp, 0x840
mov rbp, rsp
lea rcx, [rbp + 0x40]
mov rdx, qword [rdx]
call sub.kernel32.dll_lstrcpyW
mov dword [0x005a3288], 0x20
mov dword [0x005a328c], 2
mov dword [0x005a3290], 7
mov dword [0x005a3294], 0
mov dword [0x005a3298], 0
mov dword [0x005a329c], 0
mov dword [0x005a32a0], 0
lea rcx, [rbp + 0x40]
lea rdx, [0x0056cd10]
call sub.advapi32.dll_RegisterServiceCtrlHandlerA
mov qword [0x005a32a8], rax
cmp qword [0x005a32a8], 0
je 0x56ce3f
mov dword [0x005a328c], 4
mov dword [0x005a329c], 0
mov dword [0x005a32a0], 0
mov rcx, qword [0x005a32a8]
lea rdx, [0x005a3288]
call sub.advapi32.dll_SetServiceStatus
xor rcx, rcx
xor rdx, rdx
lea r8, [0x0056c8f0]
xor r9, r9
mov dword [rsp + 0x20], 0
lea rax, [rbp + 0x3c]
mov qword [rsp + 0x28], rax
call sub.kernel32.dll_CreateThread_1
mov ecx, 0x3e8
call sub.kernel32.dll_Sleep_2
jmp 0x56ce65

Function at 0x56ce80
Capabilities:
Create thread

Disassembly:
push rbp
sub rsp, 0x40
mov rbp, rsp
xor rcx, rcx
xor rdx, rdx
lea r8, [0x0056c8f0]
xor r9, r9
mov dword [rsp + 0x20], 0
lea rax, [rbp + 0x3c]
mov qword [rsp + 0x28], rax
call sub.kernel32.dll_CreateThread_1
mov ecx, 0x3e8
call sub.kernel32.dll_Sleep_2
jmp 0x56ceae
Function at 0x180004cc0
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rcx
mov rdi, rdx
mov rcx, qword [rcx + 0x10]
test rcx, rcx
je 0x180004cee
mov r8, rdx
mov rdx, qword [rbx]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp 0x1800059a0
cmp byte [0x1800c56e0], 0
jne 0x180004d39
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x180004d29
lea rdx, str.RegDeleteKeyExW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1800c56d8], rax
mov byte [0x1800c56e0], 1
jmp 0x180004d40
mov rax, qword [0x1800c56d8]
mov byte [0x1800c56e0], 1
jmp 0x180004d40
mov rax, qword [0x1800c56d8]
mov rcx, qword [rbx]
mov rdx, rdi
test rax, rax
je 0x180004d5f
mov r8d, dword [rbx + 8]
xor r9d, r9d
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp rax
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
cmp qword [rcx], 0
mov rdi, r8
mov rsi, rdx
mov rbx, rcx
je 0x180005a14
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x180005a36
lea rdx, str.RegDeleteKeyTransactedW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x180005a36
mov rcx, qword [rbx]
xor r9d, r9d
mov qword [rsp + 0x28], 0
xor r8d, r8d
mov qword [rsp + 0x20], rcx
mov rdx, rdi
mov rcx, rsi
call rax
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
cmp dword [rcx + 8], 0
je 0x180005a36
mov rdx, rdi
mov rcx, rsi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
jmp qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov rbx, qword [rsp + 0x40]
mov eax, 1
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
Function at 0x180005710
Capabilities:
Query or enumerate registry key

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x280
mov rax, qword [0x1800ba0e0]
xor rax, rsp
mov qword [rsp + 0x270], rax
mov r9d, dword [rcx + 8]
xor ebp, ebp
mov rsi, rdx
mov qword [rsp + 0x40], rbp
xor eax, eax
mov qword [rsp + 0x50], rbp
mov r8, rdx
mov qword [rsp + 0x48], rax
mov rdx, qword [rcx]
mov rdi, rcx
or r9d, 0x2001f
mov dword [rsp + 0x48], ebp
lea rcx, [rsp + 0x40]
call fcn.180005260
mov ebx, eax
test eax, eax
jne 0x180005827
mov rcx, qword [rsp + 0x40]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x38], rax
lea r9, [rsp + 0x58]
mov qword [rsp + 0x30], rbp
lea r8, [rsp + 0x70]
mov qword [rsp + 0x28], rbp
xor edx, edx
mov qword [rsp + 0x20], rbp
mov dword [rsp + 0x58], 0x100
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x180005801
nop
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x40]
call fcn.180005710
mov ebx, eax
test eax, eax
jne 0x180005827
mov rcx, qword [rsp + 0x40]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x38], rax
lea r9, [rsp + 0x58]
mov qword [rsp + 0x30], rbp
lea r8, [rsp + 0x70]
mov qword [rsp + 0x28], rbp
xor edx, edx
mov qword [rsp + 0x20], rbp
mov dword [rsp + 0x58], 0x100
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x1800057b0
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x180005816
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x40], rbp
mov rdx, rsi
mov dword [rsp + 0x48], ebp
mov rcx, rdi
call fcn.180004cc0
mov ebx, eax
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x180005837
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.18004b0f0
mov rbx, qword [rsp + 0x2b0]
add rsp, 0x280
pop rdi
pop rsi
pop rbp
ret
Function at 0x1800059a0
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rcx
mov rdi, rdx
mov rcx, qword [rcx + 0x10]
test rcx, rcx
je 0x180004cee
mov r8, rdx
mov rdx, qword [rbx]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp 0x1800059a0
cmp byte [0x1800c56e0], 0
jne 0x180004d39
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x180004d29
lea rdx, str.RegDeleteKeyExW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1800c56d8], rax
mov byte [0x1800c56e0], 1
jmp 0x180004d40
mov rax, qword [0x1800c56d8]
mov byte [0x1800c56e0], 1
jmp 0x180004d40
mov rax, qword [0x1800c56d8]
mov rcx, qword [rbx]
mov rdx, rdi
test rax, rax
je 0x180004d5f
mov r8d, dword [rbx + 8]
xor r9d, r9d
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp rax
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
cmp qword [rcx], 0
mov rdi, r8
mov rsi, rdx
mov rbx, rcx
je 0x180005a14
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x180005a36
lea rdx, str.RegDeleteKeyTransactedW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x180005a36
mov rcx, qword [rbx]
xor r9d, r9d
mov qword [rsp + 0x28], 0
xor r8d, r8d
mov qword [rsp + 0x20], rcx
mov rdx, rdi
mov rcx, rsi
call rax
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
cmp dword [rcx + 8], 0
je 0x180005a36
mov rdx, rdi
mov rcx, rsi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
jmp qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov rbx, qword [rsp + 0x40]
mov eax, 1
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
Function at 0x180005c40
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push rbx
push rsi
push rdi
push r14
push r15
sub rsp, 0x490
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov rax, qword [0x1800ba0e0]
xor rax, rsp
mov qword [rsp + 0x480], rax
mov r15, r9
mov rsi, r8
mov rbx, rdx
xor r14d, r14d
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x60], rcx
mov qword [rsp + 0x58], r14
xor edx, edx
mov r8d, 0x408
lea rcx, [rsp + 0x70]
call fcn.180050fe0
mov qword [rsp + 0x70], r14
xor edx, edx
lea r8d, [r14 + 0x60]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rdi, rax
mov qword [rsp + 0x38], rax
test rax, rax
jne 0x180005ce0
xor edx, edx
lea r8d, [r14 + 2]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rdi, rax
mov qword [rsp + 0x38], rax
test rax, rax
jne 0x180005ce0
call fcn.180003fb0
mov ebx, eax
jmp 0x180005e08
mov r8, r15
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rbx, rax
test rax, rax
jne 0x180005d01
call fcn.180003fb0
jmp 0x180005df7
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rsi, rax
mov qword [rsp + 0x40], rax
test rax, rax
jne 0x180005d24
call fcn.180003fb0
jmp 0x180005df7
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
mov dword [rsp + 0x30], eax
inc eax
cmp eax, ebx
jae 0x180005d46
mov ebx, 0x8007000e
jmp 0x180005df9
mov ecx, eax
test eax, eax
je 0x180005d7e
xor edx, edx
or rax, 0xffffffffffffffff
div rcx
cmp rax, 2
jb 0x180005d74
lea rdx, [rcx + rcx]
cmp rdx, 0x400
jbe 0x180005d7e
lea rcx, [rsp + 0x70]
call fcn.180003d40
jmp 0x180005d88
mov ecx, 0x80070216
call fcn.180004930
lea rax, [rsp + 0x78]
mov qword [rsp + 0x70], rax
jmp 0x180005d9b
cmp qword [rsp + 0x70], 0
jne 0x180005daa
mov ebx, 0x8007000e
jmp 0x180005df9
mov dword [rsp + 0x28], ebx
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x20], rax
mov r9d, ebx
mov r8, rsi
xor edx, edx
lea ecx, [rdx + 3]
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jne 0x180005dd4
call fcn.180003fb0
jmp 0x180005df7
mov ecx, eax
mov rax, qword [rsp + 0x70]
mov word [rax + rcx*2], r14w
mov r8d, dword [rsp + 0x4e0]
mov rdx, qword [rsp + 0x70]
lea rcx, [rsp + 0x58]
call fcn.180005a50
mov ebx, eax
test rdi, rdi
je 0x180005e08
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
nop
lea rax, [rsp + 0x78]
cmp qword [rsp + 0x70], rax
je 0x180005e1f
lea rcx, [rsp + 0x70]
call fcn.180004ff0
nop
mov eax, ebx
mov rcx, qword [rsp + 0x480]
xor rcx, rsp
call fcn.18004b0f0
add rsp, 0x490
pop r15
pop r14
pop rdi
pop rsi
pop rbx
ret
Function at 0x180006500
Capabilities:
Set registry value

Disassembly:
sub rsp, 0x48
mov rax, qword [0x1800ba0e0]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rcx, qword [rcx]
lea rax, [rsp + 0x30]
mov dword [rsp + 0x30], r8d
mov r9d, 4
xor r8d, r8d
mov dword [rsp + 0x28], 4
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.18004b0f0
add rsp, 0x48
ret

Function at 0x180006550
Capabilities:
Set registry value

Disassembly:
sub rsp, 0x38
mov r9, r8
mov r10, rdx
test r8, r8
jne 0x180006568
lea eax, [r8 + 0xd]
add rsp, 0x38
ret
xor r8d, r8d
mov rdx, r9
nop
or rax, 0xffffffffffffffff
inc rax
cmp word [rdx + rax*2], 0
jne 0x180006574
inc eax
lea rdx, [rdx + rax*2]
lea r8d, [r8 + rax*2]
cmp eax, 1
jne 0x180006570
mov rcx, qword [rcx]
mov rdx, r10
mov dword [rsp + 0x28], r8d
xor r8d, r8d
mov qword [rsp + 0x20], r9
lea r9d, [rax + 6]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
add rsp, 0x38
ret
Function at 0x18001d6f0
Capabilities:
Print debug messages

Disassembly:
mov r11, rsp
push rsi
push rdi
push r14
sub rsp, 0x50
mov qword [r11 - 0x48], 0xfffffffffffffffe
mov qword [r11 + 8], rbx
mov qword [r11 + 0x20], rbp
mov rax, qword [0x1800ba0e0]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rbp, r8
mov r14, rdx
mov qword [r11 - 0x40], rdx
xor ebx, ebx
mov qword [r11 - 0x38], rbx
mov rcx, qword [rdx]
mov rax, qword [rcx]
lea r8, [r11 - 0x38]
lea rdx, [0x18008f110]
call qword [rax]
mov esi, eax
test eax, eax
jns 0x18001d76a
lea rcx, str.GetHtmlContent:_lpDoc2__QueryInterface_IID_IHTMLDocument3___void_lpDoc3__failed_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
nop
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x18001d841
mov rdx, qword [rcx]
call qword [rdx + select]
jmp 0x18001d841
mov qword [rsp + 0x38], rbx
mov rcx, qword [rsp + 0x30]
mov rax, qword [rcx]
lea rdx, [rsp + 0x38]
call qword [rax + 0x50]
mov esi, eax
test eax, eax
jns 0x18001d797
lea rcx, str.GetHtmlContent:_lpDoc3__get_documentElement_lpElem__failed_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x18001d81f
mov qword [rsp + 0x40], rbx
mov rcx, qword [rsp + 0x38]
mov rax, qword [rcx]
lea rdx, [rsp + 0x40]
call qword [rax + 0x1f0]
mov esi, eax
test eax, eax
jns 0x18001d7be
lea rcx, str.GetHtmlContent:_lpElem__get_outerHTML_strHtml__failed_n
jmp 0x18001d80c
mov rcx, qword [rsp + 0x40]
call fcn.18004ac70
mov rdi, rax
test rax, rax
je 0x18001d801
cmp byte [rax], 0
je 0x18001d7e9
or rbx, 0xffffffffffffffff
nop dword [rax]
inc rbx
cmp byte [rax + rbx], 0
jne 0x18001d7e0
mov r8, rbx
mov rdx, rdi
mov rcx, rbp
call fcn.1800025c0
mov rcx, rdi
call fcn.18004b24c
jmp 0x18001d813
or rsi, 0xffffffffffffffff
lea rcx, str.GetHtmlContent:__com_util::ConvertBSTRToString_failed_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
nop
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
nop
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x18001d830
mov rax, qword [rcx]
call qword [rax + select]
nop
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x18001d841
mov rax, qword [rcx]
call qword [rax + select]
nop
mov rcx, qword [r14]
test rcx, rcx
je 0x18001d84f
mov rax, qword [rcx]
call qword [rax + select]
mov eax, esi
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.18004b0f0
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x88]
add rsp, 0x50
pop r14
pop rdi
pop rsi
ret
Function at 0x18001f540
Capabilities:
Create thread
Print debug messages

Disassembly:
cmp edx, 0xffffffff
jne 0x18001f629
push rbx
sub rsp, 0x30
cmp dword [rcx + 0x88], 0
mov rbx, rcx
je 0x18001f624
cmp dword [rcx + 0x8c], 3
jne 0x18001f624
cmp qword [rcx + 0x70], 0
je 0x18001f62a
lea rcx, str.notify_tab_changed_from_OnCommandStateChange
mov qword [rsp + 0x40], rdi
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov ecx, 0x508
call fcn.18004b210
mov rdi, rax
test rax, rax
je 0x18001f61f
xor edx, edx
mov r8d, 0x508
mov rcx, rax
call fcn.180050fe0
mov dword [rdi], 1
mov rcx, qword [rbx + 0x70]
call fcn.18004ac70
mov rbx, rax
test rax, rax
je 0x18001f5d6
lea rcx, [rdi + 4]
mov r8, rax
mov edx, 0x400
call fcn.180049250
xor eax, eax
lea r8, [0x18001ff20]
mov qword [rsp + 0x28], rax
mov r9, rdi
xor edx, edx
mov dword [rsp + 0x20], eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
test rax, rax
je 0x18001f605
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x18001f612
mov edx, 0x508
mov rcx, rdi
call fcn.18004b24c
test rbx, rbx
je 0x18001f61f
mov rcx, rbx
call fcn.18004b24c
mov rdi, qword [rsp + 0x40]
add rsp, 0x30
pop rbx
ret
lea rcx, str.OnCommandStateChange:_m_curUrl_is_NULL
add rsp, 0x30
pop rbx
jmp qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
Function at 0x18001f640
Capabilities:
Create thread
Print debug messages

Disassembly:
mov r11, rsp
push rbp
push rsi
push rdi
sub rsp, 0x60
mov qword [r11 - 0x38], 0xfffffffffffffffe
mov qword [r11 + 0x10], rbx
mov rax, qword [0x1800ba0e0]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov rdi, r8
mov rsi, rdx
mov rbx, rcx
xor ebp, ebp
mov qword [r11 - 0x30], rbp
test r8, r8
je 0x18001f83d
cmp qword [r8 + 8], rbp
je 0x18001f83d
mov rcx, qword [rcx + 0x58]
mov rax, qword [rcx]
lea r8, [r11 - 0x30]
lea rdx, [0x18008f0d0]
call qword [rax]
test eax, eax
js 0x18001f84a
xor eax, eax
mov qword [rsp + 0x38], rax
lea rax, [rbx + 0x78]
mov qword [rsp + 0x30], rax
mov byte [rsp + 0x38], bpl
lea rcx, [rsp + 0x30]
call fcn.18002ad20
nop
cmp qword [rsp + 0x48], rsi
jne 0x18001f7d0
mov rdi, qword [rdi + 8]
mov rcx, qword [rbx + 0x70]
cmp rdi, rcx
je 0x18001f707
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
test rdi, rdi
je 0x18001f703
mov rcx, rdi
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov qword [rbx + 0x70], rax
test rax, rax
jne 0x18001f707
mov ecx, 0x8007000e
call fcn.180004930
int3
mov qword [rbx + 0x70], rbp
mov rcx, qword [rbx + 0x58]
mov rax, qword [rcx]
lea rdx, [rsp + 0x50]
call qword [rax + pe_nt_image_headers64]
test eax, eax
js 0x18001f7cc
mov r8d, 6
lea rdx, str.about:
mov rcx, qword [rbx + 0x70]
call fcn.18005d174
test eax, eax
je 0x18001f7cc
mov ecx, 0x508
call fcn.18004b210
mov rdi, rax
test rax, rax
je 0x18001f7cc
xor edx, edx
mov r8d, 0x508
mov rcx, rax
call fcn.180050fe0
mov dword [rdi], ebp
mov rcx, qword [rbx + 0x70]
call fcn.18004ac70
mov rsi, rax
test rax, rax
je 0x18001f785
lea rcx, [rdi + 4]
mov r8, rax
mov edx, 0x400
call fcn.180049250
mov qword [rsp + 0x28], rbp
mov dword [rsp + 0x20], ebp
mov r9, rdi
lea r8, [0x18001ff20]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
test rax, rax
je 0x18001f7b2
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x18001f7bf
mov edx, 0x508
mov rcx, rdi
call fcn.18004b24c
test rsi, rsi
je 0x18001f7cc
mov rcx, rsi
call fcn.18004b24c
mov qword [rbx + 0x68], rbp
cmp byte [rsp + 0x38], 0
je 0x18001f83b
mov ecx, 0x80000000
mov rax, qword [rsp + 0x30]
lock xadd dword [rax], ecx
bt ecx, 0x1e
jb 0x18001f83b
cmp ecx, 0x80000000
jle 0x18001f83b
mov rax, qword [rsp + 0x30]
lock bts dword [rax], 0x1e
jb 0x18001f83b
mov rdi, qword [rsp + 0x30]
mov rbx, qword [rdi + 8]
test rbx, rbx
jne 0x18001f831
xor edx, edx
xor ecx, ecx
call fcn.180026940
mov rcx, rax
xor eax, eax
lock cmpxchg qword [rdi + 8], rcx
mov rbx, rax
je 0x18001f82e
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x18001f831
mov rbx, rcx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SetEvent]
nop
jmp 0x18001f84a
lea rcx, str.OnDocumentComplete:_url_is_NULL_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x18001f85a
mov rax, qword [rcx]
call qword [rax + select]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.18004b0f0
mov rbx, qword [rsp + 0x88]
add rsp, 0x60
pop rdi
pop rsi
pop rbp
ret