joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400143d0
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov rax, rsp
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x60
mov qword [rbp - 0x40], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r12
mov r15, r8
mov r14, rdx
mov rbx, rcx
mov r12d, 0x10002
cmp byte [rcx + reloc.MFC42.dll_Ordinal_1324], 0
jne 0x1400144f9
cmp qword [rcx + 0x28], 0
je 0x14001443b
test byte [rcx + reloc.MFC42.dll_Ordinal_1320], 0x10
je 0x1400144f9
cmp qword [rcx + 0x558], 0
je 0x14001443b
cmp qword [rcx + 0x530], 0
je 0x1400144f9
mov ecx, 0x38
call qword [sym.imp.MFC42.dll_CReBarCtrl::SetColorScheme]
mov rdi, rax
mov qword [rbp + 0x20], rax
test rax, rax
je 0x1400144b1
mov rcx, qword [rbx + 0x38]
lea rdx, [0x140001e88]
mov qword [rax], rdx
mov dword [rax + 8], 1
lea rdx, [0x140001e50]
mov qword [rax], rdx
and qword [rax + 0x10], 0
mov qword [rax + 0x18], r15
mov qword [rax + 0x20], rcx
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [rdi + 0x28], eax
mov rax, qword [rdi + 0x18]
test rax, rax
je 0x140014493
inc dword [rax + 8]
mov rax, qword [rdi + 0x20]
test rax, rax
je 0x14001449f
inc dword [rax + 8]
lea rax, [0x140001e20]
mov qword [rdi], rax
mov eax, dword [r14]
mov dword [rdi + 0x30], eax
jmp 0x1400144b3
xor edi, edi
test rdi, rdi
jne 0x1400144cc
xor r9d, r9d
xor r8d, r8d
lea edx, [rdi + 1]
mov ecx, 0xc0000017
call qword [sym.imp.KERNEL32.dll_RaiseException]
mov rax, qword [rbx + 0x20]
test rax, rax
je 0x1400144f0
mov rcx, qword [rax + 0x10]
jmp 0x1400144e2
mov rax, rcx
mov rcx, qword [rcx + 0x10]
test rcx, rcx
jne 0x1400144db
mov qword [rax + 0x10], rdi
jmp 0x140014579
mov qword [rbx + 0x20], rdi
jmp 0x140014579
cmp qword [rcx + 0x28], 0
je 0x140014579
mov rax, qword [rcx + 0x38]
lea rdx, [0x140001e88]
mov qword [rbp - 0x38], rdx
mov dword [rbp - 0x30], 1
lea rdx, [0x140001e50]
mov qword [rbp - 0x38], rdx
and qword [rbp - 0x28], 0
mov qword [rbp - 0x20], r8
mov qword [rbp - 0x18], rax
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [rbp - 0x10], eax
mov rax, qword [rbp - 0x20]
test rax, rax
je 0x140014543
inc dword [rax + 8]
mov rax, qword [rbp - 0x18]
test rax, rax
je 0x14001454f
inc dword [rax + 8]
lea rax, [0x140001e20]
mov qword [rbp - 0x38], rax
mov eax, dword [r14]
mov dword [rbp - 8], eax
lea rdx, [rbp - 0x38]
mov rcx, qword [rbx + 0x28]
call fcn.14003c444
mov r12d, eax
lea rcx, [rbp - 0x38]
call fcn.140012aa4
mov rdx, r15
mov rcx, rbx
call fcn.140015b10
mov rdx, qword [rbx + 0x38]
mov rcx, rbx
call fcn.140015c4c
mov rdx, rbx
mov rcx, qword [rbx + 8]
call fcn.14001384c
mov eax, r12d
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x1400147d0
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov rax, rsp
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x60
mov qword [rbp - 0x40], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r12
mov r12, r8
mov r15, rdx
mov rdi, rcx
mov r14d, 0x10002
cmp byte [rcx + reloc.MFC42.dll_Ordinal_1324], 0
jne 0x1400148f6
cmp qword [rcx + 0x28], 0
je 0x14001483b
test byte [rcx + reloc.MFC42.dll_Ordinal_1320], 0x10
je 0x1400148f6
cmp qword [rcx + 0x558], 0
je 0x14001483b
cmp qword [rcx + 0x530], 0
je 0x1400148f6
mov ecx, 0x38
call qword [sym.imp.MFC42.dll_CReBarCtrl::SetColorScheme]
mov rbx, rax
mov qword [rbp + 0x20], rax
test rax, rax
je 0x1400148ae
lea rax, [0x140001e88]
mov qword [rbx], rax
mov dword [rbx + 8], 1
lea rax, [0x140001e50]
mov qword [rbx], rax
and qword [rbx + 0x10], 0
mov qword [rbx + 0x18], r12
and qword [rbx + 0x20], 0
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [rbx + 0x28], eax
mov rax, qword [rbx + 0x18]
test rax, rax
je 0x140014890
inc dword [rax + 8]
mov rax, qword [rbx + 0x20]
test rax, rax
je 0x14001489c
inc dword [rax + 8]
lea rax, [0x140001df0]
mov qword [rbx], rax
mov eax, dword [r15]
mov dword [rbx + 0x30], eax
jmp 0x1400148b0
xor ebx, ebx
test rbx, rbx
jne 0x1400148c9
xor r9d, r9d
xor r8d, r8d
lea edx, [rbx + 1]
mov ecx, 0xc0000017
call qword [sym.imp.KERNEL32.dll_RaiseException]
mov rax, qword [rdi + 0x20]
test rax, rax
je 0x1400148ed
mov rcx, qword [rax + 0x10]
jmp 0x1400148df
mov rax, rcx
mov rcx, qword [rcx + 0x10]
test rcx, rcx
jne 0x1400148d8
mov qword [rax + 0x10], rbx
jmp 0x14001497c
mov qword [rdi + 0x20], rbx
jmp 0x14001497c
cmp qword [rcx + 0x28], 0
je 0x14001497c
lea rax, [0x140001e88]
mov qword [rbp - 0x38], rax
mov dword [rbp - 0x30], 1
lea rax, [0x140001e50]
mov qword [rbp - 0x38], rax
and qword [rbp - 0x28], 0
mov qword [rbp - 0x20], r8
and qword [rbp - 0x18], 0
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [rbp - 0x10], eax
mov rax, qword [rbp - 0x20]
test rax, rax
je 0x14001493d
inc dword [rax + 8]
mov rax, qword [rbp - 0x18]
test rax, rax
je 0x140014949
inc dword [rax + 8]
lea rax, [0x140001df0]
mov qword [rbp - 0x38], rax
mov eax, dword [r15]
mov dword [rbp - 8], eax
mov rcx, qword [rdi + 0x28]
test byte [rcx + 0xb4], 0x80
je 0x140014973
lea rdx, [rbp - 0x38]
call fcn.14003c5a4
mov r14d, eax
lea rcx, [rbp - 0x38]
call fcn.140012aa4
mov rdx, r12
mov rcx, rdi
call fcn.140015b10
mov eax, r14d
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x140015880
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov rax, rsp
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x60
mov qword [rbp - 0x40], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rdi
mov r15, r8
mov r14, rdx
mov rdi, rcx
cmp byte [rcx + reloc.MFC42.dll_Ordinal_1324], 0
jne 0x1400159a3
cmp qword [rcx + 0x28], 0
je 0x1400158e1
test byte [rcx + reloc.MFC42.dll_Ordinal_1320], 0x10
je 0x1400159a3
cmp qword [rcx + 0x558], 0
je 0x1400158e1
cmp qword [rcx + 0x530], 0
je 0x1400159a3
mov ecx, 0x38
call qword [sym.imp.MFC42.dll_CReBarCtrl::SetColorScheme]
mov rbx, rax
mov qword [rbp + 0x20], rax
test rax, rax
je 0x14001595b
lea rax, [0x140001e88]
mov qword [rbx], rax
mov dword [rbx + 8], 1
lea rax, [0x140001e50]
mov qword [rbx], rax
and qword [rbx + 0x10], 0
mov qword [rbx + 0x18], r15
and qword [rbx + 0x20], 0
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [rbx + 0x28], eax
mov rax, qword [rbx + 0x18]
test rax, rax
je 0x140015936
inc dword [rax + 8]
mov rax, qword [rbx + 0x20]
test rax, rax
je 0x140015942
inc dword [rax + 8]
lea rax, [0x140001d78]
mov qword [rbx], rax
mov eax, dword [r14]
mov dword [rbx + 0x30], eax
mov eax, dword [r14 + 4]
mov dword [rbx + 0x34], eax
jmp 0x14001595d
xor ebx, ebx
test rbx, rbx
jne 0x140015976
xor r9d, r9d
xor r8d, r8d
lea edx, [rbx + 1]
mov ecx, 0xc0000017
call qword [sym.imp.KERNEL32.dll_RaiseException]
mov rax, qword [rdi + 0x20]
test rax, rax
je 0x14001599a
mov rcx, qword [rax + 0x10]
jmp 0x14001598c
mov rax, rcx
mov rcx, qword [rcx + 0x10]
test rcx, rcx
jne 0x140015985
mov qword [rax + 0x10], rbx
jmp 0x140015a2e
mov qword [rdi + 0x20], rbx
jmp 0x140015a2e
cmp qword [rcx + 0x28], 0
je 0x140015a2e
lea rax, [0x140001e88]
mov qword [rbp - 0x38], rax
mov dword [rbp - 0x30], 1
lea rax, [0x140001e50]
mov qword [rbp - 0x38], rax
and qword [rbp - 0x28], 0
mov qword [rbp - 0x20], r8
and qword [rbp - 0x18], 0
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [rbp - 0x10], eax
mov rax, qword [rbp - 0x20]
test rax, rax
je 0x1400159ee
inc dword [rax + 8]
mov rax, qword [rbp - 0x18]
test rax, rax
je 0x1400159fa
inc dword [rax + 8]
lea rax, [0x140001d78]
mov qword [rbp - 0x38], rax
mov eax, dword [r14]
mov dword [rbp - 8], eax
mov eax, dword [r14 + 4]
mov dword [rbp - 4], eax
lea rdx, [rbp - 0x38]
mov rcx, qword [rdi + 0x28]
call fcn.14003ce8c
mov ebx, eax
lea rcx, [rbp - 0x38]
call fcn.140012aa4
mov eax, ebx
jmp 0x140015a33
mov eax, 0x10002
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret

Function at 0x14001676c
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
cmp qword [rcx + reloc.MFC42.dll_Ordinal_1544], 0
mov rbx, rcx
je 0x1400167a5
xor edx, edx
mov byte [rcx + reloc.MFC42.dll_Ordinal_1324], 1
call fcn.1400168fc
mov rcx, qword [rbx + reloc.MFC42.dll_Ordinal_1544]
mov edx, 0xdead
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rdx, rcx
mov rcx, qword [rcx + 8]
add rsp, 0x20
pop rbx
jmp fcn.14001384c
Function at 0x140018a60
Capabilities:
Link many functions at runtime

Disassembly:
mov rax, rsp
push rdi
push r14
push r15
sub rsp, 0x50
mov qword [rax - 0x28], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
mov rdi, rcx
lea rdx, [0x140001ff8]
call qword [sym.imp.MFC42.dll_CMemoryException::CMemoryException]
mov rcx, rdi
call fcn.140019110
lea rbp, [rdi + 0x168]
mov rdx, rbp
mov rcx, rdi
call qword [sym.imp.MFC42.dll_CDockBar::RemovePlaceHolder]
lea rcx, [0x140002008]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [rdi + 0x270], rax
xor ebx, ebx
test rax, rax
je 0x140018b7d
lea rdx, [0x140002018]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi + 0x278], rax
test rax, rax
je 0x140018b46
lea rdx, [0x140002028]
mov rcx, qword [rdi + 0x270]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi + 0x280], rax
test rax, rax
je 0x140018b46
lea rdx, [0x140002038]
mov rcx, qword [rdi + 0x270]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi + 0x288], rax
test rax, rax
je 0x140018b46
lea rdx, [0x140002050]
mov rcx, qword [rdi + 0x270]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi + 0x290], rax
test rax, rax
jne 0x140018b62
mov qword [rdi + 0x278], rbx
mov qword [rdi + 0x280], rbx
add al, byte [rax]
add byte [rax - 0x77], cl
lahf
mov byte [rdx], al
add byte [rax], al
Function at 0x140019110
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], r14
push rbp
mov rbp, rsp
sub rsp, 0x40
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp - 0x10], rax
and dword [rcx + 0x418], 0
mov esi, 0x10
mov rbx, rcx
mov r14d, 0x400
lea r8, [rbp - 0x20]
lea edx, [rsi + 0x11]
mov r9d, esi
mov ecx, r14d
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
je 0x14001917e
lea rcx, [rbp - 0x20]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.msvcrt.dll_strtoul]
lea ecx, [rax - 1]
cmp ecx, 1
ja 0x14001917e
mov dword [rbx + COleServerDoc::XOleObject::AddRef], eax
and dword [rbx + 0x41c], 0
lea r8, [rbp - 0x20]
mov r9d, esi
mov edx, 0x22
mov ecx, r14d
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
je 0x1400191bb
lea rcx, [rbp - 0x20]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.msvcrt.dll_strtoul]
lea ecx, [rax - 1]
cmp ecx, 1
ja 0x1400191bb
mov dword [rbx + COleControl::XPerPropertyBrowsing::AddRef], eax
lea r8, [rbp - 0x20]
mov r9d, esi
mov edx, 0x23
mov ecx, r14d
mov byte [rbx + reloc.MFC42.dll_COleControl::XPerPropertyBrowsing::AddRef], 0
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
je 0x1400191f5
lea rcx, [rbp - 0x20]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.msvcrt.dll_strtoul]
cmp eax, 1
jne 0x1400191f5
mov byte [rbx + reloc.MFC42.dll_COleControl::XPerPropertyBrowsing::AddRef], al
lea r8, [rbp - 0x20]
mov r9d, esi
mov edx, 0x25
mov ecx, r14d
mov byte [rbx + COleServerDoc::XPersistStorage::AddRef], 0
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
je 0x14001922f
lea rcx, [rbp - 0x20]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.msvcrt.dll_strtoul]
cmp eax, 1
jne 0x14001922f
mov byte [rbx + COleServerDoc::XPersistStorage::AddRef], al
lea r8, [rbp - 0x20]
mov r9d, esi
mov edx, 0x1d
mov ecx, r14d
mov byte [rbx + COleServerDoc::XPersistStorage::AddRef], 0x2f
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
cmp eax, 2
jne fcn.140019259
mov al, byte [rbp - 0x20]
mov byte [rbx + COleServerDoc::XPersistStorage::AddRef], al
Function at 0x14001995c
Capabilities:
Read file on windows

