joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4027f0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x440953
mov eax, dword fs:[0]
push eax
sub esp, 0x424
mov eax, dword [0x45d018]
xor eax, esp
mov dword [esp + 0x420], eax
push edi
mov eax, dword [0x45d018]
xor eax, esp
push eax
lea eax, [esp + 0x42c]
mov dword fs:[0], eax
xor edi, edi
mov dword [esp + 0x434], edi
push 0x448860
mov ecx, esi
mov dword [esp + 0x28], esi
mov dword [esp + 0x18], edi
call dword [sym.imp.MFC80U.DLL_Ordinal_283]
push 0x3fc
lea eax, [esp + 0x30]
mov dword [esp + 0x438], edi
push edi
push eax
mov dword [esp + 0x20], 1
mov dword [esp + 0x34], edi
call sub.MSVCR80.dll_memset
add esp, 0xc
push 0x200
lea ecx, [esp + 0x2c]
push ecx
call dword [sym.imp.UserData.dll_unsigned_int___stdcall_GetProductRegistryRootKey_wchar_t___unsigned_long_int_]
lea edx, [esp + 0x28]
push edx
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC80U.DLL_Ordinal_283]
mov dword [esp + 0x434], 1
mov eax, dword [esp + 8]
cmp dword [eax - 0xc], edi
je 0x40293c
lea ecx, [esp + 8]
push ecx
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [esp + 0x20]
call dword [sym.imp.adui17.dll_public:_void___thiscall_CAdUiRegistryAccess::constructor_struct_HKEY_____class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t____const__]
lea ecx, [esp + 0x18]
mov byte [esp + 0x434], 2
call dword [sym.imp.adui17.dll_public:_int___thiscall_CAdUiRegistryAccess::IsOpen_void_]
test eax, eax
je 0x40292a
push 0x448870
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC80U.DLL_Ordinal_283]
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x43c], 3
call dword [sym.imp.adui17.dll_public:_class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t______thiscall_CAdUiRegistryAccess::GetString_class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t____const__]
lea ecx, [esp + 0x10]
mov byte [esp + 0x434], 5
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
mov ecx, dword [esp + 0xc]
cmp dword [ecx - 0xc], edi
je 0x402920
lea edx, [esp + 0xc]
push edx
mov ecx, esi
call dword [sym.imp.MFC80U.DLL_Ordinal_774]
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
lea ecx, [esp + 0x18]
mov byte [esp + 0x434], 1
call dword [sym.imp.adui17.dll_public_virtual:_void___thiscall_CAdUiRegistryAccess::destructor_void_]
lea ecx, [esp + 8]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
mov eax, esi
mov ecx, dword [esp + 0x42c]
mov dword fs:[0], ecx
pop ecx
pop edi
mov ecx, dword [esp + 0x420]
xor ecx, esp
call fcn.0043f41f
add esp, 0x430
ret
Function at 0x402d10
Capabilities:
Access peb ldr_data
Get ntdll base address
Get process heap flags
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x4408a4
mov eax, dword fs:[0]
push eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x45d018]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, dword [esp + 0x24]
lea edi, [esi + 8]
mov ecx, edi
call dword [sym.imp.MFC80U.DLL_Ordinal_293]
lea ebx, [esi + 0xc]
mov ecx, ebx
mov dword [esp + 0x1c], 0
call dword [sym.imp.MFC80U.DLL_Ordinal_293]
lea ebp, [esi + 0x10]
mov ecx, ebp
call dword [sym.imp.MFC80U.DLL_Ordinal_293]
lea ecx, [esi + 0x14]
call dword [sym.imp.MFC80U.DLL_Ordinal_293]
lea ecx, [esi + 0x18]
call dword [sym.imp.MFC80U.DLL_Ordinal_293]
lea ecx, [esi + 0x1c]
call dword [sym.imp.MFC80U.DLL_Ordinal_293]
lea ecx, [esi + 0x20]
call dword [sym.imp.MFC80U.DLL_Ordinal_293]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x28]
mov byte [esp + 0x1c], 6
mov dword [esi + 4], ecx
push edx
mov ecx, edi
mov dword [esi], eax
call dword [sym.imp.MFC80U.DLL_Ordinal_776]
mov eax, dword [esp + 0x34]
push eax
mov ecx, ebx
call dword [sym.imp.MFC80U.DLL_Ordinal_776]
mov ecx, dword [esp + 0x38]
push ecx
mov ecx, ebp
call dword [sym.imp.MFC80U.DLL_Ordinal_776]
mov edx, dword [esp + 0x3c]
push edx
lea ecx, [esi + 0x14]
call dword [sym.imp.MFC80U.DLL_Ordinal_776]
mov eax, dword [esp + 0x40]
push eax
lea ecx, [esi + 0x18]
call dword [sym.imp.MFC80U.DLL_Ordinal_776]
mov ecx, dword [esp + 0x44]
push ecx
lea ecx, [esi + 0x1c]
call dword [sym.imp.MFC80U.DLL_Ordinal_776]
mov edx, dword [esp + 0x48]
push edx
lea ecx, [esi + 0x20]
call dword [sym.imp.MFC80U.DLL_Ordinal_776]
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x50]
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], ecx
mov byte [esi + 0x2c], 1
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 0x30
Function at 0x409520
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x18
mov eax, dword [0x45d018]
xor eax, esp
mov dword [esp + 0x14], eax
push ebx
mov ebx, ecx
movzx ecx, word [ebx]
test cx, cx
push esi
mov dword [esp + 8], ebx
je 0x409608
mov eax, dword [edi + 4]
cmp eax, 1
je 0x4095a9
cmp eax, 2
je 0x4095a9
cmp eax, 3
je 0x409566
cmp eax, 4
je 0x409563
xor esi, esi
jmp 0x4095dc
cmp eax, 3
sete dl
cmp cx, 0xa
lea eax, [esp + 0x14]
mov esi, 2
jne 0x40959c
cmp byte [edi + 9], 0
je 0x40959c
mov al, dl
neg al
mov esi, 4
sbb eax, eax
and eax, 0xfffff30d
add eax, 0xd00
mov word [esp + 0x14], ax
lea eax, [esp + 0x16]
test dl, dl
jne 0x4095a4
rol cx, 8
mov word [eax], cx
jmp 0x4095dc
movzx edx, byte [edi + 9]
mov byte [esp + 0xc], dl
movzx edx, byte [edi + 8]
cmp eax, 1
mov eax, dword [esp + 0xc]
mov byte [esp + 0x10], dl
mov edx, dword [esp + 0x10]
push eax
push edx
sete bl
push ecx
lea esi, [esp + 0x20]
call fcn.00409470
mov ebx, dword [esp + 0x14]
add esp, 0xc
mov esi, eax
mov eax, dword [edi]
push eax
push esi
lea ecx, [esp + 0x1c]
push 1
push ecx
call dword [sym.imp.MSVCR80.dll_fwrite]
add esp, 0x10
cmp eax, esi
jne 0x40961b
movzx ecx, word [ebx + 2]
add ebx, 2
test cx, cx
mov dword [esp + 8], ebx
jne 0x409548
xor eax, eax
pop esi
pop ebx
mov ecx, dword [esp + 0x14]
xor ecx, esp
call fcn.0043f41f
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x1c]
pop esi
pop ebx
xor ecx, esp
or eax, 0xffffffff
call fcn.0043f41f
mov esp, ebp
pop ebp
ret

Function at 0x40bfe0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x441b19
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x45d018]
xor eax, esp
mov dword [esp + 0x1c], eax
push ebx
mov eax, dword [0x45d018]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
call sub.acdb17.dll_public:_wchar_t_const____thiscall_AdString::operator_wchar_t_const__void_const
push eax
lea ecx, [esp + 0xc]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
lea eax, [esp + 8]
mov dword [esp + 0x30], 0
mov ecx, dword [esi + 0x18]
push eax
call dword [sym.imp.acutxmldom17.dll_public:_long_int___thiscall_AcUtXMLDOMDocument::save_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
xor ecx, ecx
test eax, eax
setne cl
mov dword [esp + 0x30], 0xffffffff
mov eax, ecx
test eax, eax
lea ecx, [esp + 8]
sete bl
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov al, bl
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.0043f41f
add esp, 0x2c
ret
Function at 0x40c690
Capabilities:
Get geographical location

Disassembly:
push 0xffffffffffffffff
push 0x440768
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push ebx
push ebp
push esi
push edi
mov eax, dword [0x45d018]
xor eax, esp
push eax
lea eax, [esp + 0x54]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x64]
mov ebx, dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
push 0
lea eax, [esp + 0x18]
push eax
push 0xc
push 0x400
call ebx
mov esi, eax
lea ecx, [esi + esi + 2]
push ecx
call dword [sym.imp.MSVCR80.dll_malloc]
add esp, 4
push esi
mov edi, eax
push edi
push 0xc
push 0x400
call ebx
test eax, eax
push edi
jne 0x40c712
call dword [sym.imp.MSVCR80.dll_free]
add esp, 4
xor al, al
mov ecx, dword [esp + 0x54]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret
lea ecx, [esp + 0x1c]
call sub.acdb17.dll_public:_void___thiscall_AdString::constructor_wchar_t_const__
mov dword [esp + 0x5c], 0
mov edx, dword [ebp]
mov edx, dword [edx + 0x70]
lea eax, [esp + 0x18]
push eax
mov ecx, ebp
call edx
lea ecx, [esp + 0x18]
mov dword [esp + 0x5c], 0xffffffff
call sub.acdb17.dll_public_virtual:_void___thiscall_AdString::destructor_void_
push edi
call dword [sym.imp.MSVCR80.dll_free]
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x54]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret
Function at 0x40ce10
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x414]
sub esp, 0x414
push 0xffffffffffffffff
push 0x440730
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, dword [0x45d018]
xor eax, ebp
mov dword [ebp + 0x410], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
lea eax, [ebp]
push eax
xor ebx, ebx
push 0x104
mov esi, ecx
mov byte [ebp - 0x11], bl
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x40ce96
lea ecx, [ebp + 0x208]
push ecx
push ebx
push 0x4496d0
lea edx, [ebp]
push edx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
je 0x40ce96
lea eax, [ebp + 0x208]
push eax
mov ecx, esi
call sub.acdb17.dll_public:_class_AdString_const____thiscall_AdString::operator_wchar_t_const__
mov al, 1
jmp 0x40ceb0
push 0x44e664
lea ecx, [ebp - 0x12]
push ecx
mov byte [ebp - 0x12], bl
call sub.MSVCR80.dll__CxxThrowException
mov eax, 0x40cead
ret
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x410]
xor ecx, ebp
call fcn.0043f41f
add ebp, 0x414
mov esp, ebp
pop ebp
ret

Function at 0x40dd10
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x442edb
mov eax, dword fs:[0]
push eax
push ecx
push edi
mov eax, dword [0x45d018]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 8], edi
mov dword [edi], 0x449d84
mov dword [esp + 0x14], 4
call fcn.0040e930
lea ecx, [edi + 0x30]
mov byte [esp + 0x14], 3
call sub.MFC80U.DLL_Ordinal_722
lea ecx, [edi + 0x28]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
lea ecx, [edi + 0x24]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
lea ecx, [edi + 0x20]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
lea ecx, [edi + 0x1c]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
add esp, 0x10
ret
Function at 0x40ec40
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4429b9
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x45d018]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
test esi, esi
jge 0x40ec7f
xor eax, eax
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 4
push 0x10
call sub.MFC80U.DLL_Ordinal_762
mov edi, eax
add esp, 4
test edi, edi
je 0x40ec69
mov ecx, edi
call dword [sym.imp.MFC80U.DLL_Ordinal_293]
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx + 0x38]
add ecx, 0x30
push edi
push eax
call sub.MFC80U.DLL_Ordinal_5710
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC80U.DLL_Ordinal_293]
lea esi, [esi + esi*2]
add esi, esi
mov dword [esp + 0x18], 0
mov eax, dword [esi + esi + 0x45d274]
add esi, esi
push eax
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC80U.DLL_Ordinal_4026]
lea ecx, [esp + 0xc]
push ecx
mov ecx, edi
call dword [sym.imp.MFC80U.DLL_Ordinal_774]
mov edx, dword [esi + 0x45d270]
mov dword [edi + 4], edx
mov dword [edi + 8], 1
mov eax, dword [esi + 0x45d278]
lea ecx, [esp + 0xc]
mov dword [edi + 0xc], eax
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
mov eax, 1
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 4
Function at 0x415640
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x444cd9
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov eax, dword [0x45d018]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x38]
mov dword [esp + 0x20], 0
call fcn.00415440
mov esi, eax
test esi, esi
je 0x41571c
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [esp + 0x18]
push eax
push 0
lea ecx, [esp + 0x24]
push ecx
push 0
push ebp
push esi
call edi
lea ecx, [esp + 0x14]
mov ebx, eax
call dword [sym.imp.MFC80U.DLL_Ordinal_293]
test ebx, ebx
mov dword [esp + 0x2c], 0
jne 0x415703
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x18]
push edx
shr eax, 1
push eax
lea ecx, [esp + 0x1c]
call dword [sym.imp.MFC80U.DLL_Ordinal_2460]
push eax
lea ecx, [esp + 0x24]
push ecx
push ebx
push ebp
push esi
call edi
push 0xffffffffffffffff
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC80U.DLL_Ordinal_5398]
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [esp + 0x34]
lea edx, [esp + 0x14]
push edx
mov ecx, esi
call dword [sym.imp.MFC80U.DLL_Ordinal_280]
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
jmp 0x41572d
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x14]
mov dword [esp + 0x2c], 0xffffffff
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
mov esi, dword [esp + 0x34]
push 0x448658
mov ecx, esi
call dword [sym.imp.MFC80U.DLL_Ordinal_283]
mov eax, esi
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
Function at 0x4159b0
Capabilities:
Set registry value

Disassembly:
sub esp, 8
lea eax, [esp + 4]
push eax
lea ecx, [esp + 4]
push ecx
push 0
push 0x20006
push 0
push 0
push 0
push edx
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x4159e0
xor eax, eax
add esp, 8
ret
mov ecx, dword [esp + 0xc]
mov edx, dword [esp]
push esi
push 4
lea eax, [esp + 0x18]
push eax
push 4
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
test esi, esi
sete al
pop esi
add esp, 8
ret

Function at 0x415a20
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push esi
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jg 0x415a35
mov eax, 1
pop esi
ret
push edi
lea eax, [eax + eax + 0xa]
push eax
push 0x2002
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
test edi, edi
jne 0x415a4f
pop edi
pop esi
ret
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
movzx ecx, word [esi]
mov word [eax], cx
add esi, 2
add eax, 2
test cx, cx
jne 0x415a56
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
mov esi, eax
and esi, 1
call dword [sym.imp.USER32.dll_EmptyClipboard]
push edi
push 0xd
and esi, eax
call dword [sym.imp.USER32.dll_SetClipboardData]
neg eax
sbb eax, eax
neg eax
and esi, eax
call dword [sym.imp.USER32.dll_CloseClipboard]
pop edi
and eax, esi
pop esi
ret

