Function at 0x408c1d
Capabilities:
Create directory

Disassembly:
mov eax, 0x41cc8e
call fcn.0041baa0
sub esp, 0x128
push ebx
push esi
push edi
mov esi, ecx
lea eax, [ebp + 0x14]
lea ecx, [ebp - 0x20]
push eax
mov dword [ebp - 4], 4
call sub.MFC42.DLL_CString::CString_3
lea edi, [esi + 0xd0]
lea ecx, [ebp - 0x20]
push edi
mov byte [ebp - 4], 5
call sub.MFC42.DLL_CString::operator
push dword [ebp - 0x20]
lea ecx, [esi + 0x128]
call fcn.00417933
push esi
lea ecx, [ebp - 0x134]
push dword [esi + 0x118]
call fcn.004059aa
lea eax, [ebp + 8]
lea ecx, [ebp - 0x12c]
push eax
mov byte [ebp - 4], 6
call sub.MFC42.DLL_CString::operator_3
lea eax, [ebp + 0x14]
lea ecx, [ebp - 0x128]
push eax
call sub.MFC42.DLL_CString::operator_3
lea eax, [ebp + 0x10]
lea ecx, [ebp - 0x120]
push eax
call sub.MFC42.DLL_CString::operator_3
lea eax, [ebp + 0xc]
lea ecx, [ebp - 0x11c]
push eax
call sub.MFC42.DLL_CString::operator_3
lea eax, [ebp + 0x18]
lea ecx, [ebp - 0x118]
push eax
call sub.MFC42.DLL_CString::operator_3
mov eax, dword [esi + 0x11c]
push edi
mov dword [ebp - 0x110], eax
lea eax, [esi + 0x4c]
lea ecx, [ebp - 0x124]
mov dword [ebp - 0x114], 0xea60
mov dword [ebp - 0x10c], eax
call sub.MFC42.DLL_CString::operator_3
lea ecx, [ebp - 0x134]
call fcn.0040f445
test al, al
jne 0x408d08
xor bl, bl
jmp 0x4093eb
lea ecx, [ebp - 0x50]
call sub.MFC42.DLL_CFile::CFile
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 7
call sub.MFC42.DLL_CString::CString_2
push 0
push 0
push dword [ebp - 0x20]
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 8
call sub.MFC42.DLL_CFile::Open
test eax, eax
jne 0x408d3a
xor bl, bl
jmp 0x4093d3
lea ecx, [ebp - 0x50]
call sub.MFC42.DLL_CFile::GetLength
mov edi, eax
test edi, edi
mov dword [ebp - 0x3c], edi
je 0x408d33
inc edi
push edi
call sub.MFC42.DLL_operatornew
mov ebx, eax
push edi
push 0
push ebx
call sub.MSVCRT.dll_memset
add esp, 0x10
lea ecx, [ebp - 0x50]
push dword [ebp - 0x3c]
push ebx
call sub.MFC42.DLL_CFile::Read
push ebx
lea ecx, [ebp - 0x10]
call fcn.0041b4e4
push ebx
call sub.MFC42.DLL_operatordelete
pop ecx
lea ecx, [ebp - 0x50]
call sub.MFC42.DLL_CFile::Close
and dword [ebp - 0x3c], 0
push 0x429ea8
lea ecx, [ebp - 0x24]
call sub.MFC42.DLL_CString::CString_1
mov byte [ebp - 4], 9
mov ecx, esi
call fcn.00406a60
test al, al
jne 0x409184
push dword [ebp - 0x3c]
lea ecx, [ebp - 0x10]
push str._src_
call sub.MFC42.DLL_CString::Find_1
mov edi, eax
test edi, edi
jl 0x409206
add edi, 6
lea ecx, [ebp - 0x10]
push edi
push 0x428308
call sub.MFC42.DLL_CString::Find_1
test eax, eax
mov dword [ebp - 0x3c], eax
jl 0x409206
sub eax, edi
lea ecx, [ebp - 0x10]
push eax
lea eax, [ebp - 0x18]
push edi
push eax
call sub.MFC42.DLL_CString::Mid_1
lea eax, [ebp - 0x18]
lea ecx, [ebp - 0x1c]
push eax
mov byte [ebp - 4], 0xa
call sub.MFC42.DLL_CString::CString_3
lea eax, [ebp - 0x18]
lea ecx, [ebp - 0x14]
push eax
mov byte [ebp - 4], 0xb
call sub.MFC42.DLL_CString::CString_3
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0xc
call sub.MFC42.DLL_CString::MakeLower
lea eax, [ebp + 0xc]
lea ecx, [ebp - 0x34]
push eax
call sub.MFC42.DLL_CString::CString_3
lea eax, [ebp + 8]
lea ecx, [ebp - 0x30]
push eax
mov byte [ebp - 4], 0xd
call sub.MFC42.DLL_CString::CString_3
lea eax, [ebp - 0x18]
lea ecx, [ebp - 0x2c]
push eax
mov byte [ebp - 4], 0xe
call sub.MFC42.DLL_CString::CString_3
mov edi, 0x42809c
lea ecx, [ebp - 0x14]
push edi
mov byte [ebp - 4], 0xf
call sub.MFC42.DLL_CString::Find_2
test eax, eax
jne 0x408ea6
push edi
call sub.MSVCRT.dll_strlen
pop ecx
push eax
lea eax, [ebp - 0x54]
push eax
lea ecx, [ebp - 0x18]
call sub.MFC42.DLL_CString::Mid
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0x10
call sub.MFC42.DLL_CString::operator_3
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0xf
call sub.MFC42.DLL_CString::CString
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.004128c7
add esp, 0x10
jmp 0x408fd8
lea ecx, [ebp - 0x40]
call sub.MFC42.DLL_CString::CString_2
push 0x2f
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0x11
call sub.MFC42.DLL_CString::ReverseFind
cmp eax, 0xffffffff
je 0x408f96
lea edi, [eax + 1]
xor ebx, ebx
push edi
lea eax, [ebp - 0x64]
push ebx
push eax
lea ecx, [ebp - 0x18]
call sub.MFC42.DLL_CString::Mid_1
push eax
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0x12
call sub.MFC42.DLL_CString::operator_3
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0x11
call sub.MFC42.DLL_CString::CString
lea eax, [ebp - 0x6c]
push edi
push eax
lea ecx, [ebp - 0x18]
call sub.MFC42.DLL_CString::Mid
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0x13
call sub.MFC42.DLL_CString::operator_3
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 0x11
call sub.MFC42.DLL_CString::CString
lea eax, [ebp - 0x40]
lea ecx, [ebp - 0x38]
push eax
call sub.MFC42.DLL_CString::CString_3
mov edi, 0x4281ec
lea ecx, [ebp - 0x38]
push edi
push 0x427d30
mov byte [ebp - 4], 0x14
call sub.MFC42.DLL_CString::Replace
push edi
lea ecx, [ebp - 0x38]
call sub.MFC42.DLL_CString::TrimLeft_1
mov eax, dword [ebp - 0x38]
cmp dword [eax - 8], ebx
jle 0x408f8a
push dword [ebp - 0x24]
push eax
call dword [sym.imp.MSVCRT.dll__mbscmp]
pop ecx
test eax, eax
pop ecx
je 0x408f8a
lea eax, [ebp - 0x38]
lea ecx, [ebp - 0x24]
push eax
call sub.MFC42.DLL_CString::operator_3
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp + 0x14]
push eax
lea eax, [ebp - 0x74]
push eax
call sub.MFC42.DLL_operator_2
mov eax, dword [eax]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
lea ecx, [ebp - 0x74]
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0x11
call sub.MFC42.DLL_CString::CString
lea eax, [ebp + 0xc]
lea ecx, [ebp - 0x34]
push eax
call sub.MFC42.DLL_CString::operator_3
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x60]
push eax
call sub.MFC42.DLL_operator_2
push eax
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0x15
call sub.MFC42.DLL_CString::operator_3
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 0x11
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0xf
call sub.MFC42.DLL_CString::CString
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp + 0x14]
push eax
lea eax, [ebp - 0x68]
push eax
call sub.MFC42.DLL_operator_2
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0x16
push ecx
push eax
lea eax, [ebp - 0x70]
push eax
call sub.MFC42.DLL_operator_2
push dword [eax]
lea ecx, [esi + 0x128]
mov byte [ebp - 4], 0x17
call fcn.00417933
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0x16
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 0xf
call sub.MFC42.DLL_CString::CString
push esi
lea ecx, [ebp - 0xd4]
push dword [esi + 0x118]
call fcn.004059aa
lea eax, [ebp - 0x30]
lea ecx, [ebp - 0xcc]
push eax
mov byte [ebp - 4], 0x18
call sub.MFC42.DLL_CString::operator_3
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp + 0x14]
push eax
lea eax, [ebp - 0x58]
push eax
call sub.MFC42.DLL_operator_2
push eax
lea ecx, [ebp - 0xc8]
mov byte [ebp - 4], 0x19
call sub.MFC42.DLL_CString::operator_3
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0x18
call sub.MFC42.DLL_CString::CString
lea eax, [ebp - 0x2c]
lea ecx, [ebp - 0xc0]
push eax
call sub.MFC42.DLL_CString::operator_3
lea eax, [ebp - 0x34]
lea ecx, [ebp - 0xbc]
push eax
call sub.MFC42.DLL_CString::operator_3
push 0x429ea8
lea ecx, [ebp - 0xb8]
call fcn.0041b4e4
lea eax, [esi + 0x4c]
lea ecx, [ebp - 0xd4]
mov dword [ebp - 0xb4], 0x7530
mov dword [ebp - 0xb0], 2
mov dword [ebp - 0xac], eax
mov byte [ebp - 0x8c], 1
call fcn.0040f445
test al, al
jne 0x409133
lea ecx, [ebp - 0xd4]
mov byte [ebp - 4], 0xf
call fcn.00405a78
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0xe
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0xd
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0xc
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0xb
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0xa
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 9
call sub.MFC42.DLL_CString::CString
jmp 0x408d99
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp + 0x14]
push eax
lea eax, [ebp - 0x28]
push eax
call sub.MFC42.DLL_operator_2
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0x1a
push ecx
push eax
lea eax, [ebp - 0x5c]
push eax
call sub.MFC42.DLL_operator_2
push dword [eax]
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 0x1b
push dword [ebp - 0x1c]
call sub.MFC42.DLL_CString::Replace
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0x1a
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x18
call sub.MFC42.DLL_CString::CString
jmp 0x4090d7
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 8
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 7
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 6
call fcn.0041b66a
lea ecx, [ebp - 0x134]
mov byte [ebp - 4], 5
call fcn.00405a78
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp + 8]
mov byte [ebp - 4], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp + 0x10]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CString::CString
and byte [ebp - 4], 0
lea ecx, [ebp + 0x14]
call sub.MFC42.DLL_CString::CString
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x18]
call sub.MFC42.DLL_CString::CString
xor al, al
jmp 0x409444
call fcn.0041849a
test al, al
je 0x40925d
lea eax, [ebp - 0x20]
lea ecx, [ebp - 0x1c]
push eax
call sub.MFC42.DLL_CString::CString_3
push str.__app_
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0x1c
call sub.MFC42.DLL_CString::operator_1
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x10]
push str._app_
call sub.MFC42.DLL_CString::Replace
push dword [esi + 0xd0]
lea ecx, [ebp - 0x10]
push str.DO_INSTALL
call sub.MFC42.DLL_CString::Replace
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 9
call sub.MFC42.DLL_CString::CString
jmp 0x409281
push str.app:
push str._app_
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::Replace
push str.app:doinstall
push str.DO_INSTALL
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::Replace
mov eax, dword [esi + 0x5c]
lea edi, [esi + 0x5c]
cmp dword [eax - 8], 0
je 0x4092d0
push str.value_
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::CString_1
push edi
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0x1d
call sub.MFC42.DLL_CString::operator
push 0x428308
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::operator_1
push dword [ebp - 0x14]
lea ecx, [ebp - 0x10]
push str.DEFAULTEMAIL
call sub.MFC42.DLL_CString::Replace
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 9
call sub.MFC42.DLL_CString::CString
push str.DEFAULTSIZE
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::Find_2
mov ebx, eax
test ebx, ebx
mov dword [ebp - 0x28], ebx
je 0x40938c
mov edi, 0x42875c
push ebx
push edi
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::Find_1
push ebx
mov ebx, 0x428758
push ebx
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x1c], eax
call sub.MFC42.DLL_CString::Find_1
push dword [ebp - 0x28]
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x14], eax
push 0x428754
call sub.MFC42.DLL_CString::Find_1
cmp dword [ebp - 0x1c], 0
jle 0x40938c
test eax, eax
jle 0x40938c
cmp dword [ebp - 0x1c], eax
jge 0x40938c
cmp dword [ebp - 0x14], 0
jle 0x40938c
cmp dword [ebp - 0x14], eax
jge 0x40938c
push edi
call sub.MSVCRT.dll_strlen
add eax, dword [ebp - 0x1c]
pop ecx
lea ecx, [ebp - 0x10]
push eax
lea eax, [ebp - 0x28]
push eax
call sub.MFC42.DLL_CString::Mid
push dword [eax]
mov edi, dword [sym.imp.MSVCRT.dll_atoi]
call edi
pop ecx
mov dword [esi + 0x60], eax
lea ecx, [ebp - 0x28]
call sub.MFC42.DLL_CString::CString
push ebx
call sub.MSVCRT.dll_strlen
add eax, dword [ebp - 0x14]
pop ecx
lea ecx, [ebp - 0x10]
push eax
lea eax, [ebp - 0x28]
push eax
call sub.MFC42.DLL_CString::Mid
push dword [eax]
call edi
pop ecx
mov dword [esi + 0x64], eax
lea ecx, [ebp - 0x28]
call sub.MFC42.DLL_CString::CString
push dword [ebp - 0x20]
call sub.MFC42.DLL_CFile::Remove
push 0
push 0x1001
push dword [ebp - 0x20]
lea ecx, [ebp - 0x50]
call sub.MFC42.DLL_CFile::Open
test eax, eax
jne 0x4093ae
xor bl, bl
jmp 0x4093c7
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 0x50]
push dword [eax - 8]
push eax
call sub.MFC42.DLL_CFile::Write
lea ecx, [ebp - 0x50]
call sub.MFC42.DLL_CFile::Close
mov bl, 1
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 8
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 7
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 6
call fcn.0041b66a
lea ecx, [ebp - 0x134]
mov byte [ebp - 4], 5
call fcn.00405a78
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp + 8]
mov byte [ebp - 4], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp + 0x10]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CString::CString
and byte [ebp - 4], 0
lea ecx, [ebp + 0x14]
call sub.MFC42.DLL_CString::CString
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x18]
call sub.MFC42.DLL_CString::CString
mov al, bl
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x14