Function at 0x41469f
Capabilities:
Check if file exists
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45fe05
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc0
mov dword [ebp - 0x60], ecx
push 1
push ecx
mov ecx, esp
mov dword [ebp - 0x20], esp
push str.CDialogicLeaveMessage::Init___
call sub.MFC42.DLL_CString::CString
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x60]
mov ecx, dword [eax + 8]
call fcn.0040ccff
mov ecx, dword [ebp - 0x60]
add ecx, 0x20c
push ecx
mov edx, dword [ebp - 0x60]
add edx, 0x204
push ecx
mov ecx, esp
mov dword [ebp - 0x24], esp
push edx
call sub.MFC42.DLL_CString::CString_1
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x60]
mov ecx, dword [eax + 4]
call fcn.0043ecaa
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0
jne 0x41471d
xor eax, eax
jmp 0x414c3d
mov ecx, dword [ebp - 0x60]
add ecx, 0x204
push ecx
mov ecx, dword [ebp - 0x60]
add ecx, 0x210
call fcn.0045e12e
mov edx, dword [ebp - 0x60]
cmp dword [edx + 0x20c], 0
jne 0x4147c5
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::CString_3
mov dword [ebp - 4], 0
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x60]
add ecx, 0x204
push ecx
mov edx, esp
mov dword [ebp - 0x28], esp
push ecx
mov ecx, edx
call sub.MFC42.DLL_CString::CString_1
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x60]
mov ecx, dword [eax + 4]
call fcn.0043f1b6
mov dword [ebp - 0x74], eax
cmp dword [ebp - 0x74], 0
jne 0x4147a4
mov dword [ebp - 0x2c], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.0045dfd8
mov eax, dword [ebp - 0x2c]
jmp 0x414c3d
lea ecx, [ebp - 0x14]
push ecx
mov ecx, dword [ebp - 0x60]
add ecx, 0x210
call fcn.0045e12e
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.0045dfd8
mov ecx, dword [ebp - 0x60]
call fcn.00412c17
test eax, eax
jne 0x4147f8
push 0
push ecx
mov ecx, esp
mov dword [ebp - 0x30], esp
push 0x478068
call sub.MFC42.DLL_CString::CString
mov dword [ebp - 0x78], eax
mov edx, dword [ebp - 0x60]
mov ecx, dword [edx + 8]
call fcn.0040ccff
xor eax, eax
jmp 0x414c3d
mov eax, dword [ebp - 0x60]
add eax, 0x210
push eax
push 0x478084
push 0x478088
push 0x478098
mov ecx, dword [ebp - 0x60]
mov edx, dword [ecx + 4]
add edx, 0x61c
push edx
lea eax, [ebp - 0x34]
push eax
call sub.MFC42.DLL_operator_2
mov dword [ebp - 0x7c], eax
mov ecx, dword [ebp - 0x7c]
mov dword [ebp - 0x80], ecx
mov dword [ebp - 4], 1
mov edx, dword [ebp - 0x80]
push edx
lea eax, [ebp - 0x38]
push eax
call sub.MFC42.DLL_operator_2
mov dword [ebp - 0x84], eax
mov ecx, dword [ebp - 0x84]
mov dword [ebp - 0x88], ecx
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x88]
push edx
lea eax, [ebp - 0x3c]
push eax
call sub.MFC42.DLL_operator_2
mov dword [ebp - 0x8c], eax
mov ecx, dword [ebp - 0x8c]
mov dword [ebp - 0x90], ecx
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x90]
push edx
lea eax, [ebp - 0x40]
push eax
call sub.MFC42.DLL_operator_1
mov dword [ebp - 0x94], eax
mov ecx, dword [ebp - 0x94]
mov dword [ebp - 0x98], ecx
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x98]
push edx
mov ecx, dword [ebp - 0x60]
add ecx, 0x214
call fcn.0045e12e
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x40]
call fcn.0045dfd8
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x3c]
call fcn.0045dfd8
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x38]
call fcn.0045dfd8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.0045dfd8
mov eax, dword [ebp - 0x60]
cmp dword [eax + 0x20c], 0
jne 0x4149fe
mov ecx, dword [ebp - 0x60]
add ecx, 0x210
push ecx
push 0x4780a4
push 0x4780a8
push 0x4780b8
mov edx, dword [ebp - 0x60]
mov eax, dword [edx + 4]
add eax, 0x61c
push eax
lea ecx, [ebp - 0x44]
push ecx
call sub.MFC42.DLL_operator_2
mov dword [ebp - 0x9c], eax
mov edx, dword [ebp - 0x9c]
mov dword [ebp - 0xa0], edx
mov dword [ebp - 4], 5
mov eax, dword [ebp - 0xa0]
push eax
lea ecx, [ebp - 0x48]
push ecx
call sub.MFC42.DLL_operator_2
mov dword [ebp - 0xa4], eax
mov edx, dword [ebp - 0xa4]
mov dword [ebp - 0xa8], edx
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0xa8]
push eax
lea ecx, [ebp - 0x4c]
push ecx
call sub.MFC42.DLL_operator_2
mov dword [ebp - 0xac], eax
mov edx, dword [ebp - 0xac]
mov dword [ebp - 0xb0], edx
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0xb0]
push eax
lea ecx, [ebp - 0x50]
push ecx
call sub.MFC42.DLL_operator_1
mov dword [ebp - 0xb4], eax
mov edx, dword [ebp - 0xb4]
mov dword [ebp - 0xb8], edx
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0xb8]
push eax
mov ecx, dword [ebp - 0x60]
add ecx, 0x214
call fcn.0045e12e
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x50]
call fcn.0045dfd8
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x4c]
call fcn.0045dfd8
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x48]
call fcn.0045dfd8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x44]
call fcn.0045dfd8
push 0
mov ecx, dword [ebp - 0x60]
add ecx, 0x214
call fcn.00412270
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov dword [ebp - 0x10], 0
lea ecx, [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0x60]
mov eax, dword [edx + 8]
add eax, 0xac
push ecx
mov ecx, esp
mov dword [ebp - 0x54], esp
push eax
call sub.MFC42.DLL_CString::CString_1
mov dword [ebp - 0xbc], eax
mov ecx, dword [ebp - 0x60]
mov ecx, dword [ecx + 4]
call fcn.004427bd
cmp dword [ebp - 0x10], 0
je 0x414c2c
mov edx, dword [ebp - 0x60]
mov eax, dword [edx + 8]
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x58], esp
push 0x4780c4
call sub.MFC42.DLL_CString::CString
mov dword [ebp - 0xc0], eax
mov ecx, dword [ebp - 0xc0]
mov dword [ebp - 0xc4], ecx
mov dword [ebp - 4], 9
mov edx, dword [ebp - 0x60]
add edx, 0x210
push ecx
mov ecx, esp
mov dword [ebp - 0x5c], esp
push edx
call sub.MFC42.DLL_CString::CString_1
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp - 0x60]
mov ecx, dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
call fcn.0044b767
mov dword [ebp - 0xcc], eax
cmp dword [ebp - 0xcc], 0
jne 0x414ad4
push 0xe
push 7
mov ecx, dword [ebp - 0x60]
call fcn.0041457f
mov eax, 1
jmp 0x414c3d
mov dword [ebp - 0x1c], 0
push 0x4780c8
mov ecx, dword [ebp - 0x60]
add ecx, 0x214
push ecx
lea edx, [ebp - 0x18]
push edx
call sub.MFC42.DLL_operator_2
mov dword [ebp - 4], 0xa
mov eax, dword [ebp - 0x60]
cmp dword [eax + 0x208], 0
jne 0x414b20
lea ecx, [ebp - 0x18]
call fcn.00412270
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x414b20
mov dword [ebp - 0x1c], 1
cmp dword [ebp - 0x1c], 0
je 0x414bf5
mov ecx, dword [ebp - 0x60]
cmp dword [ecx + 0x1fc], 0xffffffff
je 0x414b56
mov edx, dword [ebp - 0x60]
mov eax, dword [edx + 0x1fc]
push eax
call dword [sym.imp.libdxxmt.dll_Ordinal_189]
add esp, 4
mov ecx, dword [ebp - 0x60]
mov dword [ecx + 0x1fc], 0xffffffff
push 0x8000
lea ecx, [ebp - 0x18]
call fcn.00412270
push eax
call dword [sym.imp.libdxxmt.dll_Ordinal_188]
add esp, 8
mov edx, dword [ebp - 0x60]
mov dword [edx + 0x1fc], eax
mov eax, dword [ebp - 0x60]
cmp dword [eax + 0x1fc], 0xffffffff
jne 0x414ba9
mov ecx, dword [ebp - 0x60]
mov dword [ecx + 0x1fc], 0xffffffff
push 0x8000
push 0
mov edx, dword [ebp - 0x60]
mov eax, dword [edx + 0x220]
push eax
call dword [sym.imp.libdxxmt.dll_Ordinal_55]
add esp, 0xc
mov ecx, dword [ebp - 0x60]
add ecx, 0x1e0
push ecx
mov edx, dword [ebp - 0x60]
mov eax, dword [edx + 0x1fc]
push eax
mov ecx, dword [ebp - 0x60]
mov ecx, dword [ecx + 8]
call fcn.0040a3c3
test eax, eax
jne 0x414be6
push 0x8000
push 0
mov edx, dword [ebp - 0x60]
mov eax, dword [edx + 0x220]
push eax
call dword [sym.imp.libdxxmt.dll_Ordinal_55]
add esp, 0xc
mov ecx, dword [ebp - 0x60]
mov dword [ecx + 0x19c], 0xb
jmp 0x414c1b
mov edx, dword [ebp - 0x60]
cmp dword [edx + 0x208], 0
jne 0x414c0f
push 2
push 1
mov ecx, dword [ebp - 0x60]
call fcn.0041457f
jmp 0x414c1b
push 2
push 0
mov ecx, dword [ebp - 0x60]
call fcn.0041457f
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.0045dfd8
jmp 0x414c38
push 0xd
push 6
mov ecx, dword [ebp - 0x60]
call fcn.0041457f
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret