joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140017810
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
push rsi
push rdi
mov eax, reloc.mfc90u.dll_CDaoTableDef::GetValidationRule
call fcn.1403aeb10
sub rsp, rax
mov rax, qword [0x1404e41f8]
xor rax, rsp
mov qword [rsp + 0xff0], rax
mov rax, qword [rdx]
mov rdi, rcx
lea rcx, [rsp + 0x40]
mov qword [rcx], rax
mov rax, qword [rdx + 8]
mov rsi, r8
mov qword [rcx + 8], rax
mov ecx, DDX_FieldText
call sub.mfc90u.dll_new__
lea r9, [rsp + 0x30]
lea rcx, [rsp + 0x40]
mov r8d, 0x3e8
mov rdx, rax
mov dword [rsp + 0x30], 0x3e8
mov rbx, rax
call qword [sym.imp.SETUPAPI.dll_SetupDiClassNameFromGuidW]
cmp dword [rsp + 0x30], 0
jbe 0x1400178c4
mov rcx, rbx
call sub.mfc90u.dll_delete__
mov r11d, dword [rsp + 0x30]
mov rcx, 0xffffffffffffffff
mov eax, 2
mul r11
cmovo rax, rcx
mov rcx, rax
call sub.mfc90u.dll_new__
mov r8d, dword [rsp + 0x30]
lea r9, [rsp + 0x30]
lea rcx, [rsp + 0x40]
mov rdx, rax
mov rbx, rax
call qword [sym.imp.SETUPAPI.dll_SetupDiClassNameFromGuidW]
lea rcx, [rdi + 0x18]
lea r8, [rsp + 0x34]
lea rdx, [rsp + 0x40]
mov dword [rsp + 0x34], 0
call qword [sym.imp.SETUPAPI.dll_SetupDiGetClassImageIndex]
xor r9d, r9d
lea rcx, [rsp + 0x40]
lea r8d, [r9 + 1]
mov edx, 0x2000000
mov qword [rsp + 0x20], 0
call qword [sym.imp.SETUPAPI.dll_SetupDiOpenClassRegKeyExW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x14001792f
lea r8, [0x1403f57dc]
lea rcx, [rsp + 0x50]
mov edx, 0x3e8
call qword [sym.imp.MSVCR90.dll_wcscpy_s]
mov rcx, rbx
call sub.mfc90u.dll_delete__
xor eax, eax
jmp 0x1400179bf
lea r9, [rsp + 0x38]
lea r8, [rsp + 0x820]
xor edx, edx
mov rcx, rax
mov dword [rsp + 0x38], 0x3e8
call qword [sym.imp.ADVAPI32.dll_RegQueryValueW]
test eax, eax
je 0x14001796d
lea r8, [0x1403f57dc]
lea rcx, [rsp + 0x820]
mov edx, 0x3e8
call qword [sym.imp.MSVCR90.dll_wcscpy_s]
lea rcx, [rsp + 0x50]
mov r8, rbx
mov edx, 0x3e8
call qword [sym.imp.MSVCR90.dll_wcscpy_s]
lea rdx, [rsp + 0x50]
mov rcx, rsi
call qword [sym.imp.mfc90u.dll_CTreeCtrl::CTreeCtrl]
lea rcx, [rsi + 8]
lea rdx, [rsp + 0x820]
call qword [sym.imp.mfc90u.dll_CTreeCtrl::CTreeCtrl]
mov r11d, dword [rsp + 0x34]
mov rcx, rdi
mov dword [rsi + 0x10], r11d
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, rbx
call sub.mfc90u.dll_delete__
mov eax, 1
mov rcx, qword [rsp + 0xff0]
xor rcx, rsp
call fcn.1403addc0
add rsp, reloc.mfc90u.dll_CDaoTableDef::GetValidationRule
pop rdi
pop rsi
pop rbx
ret
Function at 0x140018480
Capabilities:
Check http status code
Delete file
Download and write a file
Read data from internet
Receive and write data from server to client
Receive data
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
mov eax, 0x80070
call fcn.1403aeb10
sub rsp, rax
mov rax, qword [0x1404e41f8]
xor rax, rsp
mov qword [rsp + 0x80060], rax
mov rax, qword [str.Accept:___r_n_r_n]
mov rbp, qword [rsp + 0x800c0]
mov r12, rcx
lea rcx, [rsp + 0x80040]
xor r13d, r13d
mov rsi, r9
mov qword [rcx], rax
mov rax, qword [0x1403ff468]
mov rdi, r8
mov qword [rcx + 8], rax
mov rax, qword [0x1403ff470]
mov rbx, rdx
mov qword [rcx + 0x10], rax
mov rax, qword [0x1403ff478]
mov dword [rsp + 0x30], r13d
mov qword [rcx + 0x18], rax
lea rcx, [rsp + 0x80040]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea r8, [rsp + 0x80040]
mov rdx, rdi
mov rcx, rbx
mov r9d, eax
mov qword [rsp + 0x28], r13
mov dword [rsp + 0x20], 0x20000000
call qword [sym.imp.WININET.dll_InternetOpenUrlW]
mov rdi, rax
test rax, rax
jne 0x14001853f
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x140018633
lea rdx, [0x1403ff454]
mov rcx, rsi
call qword [sym.imp.MSVCR90.dll__wfopen]
mov rbx, rax
test rax, rax
je 0x140018633
lea r9, [rsp + 0x30]
lea rdx, [rsp + 0x40]
mov r8d, 0x10000
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x140018621
nop dword [rax]
lea rax, [rsp + 0x38]
lea r9, [rsp + 0x3c]
lea r8, [rsp + 0x34]
mov edx, 0x20000013
mov rcx, rdi
mov dword [rsp + 0x34], r13d
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x3c], 4
mov dword [rsp + 0x38], r13d
call qword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
je 0x1400185c6
cmp dword [rsp + 0x34], reloc.mfc90u.dll_CFile::CFile
je 0x140018665
mov eax, dword [rsp + 0x30]
test eax, eax
je 0x140018679
lea rcx, [rsp + 0x40]
mov r8, rax
mov r9, rbx
mov edx, 1
call qword [sym.imp.MSVCR90.dll_fwrite]
cmp dword [r12 + 0x98], r13d
jne 0x14001865c
mov rax, qword [rbp]
mov edx, dword [rsp + 0x30]
mov rcx, rbp
call qword [rax + 0x48]
lea r9, [rsp + 0x30]
lea rdx, [rsp + 0x40]
mov r8d, 0x10000
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x140018580
mov rcx, rbx
call qword [sym.imp.MSVCR90.dll_fclose]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
xor eax, eax
mov rcx, qword [rsp + 0x80060]
xor rcx, rsp
call fcn.1403addc0
mov rbx, qword [rsp + 0x800a0]
add rsp, 0x80070
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov rcx, rbx
call qword [sym.imp.MSVCR90.dll_fflush]
mov rcx, rbx
call qword [sym.imp.MSVCR90.dll_fclose]
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
jmp 0x14001862a
mov rcx, rbx
call qword [sym.imp.MSVCR90.dll_fflush]
mov rcx, rbx
call qword [sym.imp.MSVCR90.dll_fclose]
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, 1
jmp 0x140018635
Function at 0x140019110
Capabilities:
Create http request

