Function at 0x40d350
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x410c18
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push esi
push edi
mov edi, ecx
push 0x4272a4
lea ecx, [esp + 0x18]
mov dword [esp + 0x24], 1
call sub.MFC42.DLL_CString::CString_1
push 0x4272a4
lea ecx, [esp + 0x14]
mov byte [esp + 0x24], 2
call sub.MFC42.DLL_CString::CString_1
push 0x4272a4
lea ecx, [esp + 0x10]
mov byte [esp + 0x24], 3
call sub.MFC42.DLL_CString::CString_1
mov esi, dword [esp + 0x28]
mov bl, 4
test esi, esi
mov byte [esp + 0x20], bl
je 0x40d545
mov eax, dword [esp + 0x30]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x40d545
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax - 8]
cmp byte [ecx + eax - 1], 0x5c
je 0x40d3e6
push 0x4162a0
lea ecx, [esp + 0x30]
call fcn.0041005c
lea ecx, [esp + 0x64]
lea edx, [esp + 0x30]
push ecx
lea eax, [esp + 0x2c]
push edx
push eax
call sub.MFC42.DLL_operator_1
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x24], 5
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x28]
mov byte [esp + 0x20], bl
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x34]
mov eax, dword [ecx - 8]
lea ecx, [esp + 0xc]
sub eax, edx
lea edx, [esp + 0x34]
push eax
push edx
call sub.MFC42.DLL_CString::Right
push eax
lea eax, [esp + 0x30]
lea ecx, [esp + 0x2c]
push eax
push ecx
mov byte [esp + 0x2c], 6
call sub.MFC42.DLL_operator_2
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x24], 7
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x28]
mov byte [esp + 0x20], 6
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x34]
mov byte [esp + 0x20], bl
call sub.MFC42.DLL_CString::CString
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
push edx
push eax
push esi
call fcn.0040c1e0
mov esi, eax
add esp, 0xc
test esi, esi
je 0x40d545
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
push ecx
push edx
lea eax, [esp + 0x1c]
push str.ZipAdd__s_to__s_error:
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0x10
lea ecx, [esp + 0x28]
push esi
push ecx
mov ecx, edi
call fcn.0040dc80
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x24], 8
call fcn.00410008
lea ecx, [esp + 0x28]
mov byte [esp + 0x20], bl
call sub.MFC42.DLL_CString::CString
mov edx, dword [esp + 0x14]
push 0
push 0x416644
push edx
mov ecx, edi
call sub.MFC42.DLL_CWnd::MessageBoxA
lea ecx, [esp + 0xc]
mov byte [esp + 0x20], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x20], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x20], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x2c]
mov byte [esp + 0x20], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x30]
mov dword [esp + 0x20], 0xffffffff
call sub.MFC42.DLL_CString::CString
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret 0x150
lea ecx, [esp + 0xc]
mov byte [esp + 0x20], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x20], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x20], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x2c]
mov byte [esp + 0x20], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x30]
mov dword [esp + 0x20], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x18]
pop edi
pop esi
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret 0x150