joyce8/EMBER2024-capa huggingface dataset:
Function at 0x424b08
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x46a0bb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x60
push esi
mov esi, ecx
push str._mmjsdw.reloadExtensions___
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT]
lea ecx, [esp + 8]
mov dword [esp + 0x6c], 0
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_1]
mov eax, dword [esi]
lea ecx, [esp + 8]
push ecx
mov ecx, esi
mov byte [esp + 0x70], 1
call dword [eax + 0x7c]
lea ecx, [esp + 4]
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_1]
lea edx, [esi + 0x18]
test edx, edx
mov byte [esp + 0x6c], 2
je 0x424b58
add esi, 0x1c
jmp 0x424b5a
xor esi, esi
push edi
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator_class_ATL::CSimpleStringT_]
push eax
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator_class_ATL::CSimpleStringT_]
push eax
mov ecx, esi
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator_class_ATL::CSimpleStringT_]
push eax
lea eax, [esp + 0x14]
push str._s_s__s
push eax
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::Format]
xor eax, eax
mov ecx, 0x11
lea edi, [esp + 0x38]
rep stosd dword es:[edi], eax
xor ecx, ecx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], ecx
add esp, 0x14
lea ecx, [esp + 8]
mov dword [esp + 0x24], 0x44
call dword [sym.imp.MFC71U.DLL_CHtmlView::GetLeft]
push eax
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC71U.DLL_CRecordset::GetBoundParamIndex]
lea edx, [esp + 0x14]
push edx
lea ecx, [esp + 0x28]
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
pop edi
je 0x424c01
mov edx, dword [esp + 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
call esi
mov eax, dword [esp + 0x14]
push eax
call esi
lea ecx, [esp + 4]
call dword [sym.imp.MFC71U.DLL_CHtmlView::GetLeft]
push eax
lea ecx, [esp + 8]
call dword [sym.imp.MFC71U.DLL_CDC::ReleaseAttribDC]
lea ecx, [esp + 4]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
lea ecx, [esp + 8]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
mov ecx, dword [esp + 0x64]
pop esi
mov dword fs:[0], ecx
add esp, 0x6c
ret
Function at 0x42b340
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x46b0d8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
mov dword [esi], vtable.CMacrExtensionXMLParser.0
lea edi, [esi + 0x30]
mov ecx, edi
mov dword [esp + 0x14], 0
call fcn.0040a620
mov eax, dword [edi + 4]
push eax
call sub.MFC71U.DLL_CNoTrackObject::operator_new
add esp, 4
mov ecx, esi
mov dword [edi + 4], 0
mov dword [esp + 0x14], 0xffffffff
call fcn.0044f770
mov ecx, dword [esp + 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x430730
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x46b0d8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.0044fd30
mov eax, dword [esp + 0x20]
xor ebx, ebx
lea edi, [esi + 0x30]
mov ecx, edi
mov dword [esp + 0x18], ebx
mov dword [esi], vtable.CMacrExtensionXMLParser.0
mov byte [esi + 0x20], bl
mov byte [esi + 0x21], bl
mov byte [esi + 0x22], bl
mov byte [esi + 0x23], bl
mov byte [esi + 0x24], bl
mov dword [esi + 0x28], eax
mov byte [esi + 0x2c], bl
call fcn.00408870
mov ecx, dword [esp + 0x10]
mov dword [edi + 4], eax
mov dword [edi + 8], ebx
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 4
Function at 0x445d70
Capabilities:
Extract resource via kernel32 functions

Disassembly:
movzx eax, word [esp + 8]
push esi
mov esi, dword [esp + 8]
push edi
push 2
push eax
push esi
xor edi, edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x445e06
push ebx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
push edi
mov esi, eax
call dword [sym.imp.USER32.dll_GetDC]
lea ecx, [esp + 0x14]
push ecx
push esi
mov edi, eax
call fcn.004458b0
mov edx, dword [esp + 0x20]
add esp, 8
test eax, eax
mov dword [edx], eax
je 0x445dd4
mov ecx, dword [esp + 0x1c]
push ecx
push eax
push edi
call dword [sym.imp.GDI32.dll_SelectPalette]
push edi
call dword [sym.imp.GDI32.dll_RealizePalette]
movzx edx, word [esp + 0x14]
mov eax, dword [esi]
push 0
push esi
lea ecx, [eax + edx*4]
add ecx, esi
push ecx
push 4
push esi
push edi
call dword [sym.imp.GDI32.dll_CreateDIBitmap]
push edi
push 0
mov esi, eax
call dword [sym.imp.USER32.dll_ReleaseDC]
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop ebx
pop edi
mov eax, esi
pop esi
ret
mov eax, edi
pop edi
pop esi
ret

Function at 0x447ce0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x46d1c7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [str.xyz.xyzxyz.xyz]
push esi
push edi
push 0
push 0
push eax
push 0x800004
push 0x4799c0
push 0
mov esi, ecx
push 0
mov dword [esp + 0x24], esi
call sub.MFC71U.DLL_CFile::CFile
mov cl, byte [esp + 0x24]
mov byte [esi + 0x30c], cl
lea ecx, [esi + 0x310]
mov dword [esp + 0x14], 0
mov dword [esi], vtable.CMacrFolderDlg.0
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_1]
mov ecx, esi
mov byte [esp + 0x14], 1
call sub.MFC71U.DLL_CHtmlView::GetOffline
mov edx, dword [esp + 0x1c]
mov ecx, esi
mov dword [eax + 0x30], edx
call sub.MFC71U.DLL_CHtmlView::GetOffline
mov ecx, dword [esp + 0x20]
mov dword [eax + 0x2c], ecx
call sub.MFC71U.DLL_AfxGetModuleShortFileName
mov edi, dword [eax + 8]
mov ecx, esi
call sub.MFC71U.DLL_CHtmlView::GetOffline
mov ecx, dword [esp + 0xc]
mov dword [eax + 8], edi
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 0x10
Function at 0x449030
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x46d33b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x220
mov eax, dword [0x48e070]
mov dword [esp + 0x21c], eax
lea eax, [esp + 8]
push eax
push 0x20019
push 0
push str.SoftwareMacromediaCommon_Files
push 0x80000002
mov word [esp + 0x24], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4490ac
lea ecx, [esp + 0xc]
push ecx
mov ecx, dword [esp + 0xc]
lea edx, [esp + 0x14]
push edx
mov word [esp + 0x18], ax
lea eax, [esp + 8]
push eax
push 0
push str.gemstone.dll
push ecx
mov dword [esp + 0x24], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea edx, [esp + 0x10]
push edx
call dword [sym.imp.MSVCR71.dll_wcslen]
add esp, 4
test eax, eax
jbe 0x449122
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 8]
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT]
mov dword [esp], vtable.CMacrPath.0
push 0x479cfc
lea ecx, [esp + 4]
mov dword [esp + 0x22c], 0
call fcn.00446590
push 0
lea ecx, [esp + 8]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator_class_ATL::CSimpleStringT_]
push eax
mov ecx, 0x48e728
call fcn.004509d0
neg eax
sbb al, al
inc al
lea ecx, [esp]
mov byte [0x48e720], al
mov dword [esp + 0x228], 0xffffffff
call fcn.004462f0
mov ecx, dword [esp + 0x220]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x21c]
call fcn.004664a7
add esp, 0x22c
ret
Function at 0x449720
Capabilities:
Get file version info

Disassembly:
push 0xffffffffffffffff
push 0x46d39c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x21c
mov eax, dword [0x48e070]
push ebx
push ebp
mov ebp, dword [esp + 0x234]
mov dword [esp + 0x220], eax
push esi
lea eax, [esp + 0x20]
push eax
xor bl, bl
push ebp
mov byte [esp + 0x17], bl
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
test esi, esi
jbe 0x449895
push edi
push esi
call dword [sym.imp.MSVCR71.dll_malloc]
mov edi, eax
add esp, 4
test edi, edi
je 0x44986e
push edi
push esi
push 0
push ebp
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x449864
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x20]
push edx
push str.VarFileInfoTranslation
push edi
call sub.VERSION.dll_VerQueryValueW
mov ebp, dword [esp + 0x18]
shr ebp, 2
xor esi, esi
test ebp, ebp
jle 0x449864
mov ebx, dword [sym.imp.USER32.dll_wsprintfW]
nop
mov eax, dword [esp + 0x1c]
movzx ecx, word [eax + esi*4 + 2]
movzx edx, word [eax + esi*4]
push ecx
push edx
lea eax, [esp + 0x30]
push str.StringFileInfo_04x_04xProductVersion
push eax
call ebx
add esp, 0x10
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x30]
push eax
push edi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
jne 0x4497fe
inc esi
cmp esi, ebp
jl 0x4497c0
jmp 0x449860
mov ecx, dword [esp + 0x20]
push ecx
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT]
push 0x2e
push 0x2c
lea ecx, [esp + 0x1c]
mov dword [esp + 0x23c], 0
call dword [sym.imp.MFC71U.DLL_COleControl::ReparentControlWindow]
push 0x46eadc
push 0x46ffc8
lea ecx, [esp + 0x1c]
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::Replace]
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator_class_ATL::CSimpleStringT_]
mov ecx, dword [esp + 0x240]
push eax
call fcn.00448590
lea ecx, [esp + 0x14]
mov byte [esp + 0x13], 1
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
mov bl, byte [esp + 0x13]
push edi
call dword [sym.imp.MSVCR71.dll_free]
add esp, 4
mov al, bl
pop edi
mov ecx, dword [esp + 0x228]
pop esi
pop ebp
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x21c]
pop ebx
call fcn.004664a7
add esp, 0x228
ret
mov al, bl
jmp 0x449871

Function at 0x4498c0
Capabilities:
Get common file path

Disassembly:
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
push eax
mov eax, dword [esp + 8]
push ecx
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
ret
Function at 0x449900
Capabilities:
Get common file path

Disassembly:
push ecx
push ebx
push esi
push edi
push str.Fonts
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT]
mov edi, dword [esp + 0x18]
mov esi, dword [esp + 0x14]
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
test eax, eax
seta bl
test bl, bl
je 0x449972
push ebp
push esi
call dword [sym.imp.MSVCR71.dll_wcslen]
add esp, 4
lea ecx, [esp + 0x10]
mov ebp, eax
call dword [sym.imp.MFC71U.DLL_CHtmlView::GetLeft]
add ebp, eax
cmp ebp, edi
pop ebp
jae 0x449981
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator_class_ATL::CSimpleStringT_]
push eax
push esi
call dword [sym.imp.MSVCR71.dll_wcscat]
add esp, 8
lea ecx, [esp + 0xc]
mov bl, 1
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
pop edi
pop esi
mov al, bl
pop ebx
pop ecx
ret
push 0x46eadc
push esi
call dword [sym.imp.MSVCR71.dll_wcscpy]
add esp, 8
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
pop edi
pop esi
mov al, bl
pop ebx
pop ecx
ret

Function at 0x4499a0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x128
mov eax, dword [0x48e070]
push esi
push edi
mov dword [esp + 0x12c], eax
xor eax, eax
mov ecx, 0x47
lea edi, [esp + 8]
rep stosd dword es:[edi], eax
mov edi, dword [sym.imp.KERNEL32.dll_GetVersionExW]
lea eax, [esp + 8]
push eax
xor esi, esi
mov dword [esp + 0xc], 0x11c
call edi
test eax, eax
jne 0x449a07
lea ecx, [esp + 8]
push ecx
mov dword [esp + 0xc], 0x114
call edi
test eax, eax
jne 0x449a07
mov ecx, dword [esp + 0x12c]
call fcn.004664a7
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x18]
sub eax, 0
je 0x449a9e
dec eax
je 0x449a59
dec eax
jne 0x449aa3
mov eax, dword [esp + 0xc]
cmp eax, 4
ja 0x449a40
mov esi, 4
mov eax, esi
mov ecx, dword [esp + 0x12c]
call fcn.004664a7
pop edi
pop esi
mov esp, ebp
pop ebp
ret
cmp eax, 5
jne 0x449aa3
mov esi, eax
mov ecx, dword [esp + 0x12c]
call fcn.004664a7
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0xc]
cmp eax, 4
ja 0x449a85
jne 0x449a6c
mov eax, dword [esp + 0x10]
test eax, eax
ja 0x449a85
mov esi, 2
mov eax, esi
mov ecx, dword [esp + 0x12c]
call fcn.004664a7
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov esi, 3
mov eax, esi
mov ecx, dword [esp + 0x12c]
call fcn.004664a7
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov esi, 1
mov ecx, dword [esp + 0x12c]
mov eax, esi
call fcn.004664a7
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x449b00
Capabilities:
Get file attributes

Disassembly:
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
and eax, 1
ret

Function at 0x449b10
Capabilities:
Get file attributes
Set file attributes