Disassembly:
mov qword [rsp + 0x10], rdx
push rdi
sub rsp, 0x60
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x80], rsi
mov rsi, r8
mov rdi, rdx
call fcn.140023520
cmp dword [rax + 0x1050], 0
je 0x1400192ec
call fcn.140023520
mov rcx, rax
lea rdx, [rsp + 0x48]
call fcn.140001a00
nop
call fcn.140023520
mov rcx, rax
lea rdx, [rsp + 0x38]
call fcn.140001a30
nop
call fcn.140023520
mov rcx, rax
lea rdx, [rsp + 0x30]
call fcn.140001a60
nop
call fcn.140023520
mov ebx, dword [rax + 0x1060]
lea rcx, [rsp + 0x40]
call qword [0x1403f4428]
nop
mov r8d, ebx
lea rdx, [0x1403f6544]
lea rcx, [rsp + 0x40]
call qword [sym.imp.mfc90u.dll_COleServerDoc::XOleObject::EnumAdvise]
lea r8, [rsp + 0x48]
lea rdx, str.HTTPhttp:__
lea rcx, [rsp + 0x88]
call fcn.1400188b0
nop
lea rdx, [0x1403f654c]
lea rcx, [rsp + 0x88]
call qword [sym.imp.mfc90u.dll_COleCurrency::operator_]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x88]
call qword [sym.imp.mfc90u.dll_]
lea rcx, [rsp + 0x88]
call qword [sym.imp.mfc90u.dll_CDumpContext::operator___1]
mov rbx, rax
mov rcx, rdi
call qword [sym.imp.mfc90u.dll_CDumpContext::operator___1]
mov rcx, rax
mov dword [rsp + 0x20], 0
xor r9d, r9d
mov r8, rbx
lea edx, [r9 + 3]
call qword [sym.imp.WININET.dll_InternetOpenW]
mov qword [rsi], rax
lea rcx, [rsp + 0x38]
call qword [sym.imp.mfc90u.dll_CStatusBar::GetThisMessageMap]
test al, al
jne 0x1400192a2
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc90u.dll_CStatusBar::GetThisMessageMap]
test al, al
jne 0x1400192a2
lea rcx, [rsp + 0x38]
call qword [sym.imp.mfc90u.dll_CDocObjectServer::XOleObject::GetExtent]
mov ebx, eax
lea rcx, [rsp + 0x38]
call qword [sym.imp.mfc90u.dll_CDumpContext::operator___1]
mov r8, rax
mov r9d, ebx
mov edx, 0x2b
mov rcx, qword [rsi]
call qword [sym.imp.WININET.dll_InternetSetOptionW]
test eax, eax
je 0x1400192a2
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc90u.dll_CDocObjectServer::XOleObject::GetExtent]
mov ebx, eax
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc90u.dll_CDumpContext::operator___1]
mov r8, rax
mov r9d, ebx
mov edx, 0x2c
mov rcx, qword [rsi]
call qword [sym.imp.WININET.dll_InternetSetOptionW]
nop
lea rcx, [rsp + 0x88]
call qword [sym.imp.mfc90u.dll_CView::CView]
nop
lea rcx, [rsp + 0x40]
call qword [sym.imp.mfc90u.dll_CView::CView]
nop
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc90u.dll_CView::CView]
nop
lea rcx, [rsp + 0x38]
call qword [sym.imp.mfc90u.dll_CView::CView]
nop
lea rcx, [rsp + 0x48]
call qword [sym.imp.mfc90u.dll_CView::CView]
nop
mov rcx, rdi
call qword [sym.imp.mfc90u.dll_CView::CView]
jmp 0x14001931a
mov rcx, rdi
call qword [sym.imp.mfc90u.dll_CDumpContext::operator___1]
mov rcx, rax
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call qword [sym.imp.WININET.dll_InternetOpenW]
mov qword [rsi], rax
mov rcx, rdi
call qword [sym.imp.mfc90u.dll_CView::CView]
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x80]
add rsp, 0x60
pop rdi
ret
Function at 0x140019330
Capabilities:
Create directory

