joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14005fb60
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x14007d010]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x14005fc33
cmp byte [rcx + 0x71], 0
je 0x14005fc33
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x14005fc2f
mov rcx, qword [rbx + 0x68]
lea rax, [rsp + 0x30]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x38]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x14005fbf4
sub eax, 1
je 0x14005fbf8
cmp eax, 2
jne 0x14005fc2f
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140061be0
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x14005fc26
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x38]
mov r8, rdi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rdi, rax
jne 0x14005fc2f
cmp byte [rbx + 0x71], 0
sete al
jmp 0x14005fbdc
xor al, al
jmp 0x14005fbdc
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140061be0
add rsp, 0x60
pop rbx
ret

Function at 0x1400611fc
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rdi, rdx
lea r8, [rsp + 0x60]
mov ebx, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
mov r8d, ebx
mov ecx, 0x1300
neg eax
sbb r9d, r9d
and qword [rsp + 0x30], 0
and r9d, dword [rsp + 0x60]
xor edx, edx
and dword [rsp + 0x28], 0
mov dword [rsp + 0x60], r9d
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x140061280
mov r8, qword [rdi]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x140068c40]
cmp byte [rcx + rax], 0
je 0x140061280
dec r8
sub rdx, 1
jne 0x140061266
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x1400628f0
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14006293a
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14006293a
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14006293a
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14006293a
cmp dword [rcx + 0x84], 0xe
jbe 0x14006293a
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14006293c
xor al, al
add rsp, 0x28
ret
Function at 0x1400351b0
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x1400351bd
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x1400351cd
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x1400351b5
lea eax, [rcx + 1]
call r11
adc eax, eax
add ebx, ebx
jne 0x1400351e5
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x1400351d2
sub eax, 3
jb 0x1400351ff
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x140035236
movsxd rbp, eax
lea eax, [rcx + 1]
call r11
adc ecx, ecx
call r11
adc ecx, ecx
jne 0x140035226
mov ecx, eax
add eax, 2
call r11
adc ecx, ecx
add ebx, ebx
jne 0x140035224
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x140035213
cmp rbp, 0xfffffffffffff300
adc ecx, eax
call fcn.140035172
jmp 0x1400351bd
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0xcc00
mov dl, 5
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x140035282
cmp rsi, rcx
jae 0x14003528a
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x140035269
cmp al, 0x8f
ja 0x140035269
cmp byte [rsi - 2], 0xf
je 0x14003526f
sub al, 0xe8
cmp al, 1
ja 0x140035253
cmp rsi, rcx
jae 0x14003528a
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x140035259
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x14003528a
lodsb al, byte [rsi]
jmp 0x140035269
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x33000]
mov eax, dword [rdi]
or eax, eax
je 0x1400352e7
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x351b8]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x140035297
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x1400352e1
mov qword [rbx], rax
add rbx, 8
jmp 0x1400352b7
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0x140035321
cmp al, 0xef
ja 0x140035313
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x1400352f3
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
jmp 0x140035302
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x22f]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x140035375
sub rsp, 0xffffffffffffff80
jmp 0x14000cf40
Function at 0x140612058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.1406121df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x140612089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14061206f
add dl, dl
jne 0x140612096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1406120f6
xor eax, eax
add dl, dl
jne 0x1406120a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1406121ad
add dl, dl
jne 0x1406120b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1406120c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1406120d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1406120dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1406120ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x14061207e
mov eax, 1
add dl, dl
jne 0x140612106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140612113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1406120fb
sub eax, ebx
mov ebx, 1
jne 0x14061214c
mov ecx, 1
add dl, dl
jne 0x14061212e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14061213b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140612123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14061207e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x140612168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140612175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14061215d
cmp eax, 0x7d00
jae 0x14061219b
cmp eax, 0x500
jb 0x140612196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14061207e
cmp eax, 0x7f
ja 0x14061219e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14061207e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1406121d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x14061207e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x14000bd40
Capabilities:
Delete file

Disassembly:
push rdi
sub rsp, 0xa0
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rsp + 0xc0], rbx
mov rax, qword [0x14008a020]
xor rax, rsp
mov qword [rsp + 0x90], rax
mov rdi, rdx
mov rbx, rcx
mov byte [rsp + 0x20], 0
lea rcx, [rsp + 0x30]
call sub.acdb18.dll_public:_void___cdecl_AdXREFString::constructor_void____ptr64
nop
lea rcx, [rsp + 0x30]
call fcn.14000feb0
test al, al
jne 0x14000bda5
mov byte [rsp + 0x22], al
lea rdx, [0x1400817c0]
lea rcx, [rsp + 0x22]
call sub.MSVCR90.dll__CxxThrowException
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.14000be40
test al, al
jne 0x14000bdcb
mov byte [rsp + 0x23], al
lea rdx, [0x1400817c0]
lea rcx, [rsp + 0x23]
call sub.MSVCR90.dll__CxxThrowException
mov byte [rsp + 0x20], 1
mov r8, rdi
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.14000f760
movzx ebx, al
jmp 0x14000bdf0
lea rcx, [rsp + 0x30]
call sub.acdb18.dll_public:_wchar_t_const____ptr64___cdecl_AdXREFString::operator_wchar_t_const____ptr64_void_const___ptr64
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x14000be09
lea rcx, [rsp + 0x30]
call sub.acdb18.dll_public_virtual:_void___cdecl_AdXREFString::destructor_void____ptr64
mov al, bl
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.14004f900
mov rbx, qword [rsp + 0xc0]
add rsp, 0xa0
pop rdi
ret

Function at 0x14000f6a0
Capabilities:
Get geographical location

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x90
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov rsi, rcx
xor r9d, r9d
lea r8, [rax + 0x10]
lea edx, [r9 + 0xc]
mov ecx, CDHtmlElementEventSink::AddRef
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov ebx, eax
lea r8d, [rax + 1]
movsxd rcx, r8d
add rcx, rcx
call qword [sym.imp.MSVCR90.dll_malloc]
mov rdi, rax
mov r9d, ebx
mov r8, rax
mov edx, 0xc
mov ecx, CDHtmlElementEventSink::AddRef
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x14000f711
mov rcx, rdi
call qword [sym.imp.MSVCR90.dll_free]
xor al, al
jmp 0x14000f746
mov rdx, rdi
lea rcx, [rsp + 0x28]
call sub.acdb18.dll_public:_void___cdecl_AdXREFString::constructor_wchar_t_const____ptr64____ptr64
nop
mov rax, qword [rsi]
lea rdx, [rsp + 0x28]
mov rcx, rsi
call qword [rax + 0xe0]
nop
lea rcx, [rsp + 0x28]
call sub.acdb18.dll_public_virtual:_void___cdecl_AdXREFString::destructor_void____ptr64
mov rcx, rdi
call qword [sym.imp.MSVCR90.dll_free]
mov al, 1
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x14000feb0
Capabilities:
Get common file path

Disassembly:
push rbx
sub rsp, 0x460
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov rax, qword [0x14008a020]
xor rax, rsp
mov qword [rsp + AfxFormatString1], rax
mov rbx, rcx
mov byte [rsp + 0x20], 0
lea rdx, [rsp + 0x30]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x14000ff29
lea r9, [rsp + 0x240]
xor r8d, r8d
lea rdx, [0x140060450]
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
je 0x14000ff29
lea rdx, [rsp + 0x240]
mov rcx, rbx
call sub.acdb18.dll_public:_class_AdXREFString_const____ptr64___cdecl_AdXREFString::operator_wchar_t_const____ptr64____ptr64
mov al, 1
mov byte [rsp + 0x20], al
jmp 0x14000ff45
mov byte [rsp + 0x21], 0
lea rdx, [0x1400817c0]
lea rcx, [rsp + 0x21]
call sub.MSVCR90.dll__CxxThrowException
nop
movzx eax, byte [rsp + 0x20]
mov rcx, qword [rsp + 0x450]
xor rcx, rsp
call fcn.14004f900
add rsp, 0x460
pop rbx
ret