Disassembly:
push esi
mov esi, dword [esp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
and eax, 0xfffffffe
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
dec eax
neg eax
sbb eax, eax
inc eax
pop esi
ret
Function at 0x449b60
Capabilities:
Create process on windows

Disassembly:
mov eax, dword [esp + 4]
push esi
push 1
push 0
push 0
push eax
push str.open
push 0
or esi, 0xffffffff
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
jbe 0x449b85
xor eax, eax
pop esi
ret
mov eax, esi
pop esi
ret
Function at 0x44a170
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x46d436
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x820
mov eax, dword [0x48e070]
mov dword [esp + 0x81c], eax
mov al, byte [0x48e721]
push ebx
xor ebx, ebx
cmp al, bl
jne 0x44a1aa
xor al, al
jmp 0x44a299
lea ecx, [esp + 0x18]
mov byte [esp + 7], bl
call fcn.00445ea0
lea eax, [esp + 0xc]
push eax
mov dword [esp + 0x830], ebx
mov dword [esp + 0xc], ebx
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
test eax, eax
jl 0x44a281
lea ecx, [esp + 8]
push ecx
push 0x19
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jl 0x44a266
mov eax, dword [esp + 8]
lea edx, [esp + 0x20]
push edx
push eax
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x44a266
lea ecx, [esp + 0x20]
push 0x5c
push ecx
call dword [sym.imp.MSVCR71.dll_wcsrchr]
add esp, 8
cmp eax, ebx
je 0x44a213
mov word [eax + 2], bx
push esi
lea edx, [esp + 0x24]
push edx
lea ecx, [esp + 0x1c]
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT]
mov dword [esp + 0x14], vtable.CMacrPath.0
mov esi, dword [esp + 0x838]
lea eax, [esp + 0x14]
push eax
mov ecx, esi
mov byte [esp + 0x834], 1
call fcn.00404db0
lea ecx, [esp + 0x14]
mov byte [esp + 0x830], bl
call fcn.004462f0
push esi
push esi
call fcn.0044a0d0
add esp, 8
mov byte [esp + 0xb], 1
pop esi
mov ecx, dword [esp + 8]
cmp ecx, ebx
je 0x44a281
mov eax, dword [esp + 0xc]
cmp eax, ebx
je 0x44a281
mov edx, dword [eax]
push ecx
push eax
call dword [edx + 0x14]
mov dword [esp + 8], ebx
lea ecx, [esp + 0x18]
mov dword [esp + 0x82c], 0xffffffff
call fcn.00445ec0
mov al, byte [esp + 7]
mov ecx, dword [esp + 0x824]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x820]
pop ebx
call fcn.004664a7
add esp, 0x82c
ret
Function at 0x44a2c0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x46d436
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x820
mov eax, dword [0x48e070]
mov dword [esp + 0x81c], eax
mov al, byte [0x48e721]
push ebx
xor ebx, ebx
cmp al, bl
jne 0x44a2fa
xor al, al
jmp 0x44a3d2
lea ecx, [esp + 0x18]
mov byte [esp + 7], bl
call fcn.00445ea0
lea eax, [esp + 0xc]
push eax
mov dword [esp + 0x830], ebx
mov dword [esp + 0xc], ebx
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
test eax, eax
jl 0x44a3ba
lea ecx, [esp + 8]
push ecx
push 0x1a
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jl 0x44a39f
mov eax, dword [esp + 8]
lea edx, [esp + 0x20]
push edx
push eax
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x44a39f
push esi
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esp + 0x1c]
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT]
mov dword [esp + 0x14], vtable.CMacrPath.0
mov esi, dword [esp + 0x838]
lea edx, [esp + 0x14]
push edx
mov ecx, esi
mov byte [esp + 0x834], 1
call fcn.00404db0
lea ecx, [esp + 0x14]
mov byte [esp + 0x830], bl
call fcn.004462f0
push 0x5c
lea ecx, [esi + 4]
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::operator_3]
mov byte [esp + 0xb], 1
pop esi
mov ecx, dword [esp + 8]
cmp ecx, ebx
je 0x44a3ba
mov eax, dword [esp + 0xc]
cmp eax, ebx
je 0x44a3ba
mov edx, dword [eax]
push ecx
push eax
call dword [edx + 0x14]
mov dword [esp + 8], ebx
lea ecx, [esp + 0x18]
mov dword [esp + 0x82c], 0xffffffff
call fcn.00445ec0
mov al, byte [esp + 7]
mov ecx, dword [esp + 0x824]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x820]
pop ebx
call fcn.004664a7
add esp, 0x82c
ret

Function at 0x44a400
Capabilities:
Get file attributes
Set file attributes

Disassembly:
sub esp, 0x238
mov eax, dword [0x48e070]
mov dword [esp + 0x234], eax
xor eax, eax
push esi
mov esi, dword [esp + 0x240]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
lea eax, [esp + 0xc]
push eax
push esi
call sub.MFC71U.DLL_CFile::GetStatus
test eax, eax
je 0x44a481
lea ecx, [esp + 4]
push ecx
mov ecx, dword [esp + 0x248]
call fcn.0044e760
mov edx, dword [esp + 4]
mov eax, dword [esp + 8]
push esi
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
and eax, 0xfffffffe
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea ecx, [esp + 0xc]
push ecx
push esi
call sub.MFC71U.DLL_CRecordset::SetState
mov ecx, dword [esp + 0x238]
pop esi
call fcn.004664a7
add esp, 0x238
ret

Function at 0x44a5d0
Capabilities:
Delete file
Get file attributes
Set file attributes

Disassembly:
push esi
mov esi, dword [esp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
and eax, 0xfffffffe
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
dec eax
neg eax
sbb eax, eax
inc eax
pop esi
ret
Function at 0x44af70
Capabilities:
Delete file

Disassembly:
sub esp, 0x20
push ebp
mov ebp, dword [esp + 0x28]
push ebp
call fcn.0044a600
add esp, 4
test al, al
jne 0x44af8a
pop ebp
add esp, 0x20
ret
push ebx
push esi
call sub.MFC71U.DLL_AfxGetStringManager
xor ebx, ebx
cmp eax, ebx
je 0x44afa2
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x7c]
cmp eax, ebx
jne 0x44afa8
mov dword [esp + 0xc], ebx
jmp 0x44afaf
mov eax, dword [eax + 0x20]
mov dword [esp + 0xc], eax
push edi
push ebp
mov dword [esp + 0x18], 3
mov word [esp + 0x24], 0x454
mov dword [esp + 0x20], 0x479f34
mov dword [esp + 0x2a], ebx
mov dword [esp + 0x2e], ebx
mov dword [esp + 0x26], ebx
call dword [sym.imp.MSVCR71.dll_wcslen]
mov edi, eax
lea ecx, [edi + edi + 6]
push ecx
call fcn.0046592a
mov esi, eax
push ebp
push esi
call dword [sym.imp.MSVCR71.dll_wcscpy]
add esp, 0x10
lea edx, [esp + 0x10]
mov word [esi + edi*2], bx
mov word [esi + edi*2 + 2], bx
mov word [esi + edi*2 + 4], bx
push edx
mov dword [esp + 0x1c], esi
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
cmp dword [esp + 0x22], ebx
pop edi
jne 0x44b01d
cmp eax, ebx
jne 0x44b01d
mov bl, 1
push esi
call sub.MFC71U.DLL_operator_new
add esp, 4
pop esi
mov al, bl
pop ebx
pop ebp
add esp, 0x20
ret

Function at 0x44b030
Capabilities:
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x46d562
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
mov eax, dword [esp + 0x1c]
push ebx
push esi
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0xf], 0
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT]
push 1
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x14]
mov dword [esp + 0x24], 0
call dword [sym.imp.MFC71U.DLL_RFX_Text_Bulk]
mov esi, eax
mov ecx, esi
call dword [sym.imp.MFC71U.DLL_CHtmlView::GetLeft]
cmp eax, 1
jne 0x44b09a
push 0
mov ecx, esi
call dword [sym.imp.MFC71U.DLL_COleVariant::operator]
cmp ax, 0x5c
jne 0x44b09a
mov bl, 1
jmp 0x44b09c
xor bl, bl
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
pop esi
test bl, bl
pop ebx
je 0x44b0e6
lea ecx, [esp + 4]
call dword [sym.imp.MFC71U.DLL_CHtmlView::GetLeft]
dec eax
push eax
lea edx, [esp + 0xc]
push edx
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC71U.DLL_CToolBar::Layout]
push eax
lea ecx, [esp + 8]
mov byte [esp + 0x18], 1
call dword [0x46e364]
lea ecx, [esp + 8]
mov byte [esp + 0x14], 0
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
mov al, byte [esp + 0x20]
test al, al
lea ecx, [esp + 4]
je 0x44b100
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator_class_ATL::CSimpleStringT_]
push eax
call fcn.0044b3c0
jmp 0x44b124
push 0
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator_class_ATL::CSimpleStringT_]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
cmp eax, 1
jne 0x44b12b
lea ecx, [esp + 4]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator_class_ATL::CSimpleStringT_]
push eax
call fcn.0044a730
add esp, 4
mov byte [esp + 3], al
lea ecx, [esp + 4]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
mov ecx, dword [esp + 0xc]
mov al, byte [esp + 3]
mov dword fs:[0], ecx
add esp, 0x18
ret
Function at 0x44b690
Capabilities:
Copy file