Disassembly:
mov r11, rsp
push rdi
sub rsp, 0x690
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [r11 + 8], rbx
mov qword [r11 + 0x20], rsi
mov rax, qword [0x1404e41f8]
xor rax, rsp
mov qword [rsp + CComboBox::Create], rax
mov rsi, r8
mov rdi, rdx
lea rcx, [r11 - 0x38]
call qword [0x1403f4428]
lea rcx, [rsp + reloc.mfc90u.dll_CPropertySheet::ContinueModal]
call qword [0x1403f4428]
lea rcx, [rsp + 0x670]
call qword [0x1403f4428]
lea rcx, [rsp + 0x678]
call qword [0x1403f4428]
nop
call fcn.140023520
mov rcx, rax
lea rdx, [rsp + 0x20]
call fcn.140016e90
mov rcx, rax
call qword [sym.imp.mfc90u.dll_CDumpContext::operator___1]
mov rcx, rax
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea rcx, [rsp + 0x20]
call qword [sym.imp.mfc90u.dll_CView::CView]
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 3
jne 0x140019449
lea rcx, [rsp + 0x20]
call qword [0x1403f4428]
nop
mov edx, reloc.mfc90u.dll_HashKey_wchar_t_const__
lea rcx, [rsp + 0x20]
call qword [sym.imp.mfc90u.dll_CPreviewDC::GrayStringW]
xor edx, edx
lea rcx, [rsp + 0x20]
call fcn.14003e230
nop
lea rcx, [rsp + 0x20]
call qword [sym.imp.mfc90u.dll_CView::CView]
nop
lea rcx, [rsp + 0x678]
call qword [sym.imp.mfc90u.dll_CView::CView]
lea rcx, [rsp + 0x670]
call qword [sym.imp.mfc90u.dll_CView::CView]
lea rcx, [rsp + reloc.mfc90u.dll_CPropertySheet::ContinueModal]
call qword [sym.imp.mfc90u.dll_CView::CView]
lea rcx, [rsp + reloc.mfc90u.dll_COleServerDoc::XOleInPlaceActiveObject::ContextSensitiveHelp]
call qword [sym.imp.mfc90u.dll_CView::CView]
xor al, al
jmp 0x1400194e1
call fcn.140023520
mov rcx, rax
lea rdx, [rsp + 0x20]
call fcn.140016e90
nop
mov rdx, rax
lea rcx, [rsp + reloc.mfc90u.dll_COleServerDoc::XOleInPlaceActiveObject::ContextSensitiveHelp]
call qword [sym.imp.mfc90u.dll_CToolBarCtrl::CToolBarCtrl]
nop
lea rcx, [rsp + 0x20]
call qword [sym.imp.mfc90u.dll_CView::CView]
mov r11, qword [rsi]
mov rdx, rdi
mov rcx, rsi
call qword [r11 + 0x58]
lea r8, [rsp + 0x30]
mov rdx, rdi
mov rcx, rdi
call fcn.14001e9e0
movzx ebx, al
mov r8, qword [rsi]
mov rdx, rdi
mov rcx, rsi
call qword [r8 + 0x60]
nop
lea rcx, [rsp + 0x678]
call qword [sym.imp.mfc90u.dll_CView::CView]
lea rcx, [rsp + 0x670]
call qword [sym.imp.mfc90u.dll_CView::CView]
lea rcx, [rsp + reloc.mfc90u.dll_CPropertySheet::ContinueModal]
call qword [sym.imp.mfc90u.dll_CView::CView]
lea rcx, [rsp + reloc.mfc90u.dll_COleServerDoc::XOleInPlaceActiveObject::ContextSensitiveHelp]
call qword [sym.imp.mfc90u.dll_CView::CView]
mov al, bl
mov rcx, qword [rsp + 0x680]
xor rcx, rsp
call fcn.1403addc0
lea r11, [rsp + 0x690]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x14001aaf0
Capabilities:
Create directory

Disassembly:
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x40
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x78], rbx
mov qword [rsp + 0x80], rbp
mov r13, r8
mov r12, rdx
mov rbp, rcx
xor r14b, r14b
mov dword [rcx + 0x98], 0
call fcn.140023520
mov rcx, rax
lea rdx, [rsp + 0x70]
call fcn.140016e90
mov rcx, rax
call qword [sym.imp.mfc90u.dll_CDumpContext::operator___1]
mov rcx, rax
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea rcx, [rsp + 0x70]
call qword [sym.imp.mfc90u.dll_CView::CView]
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 3
jne 0x14001aba0
lea rcx, [rsp + 0x70]
call qword [0x1403f4428]
nop
mov edx, reloc.mfc90u.dll_HashKey_wchar_t_const__
lea rcx, [rsp + 0x70]
call qword [sym.imp.mfc90u.dll_CPreviewDC::GrayStringW]
xor edx, edx
lea rcx, [rsp + 0x70]
call fcn.14003e230
nop
lea rcx, [rsp + 0x70]
call qword [sym.imp.mfc90u.dll_CView::CView]
xor al, al
jmp 0x14001acf8
mov rax, qword [r13]
mov edx, dword [r12 + 0x38]
mov rcx, r13
call qword [rax + 0x50]
call fcn.140023520
mov rcx, rax
lea rdx, [rsp + 0x70]
call fcn.140016e90
mov rbx, rax
call fcn.140023520
lea rcx, [rax + 0x1038]
mov rdx, rbx
call qword [sym.imp.mfc90u.dll_CToolBarCtrl::CToolBarCtrl]
nop
lea rcx, [rsp + 0x70]
call qword [sym.imp.mfc90u.dll_CView::CView]
call fcn.140023520
mov rcx, rax
call fcn.140020370
mov rax, qword [r12 + 0x30]
mov rcx, qword [rax]
mov qword [rsp + 0x38], rcx
mov rax, qword [r12]
mov qword [rsp + 0x30], rax
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm0
mov rdi, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x38]
nop dword [rax]
mov rsi, qword [r12 + 0x30]
test rdi, rdi
je 0x14001ac30
cmp rdi, qword [r12]
je 0x14001ac36
call qword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
cmp rbx, rsi
je 0x14001aceb
test rdi, rdi
jne 0x14001ac4f
call qword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
xor r11d, r11d
jmp 0x14001ac52
mov r11, qword [rdi]
cmp rbx, qword [r11 + 0x30]
jne 0x14001ac5e
call qword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
cmp dword [rbp + 0x98], 0
jne 0x14001aceb
mov r8, r13
mov rdx, qword [rbx + 0x20]
mov rcx, rbp
call fcn.140019330
movzx r14d, al
test rdi, rdi
jne 0x14001ac89
call qword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
cmp byte [rbx + 0x29], 0
je 0x14001ac97
call qword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
jmp 0x14001ac20
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x29], 0
jne 0x14001acc2
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x29], 0
jne 0x14001ac20
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x29], 0
je 0x14001acb1
jmp 0x14001ac20
mov rax, qword [rbx + 8]
cmp byte [rax + 0x29], 0
jne 0x14001ace3
nop dword [rax]
cmp rbx, qword [rax + 0x10]
jne 0x14001ace3
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x29], 0
je 0x14001acd0
mov rbx, rax
jmp 0x14001ac20
mov rax, qword [r13]
mov rcx, r13
call qword [rax + 0x68]
mov al, r14b
mov rbx, qword [rsp + 0x78]
mov rbp, qword [rsp + 0x80]
add rsp, 0x40
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret
Function at 0x14001fb70
Capabilities:
Query environment variable

Disassembly:
push rbx
sub rsp, 0x70
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov rax, qword [0x1404e41f8]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rbx, rcx
xor ecx, ecx
mov word [rsp + 0x30], cx
xor eax, eax
mov qword [rsp + 0x32], rax
mov qword [rsp + 0x3a], rax
mov word [rsp + 0x42], ax
mov word [rsp + 0x48], cx
mov qword [rsp + 0x4a], rax
mov qword [rsp + 0x52], rax
mov word [rsp + 0x5a], ax
lea r8d, [rcx + 0xa]
lea rdx, [rsp + 0x48]
lea rcx, str.PROCESSOR_ARCHITEW6432
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
lea rdx, str.amd64
lea rcx, [rsp + 0x48]
call qword [sym.imp.MSVCR90.dll__wcsicmp]
test eax, eax
jne 0x14001fc33
lea rdx, str.amd64
lea rcx, [rsp + 0x20]
call qword [0x1403f4480]
nop
lea rcx, [rbx + 0x1010]
lea rdx, [rsp + 0x20]
call qword [sym.imp.mfc90u.dll_CToolBarCtrl::CToolBarCtrl]
nop
lea rcx, [rsp + 0x20]
call qword [sym.imp.mfc90u.dll_CView::CView]
lea rcx, [rbx + 0x1018]
lea rdx, str._64_bit
call qword [sym.imp.mfc90u.dll_COleCurrency::operator_]
jmp 0x14001fd03
mov r8d, 0xa
lea rdx, [rsp + 0x30]
lea rcx, str.PROCESSOR_ARCHITECTURE
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
lea rdx, str.amd64
lea rcx, [rsp + 0x30]
call qword [sym.imp.MSVCR90.dll__wcsicmp]
test eax, eax
jne 0x14001fca8
lea rdx, str.amd64
lea rcx, [rsp + 0x20]
call qword [0x1403f4480]
nop
lea rcx, [rbx + 0x1010]
lea rdx, [rsp + 0x20]
call qword [sym.imp.mfc90u.dll_CToolBarCtrl::CToolBarCtrl]
nop
lea rcx, [rsp + 0x20]
call qword [sym.imp.mfc90u.dll_CView::CView]
lea rcx, [rbx + 0x1018]
lea rdx, str._64_bit
call qword [sym.imp.mfc90u.dll_COleCurrency::operator_]
jmp 0x14001fd03
lea rdx, [0x1404003e8]
lea rcx, [rsp + 0x30]
call qword [sym.imp.MSVCR90.dll__wcsicmp]
test eax, eax
jne 0x14001fd03
lea rdx, [0x1404003e8]
lea rcx, [rsp + 0x20]
call qword [0x1403f4480]
nop
lea rcx, [rbx + 0x1010]
lea rdx, [rsp + 0x20]
call qword [sym.imp.mfc90u.dll_CToolBarCtrl::CToolBarCtrl]
nop
lea rcx, [rsp + 0x20]
call qword [sym.imp.mfc90u.dll_CView::CView]
lea rcx, [rbx + 0x1018]
lea rdx, str._32_bit
call qword [sym.imp.mfc90u.dll_COleCurrency::operator_]
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1403addc0
add rsp, 0x70
pop rbx
ret
Function at 0x1400201e0
Capabilities:
Delete registry value
Set registry value

Disassembly:
push rdi
mov eax, 0x1060
call fcn.1403aeb10
sub rsp, rax
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rsp + CDaoWorkspace::InitWorkspacesCollection], rbx
mov rax, qword [0x1404e41f8]
xor rax, rsp
mov qword [rsp + 0x1050], rax
mov rdi, rdx
mov rbx, rcx
mov r8d, 0x800
lea rdx, [rsp + 0x50]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x38]
call qword [0x1403f4480]
nop
lea rdx, [rsp + 0x40]
mov rcx, rbx
call fcn.140001a90
lea rdx, str.TRUE
mov rcx, rax
call qword [sym.imp.mfc90u.dll_CLongBinary::classCLongBinary]
test eax, eax
sete bl
lea rcx, [rsp + 0x40]
call qword [sym.imp.mfc90u.dll_CView::CView]
test bl, bl
je 0x1400202e9
mov rcx, rdi
call qword [sym.imp.mfc90u.dll_CDumpContext::operator___1]
mov rdx, rax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov r9d, 2
xor r8d, r8d
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
call sub.mfc90u.dll_AfxFailMaxChars
mov rdi, qword [rax + 0x20]
lea rcx, [rsp + 0x38]
call qword [sym.imp.mfc90u.dll_CDocObjectServer::XOleObject::GetExtent]
mov ebx, eax
add ebx, ebx
lea rcx, [rsp + 0x38]
call qword [sym.imp.mfc90u.dll_CDumpContext::operator___1]
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
mov rdx, rdi
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x140020335
mov rcx, rdi
call qword [sym.imp.mfc90u.dll_CDumpContext::operator___1]
mov rdx, rax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov r9d, 2
xor r8d, r8d
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
call sub.mfc90u.dll_AfxFailMaxChars
mov rdx, qword [rax + 0x20]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
lea rcx, [rsp + 0x38]
call qword [sym.imp.mfc90u.dll_CView::CView]
mov rcx, qword [rsp + 0x1050]
xor rcx, rsp
call fcn.1403addc0
mov rbx, qword [rsp + 0x1080]
add rsp, 0x1060
pop rdi
ret
Function at 0x14002cd70
Capabilities:
Get hostname

Disassembly:
push rdi
sub rsp, 0x290
mov qword [rsp + 0x68], 0xfffffffffffffffe
mov qword [rsp + reloc.mfc90u.dll_CHtmlEditCtrl::CHtmlEditCtrl], rbx
mov rax, qword [0x1404e41f8]
xor rax, rsp
mov qword [rsp + 0x280], rax
mov rdi, rcx
mov dword [rsp + 0x58], delete[]
lea r8, [rsp + 0x58]
lea rdx, [rsp + 0x70]
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_GetComputerNameExW]
lea rcx, [rsp + 0x50]
call qword [0x1403f4428]
nop
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x50]
call qword [sym.imp.mfc90u.dll_COleCurrency::operator_]
lea rdx, [0x1403ffa14]
lea rcx, [rsp + 0x50]
call qword [sym.imp.mfc90u.dll_COleCurrency::operator_]
call fcn.140023520
mov rcx, rax
lea rdx, [rsp + 0x60]
call fcn.14002ba80
nop
mov rdx, rax
lea rcx, [rsp + 0x50]
call qword [sym.imp.mfc90u.dll_]
nop
lea rcx, [rsp + 0x60]
call qword [sym.imp.mfc90u.dll_CView::CView]
lea rdx, [0x1403ffa10]
lea rcx, [rsp + 0x50]
call qword [sym.imp.mfc90u.dll_COleCurrency::operator_]
mov rbx, qword [rdi + 0x290]
call sub.mfc90u.dll_AfxFailMaxChars
mov rcx, qword [rax + 0x100]
mov rdx, rbx
mov rcx, qword [rcx]
call fcn.14002cc50
lea ebx, [rax - 1]
lea rcx, [rsp + 0x50]
call qword [sym.imp.mfc90u.dll_CDumpContext::operator___1]
lea rcx, [rdi + 0x1e0]
mov qword [rsp + 0x48], 0xffffffffffff0002
mov qword [rsp + 0x40], 0xffffffffffff0000
xor edx, edx
mov qword [rsp + 0x38], rdx
mov dword [rsp + 0x30], edx
mov dword [rsp + 0x28], edx
mov dword [rsp + 0x20], ebx
mov r9d, ebx
mov r8, rax
mov edx, 0x23
call sub.mfc90u.dll_COleFrameHook::GetThisInterfaceMap
mov qword [rdi + reloc.mfc90u.dll_CFileDialog::CFileDialog], rax
lea rcx, [rsp + 0x50]
call qword [sym.imp.mfc90u.dll_CView::CView]
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.1403addc0
mov rbx, qword [rsp + reloc.mfc90u.dll_CHtmlEditCtrl::CHtmlEditCtrl]
add rsp, 0x290
pop rdi
ret
Function at 0x140036900
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively

Disassembly:
push rbx
push rbp
push rdi
sub rsp, 0x6b0
mov rax, qword [0x1404e41f8]
xor rax, rsp
mov qword [rsp + reloc.mfc90u.dll_CListCtrl::Create], rax
mov qword [rsp + 0x20], rcx
lea rcx, [rsp + 0x490]
mov rbp, rdx
sub rcx, rdx
movzx eax, word [rdx]
add rdx, 2
mov word [rcx + rdx - 2], ax
test ax, ax
jne 0x140036930
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x490]
repne scasw ax, word [rdi]
mov eax, dword [0x1403ff834]
lea rdx, [rsp + 0x280]
mov dword [rdi - 2], eax
movzx eax, word [0x1403ff838]
mov rcx, rbp
mov word [rdi + 2], ax
sub rdx, rbp
nop word [rax + rax]
movzx eax, word [rcx]
add rcx, 2
mov word [rdx + rcx - 2], ax
test ax, ax
jne 0x140036980
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x280]
repne scasw ax, word [rdi]
mov eax, dword [0x1403ff83c]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x490]
mov dword [rdi - 2], eax
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x1400369ce
xor eax, eax
jmp 0x140036b20
xor ecx, ecx
movzx eax, word [rsp + rcx + 0x280]
add rcx, 2
mov word [rsp + rcx + 0x48e], ax
test ax, ax
jne 0x1400369d0
mov qword [rsp + 0x6e0], rsi
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x140036aee
lea rsi, [rsp + 0x5c]
lea rdi, [0x1403ffb78]
mov ecx, 2
repe cmpsw word [rsi], word [rdi]
je 0x1400369f1
lea rsi, [rsp + 0x5c]
lea rdi, [0x1403ffb70]
mov ecx, 3
repe cmpsw word [rsi], word [rdi]
je 0x1400369f1
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x280]
repne scasw ax, word [rdi]
xor ecx, ecx
lea rdx, [rsp + 0x5c]
nop dword [rax + rax]
movzx eax, word [rdx + rcx]
add rcx, 2
mov word [rdi + rcx - 4], ax
test ax, ax
jne 0x140036a50
test byte [rsp + 0x30], 0x10
je 0x140036ab1
mov rcx, qword [rsp + 0x20]
lea rdx, [rsp + 0x280]
call fcn.140036900
test eax, eax
je 0x140036b0d
lea rcx, [rsp + 0x280]
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
xor edx, edx
movzx eax, word [rsp + rdx + 0x490]
add rdx, 2
mov word [rsp + rdx + 0x27e], ax
test ax, ax
jne 0x140036a93
jmp 0x1400369f1
lea rcx, [rsp + 0x280]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x140036b0d
xor ecx, ecx
nop word [rax + rax]
movzx eax, word [rsp + rcx + 0x490]
add rcx, 2
mov word [rsp + rcx + 0x27e], ax
test ax, ax
jne 0x140036ad0
jmp 0x1400369f1
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
jne 0x140036b0d
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
jmp 0x140036b18
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
mov rsi, qword [rsp + 0x6e0]
mov rcx, qword [rsp + reloc.mfc90u.dll_CListCtrl::Create]
xor rcx, rsp
call fcn.1403addc0
add rsp, 0x6b0
pop rdi
pop rbp
pop rbx
ret