Function at 0x140019e00
Capabilities:
Query or enumerate registry value

Disassembly:
push rdi
sub rsp, 0x60
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x78], rbp
mov qword [rsp + 0x80], rsi
mov rbp, r9
mov rdx, r8
mov rdi, rcx
xor ebx, ebx
mov dword [rsp + 0x44], ebx
mov rcx, 0xffffffff80000001
mov r8d, 0x20019
call fcn.140019be0
mov rsi, rax
test rax, rax
je 0x140019f16
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rbx
lea rax, [rsp + 0x44]
mov qword [rsp + 0x20], rax
mov r9d, 0xffff
mov r8, rbp
xor edx, edx
mov rcx, rsi
call qword [sym.imp.SHLWAPI.dll_SHRegGetValueW]
mov ebx, eax
lea rcx, [rsp + 0x48]
call qword [0x14005d7f8]
nop
test ebx, ebx
jne 0x140019f01
mov edx, dword [rsp + 0x40]
shr edx, 1
lea rcx, [rsp + 0x48]
call qword [sym.imp.mfc90u.dll_CStdioFile::Flush]
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x44]
mov qword [rsp + 0x20], rax
mov r9d, 0xffff
mov r8, rbp
xor edx, edx
mov rcx, rsi
call qword [sym.imp.SHLWAPI.dll_SHRegGetValueW]
or edx, 0xffffffff
lea rcx, [rsp + 0x48]
call qword [sym.imp.mfc90u.dll_CDataPathProperty::Open]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rdx, [rsp + 0x48]
mov rcx, rdi
call qword [0x14005d620]
nop
lea rcx, [rsp + 0x48]
call qword [sym.imp.mfc90u.dll_CView::CView]
mov rax, rdi
jmp 0x140019f29
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
lea rcx, [rsp + 0x48]
call qword [sym.imp.mfc90u.dll_CView::CView]
lea rdx, [0x14005eb00]
mov rcx, rdi
call qword [0x14005d800]
mov rax, rdi
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x80]
add rsp, 0x60
pop rdi
ret
Function at 0x140019f50
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x50
mov rsi, r8
mov rcx, 0xffffffff80000001
mov r8d, 0x20019
mov edi, r9d
call fcn.140019be0
mov rbx, rax
test rax, rax
je 0x140019fd1
lea rax, [rsp + 0x40]
mov r9d, 0xffff
mov r8, rsi
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x44]
xor edx, edx
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x48]
mov rcx, rbx
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x40], 4
call qword [sym.imp.SHLWAPI.dll_SHRegGetValueW]
test eax, eax
jne 0x140019fd1
mov eax, dword [rsp + 0x44]
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
mov eax, edi
add rsp, 0x50
pop rdi
ret
Function at 0x14001a2a0
Capabilities:
Set registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov dword [r11 + 0x20], r9d
push rdi
sub rsp, 0x60
lea rax, [r11 - 0x18]
xor edi, edi
mov rbx, r8
mov qword [r11 - 0x28], rax
lea rax, [r11 - 0x10]
xor r9d, r9d
mov qword [r11 - 0x30], rax
mov qword [r11 - 0x38], rdi
xor r8d, r8d
mov rcx, 0xffffffff80000001
mov dword [rsp + 0x28], 0x20006
mov dword [rsp + 0x20], edi
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x14001a2f9
xor eax, eax
mov rbx, qword [rsp + 0x70]
add rsp, 0x60
pop rdi
ret
mov rcx, qword [rsp + 0x58]
lea rax, [rsp + 0x88]
mov r9d, 4
xor r8d, r8d
mov rdx, rbx
mov dword [rsp + 0x28], 4
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x58]
mov ebx, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
mov rbx, qword [rsp + 0x70]
sete dil
mov eax, edi
add rsp, 0x60
pop rdi
ret

Function at 0x14001a7c0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x60
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov qword [rsp + 0x80], rbx
mov rsi, rdx
xor edi, edi
lea rbp, [0x14008dd50]
cmp word [0x14008dd50], di
jne 0x14001a8ee
lea rcx, [rsp + 0x40]
call qword [0x14005d7f8]
nop
mov dword [rsp + 0x90], 0x208
call sub.mfc90u.dll_AfxFailMaxChars
mov rbx, qword [rax + 8]
add rbx, 0x1c8
mov rax, qword [rbx]
cmp dword [rax - 0x10], edi
jne 0x14001a849
mov edx, 0x200
mov rcx, rbx
call qword [sym.imp.mfc90u.dll_ATL::CStringT_char_class_StrTraitMFC_DLL_char_class_ATL::ChTraitsCRT_char_____::Format]
mov edx, 0x200
mov rcx, rax
call qword [sym.imp.UserData.dll_unsigned_int___cdecl_GetProductRegistryRootKey_wchar_t____ptr64__unsigned_long_int_]
or edx, 0xffffffff
mov rcx, rbx
call qword [sym.imp.mfc90u.dll_CDataPathProperty::Open]
mov rdx, rbx
lea rcx, [rsp + 0x40]
call qword [sym.imp.mfc90u.dll_CToolBarCtrl::CToolBarCtrl]
lea r11, [rsp + 0x48]
mov qword [rsp + 0x20], r11
mov r9d, 0x20019
xor r8d, r8d
mov rdx, qword [rsp + 0x40]
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x14001a892
lea rcx, [rsp + 0x40]
call qword [sym.imp.mfc90u.dll_CView::CView]
mov eax, 0x16e
jmp 0x14001a8f3
lea rax, [rsp + 0x90]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rbp
lea rax, [rsp + 0x98]
mov qword [rsp + 0x20], rax
mov r9d, 0xffff
lea r8, str.RoamableRootFolder
xor edx, edx
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.SHLWAPI.dll_SHRegGetValueW]
mov r11d, 0x16e
test eax, eax
cmovne edi, r11d
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
lea rcx, [rsp + 0x40]
call qword [sym.imp.mfc90u.dll_CView::CView]
mov qword [rsi], rbp
mov eax, edi
mov rbx, qword [rsp + 0x80]
add rsp, 0x60
pop rdi
pop rsi
pop rbp
ret
Function at 0x14001a910
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x60
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov qword [rsp + 0x80], rbx
mov rsi, rdx
xor edi, edi
lea rbp, [0x14008df60]
cmp word [0x14008df60], di
jne 0x14001aa3e
lea rcx, [rsp + 0x40]
call qword [0x14005d7f8]
nop
mov dword [rsp + 0x90], 0x208
call sub.mfc90u.dll_AfxFailMaxChars
mov rbx, qword [rax + 8]
add rbx, 0x1c8
mov rax, qword [rbx]
cmp dword [rax - 0x10], edi
jne 0x14001a999
mov edx, 0x200
mov rcx, rbx
call qword [sym.imp.mfc90u.dll_ATL::CStringT_char_class_StrTraitMFC_DLL_char_class_ATL::ChTraitsCRT_char_____::Format]
mov edx, 0x200
mov rcx, rax
call qword [sym.imp.UserData.dll_unsigned_int___cdecl_GetProductRegistryRootKey_wchar_t____ptr64__unsigned_long_int_]
or edx, 0xffffffff
mov rcx, rbx
call qword [sym.imp.mfc90u.dll_CDataPathProperty::Open]
mov rdx, rbx
lea rcx, [rsp + 0x40]
call qword [sym.imp.mfc90u.dll_CToolBarCtrl::CToolBarCtrl]
lea r11, [rsp + 0x48]
mov qword [rsp + 0x20], r11
mov r9d, 0x20019
xor r8d, r8d
mov rdx, qword [rsp + 0x40]
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x14001a9e2
lea rcx, [rsp + 0x40]
call qword [sym.imp.mfc90u.dll_CView::CView]
mov eax, 0x16e
jmp 0x14001aa43
lea rax, [rsp + 0x90]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rbp
lea rax, [rsp + 0x98]
mov qword [rsp + 0x20], rax
mov r9d, 0xffff
lea r8, str.LocalRootFolder
xor edx, edx
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.SHLWAPI.dll_SHRegGetValueW]
mov r11d, 0x16e
test eax, eax
cmovne edi, r11d
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
lea rcx, [rsp + 0x40]
call qword [sym.imp.mfc90u.dll_CView::CView]
mov qword [rsi], rbp
mov eax, edi
mov rbx, qword [rsp + 0x80]
add rsp, 0x60
pop rdi
pop rsi
pop rbp
ret
Function at 0x14002d670
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 8], rcx
push rbx
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov rbx, rcx
lea rax, vtable.AdRmFileBackup.0
mov qword [rcx], rax
cmp byte [rcx + 0xc8], 0
jne 0x14002d6ac
add rcx, 0x68
call sub.acdb18.dll_public:_wchar_t_const____ptr64___cdecl_AdXREFString::operator_wchar_t_const____ptr64_void_const___ptr64
mov rcx, rax
call qword [sym.imp.MSVCR90.dll__wremove]
nop
lea rcx, [rbx + 0x68]
call sub.acdb18.dll_public_virtual:_void___cdecl_AdXREFString::destructor_void____ptr64
nop
lea rcx, [rbx + 8]
add rsp, 0x30
pop rbx
jmp sub.acdb18.dll_public_virtual:_void___cdecl_AdXREFString::destructor_void____ptr64

Function at 0x14002d920
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x48], rbx
mov edi, edx
mov rbx, rcx
lea rax, vtable.AdRmFileBackup.0
mov qword [rcx], rax
cmp byte [rcx + 0xc8], 0
jne 0x14002d963
add rcx, 0x68
call sub.acdb18.dll_public:_wchar_t_const____ptr64___cdecl_AdXREFString::operator_wchar_t_const____ptr64_void_const___ptr64
mov rcx, rax
call qword [sym.imp.MSVCR90.dll__wremove]
nop
lea rcx, [rbx + 0x68]
call sub.acdb18.dll_public_virtual:_void___cdecl_AdXREFString::destructor_void____ptr64
nop
lea rcx, [rbx + 8]
call sub.acdb18.dll_public_virtual:_void___cdecl_AdXREFString::destructor_void____ptr64
test dil, 1
je 0x14002d989
mov rcx, rbx
call sub.mfc90u.dll_CStatusBar::CStatusBar
mov rax, rbx
jmp 0x14002d98c
mov rax, rbx
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
Function at 0x140038cb0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
mov rbx, r8
mov rdi, rdx
mov rsi, rcx
mov qword [r8], 0
test rdx, rdx
je 0x140038d74
mov rcx, qword [rcx + 8]
lea rax, [rsp + 0x48]
lea r9, [rsp + 0x50]
mov qword [rsp + 0x28], rax
xor r8d, r8d
mov qword [rsp + 0x20], 0
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140038d74
cmp dword [rsp + 0x50], 1
jne 0x140038d74
mov ecx, dword [rsp + 0x48]
mov eax, 2
shr rcx, 1
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call sub.mfc90u.dll_new__
lea rcx, [rsp + 0x48]
xor r9d, r9d
mov qword [rsp + 0x28], rcx
mov qword [rbx], rax
mov rcx, qword [rsi + 8]
xor r8d, r8d
mov rdx, rdi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140038d65
mov al, 1
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
mov rcx, qword [rbx]
call sub.mfc90u.dll_CStatusBar::CStatusBar
mov qword [rbx], 0
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x58]
xor al, al
add rsp, 0x30
pop rdi
ret
Function at 0x14003a0b0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
push rsi
push rdi
mov eax, 0x4070
call fcn.1400503f0
sub rsp, rax
mov rax, qword [0x14008a020]
xor rax, rsp
mov qword [rsp + 0x4060], rax
mov rbx, rdx
mov rdi, rcx
lea rdx, [0x14005eb00]
mov rcx, r8
mov rsi, r8
call sub.acdb18.dll_public:_class_AdXREFString_const____ptr64___cdecl_AdXREFString::operator_wchar_t_const____ptr64____ptr64
mov rcx, rbx
mov dword [rsp + 0x40], 0x4008
call sub.acdb18.dll_public:_wchar_t_const____ptr64___cdecl_AdXREFString::operator_wchar_t_const____ptr64_void_const___ptr64
lea rcx, [rsp + 0x40]
mov r9d, 0xffff
mov qword [rsp + 0x30], rcx
lea rcx, [rsp + 0x50]
mov r8, rax
mov qword [rsp + 0x28], rcx
lea rcx, [rsp + 0x44]
xor edx, edx
mov qword [rsp + 0x20], rcx
mov rcx, rdi
call qword [sym.imp.SHLWAPI.dll_SHRegGetValueW]
test eax, eax
je 0x14003a135
xor al, al
jmp 0x14003a144
lea rdx, [rsp + 0x50]
mov rcx, rsi
call sub.acdb18.dll_public:_class_AdXREFString_const____ptr64___cdecl_AdXREFString::operator_wchar_t_const____ptr64____ptr64
mov al, 1
mov rcx, qword [rsp + 0x4060]
xor rcx, rsp
call fcn.14004f900
add rsp, 0x4070
pop rdi
pop rsi
pop rbx
ret

Function at 0x14003a160
Capabilities:
Query or enumerate registry key

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x8e0
mov qword [rsp + 0x68], 0xfffffffffffffffe
mov qword [rsp + ATL::CSimpleStringT<wchar_t,1>::Empty], rbx
mov rax, qword [0x14008a020]
xor rax, rsp
mov qword [rsp + 0x8d0], rax
mov rdi, rdx
mov rsi, rcx
mov rcx, rdx
call fcn.1400264f0
xor ebp, ebp
mov dword [rsp + 0x60], ebp
mov qword [rsp + 0x58], rbp
mov qword [rsp + 0x50], rbp
mov qword [rsp + 0x48], rbp
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x38], rbp
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x28], rbp
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
je 0x14003a1e8
xor al, al
jmp 0x14003a263
mov ebx, ebp
cmp dword [rsp + 0x60], ebx
jle 0x14003a261
mov dword [rsp + 0x64], CDHtmlElementEventSink::AddRef
mov qword [rsp + 0x38], rbp
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], rbp
lea r9, [rsp + 0x64]
lea r8, [rsp + 0xd0]
mov edx, ebx
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x14003a25d
lea rdx, [rsp + 0xd0]
lea rcx, [rsp + 0x70]
call sub.acdb18.dll_public:_void___cdecl_AdXREFString::constructor_wchar_t_const____ptr64____ptr64
nop
lea rdx, [rsp + 0x70]
mov rcx, rdi
call fcn.140016060
nop
lea rcx, [rsp + 0x70]
call sub.acdb18.dll_public_virtual:_void___cdecl_AdXREFString::destructor_void____ptr64
inc ebx
cmp ebx, dword [rsp + 0x60]
jl 0x14003a1f0
jmp 0x14003a261
xor al, al
jmp 0x14003a263
mov al, 1
mov rcx, qword [rsp + 0x8d0]
xor rcx, rsp
call fcn.14004f900
mov rbx, qword [rsp + 0x910]
add rsp, 0x8e0
pop rdi
pop rsi
pop rbp
ret