Disassembly:
push 0xffffffffffffffff
push 0x46d622
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
mov esi, dword [esp + 0x2c]
xor ebx, ebx
push esi
lea ecx, [esp + 0x18]
mov dword [esp + 0xc], ebx
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT]
mov dword [esp + 0x10], vtable.CMacrPath.0
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x14]
mov dword [esp + 0x24], ebx
call fcn.00446300
mov ecx, eax
mov byte [esp + 0x20], 1
mov dword [esp + 8], 1
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator_class_ATL::CSimpleStringT_]
push eax
call fcn.0044b3c0
add esp, 4
test al, al
je 0x44b71b
mov ecx, dword [esp + 0x28]
push ebx
push esi
push ecx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x44b71b
push esi
call fcn.0044a730
add esp, 4
test al, al
je 0x44b71b
mov bl, 1
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
lea ecx, [esp + 0x10]
mov dword [esp + 0x20], 0xffffffff
call fcn.004462f0
mov ecx, dword [esp + 0x18]
pop esi
mov al, bl
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret

Function at 0x44e0e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x46d8d8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebp
push esi
push edi
mov edi, dword [esp + 0x2c]
mov esi, ecx
mov ecx, edi
or ebp, 0xffffffff
call fcn.0040ca20
lea ecx, [esp + 0xc]
call sub.MFC71U.DLL_CFile::CFile_1
push 0
push 0
lea eax, [esi + 4]
push eax
lea ecx, [esp + 0x18]
mov dword [esp + 0x30], 0
call sub.MFC71U.DLL_CDataPathProperty::Open
test eax, eax
jne 0x44e154
lea ecx, [esp + 0xc]
mov dword [esp + 0x24], ebp
call sub.MFC71U.DLL_CEvent::CEvent
pop edi
pop esi
mov eax, ebp
pop ebp
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret 4
mov edx, dword [esp + 0xc]
push ebx
push 4
lea ebx, [esi + 0x418]
push ebx
lea ecx, [esp + 0x18]
call dword [edx + 0x3c]
cmp eax, 4
je 0x44e19f
lea ecx, [esp + 0x10]
call sub.MFC71U.DLL_CDatabase::Close
lea ecx, [esp + 0x10]
mov dword [esp + 0x28], 0xffffffff
call sub.MFC71U.DLL_CEvent::CEvent
pop ebx
pop edi
pop esi
mov eax, ebp
pop ebp
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret 4
mov ebx, dword [ebx]
lea eax, [ebx - 1]
cmp eax, 3
ja case.default.0x44e1a9
jmp dword [eax*4 + 0x44e234]
push edi
lea eax, [esp + 0x14]
push eax
mov ecx, esi
call fcn.0044d9a0
mov esi, eax
jmp 0x44e203
push edi
lea ecx, [esp + 0x14]
push ecx
mov ecx, esi
call fcn.0044dbe0
mov esi, eax
jmp 0x44e203
push edi
lea edx, [esp + 0x14]
push edx
mov ecx, esi
call fcn.0044de30
mov esi, eax
jmp 0x44e203
push edi
lea eax, [esp + 0x14]
push eax
mov ecx, esi
mov dword [esi + 0x420], 0xfde9
call fcn.0044de30
mov esi, eax
jmp 0x44e203
mov esi, 0xfffffffe
lea ecx, [esp + 0x10]
call sub.MFC71U.DLL_CDatabase::Close
lea ecx, [esp + 0x10]
mov dword [esp + 0x28], 0xffffffff
call sub.MFC71U.DLL_CEvent::CEvent
mov ecx, dword [esp + 0x20]
pop ebx
pop edi
mov eax, esi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x1c
ret 4