Function at 0x410c50
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x42b701
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x254
push ebx
push esi
push edi
mov edi, ecx
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esp + 0x10]
mov dword [esp + 0x268], 0
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esp + 0xc]
mov byte [esp + 0x268], 1
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esp + 0x18]
mov byte [esp + 0x268], 2
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esp + 0x20]
mov byte [esp + 0x268], 3
call sub.MFC42.DLL_CString::CString_4
mov byte [esp + 0x268], 4
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp eax, 0x80000000
push 0x437890
sbb esi, esi
lea ecx, [esp + 0x30]
and esi, 0xc
add esi, 0x4c
call sub.MFC42.DLL_CString::CString_1
mov eax, dword [esp + 0x2c]
push edi
push eax
push 0x1200
push 0x43ad58
push 0x43788c
push 1
lea ecx, [esp + 0x7c]
mov byte [esp + 0x280], 5
call sub.MFC42.DLL_CFileDialog::CFileDialog
push 0x15ba
mov byte [esp + 0x26c], 6
mov dword [esp + 0xe8], 0x15ba
call sub.MFC42.DLL_operatornew
mov dword [esp + 0xe4], eax
add esp, 4
mov byte [eax], 0
lea ecx, [esp + 0x64]
mov dword [esp + 0xc4], esi
mov dword [esp + 0xf4], 0x43787c
call sub.MFC42.DLL_CFileDialog::DoModal
cmp eax, 1
jne 0x411034
lea ecx, [esp + 0x50]
call sub.MFC42.DLL_CStringArray::CStringArray
mov eax, dword [esp + 0xe0]
mov bl, 7
test eax, eax
mov byte [esp + 0x268], bl
mov dword [esp + 0x24], eax
je 0x410f82
lea ecx, [esp + 0x24]
lea edx, [esp + 0x44]
push ecx
push edx
lea ecx, [esp + 0x6c]
call sub.MFC42.DLL_CFileDialog::GetNextPathName
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x26c], 8
call sub.MFC42.DLL_CString::operator_2
push eax
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::operator_2
push eax
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x44]
mov byte [esp + 0x268], bl
call sub.MFC42.DLL_CString::CString
push 0x5c
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::ReverseFind
push eax
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Left
push 0x437058
lea ecx, [esp + 0x40]
push eax
push ecx
mov byte [esp + 0x274], 9
call sub.MFC42.DLL_operator_2
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x26c], 0xa
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x3c]
mov byte [esp + 0x268], 9
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x30]
mov byte [esp + 0x268], bl
call sub.MFC42.DLL_CString::CString
mov edx, dword [esp + 0x20]
push 0x43ad58
push edx
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::Replace
push 0x2e
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::ReverseFind
push eax
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::Left
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x26c], 0xb
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x38]
mov byte [esp + 0x268], bl
call sub.MFC42.DLL_CString::CString
push ecx
lea edx, [esp + 0x10]
mov ecx, esp
mov dword [esp + 0x2c], esp
push edx
call fcn.00428f24
lea eax, [esp + 0x4c]
push eax
call fcn.004230e0
add esp, 8
mov byte [esp + 0x268], 0xc
push eax
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x48]
mov byte [esp + 0x268], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
push 0x43770c
lea edx, [esp + 0x20]
push ecx
push edx
call sub.MFC42.DLL_operator_2
lea ecx, [esp + 0xc]
lea edx, [esp + 0x34]
push ecx
push eax
push edx
mov byte [esp + 0x274], 0xd
call sub.MFC42.DLL_operator
push 0x43770c
push eax
lea eax, [esp + 0x54]
mov byte [esp + 0x270], 0xe
push eax
call sub.MFC42.DLL_operator_2
lea ecx, [esp + 0x14]
lea edx, [esp + 0x40]
push ecx
push eax
push edx
mov byte [esp + 0x274], 0xf
call sub.MFC42.DLL_operator
push 1
push eax
push 0
lea ecx, [esp + 0x5c]
mov byte [esp + 0x274], 0x10
call sub.MFC42.DLL_CStringArray::InsertAt
lea ecx, [esp + 0x40]
mov byte [esp + 0x268], 0xf
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x4c]
mov byte [esp + 0x268], 0xe
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x34]
mov byte [esp + 0x268], 0xd
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov byte [esp + 0x268], bl
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x410d84
mov eax, dword [esp + 0x58]
xor esi, esi
test eax, eax
mov dword [edi + 0xb80], 0
jle 0x410fe0
lea eax, [esp + 0x1c]
push esi
push eax
lea ecx, [esp + 0x58]
call fcn.004085a0
push ecx
mov byte [esp + 0x26c], 0x11
mov ecx, esp
mov dword [esp + 0x2c], esp
push eax
push str.ADDz
push ecx
call sub.MFC42.DLL_operator_1
mov ecx, edi
call fcn.0040f9b0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x268], bl
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x58]
inc esi
cmp esi, eax
jl 0x410f96
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x58]
call sub.MFC42.DLL_CStringArray::SetSize
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push 0x437878
call sub.MFC42.DLL_CString::CString_1
lea ecx, [edi + 0x3e8]
call fcn.004197a0
mov ecx, edi
call fcn.00410530
mov edx, dword [edi + 0x20]
push 0
push 0
push 0x465
push edx
call dword [sym.imp.USER32.dll_PostMessageA]
lea ecx, [esp + 0x50]
mov byte [esp + 0x268], 6
call fcn.00429200
lea ecx, [esp + 0x114]
mov byte [esp + 0x268], 0x12
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x64]
mov byte [esp + 0x268], 5
call sub.MFC42.DLL_CDialog::CDialog
lea ecx, [esp + 0x2c]
mov byte [esp + 0x268], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x20]
mov byte [esp + 0x268], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x268], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
mov byte [esp + 0x268], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x268], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov dword [esp + 0x268], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x260]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x260
ret