Function at 0x4162f0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x4404f8
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x45d018]
xor eax, esp
mov dword [esp + 0x3c], eax
push ebx
mov eax, dword [0x45d018]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
mov eax, dword [esp + 0x58]
push eax
lea ecx, [esp + 0xc]
call sub.acdb17.dll_public:_void___thiscall_AdString::constructor_class_AdString_const__
xor ebx, ebx
lea ecx, [esp + 8]
mov dword [esp + 0x50], ebx
call sub.acdb17.dll_public:_wchar_t_const____thiscall_AdString::operator_wchar_t_const__void_const
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x41634e
test al, 0x10
je 0x41634e
mov bl, 1
lea ecx, [esp + 8]
mov dword [esp + 0x50], 0xffffffff
call sub.acdb17.dll_public_virtual:_void___thiscall_AdString::destructor_void_
mov al, bl
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov ecx, dword [esp + 0x3c]
xor ecx, esp
call fcn.0043f41f
add esp, 0x4c
ret 4
Function at 0x416d70
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x445f3c
mov eax, dword fs:[0]
push eax
sub esp, 0x210
mov eax, dword [0x45d018]
xor eax, esp
mov dword [esp + 0x20c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x45d018]
xor eax, esp
push eax
lea eax, [esp + 0x224]
mov dword fs:[0], eax
mov edi, ecx
push 1
lea ebx, [edi + 0x3d0]
push 0
mov ecx, ebx
call sub.MFC80U.DLL_Ordinal_3070
push eax
push 0x448b1c
call sub.MFC80U.DLL_Ordinal_1047
add esp, 8
mov esi, eax
call fcn.00403100
push 0
push 0
mov ecx, ebx
mov ebp, eax
call sub.MFC80U.DLL_Ordinal_3070
push eax
push 0x448f7c
call sub.MFC80U.DLL_Ordinal_1047
add esp, 8
mov esi, eax
call fcn.00405e10
and ebp, eax
cmp dword [0x45dadc], 0
setne al
call fcn.00418200
cmp dword [0x45dad0], 0
lea esi, [esp + 0x14]
setne al
mov byte [edi + 0x557], al
mov eax, 0x45dac8
call fcn.004163c0
push eax
lea ecx, [edi + 0x55c]
mov dword [esp + 0x230], 0
call dword [sym.imp.MFC80U.DLL_Ordinal_774]
mov ecx, esi
mov dword [esp + 0x22c], 0xffffffff
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
lea ecx, [esp + 0x18]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea edx, [esp + 0x18]
push edx
lea ecx, [edi + 0x560]
call dword [sym.imp.MFC80U.DLL_Ordinal_776]
cmp dword [0x45dad4], 0
setne al
mov byte [edi + 0x30e], al
cmp dword [0x45dae0], 0
mov eax, edi
setne cl
mov byte [edi + 0x556], cl
mov dword [edi + 0x550], 1
call fcn.00416ee0
push 0
push 0
push edi
call fcn.00416fc0
push 0
push 0
push edi
call fcn.00417070
mov eax, ebp
mov ecx, dword [esp + 0x224]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x20c]
xor ecx, esp
call fcn.0043f41f
add esp, 0x21c
ret
Function at 0x426e70
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x440d9d
mov eax, dword fs:[0]
push eax
sub esp, 0x288
mov eax, dword [0x45d018]
xor eax, esp
mov dword [esp + 0x284], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x45d018]
xor eax, esp
push eax
lea eax, [esp + 0x29c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x2ac]
mov edi, ecx
lea esi, [ebp + 4]
mov ecx, esi
mov dword [esp + 0x14], ebp
mov dword [ebp], 0x44d2e4
call sub.acdb17.dll_public:_void___thiscall_AdString::constructor_void_
lea ebx, [ebp + 0x40]
mov ecx, ebx
mov dword [esp + 0x2a4], 0
call sub.acdb17.dll_public:_void___thiscall_AdString::constructor_void_
mov byte [esp + 0x2a4], 1
push edi
mov ecx, esi
mov byte [ebp + 0x7c], 0
call sub.acdb17.dll_public:_class_AdString_const____thiscall_AdString::operator_class_AdString_const__
lea ecx, [esp + 0x18]
call sub.acdb17.dll_public:_void___thiscall_AdString::constructor_void_
push esi
lea edi, [esp + 0x1c]
mov byte [esp + 0x2a8], 2
call fcn.0041d8a0
mov eax, edi
push eax
lea esi, [esp + 0x58]
mov byte [esp + 0x2a8], 3
call fcn.0041e660
push 0x448658
mov ecx, ebx
mov byte [esp + 0x2a8], 4
call sub.acdb17.dll_public:_class_AdString_const____thiscall_AdString::operator_wchar_t_const__
lea ecx, [esp + 0x90]
push ecx
push 0
push 0x44d224
mov ecx, esi
call sub.acdb17.dll_public:_wchar_t_const____thiscall_AdString::operator_wchar_t_const__void_const
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
je 0x426f65
lea edx, [esp + 0x90]
push edx
mov ecx, ebx
call sub.acdb17.dll_public:_class_AdString_const____thiscall_AdString::operator_wchar_t_const__
lea ecx, [esp + 0x54]
mov byte [esp + 0x2a4], 3
call sub.acdb17.dll_public_virtual:_void___thiscall_AdString::destructor_void_
lea ecx, [esp + 0x18]
mov byte [esp + 0x2a4], 1
call sub.acdb17.dll_public_virtual:_void___thiscall_AdString::destructor_void_
mov eax, ebp
mov ecx, dword [esp + 0x29c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x284]
xor ecx, esp
call fcn.0043f41f
add esp, 0x294
ret 4

Function at 0x426fc0
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x440026
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x45d018]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esi], 0x44d2e4
mov dword [esp + 0x14], 1
cmp byte [esi + 0x7c], 0
jne 0x42700e
lea ecx, [esi + 0x40]
call sub.acdb17.dll_public:_wchar_t_const____thiscall_AdString::operator_wchar_t_const__void_const
push eax
call dword [sym.imp.MSVCR80.dll__wremove]
add esp, 4
lea ecx, [esi + 0x40]
mov byte [esp + 0x14], 0
call sub.acdb17.dll_public_virtual:_void___thiscall_AdString::destructor_void_
lea ecx, [esi + 4]
mov dword [esp + 0x14], 0xffffffff
call sub.acdb17.dll_public_virtual:_void___thiscall_AdString::destructor_void_
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret
Function at 0x427350
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x444493
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [0x45d018]
xor eax, esp
mov dword [esp + 0x84], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x45d018]
xor eax, esp
push eax
lea eax, [esp + 0x9c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0xac]
mov esi, ecx
mov ecx, ebp
mov dword [esp + 0x1c], ebp
call sub.acdb17.dll_protected:_void___thiscall_AcRxObject::constructor_void_
xor ebx, ebx
mov byte [ebp + 4], bl
mov dword [esp + 0xa4], ebx
push 0x448658
lea ecx, [esp + 0x24]
mov dword [ebp], 0x44d260
mov dword [ebp + 8], ebx
mov dword [ebp + 0xc], ebx
call sub.acdb17.dll_public:_void___thiscall_AdString::constructor_wchar_t_const__
lea edi, [ebp + 0x10]
mov byte [esp + 0xa4], 1
mov ecx, edi
mov dword [esp + 0x18], edi
call sub.acdb17.dll_public:_void___thiscall_AdString::constructor_void_
lea eax, [esp + 0x20]
push eax
mov byte [esp + 0xa8], 2
call fcn.0041d8a0
lea ecx, [esp + 0x20]
mov byte [esp + 0xa4], 4
call sub.acdb17.dll_public_virtual:_void___thiscall_AdString::destructor_void_
push 0x448658
lea ecx, [ebp + 0x4c]
call sub.acdb17.dll_public:_void___thiscall_AdString::constructor_wchar_t_const__
mov byte [esp + 0xa4], 5
mov dword [ebp + 0x88], 0x7ffe
mov dword [ebp + 0x90], 0x1a
mov byte [ebp + 0x8c], bl
mov edx, dword [esi]
mov eax, dword [edx + 0x20]
mov ecx, esi
call eax
test al, al
je 0x42744a
mov dword [ebp + 0x90], 0xd
jmp 0x4274ff
push esi
lea ecx, [esp + 0x60]
push ecx
call fcn.0041d7c0
lea ecx, [esp + 0x5c]
mov byte [esp + 0xa4], 6
call sub.acdb17.dll_public:_wchar_t_const____thiscall_AdString::operator_wchar_t_const__void_const
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x42747e
mov dword [ebp + 0x90], 0x13
jmp 0x4274ee
lea edx, [esp + 0x5c]
push edx
call fcn.004162f0
test al, al
je 0x427498
mov dword [ebp + 0x90], 2
jmp 0x4274ee
lea esi, [esp + 0x5c]
call fcn.0041dfa0
push 0x1c
call sub.MFC80U.DLL_Ordinal_762
add esp, 4
mov dword [esp + 0x18], eax
cmp eax, ebx
mov byte [esp + 0xa4], 7
je 0x4274c4
push ebp
push eax
call fcn.00436250
jmp 0x4274c6
xor eax, eax
cmp eax, ebx
mov byte [esp + 0xa4], 6
mov dword [ebp + 8], eax
jne 0x4274e1
mov dword [ebp + 0x90], 4
jmp 0x4274ee
lea eax, [esp + 0x5c]
push eax
lea ecx, [ebp + 0x10]
call sub.acdb17.dll_public:_class_AdString_const____thiscall_AdString::operator_class_AdString_const__
lea ecx, [esp + 0x5c]
mov byte [esp + 0xa4], 5
call sub.acdb17.dll_public_virtual:_void___thiscall_AdString::destructor_void_
mov eax, ebp
mov ecx, dword [esp + 0x9c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x84]
xor ecx, esp
call fcn.0043f41f
add esp, 0x94
ret 4