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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x439876
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x6ec
mov dword [ebp - 0x670], ecx
push 0x54
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [ebp - 0x5cc], eax
mov dword [ebp - 4], 0
cmp dword [ebp - 0x5cc], 0
je 0x404fb5
mov ecx, dword [ebp - 0x5cc]
call fcn.00411e10
mov dword [ebp - 0x674], eax
jmp 0x404fbf
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 0x405017
mov ecx, dword [ebp - 0x5d4]
call fcn.00417100
mov dword [ebp - 0x678], eax
jmp 0x405021
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.004098ae
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.0040c8c0
push eax
mov ecx, dword [ebp - 0x24]
call fcn.004172d0
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 0x40510b
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 0x4050ec
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 0x4050f6
mov dword [ebp - 0x684], 0
push 0
push 0
push 0x447324
call sub.MFC42.DLL_AfxMessageBox
xor al, al
jmp 0x40604a
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 0x40515a
mov edx, dword [ebp - 0x670]
add edx, 0x104
push edx
mov ecx, dword [ebp - 0x5ec]
call fcn.00407dea
mov dword [ebp - 0x688], eax
jmp 0x405164
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.004085c0
cmp dword [eax + 0x3c], 1
jbe 0x405285
push 0
lea ecx, [ebp - 0x574]
call fcn.0040253b
mov dword [ebp - 4], 4
mov ecx, dword [ebp - 0x24]
call fcn.004085c0
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 0x4051f7
mov byte [ebp - 0x5f0], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x574]
call fcn.00402bb0
mov al, byte [ebp - 0x5f0]
jmp 0x40604a
push 0
mov ecx, dword [ebp - 0x670]
add ecx, 0xc8
call fcn.004080a0
mov ecx, eax
call fcn.0040c8c0
push eax
mov eax, dword [ebp - 0x670]
mov ecx, dword [eax + 0x158]
call fcn.00417840
and eax, 0xff
test eax, eax
jne 0x40525e
push 0
push 0
push 0x447344
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 0x40604a
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.004085c0
add eax, 0x24
push eax
lea ecx, [ebp - 0x1c]
call fcn.00430af2
mov dword [ebp - 4], 5
lea edx, [ebp - 0x1c]
push edx
lea ecx, [ebp - 0x28]
call fcn.00430af2
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 0x4052df
mov ecx, dword [ebp - 0x34]
sub ecx, 1
mov dword [ebp - 0x34], ecx
cmp dword [ebp - 0x34], 0
jl 0x405307
mov edx, dword [ebp - 0x34]
push edx
lea ecx, [ebp - 0x1c]
call fcn.00407f10
mov byte [ebp - 0x578], al
movsx eax, byte [ebp - 0x578]
cmp eax, 0x2e
jne 0x405305
jmp 0x405307
jmp 0x4052d6
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 0x447364
lea ecx, [ebp - 0x3c]
call fcn.0040c8c0
push eax
lea ecx, [ebp - 0x1c]
call sub.MFC42.DLL_CString::Replace
push 0x44736c
lea eax, [ebp - 0x20]
push eax
call fcn.00407fb0
mov ecx, eax
call fcn.00413b90
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x1c]
push ecx
lea edx, [ebp - 0x20]
push edx
mov ecx, dword [ebp - 0x670]
call fcn.004093c9
lea eax, [ebp - 0x1c]
push eax
push 0x447374
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.0040c8c0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x4056df
lea ecx, [ebp - 0x57c]
call fcn.0040c840
mov byte [ebp - 4], 0xd
push 7
push 0
push 0x447640
lea ecx, [ebp - 0x57c]
call fcn.00408b60
mov dword [ebp - 0x580], eax
cmp dword [ebp - 0x580], 0
jl 0x4056cc
lea ecx, [ebp - 0x10]
call fcn.0040c8c0
push eax
lea ecx, [ebp - 0x60c]
call fcn.00408100
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.00408310
mov byte [ebp - 4], 0xf
lea edx, [ebp - 0x608]
push edx
lea ecx, [ebp - 0x57c]
call fcn.00408b10
mov ecx, eax
call fcn.00408520
mov word [ebp - 0x584], ax
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x608]
call fcn.004083a0
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x60c]
call fcn.00408190
movsx eax, word [ebp - 0x584]
cmp eax, 0xffffffff
jne 0x4056cc
push ecx
mov ecx, esp
mov dword [ebp - 0x610], esp
push 0x44737c
call fcn.00408100
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.00408b10
mov ecx, eax
mov byte [ebp - 4], 0xd
call fcn.004083e0
mov dword [ebp - 0x6a4], eax
mov byte [ebp - 4], 0x11
push 0x44739c
lea ecx, [ebp - 0x588]
call fcn.00408b10
mov ecx, eax
call fcn.004084e0
sub eax, 1
push ecx
mov ecx, esp
mov dword [ebp - 0x614], esp
push eax
push ecx
lea ecx, [ebp - 0x588]
call fcn.00408b10
mov ecx, eax
call fcn.00408480
mov dword [ebp - 0x6a8], eax
lea edx, [ebp - 0x618]
push edx
call fcn.00415cc0
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.004085c0
mov eax, dword [eax + 0x34]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x670]
mov ecx, dword [ecx + 0x158]
call fcn.004085c0
add eax, 0x2c
push eax
lea ecx, [ebp - 0x58c]
call fcn.00430af2
mov byte [ebp - 4], 0x13
push 0x44bacc
lea edx, [ebp - 0x58c]
push edx
call fcn.00407f30
and eax, 0xff
test eax, eax
je 0x4056ae
cmp dword [ebp - 0x18], 0
je 0x4056ae
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x594]
call fcn.00430af2
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x58c]
push ecx
lea ecx, [ebp - 0x590]
call fcn.00430af2
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.0040c8c0
push eax
lea ecx, [ebp - 0x594]
call sub.MFC42.DLL_CString::Find_1
mov dword [ebp - 0x598], eax
cmp dword [ebp - 0x598], 0xffffffff
je 0x405690
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.00408b40
mov byte [ebp - 0x14], 0
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x57c]
call fcn.00408b40
mov eax, dword [ebp - 0x14]
and eax, 0xff
test eax, eax
je 0x40587f
mov ecx, dword [ebp - 0x670]
mov ecx, dword [ecx + 0x158]
call fcn.004085c0
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.004085c0
add eax, 0x28
push eax
lea ecx, [ebp - 0x2c]
call sub.MFC42.DLL_CString::operator
cmp dword [ebp - 0x30], 0
je 0x405785
lea ecx, [ebp - 0x2c]
call fcn.0040c8c0
push eax
lea ecx, [ebp - 0x620]
push ecx
call fcn.00407fb0
mov ecx, eax
call fcn.00413b90
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 0x405878
lea ecx, [ebp - 0x59c]
push ecx
push 0x20019
push 0
push 0x4473a4
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 0x5a0], eax
cmp dword [ebp - 0x5a0], 0
je 0x40581d
push 0
push 0
push 0x4473c4
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 0x40604a
mov edx, dword [ebp - 0x2c]
push edx
push 0x4473e4
lea eax, [ebp - 0x628]
push eax
call fcn.00407fb0
mov ecx, eax
call fcn.00413b90
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 0x4473ec
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 0x405b9d
push 0x1714
call fcn.00407ef0
mov dword [ebp - 0x630], eax
mov byte [ebp - 4], 0x19
cmp dword [ebp - 0x630], 0
je 0x4058c4
push 0
mov ecx, dword [ebp - 0x630]
call fcn.00409de6
mov dword [ebp - 0x6cc], eax
jmp 0x4058ce
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.00430af2
mov dword [ebp - 0x6d0], eax
mov ecx, dword [ebp - 0x670]
mov ecx, dword [ecx + 0x15c]
call fcn.0040c045
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.004085c0
add eax, 0x18
push eax
lea ecx, [ebp - 0x5b0]
call fcn.00430af2
mov byte [ebp - 4], 0x1a
mov eax, dword [ebp - 0x670]
mov ecx, dword [eax + 0x158]
call fcn.004085c0
add eax, 0x1c
push eax
lea ecx, [ebp - 0x5a4]
call fcn.00430af2
mov byte [ebp - 4], 0x1b
mov ecx, dword [ebp - 0x670]
mov ecx, dword [ecx + 0x158]
call fcn.004085c0
add eax, 0x20
push eax
lea ecx, [ebp - 0x5ac]
call fcn.00430af2
mov byte [ebp - 4], 0x1c
mov edx, dword [ebp - 0x670]
mov ecx, dword [edx + 0x158]
call fcn.004085c0
add eax, 0x2c
push eax
lea ecx, [ebp - 0x5a8]
call fcn.00430af2
mov byte [ebp - 4], 0x1d
lea eax, [ebp - 0x638]
push eax
mov ecx, dword [ebp - 0x670]
mov ecx, dword [ecx + 0x158]
call fcn.004085c0
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.004085c0
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.004080e0
test eax, eax
je 0x405ae2
cmp dword [ebp - 0x670], 0
je 0x405a83
mov edx, dword [ebp - 0x670]
add edx, 0xc4
mov dword [ebp - 0x6dc], edx
jmp 0x405a8d
mov dword [ebp - 0x6dc], 0
lea ecx, [ebp - 0x5a8]
call fcn.0040c8c0
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.0040c8c0
push eax
push 0
lea ecx, [ebp - 0x5a4]
call fcn.0040c8c0
push eax
lea ecx, [ebp - 0x5b0]
call fcn.0040c8c0
push eax
mov eax, dword [ebp - 0x6dc]
push eax
mov ecx, dword [ebp - 0x670]
mov ecx, dword [ecx + 0x15c]
call fcn.0040b4f2
jmp 0x405b5c
cmp dword [ebp - 0x670], 0
je 0x405aff
mov edx, dword [ebp - 0x670]
add edx, 0xc4
mov dword [ebp - 0x6e0], edx
jmp 0x405b09
mov dword [ebp - 0x6e0], 0
lea ecx, [ebp - 0x5a8]
call fcn.0040c8c0
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.0040c8c0
push eax
push 0
lea ecx, [ebp - 0x5ac]
call fcn.0040c8c0
push eax
lea ecx, [ebp - 0x5b0]
call fcn.0040c8c0
push eax
mov eax, dword [ebp - 0x6e0]
push eax
mov ecx, dword [ebp - 0x670]
mov ecx, dword [ecx + 0x15c]
call fcn.0040b4f2
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 0x405ff2
mov edx, dword [ebp - 0x670]
cmp dword [edx + 0x194], 2
jne 0x405eb1
push 0x116c
call fcn.00407ef0
mov dword [ebp - 0x640], eax
mov byte [ebp - 4], 0x1f
cmp dword [ebp - 0x640], 0
je 0x405be0
mov ecx, dword [ebp - 0x640]
call fcn.0040fd10
mov dword [ebp - 0x6e4], eax
jmp 0x405bea
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 0x405c78
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 0x40604a
push 0
push 0x3039
call fcn.004085a0
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 0x405d20
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 0x40604a
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.00409787
mov byte [ebp - 4], 0x20
lea ecx, [ebp - 0x5b8]
call fcn.004080e0
test eax, eax
je 0x405d80
mov ecx, dword [ebp - 0x670]
mov ecx, dword [ecx + 0x158]
call fcn.004085c0
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.004085c0
add eax, 0x2c
push eax
lea ecx, [ebp - 0x5b4]
call fcn.00430af2
mov byte [ebp - 4], 0x21
cmp dword [ebp - 0x670], 0
je 0x405dc0
mov eax, dword [ebp - 0x670]
add eax, 0xc4
mov dword [ebp - 0x6e8], eax
jmp 0x405dca
mov dword [ebp - 0x6e8], 0
lea ecx, [ebp - 0x5b4]
call fcn.0040c8c0
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.0040c8c0
push eax
lea ecx, [ebp - 0x5b8]
call fcn.0040c8c0
push eax
mov ecx, dword [ebp - 0x6e8]
push ecx
mov edx, dword [ebp - 0x670]
mov ecx, dword [edx + 0x1c0]
call fcn.00410057
test eax, eax
jne 0x405e8e
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 0x40604a
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 0x405ff2
lea ecx, [ebp - 0x2c]
call fcn.0040c8c0
push eax
call fcn.00407fb0
mov ecx, eax
call fcn.00413cc0
lea ecx, [ebp - 0x2c]
call fcn.0040c8c0
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryA]
test eax, eax
jne 0x405ff2
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 0x405f1a
jmp 0x405ff2
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.0040c8c0
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 0x405fd1
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.0040c8c0
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 0x405ef5
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