Disassembly:
mov rax, rsp
push rbp
push rdi
push r14
lea rbp, [rax - 0x138]
sub rsp, 0x220
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x110], rax
mov rbx, rcx
cmp dword [rcx + 0x17c], 4
jne 0x1400199b5
call fcn.140033d74
mov qword [rbx + COleControlSite::XOleClientSite::AddRef], rax
lea rdi, [rcx + 0x1b8]
mov rax, qword [rdi]
xor r14d, r14d
cmp dword [rax - 8], r14d
jne 0x140019a12
mov rax, qword [rcx + 0x180]
cmp dword [rax - 8], r14d
jne 0x140019a12
cmp byte [rcx + 0x1dc], r14b
jne 0x140019a02
cmp qword [rcx + 0x228], r14
jne 0x140019a02
cmp qword [rcx + 0x230], r14
jne 0x140019a02
cmp qword [rcx + 0x238], r14
jne 0x140019a02
cmp qword [rcx + 0x240], r14
je 0x140019a12
lea rdx, [0x140002120]
mov rcx, rdi
call qword [sym.imp.MFC42.dll_AfxDaoInit]
mov rax, qword [rdi]
cmp dword [rax - 8], r14d
jne 0x140019a4a
mov rax, qword [rbx + 0x180]
cmp dword [rax - 8], r14d
jne 0x140019a4a
cmp byte [rbx + 0x1dd], r14b
jne 0x140019a3a
cmp qword [rbx + 0x220], r14
je 0x140019a4a
invalid
lea rdx, [0x140002180]
Function at 0x14001b550
Capabilities:
Accept command line arguments

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
push rdi
push r14
push r15
sub rsp, 0x30
mov qword [rax - 0x28], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
mov esi, 1
mov rax, qword [sym.imp.msvcrt.dll___argc]
mov r8d, dword [rax]
cmp esi, r8d
jge 0x14001b5a9
mov rax, qword [sym.imp.msvcrt.dll___argv]
mov rcx, qword [rax]
add rcx, 8
cmp rdx, qword [rcx]
je 0x14001b5a6
inc esi
add rcx, 8
cmp esi, r8d
jl 0x14001b596
cmp esi, r8d
jg 0x14001b697
call qword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov rdi, rax
test rax, rax
je 0x14001b697
or rbx, 0xffffffffffffffff
inc rbx
cmp byte [rax + rbx], 0
jne 0x14001b5c5
add rbx, rax
mov rax, qword [sym.imp.msvcrt.dll___argc]
mov ecx, dword [rax]
dec ecx
movsxd rbp, ecx
movsxd r14, esi
jmp 0x14001b67a
mov rax, qword [sym.imp.msvcrt.dll___argv]
mov rdx, qword [rax]
mov rdx, qword [rdx + rbp*8]
lea rcx, [rsp + 0x50]
call qword [sym.imp.MFC42.dll_CCtrlView::CCtrlView]
nop
lea r8, [0x140002744]
lea rdx, [0x1400013dc]
lea rcx, [rsp + 0x50]
call qword [sym.imp.MFC42.dll_CPropertySection::SetFormatID]
xor esi, esi
mov rdx, qword [rsp + 0x50]
lea rcx, [rdi + 1]
call qword [sym.imp.msvcrt.dll_strstr]
test rax, rax
je 0x14001b685
cmp rax, rbx
jae 0x14001b64c
mov rsi, rax
lea rcx, [rax + 1]
mov rdx, qword [rsp + 0x50]
call qword [sym.imp.msvcrt.dll_strstr]
test rax, rax
jne 0x14001b630
test rsi, rsi
je 0x14001b685
jmp 0x14001b664
lea rsi, [rbx - 1]
movsx ecx, byte [rsi]
call qword [sym.imp.msvcrt.dll_isspace]
test eax, eax
jne 0x14001b66c
cmp rsi, rdi
mov rbx, rsi
ja 0x14001b653
lea rcx, [rsp + 0x50]
call qword [sym.imp.MFC42.dll_CDocObjectServer::XOleDocument::AddRef]
dec rbp
cmp rbp, r14
jge 0x14001b5e7
jmp 0x14001b692
lea rcx, [rsp + 0x50]
call qword [sym.imp.MFC42.dll_CDocObjectServer::XOleDocument::AddRef]
jmp 0x14001b697
mov rax, rbx
jmp 0x14001b699
xor eax, eax
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x30
pop r15
pop r14
pop rdi
ret
Function at 0x14001c008
Capabilities:
Check if file exists
Get common file path
Get file attributes

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x40
mov qword [rax - 0x18], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov rbx, rcx
and qword [rax - 0x28], 0
lea r9, [0x140002e70]
lea r8, [0x140002e78]
lea rdx, [rax + 8]
lea rcx, [0x1400491b0]
call qword [sym.imp.MFC42.dll_CPalette::GetRuntimeClass]
nop
lea rdi, [rbx + 0xc0]
mov rdx, rax
mov rcx, rdi
call qword [sym.imp.MFC42.dll_AfxDaoCheck]
nop
lea rcx, [rsp + 0x50]
call qword [sym.imp.MFC42.dll_CDocObjectServer::XOleDocument::AddRef]
and qword [rsp + 0x20], 0
lea r9, [0x140002e88]
lea r8, [0x140002e78]
lea rdx, [rsp + 0x50]
lea rcx, [0x1400491b0]
call qword [sym.imp.MFC42.dll_CPalette::GetRuntimeClass]
nop
mov rdx, rax
lea rcx, [rbx + 0xc8]
call qword [sym.imp.MFC42.dll_AfxDaoCheck]
nop
lea rcx, [rsp + 0x50]
call qword [sym.imp.MFC42.dll_CDocObjectServer::XOleDocument::AddRef]
mov rax, qword [rdi]
cmp dword [rax - 8], 0
jne 0x14001c13d
mov edx, 0x105
mov rcx, rdi
call qword [sym.imp.MFC42.dll_CConnectionPoint::XConnPt::GetConnectionInterface]
mov rcx, rax
mov edx, 0x105
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
or edx, 0xffffffff
mov rcx, rdi
call qword [sym.imp.MFC42.dll_CTestCmdUI::SetCheck]
lea rdx, [0x140002e98]
mov rcx, rdi
call qword [sym.imp.MFC42.dll_Ordinal_1289]
mov rcx, qword [rdi]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x14001c0fe
cmp eax, 0x10
jne 0x14001c129
mov edx, 0x800
mov rcx, rdi
call qword [sym.imp.MFC42.dll_CConnectionPoint::XConnPt::GetConnectionInterface]
mov rdx, rax
xor ecx, ecx
mov r8d, 0x800
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
or edx, 0xffffffff
mov rcx, rdi
call qword [sym.imp.MFC42.dll_CTestCmdUI::SetCheck]
lea rdx, [0x140002eb0]
lea rcx, [rbx + 0xc8]
call qword [sym.imp.MFC42.dll_AfxDaoInit]
mov rbx, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
Function at 0x14001f1a4
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
mov rbx, rcx
lea r10, [rcx + 0xdc]
or rax, 0xffffffffffffffff
inc rax
cmp byte [r10 + rax], 0
jne 0x14001f1c6
add rcx, 0xdc
mov ebp, ebx
lea rdx, [0x140002328]
add rcx, rax
sub ebp, ecx
mov qword [rsp + 0x30], rcx
add ebp, 0x8dc
mov r8d, ebp
call fcn.140027e84
lea rsi, [rbx + 0x8dc]
mov rcx, r10
mov rdx, rsi
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x14001f2bb
test byte [rsi], 0x10
lea rdx, [rbx + 0x908]
je 0x14001f280
mov cl, byte [rdx]
cmp cl, byte [0x14000311c]
jne 0x14001f239
mov al, byte [rdx + 1]
cmp al, byte [0x14000311d]
je 0x14001f295
cmp cl, byte [0x140003120]
jne 0x14001f257
mov al, byte [rdx + 1]
cmp al, byte [0x140003121]
jne 0x14001f257
mov al, byte [rdx + 2]
cmp al, byte [0x140003122]
je 0x14001f295
mov rcx, qword [rsp + 0x30]
mov r8d, ebp
call fcn.140027e84
lea rdx, [0x140003124]
mov r8d, ebp
mov rcx, rax
call fcn.140027ebc
mov rcx, rbx
call fcn.14001f1a4
jmp 0x14001f295
mov rcx, qword [rsp + 0x30]
mov r8d, ebp
call fcn.140027e84
mov rcx, rbx
call fcn.14001f2d8
cmp dword [rbx + 0xc8], 0
jne 0x14001f2b2
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x14001f218
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x14001f2d8
Capabilities:
Parse pe header
Read file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0xb0]
sub rsp, 0x1b0
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0xa0], rax
cmp dword [rcx + 0x8f8], 0
mov rsi, rcx
jne 0x14001f322
cmp dword [rcx + 0x8fc], reloc.MFC42.dll_CDialogTemplate::CDialogTemplate
jb 0x14001f400
add rcx, 0x908
mov edx, 0x2e
call qword [sym.imp.msvcrt.dll_strrchr]
inc rax
cmp rax, 1
je 0x14001f400
cmp byte [rax], 0
je 0x14001f400
lea r8, [0x140003128]
lea rcx, [rbp - 0x70]
mov r9, rax
mov edx, 0x106
call fcn.140027db8
add byte [rax - 0x73], cl
xchg r8, rax
Function at 0x140021560
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x850
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + reloc.MFC42.dll_CScrollBar::Create], rax
mov rsi, rcx
cmp byte [rcx + 0xc1], 0
jne 0x1400216e1
add rcx, 0x508
mov r8d, 0x7ff
lea rdx, [rsp + 0x40]
call qword [sym.imp.MFC42.dll_CRuntimeClass::Load]
lea rcx, [rsp + 0x40]
call fcn.140027f54
mov rbx, rax
lea rdx, [rsp + reloc.MFC42.dll_CScrollBar::Create]
sub edx, eax
mov rcx, rax
call fcn.140027fbc
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x1400215e4
test al, 0x10
jne 0x140021601
xor r8d, r8d
lea edx, [r8 + 0x24]
lea rcx, [0x1400031d0]
call qword [sym.imp.MFC42.dll_Ordinal_1506]
cmp eax, 6
jne 0x1400216e1
mov ecx, 0x18
call qword [sym.imp.MFC42.dll_CReBarCtrl::SetColorScheme]
mov qword [rsp + 0x30], rax
mov edi, 1
test rax, rax
je 0x140021639
mov qword [rsp + 0x20], rbx
mov r9, qword [rsi + 0xc8]
mov r8d, edi
xor edx, edx
mov rcx, rax
call fcn.1400347c4
mov rbx, rax
jmp 0x14002163b
xor ebx, ebx
test rbx, rbx
jne 0x140021653
xor r9d, r9d
xor r8d, r8d
mov edx, edi
mov ecx, 0xc0000017
call qword [sym.imp.KERNEL32.dll_RaiseException]
lea rdi, [rsi + 0x408]
mov r9, 0xffffffffffff0002
mov r8, rbx
mov rdx, rdi
mov rcx, rsi
call fcn.140020908
mov rbx, rax
mov r9, rax
mov edx, 0x110a
mov r8d, 4
mov rcx, qword [rsi + 0x448]
call qword [sym.imp.USER32.dll_SendMessageA]
mov r9, rax
xor r8d, r8d
mov edx, COleMessageFilter::OnBusyDialog
mov rcx, qword [rsi + 0x448]
call qword [sym.imp.USER32.dll_SendMessageA]
mov r9, rbx
xor r8d, r8d
mov edx, COleMessageFilter::OnBusyDialog
mov rcx, qword [rsi + 0x448]
call qword [sym.imp.USER32.dll_SendMessageA]
mov r9, rbx
mov edx, 0x110b
mov r8d, 9
mov rcx, qword [rsi + 0x448]
call qword [sym.imp.USER32.dll_SendMessageA]
mov rcx, rdi
call qword [sym.imp.MFC42.dll_CToolTipCtrl::UpdateTipText]
mov rcx, qword [rsp + reloc.MFC42.dll_CScrollBar::Create]
xor rcx, rsp
call fcn.14003f730
lea r11, [rsp + 0x850]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x140022508
Capabilities:
Delete file

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x3d8
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x3c0], rax
and qword [rsp + 0x30], 0
mov r13, qword [rsp + 0x460]
mov r15b, r9b
xor r9d, r9d
mov r14, r8
mov ebp, edx
lea esi, [r9 + 1]
mov edx, 0x40000000
mov dword [rsp + 0x28], 0x8000080
mov r8d, esi
mov r12, rcx
xor dil, dil
mov dword [rsp + 0x20], 2
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x14002257f
xor al, al
jmp 0x140022733
cmp ebp, esi
jne 0x140022596
mov rdx, rax
mov rcx, r14
call fcn.140036fa4
mov dil, al
jmp 0x1400226ad
lea eax, [rbp - 2]
cmp eax, esi
jbe 0x1400225be
cmp ebp, 4
jne 0x140022709
mov r8d, dword [rsp + 0x448]
mov r9b, r15b
mov rdx, r14
mov rcx, rbx
call fcn.14002dc30
jmp 0x14002258e
mov rdi, qword [r14 + 0x58]
test rdi, rdi
jne 0x1400225d6
lea rcx, [rsp + 0x60]
lea rdi, [rsp + 0x60]
call fcn.140029620
lea rdx, [0x140005c00]
mov r8d, 0x54
mov rcx, rbx
call fcn.140028024
test al, al
je 0x1400226aa
lea rdx, [0x140022760]
mov r8, rbx
mov rcx, rdi
call fcn.140029b20
test al, al
je 0x1400226aa
lea rdx, [0x14000303c]
mov r8d, 2
mov rcx, rbx
call fcn.140028024
test al, al
je 0x1400226aa
mov rdx, r14
mov rcx, rbx
call fcn.140022888
test al, al
je 0x1400226aa
mov al, byte [rsp + 0x440]
mov r9d, dword [rsp + 0x450]
cmp ebp, 3
mov byte [rsp + 0x30], al
mov eax, dword [rsp + 0x458]
sete r8b
mov rdx, r14
mov rcx, rbx
mov byte [rsp + 0x28], r15b
mov dword [rsp + 0x20], eax
call fcn.1400306d8
test al, al
je 0x1400226aa
mov r8d, dword [rsp + 0x448]
mov r9b, r15b
mov rdx, r14
mov rcx, rbx
call fcn.14002d10c
test al, al
je 0x1400226aa
lea rdx, [0x140005c60]
mov r8d, 0x54
mov rcx, rbx
call fcn.140028024
test al, al
je 0x1400226aa
mov dil, sil
jmp 0x1400226b2
xor dil, dil
test dil, dil
je 0x140022709
test r13, r13
je 0x140022709
lea eax, [rbp - 1]
cmp eax, 2
ja 0x140022709
and dword [rsp + 0x48], 0
mov rcx, qword [r13 + 0x40]
xor r8d, r8d
lea rax, [0x140033c88]
cmp ebp, esi
lea r9, [rsp + 0x40]
sete r8b
mov edx, 0x44a
mov qword [rsp + 0x40], rbx
add r8, rsi
mov qword [rsp + 0x4c], rax
call qword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [rsp + 0x48]
test ecx, ecx
je 0x140022706
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor sil, sil
and dil, sil
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test dil, dil
jne 0x140022730
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, r12
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov al, dil
mov rcx, qword [rsp + 0x3c0]
xor rcx, rsp
call fcn.14003f730
add rsp, 0x3d8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret