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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43aad6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x6ec
mov dword [ebp - 0x670], ecx
push 0x58
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [ebp - 0x5cc], eax
mov dword [ebp - 4], 0
cmp dword [ebp - 0x5cc], 0
je 0x405029
mov ecx, dword [ebp - 0x5cc]
call fcn.00412030
mov dword [ebp - 0x674], eax
jmp 0x405033
mov dword [ebp - 0x674], 0
mov eax, dword [ebp - 0x674]
mov dword [ebp - 0x5c8], eax
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x670]
mov edx, dword [ebp - 0x5c8]
mov dword [ecx + 0x154], edx
push 0x40
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [ebp - 0x5d4], eax
mov dword [ebp - 4], 1
cmp dword [ebp - 0x5d4], 0
je 0x40508b
mov ecx, dword [ebp - 0x5d4]
call fcn.00417290
mov dword [ebp - 0x678], eax
jmp 0x405095
mov dword [ebp - 0x678], 0
mov eax, dword [ebp - 0x678]
mov dword [ebp - 0x5d0], eax
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x5d0]
mov dword [ebp - 0x24], ecx
lea edx, [ebp - 0x5dc]
push edx
mov ecx, dword [ebp - 0x670]
add ecx, 0x16c
call fcn.00409e1e
mov dword [ebp - 0x67c], eax
mov eax, dword [ebp - 0x67c]
mov dword [ebp - 0x680], eax
mov dword [ebp - 4], 2
mov ecx, dword [ebp - 0x680]
call fcn.0040cdc0
push eax
mov ecx, dword [ebp - 0x24]
call fcn.004173bb
and eax, 0xff
neg eax
sbb eax, eax
inc eax
mov byte [ebp - 0x5d8], al
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x5dc]
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp - 0x5d8]
and ecx, 0xff
test ecx, ecx
je 0x40517f
mov edx, dword [ebp - 0x24]
mov dword [ebp - 0x5e4], edx
mov eax, dword [ebp - 0x5e4]
mov dword [ebp - 0x5e0], eax
cmp dword [ebp - 0x5e0], 0
je 0x405160
push 1
mov ecx, dword [ebp - 0x5e0]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x5e0]
call dword [edx]
mov dword [ebp - 0x684], eax
jmp 0x40516a
mov dword [ebp - 0x684], 0
push 0
push 0
push 0x449334
call sub.MFC42.DLL_AfxMessageBox
xor al, al
jmp 0x4060be
mov eax, dword [ebp - 0x670]
mov ecx, dword [ebp - 0x24]
mov dword [eax + 0x158], ecx
push 8
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [ebp - 0x5ec], eax
mov dword [ebp - 4], 3
cmp dword [ebp - 0x5ec], 0
je 0x4051ce
mov edx, dword [ebp - 0x670]
add edx, 0x104
push edx
mov ecx, dword [ebp - 0x5ec]
call fcn.00408400
mov dword [ebp - 0x688], eax
jmp 0x4051d8
mov dword [ebp - 0x688], 0
mov eax, dword [ebp - 0x688]
mov dword [ebp - 0x5e8], eax
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x670]
mov edx, dword [ebp - 0x5e8]
mov dword [ecx + 0x164], edx
mov ecx, dword [ebp - 0x24]
call fcn.00408bd0
cmp dword [eax + 0x3c], 1
jbe 0x4052f9
push 0
lea ecx, [ebp - 0x574]
call fcn.0040253b
mov dword [ebp - 4], 4
mov ecx, dword [ebp - 0x24]
call fcn.00408bd0
add eax, 0x14
push eax
lea ecx, [ebp - 0x44]
call sub.MFC42.DLL_CString::operator
lea ecx, [ebp - 0x574]
call sub.MFC42.DLL_CDialog::DoModal
cmp eax, 2
jne 0x40526b
mov byte [ebp - 0x5f0], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x574]
call fcn.00402bb0
mov al, byte [ebp - 0x5f0]
jmp 0x4060be
push 0
mov ecx, dword [ebp - 0x670]
add ecx, 0xc8
call fcn.004086b0
mov ecx, eax
call fcn.0040cdc0
push eax
mov eax, dword [ebp - 0x670]
mov ecx, dword [eax + 0x158]
call fcn.004177f8
and eax, 0xff
test eax, eax
jne 0x4052d2
push 0
push 0
push 0x449354
call sub.MFC42.DLL_AfxMessageBox
mov byte [ebp - 0x5f4], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x574]
call fcn.00402bb0
mov al, byte [ebp - 0x5f4]
jmp 0x4060be
push 1
push 0
mov ecx, dword [ebp - 0x670]
add ecx, 0xc8
call sub.MFC42.DLL_CStringArray::RemoveAt
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x574]
call fcn.00402bb0
mov ecx, dword [ebp - 0x670]
mov ecx, dword [ecx + 0x158]
call fcn.00408bd0
add eax, 0x24
push eax
lea ecx, [ebp - 0x1c]
call fcn.00431d2a
mov dword [ebp - 4], 5
lea edx, [ebp - 0x1c]
push edx
lea ecx, [ebp - 0x28]
call fcn.00431d2a
mov byte [ebp - 4], 6
mov dword [ebp - 0x34], 0
lea ecx, [ebp - 0x1c]
call fcn.00402c80
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
sub eax, 1
mov dword [ebp - 0x34], eax
jmp 0x405353
mov ecx, dword [ebp - 0x34]
sub ecx, 1
mov dword [ebp - 0x34], ecx
cmp dword [ebp - 0x34], 0
jl 0x40537b
mov edx, dword [ebp - 0x34]
push edx
lea ecx, [ebp - 0x1c]
call fcn.00408520
mov byte [ebp - 0x578], al
movsx eax, byte [ebp - 0x578]
cmp eax, 0x2e
jne 0x405379
jmp 0x40537b
jmp 0x40534a
mov ecx, dword [ebp - 0x38]
sub ecx, dword [ebp - 0x34]
push ecx
lea edx, [ebp - 0x3c]
push edx
lea ecx, [ebp - 0x1c]
call sub.MFC42.DLL_CString::Right
mov byte [ebp - 4], 7
push 0x449374
lea ecx, [ebp - 0x3c]
call fcn.0040cdc0
push eax
lea ecx, [ebp - 0x1c]
call sub.MFC42.DLL_CString::Replace
push 0x44937c
lea eax, [ebp - 0x20]
push eax
call fcn.004085c0
mov ecx, eax
call fcn.00413c35
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x1c]
push ecx
lea edx, [ebp - 0x20]
push edx
mov ecx, dword [ebp - 0x670]
call fcn.00409943
lea eax, [ebp - 0x1c]
push eax
push 0x449384
lea ecx, [ebp - 0x20]
push ecx
lea edx, [ebp - 0x5f8]
push edx
call sub.MFC42.DLL_operator_1
mov dword [ebp - 0x68c], eax
mov eax, dword [ebp - 0x68c]
mov dword [ebp - 0x690], eax
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x690]
push ecx
lea edx, [ebp - 0x10]
push edx
call sub.MFC42.DLL_operator
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x5f8]
call sub.MFC42.DLL_CString::CString
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x2c]
call sub.MFC42.DLL_CString::CString_2
mov byte [ebp - 4], 0xc
mov byte [ebp - 0x14], 1
lea ecx, [ebp - 0x10]
call fcn.0040cdc0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x405753
lea ecx, [ebp - 0x57c]
call fcn.0040dba0
mov byte [ebp - 4], 0xd
push 7
push 0
push 0x449728
lea ecx, [ebp - 0x57c]
call fcn.00409110
mov dword [ebp - 0x580], eax
cmp dword [ebp - 0x580], 0
jl 0x405740
lea ecx, [ebp - 0x10]
call fcn.0040cdc0
push eax
lea ecx, [ebp - 0x60c]
call fcn.00408710
mov dword [ebp - 0x694], eax
mov eax, dword [ebp - 0x694]
mov dword [ebp - 0x698], eax
mov byte [ebp - 4], 0xe
mov ecx, dword [ebp - 0x698]
push ecx
lea ecx, [ebp - 0x608]
call fcn.00408920
mov byte [ebp - 4], 0xf
lea edx, [ebp - 0x608]
push edx
lea ecx, [ebp - 0x57c]
call fcn.004090e0
mov ecx, eax
call fcn.00408b30
mov word [ebp - 0x584], ax
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x608]
call fcn.004089b0
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x60c]
call fcn.004087a0
movsx eax, word [ebp - 0x584]
cmp eax, 0xffffffff
jne 0x405740
push ecx
mov ecx, esp
mov dword [ebp - 0x610], esp
push 0x44938c
call fcn.00408710
mov dword [ebp - 0x69c], eax
mov ecx, dword [ebp - 0x69c]
mov dword [ebp - 0x6a0], ecx
mov byte [ebp - 4], 0x10
lea edx, [ebp - 0x588]
push edx
lea ecx, [ebp - 0x57c]
call fcn.004090e0
mov ecx, eax
mov byte [ebp - 4], 0xd
call fcn.004089f0
mov dword [ebp - 0x6a4], eax
mov byte [ebp - 4], 0x11
push 0x4493ac
lea ecx, [ebp - 0x588]
call fcn.004090e0
mov ecx, eax
call fcn.00408af0
sub eax, 1
push ecx
mov ecx, esp
mov dword [ebp - 0x614], esp
push eax
push ecx
lea ecx, [ebp - 0x588]
call fcn.004090e0
mov ecx, eax
call fcn.00408a90
mov dword [ebp - 0x6a8], eax
lea edx, [ebp - 0x618]
push edx
call fcn.00415d19
add esp, 0xc
mov dword [ebp - 0x6ac], eax
mov eax, dword [ebp - 0x6ac]
mov dword [ebp - 0x6b0], eax
mov byte [ebp - 4], 0x12
mov ecx, dword [ebp - 0x6b0]
push ecx
lea ecx, [ebp - 0x2c]
call sub.MFC42.DLL_CString::operator
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x618]
call sub.MFC42.DLL_CString::CString
mov dword [ebp - 0x40], 1
mov edx, dword [ebp - 0x670]
mov ecx, dword [edx + 0x158]
call fcn.00408bd0
mov eax, dword [eax + 0x34]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x670]
mov ecx, dword [ecx + 0x158]
call fcn.00408bd0
add eax, 0x2c
push eax
lea ecx, [ebp - 0x58c]
call fcn.00431d2a
mov byte [ebp - 4], 0x13
push 0x44f174
lea edx, [ebp - 0x58c]
push edx
call fcn.00408540
and eax, 0xff
test eax, eax
je 0x405722
cmp dword [ebp - 0x18], 0
je 0x405722
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x594]
call fcn.00431d2a
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x58c]
push ecx
lea ecx, [ebp - 0x590]
call fcn.00431d2a
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x594]
call sub.MFC42.DLL_CString::MakeLower
lea ecx, [ebp - 0x590]
call sub.MFC42.DLL_CString::MakeLower
lea ecx, [ebp - 0x590]
call fcn.0040cdc0
push eax
lea ecx, [ebp - 0x594]
call sub.MFC42.DLL_CString::Find_1
mov dword [ebp - 0x598], eax
cmp dword [ebp - 0x598], 0xffffffff
je 0x405704
mov edx, dword [ebp - 0x598]
push edx
lea eax, [ebp - 0x61c]
push eax
lea ecx, [ebp - 0x2c]
call sub.MFC42.DLL_CString::Left
mov dword [ebp - 0x6b4], eax
mov ecx, dword [ebp - 0x6b4]
mov dword [ebp - 0x6b8], ecx
mov byte [ebp - 4], 0x16
mov edx, dword [ebp - 0x6b8]
push edx
lea ecx, [ebp - 0x2c]
call sub.MFC42.DLL_CString::operator
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x61c]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x590]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x594]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x58c]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x588]
call fcn.004090c0
mov byte [ebp - 0x14], 0
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x57c]
call fcn.004090c0
mov eax, dword [ebp - 0x14]
and eax, 0xff
test eax, eax
je 0x4058f3
mov ecx, dword [ebp - 0x670]
mov ecx, dword [ecx + 0x158]
call fcn.00408bd0
mov edx, dword [eax + 0x30]
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x18], 0
mov eax, dword [ebp - 0x670]
mov ecx, dword [eax + 0x158]
call fcn.00408bd0
add eax, 0x28
push eax
lea ecx, [ebp - 0x2c]
call sub.MFC42.DLL_CString::operator
cmp dword [ebp - 0x30], 0
je 0x4057f9
lea ecx, [ebp - 0x2c]
call fcn.0040cdc0
push eax
lea ecx, [ebp - 0x620]
push ecx
call fcn.004085c0
mov ecx, eax
call fcn.00413c35
mov dword [ebp - 0x6bc], eax
mov edx, dword [ebp - 0x6bc]
mov dword [ebp - 0x6c0], edx
mov byte [ebp - 4], 0x17
mov eax, dword [ebp - 0x6c0]
push eax
lea ecx, [ebp - 0x2c]
call sub.MFC42.DLL_CString::operator
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x620]
call sub.MFC42.DLL_CString::CString
jmp 0x4058ec
lea ecx, [ebp - 0x59c]
push ecx
push 0x20019
push 0
push 0x4493b4
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 0x5a0], eax
cmp dword [ebp - 0x5a0], 0
je 0x405891
push 0
push 0
push 0x4493d4
call sub.MFC42.DLL_AfxMessageBox
mov byte [ebp - 0x624], 0
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x2c]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x20]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x3c]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x28]
call sub.MFC42.DLL_CString::CString
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call sub.MFC42.DLL_CString::CString
mov al, byte [ebp - 0x624]
jmp 0x4060be
mov edx, dword [ebp - 0x2c]
push edx
push 0x4493f4
lea eax, [ebp - 0x628]
push eax
call fcn.004085c0
mov ecx, eax
call fcn.00413c35
mov dword [ebp - 0x6c4], eax
mov ecx, dword [ebp - 0x6c4]
mov dword [ebp - 0x6c8], ecx
mov byte [ebp - 4], 0x18
mov edx, dword [ebp - 0x6c8]
mov eax, dword [edx]
push eax
push 0x4493fc
lea ecx, [ebp - 0x2c]
push ecx
call sub.MFC42.DLL_CString::Format
add esp, 0x10
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x628]
call sub.MFC42.DLL_CString::CString
mov dword [ebp - 0x40], 0
mov edx, dword [ebp - 0x670]
cmp dword [edx + 0x194], 1
jne 0x405c11
push 0x1714
call fcn.00408500
mov dword [ebp - 0x630], eax
mov byte [ebp - 4], 0x19
cmp dword [ebp - 0x630], 0
je 0x405938
push 0
mov ecx, dword [ebp - 0x630]
call fcn.0040a356
mov dword [ebp - 0x6cc], eax
jmp 0x405942
mov dword [ebp - 0x6cc], 0
mov eax, dword [ebp - 0x6cc]
mov dword [ebp - 0x62c], eax
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x670]
mov edx, dword [ebp - 0x62c]
mov dword [ecx + 0x15c], edx
push ecx
mov ecx, esp
mov dword [ebp - 0x634], esp
lea eax, [ebp - 0x28]
push eax
call fcn.00431d2a
mov dword [ebp - 0x6d0], eax
mov ecx, dword [ebp - 0x670]
mov ecx, dword [ecx + 0x15c]
call fcn.0040c5b5
mov edx, dword [ebp - 0x670]
mov eax, dword [ebp - 0x670]
mov ecx, dword [eax + 0x15c]
mov dword [edx + 0x20], ecx
mov edx, dword [ebp - 0x670]
mov ecx, dword [edx + 0x158]
call fcn.00408bd0
add eax, 0x18
push eax
lea ecx, [ebp - 0x5b0]
call fcn.00431d2a
mov byte [ebp - 4], 0x1a
mov eax, dword [ebp - 0x670]
mov ecx, dword [eax + 0x158]
call fcn.00408bd0
add eax, 0x1c
push eax
lea ecx, [ebp - 0x5a4]
call fcn.00431d2a
mov byte [ebp - 4], 0x1b
mov ecx, dword [ebp - 0x670]
mov ecx, dword [ecx + 0x158]
call fcn.00408bd0
add eax, 0x20
push eax
lea ecx, [ebp - 0x5ac]
call fcn.00431d2a
mov byte [ebp - 4], 0x1c
mov edx, dword [ebp - 0x670]
mov ecx, dword [edx + 0x158]
call fcn.00408bd0
add eax, 0x2c
push eax
lea ecx, [ebp - 0x5a8]
call fcn.00431d2a
mov byte [ebp - 4], 0x1d
lea eax, [ebp - 0x638]
push eax
mov ecx, dword [ebp - 0x670]
mov ecx, dword [ecx + 0x158]
call fcn.00408bd0
mov ecx, eax
call fcn.00414850
mov dword [ebp - 0x6d4], eax
mov edx, dword [ebp - 0x6d4]
mov dword [ebp - 0x6d8], edx
mov byte [ebp - 4], 0x1e
mov eax, dword [ebp - 0x6d8]
push eax
mov ecx, dword [ebp - 0x670]
mov ecx, dword [ecx + 0x15c]
add ecx, 0x6d4
call sub.MFC42.DLL_CString::operator
mov byte [ebp - 4], 0x1d
lea ecx, [ebp - 0x638]
call sub.MFC42.DLL_CString::CString
mov edx, dword [ebp - 0x670]
mov eax, dword [edx + 0x15c]
add eax, 0x64
push eax
mov ecx, dword [ebp - 0x670]
mov ecx, dword [ecx + 0x158]
call fcn.00408bd0
mov ecx, eax
call fcn.00414a60
mov edx, dword [ebp - 0x670]
mov ecx, dword [edx + 0x15c]
mov dword [ecx + 0x60], eax
lea ecx, [ebp - 0x5ac]
call fcn.004086f0
test eax, eax
je 0x405b56
cmp dword [ebp - 0x670], 0
je 0x405af7
mov edx, dword [ebp - 0x670]
add edx, 0xc4
mov dword [ebp - 0x6dc], edx
jmp 0x405b01
mov dword [ebp - 0x6dc], 0
lea ecx, [ebp - 0x5a8]
call fcn.0040cdc0
push eax
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x30]
push ecx
mov edx, dword [ebp - 0x40]
push edx
lea ecx, [ebp - 0x2c]
call fcn.0040cdc0
push eax
push 0
lea ecx, [ebp - 0x5a4]
call fcn.0040cdc0
push eax
lea ecx, [ebp - 0x5b0]
call fcn.0040cdc0
push eax
mov eax, dword [ebp - 0x6dc]
push eax
mov ecx, dword [ebp - 0x670]
mov ecx, dword [ecx + 0x15c]
call fcn.0040ba62
jmp 0x405bd0
cmp dword [ebp - 0x670], 0
je 0x405b73
mov edx, dword [ebp - 0x670]
add edx, 0xc4
mov dword [ebp - 0x6e0], edx
jmp 0x405b7d
mov dword [ebp - 0x6e0], 0
lea ecx, [ebp - 0x5a8]
call fcn.0040cdc0
push eax
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x30]
push ecx
mov edx, dword [ebp - 0x40]
push edx
lea ecx, [ebp - 0x2c]
call fcn.0040cdc0
push eax
push 0
lea ecx, [ebp - 0x5ac]
call fcn.0040cdc0
push eax
lea ecx, [ebp - 0x5b0]
call fcn.0040cdc0
push eax
mov eax, dword [ebp - 0x6e0]
push eax
mov ecx, dword [ebp - 0x670]
mov ecx, dword [ecx + 0x15c]
call fcn.0040ba62
mov byte [ebp - 4], 0x1c
lea ecx, [ebp - 0x5a8]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 0x1b
lea ecx, [ebp - 0x5ac]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 0x1a
lea ecx, [ebp - 0x5a4]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x5b0]
call sub.MFC42.DLL_CString::CString
jmp 0x406066
mov edx, dword [ebp - 0x670]
cmp dword [edx + 0x194], 2
jne 0x405f25
push 0x116c
call fcn.00408500
mov dword [ebp - 0x640], eax
mov byte [ebp - 4], 0x1f
cmp dword [ebp - 0x640], 0
je 0x405c54
mov ecx, dword [ebp - 0x640]
call fcn.0040ff30
mov dword [ebp - 0x6e4], eax
jmp 0x405c5e
mov dword [ebp - 0x6e4], 0
mov eax, dword [ebp - 0x6e4]
mov dword [ebp - 0x63c], eax
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x670]
mov edx, dword [ebp - 0x63c]
mov dword [ecx + 0x1c0], edx
mov eax, dword [ebp - 0x670]
cmp dword [eax + 0x1c0], 0
jne 0x405cec
mov byte [ebp - 0x644], 0
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x2c]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x20]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x3c]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x28]
call sub.MFC42.DLL_CString::CString
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call sub.MFC42.DLL_CString::CString
mov al, byte [ebp - 0x644]
jmp 0x4060be
push 0
push 0x3039
call fcn.00408bb0
push eax
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x654]
call fcn.00402b40
push eax
push 0
push str.Setup2MsgWindow
push 0
mov ecx, dword [ebp - 0x670]
mov ecx, dword [ecx + 0x1c0]
mov edx, dword [ebp - 0x670]
mov eax, dword [edx + 0x1c0]
mov edx, dword [eax]
call dword [edx + 0x5c]
test eax, eax
jne 0x405d94
mov byte [ebp - 0x658], 0
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x2c]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x20]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x3c]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x28]
call sub.MFC42.DLL_CString::CString
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call sub.MFC42.DLL_CString::CString
mov al, byte [ebp - 0x658]
jmp 0x4060be
mov eax, dword [ebp - 0x670]
mov ecx, dword [ebp - 0x670]
mov edx, dword [ecx + 0x1c0]
mov dword [eax + 0x20], edx
lea eax, [ebp - 0x5b8]
push eax
mov ecx, dword [ebp - 0x670]
add ecx, 0x16c
call fcn.00409cf7
mov byte [ebp - 4], 0x20
lea ecx, [ebp - 0x5b8]
call fcn.004086f0
test eax, eax
je 0x405df4
mov ecx, dword [ebp - 0x670]
mov ecx, dword [ecx + 0x158]
call fcn.00408bd0
add eax, 0x24
push eax
lea ecx, [ebp - 0x5b8]
call sub.MFC42.DLL_CString::operator
mov edx, dword [ebp - 0x670]
mov ecx, dword [edx + 0x158]
call fcn.00408bd0
add eax, 0x2c
push eax
lea ecx, [ebp - 0x5b4]
call fcn.00431d2a
mov byte [ebp - 4], 0x21
cmp dword [ebp - 0x670], 0
je 0x405e34
mov eax, dword [ebp - 0x670]
add eax, 0xc4
mov dword [ebp - 0x6e8], eax
jmp 0x405e3e
mov dword [ebp - 0x6e8], 0
lea ecx, [ebp - 0x5b4]
call fcn.0040cdc0
push eax
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0x30]
push edx
mov eax, dword [ebp - 0x40]
push eax
lea ecx, [ebp - 0x2c]
call fcn.0040cdc0
push eax
lea ecx, [ebp - 0x5b8]
call fcn.0040cdc0
push eax
mov ecx, dword [ebp - 0x6e8]
push ecx
mov edx, dword [ebp - 0x670]
mov ecx, dword [edx + 0x1c0]
call fcn.00410277
test eax, eax
jne 0x405f02
mov byte [ebp - 0x65c], 0
mov byte [ebp - 4], 0x20
lea ecx, [ebp - 0x5b4]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x5b8]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x2c]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x20]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x3c]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x28]
call sub.MFC42.DLL_CString::CString
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call sub.MFC42.DLL_CString::CString
mov al, byte [ebp - 0x65c]
jmp 0x4060be
mov byte [ebp - 4], 0x20
lea ecx, [ebp - 0x5b4]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x5b8]
call sub.MFC42.DLL_CString::CString
jmp 0x406066
lea ecx, [ebp - 0x2c]
call fcn.0040cdc0
push eax
call fcn.004085c0
mov ecx, eax
call fcn.00413d47
lea ecx, [ebp - 0x2c]
call fcn.0040cdc0
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryA]
test eax, eax
jne 0x406066
mov dword [ebp - 0x5c0], 0
lea ecx, [ebp - 0x2c]
call fcn.00402c80
mov dword [ebp - 0x5bc], eax
mov eax, dword [ebp - 0x5c0]
push eax
push 0x5c
lea ecx, [ebp - 0x2c]
call sub.MFC42.DLL_CString::Find
mov dword [ebp - 0x5c4], eax
cmp dword [ebp - 0x5c4], 0
jge 0x405f8e
jmp 0x406066
mov ecx, dword [ebp - 0x5c4]
push ecx
lea edx, [ebp - 0x664]
push edx
lea ecx, [ebp - 0x2c]
call sub.MFC42.DLL_CString::Left
mov dword [ebp - 0x6ec], eax
mov eax, dword [ebp - 0x6ec]
mov dword [ebp - 0x6f0], eax
mov byte [ebp - 4], 0x22
mov ecx, dword [ebp - 0x6f0]
call fcn.0040cdc0
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryA]
neg eax
sbb eax, eax
inc eax
mov byte [ebp - 0x660], al
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x664]
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp - 0x660]
and ecx, 0xff
test ecx, ecx
je 0x406045
push 0
mov edx, dword [ebp - 0x5c4]
push edx
lea eax, [ebp - 0x668]
push eax
lea ecx, [ebp - 0x2c]
call sub.MFC42.DLL_CString::Left
mov dword [ebp - 0x6f4], eax
mov ecx, dword [ebp - 0x6f4]
mov dword [ebp - 0x6f8], ecx
mov byte [ebp - 4], 0x23
mov ecx, dword [ebp - 0x6f8]
call fcn.0040cdc0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x668]
call sub.MFC42.DLL_CString::CString
mov edx, dword [ebp - 0x5c4]
add edx, 1
mov dword [ebp - 0x5c0], edx
mov eax, dword [ebp - 0x5c0]
cmp eax, dword [ebp - 0x5bc]
jl 0x405f69
mov byte [ebp - 0x66c], 1
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x2c]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x20]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x3c]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x28]
call sub.MFC42.DLL_CString::CString
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call sub.MFC42.DLL_CString::CString
mov al, byte [ebp - 0x66c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret