Function at 0x403bf0
Capabilities:
Create directory

Disassembly:
mov eax, 0x420c70
call fcn.00417d40
sub esp, 0x44
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 0x10], esp
xor edi, edi
mov dword [ebp - 4], edi
mov dword [ebp - 0x14], edi
push 7
push edi
push 0x42d200
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.00404cba
cmp eax, edi
jge 0x403c4a
lea ecx, [ebp - 0x14]
call fcn.004129e7
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 4
push 0x4319b8
push dword [ebp + 8]
call dword [sym.imp.MSVCRT.dll__mbscmp]
pop ecx
test eax, eax
pop ecx
je 0x403ce2
push dword [ebp + 8]
lea ecx, [ebp - 0x34]
call fcn.00403975
push eax
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 3
call fcn.00403a49
cmp dword [ebp - 0x14], edi
mov byte [ebp - 4], 4
jne 0x403c8d
push 0x80004003
call fcn.004180b6
lea ecx, [ebp - 0x24]
lea esi, [ebp - 0x4c]
push ecx
mov ebx, dword [ebp - 0x14]
sub esp, 0x10
mov edi, esp
mov eax, dword [ebx]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push ebx
movsd dword es:[edi], dword [esi]
call dword [eax + 0xe8]
test eax, eax
jge 0x403cb9
push 0x42d1f0
push ebx
push eax
call fcn.004180c4
mov esi, dword [ebp - 0x24]
lea eax, [ebp - 0x4c]
push eax
mov byte [ebp - 4], 3
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
test eax, eax
jge 0x403cd4
push eax
call fcn.004180b6
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 2
call fcn.004040a4
jmp 0x403d1b
push ecx
mov ecx, dword [esi + 0x158]
mov eax, esp
mov dword [ebp - 0x38], esp
push eax
call fcn.00407e20
mov ecx, eax
call fcn.00404ca4
mov ecx, eax
call fcn.004040e9
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 5
call fcn.00404ca4
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.0040422c
mov esi, eax
cmp si, 0xffff
jne 0x404084
push ecx
mov ecx, esp
mov dword [ebp - 0x38], esp
push str._Glsetup2_PackageInfo
call fcn.00403975
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 6
call fcn.00404ca4
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 2
push ecx
mov ecx, eax
call fcn.004041c5
mov byte [ebp - 4], 7
call fcn.00402a94
push eax
push str.ComputerID
push ecx
lea eax, [ebp - 0x2c]
mov ecx, esp
mov dword [ebp - 0x38], esp
push eax
call fcn.0040aeb3
call fcn.0040a466
add esp, 0xc
lea eax, [ebp - 0x34]
mov ebx, 0x431ad0
push eax
mov ecx, ebx
call fcn.00408ad5
push dword [eax]
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 8
push str.RealTargetDir
push ecx
mov ecx, esp
mov dword [ebp - 0x38], esp
push eax
call fcn.0040aeb3
call fcn.0040a12f
add esp, 0xc
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 7
call sub.MFC42.DLL_CString::CString
push ecx
mov ecx, esp
mov dword [ebp - 0x38], esp
push str._Glsetup2_Directorys
call fcn.00403975
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 9
call fcn.00404ca4
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 7
push ecx
mov ecx, eax
call fcn.004041c5
xor esi, esi
mov byte [ebp - 4], 0xa
cmp dword [ebp - 0x18], esi
jne 0x403df4
push 0x80004003
call fcn.004180b6
mov ecx, dword [ebp - 0x18]
lea eax, [ebp - 0x20]
push eax
call fcn.004040b7
mov byte [ebp - 4], 0xb
mov edi, str.Name
cmp dword [ebp - 0x20], 0
jne 0x403e19
push 0x80004003
call fcn.004180b6
mov ecx, dword [ebp - 0x20]
call fcn.00403b37
cmp esi, eax
jge 0x403ed1
cmp dword [ebp - 0x20], 0
jne 0x403e39
push 0x80004003
call fcn.004180b6
mov ecx, dword [ebp - 0x20]
lea eax, [ebp - 0x34]
push esi
push eax
call fcn.00403b02
push dword [eax]
lea ecx, [ebp - 0x18]
call fcn.00404d38
mov eax, dword [ebp - 0x34]
test eax, eax
je 0x403e5d
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push edi
push ecx
lea eax, [ebp - 0x18]
mov ecx, esp
mov dword [ebp - 0x3c], esp
push eax
call fcn.0040aeb3
lea eax, [ebp - 0x24]
push eax
call fcn.004099aa
add esp, 0xc
push dword [ebp - 0x24]
lea eax, [ebp - 0x38]
mov ecx, ebx
mov byte [ebp - 4], 0xc
push eax
call fcn.00408a36
push eax
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0xd
call fcn.00417c08
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0xc
call sub.MFC42.DLL_CString::CString
push dword [ebp - 0x24]
lea eax, [ebp - 0x18]
push edi
push ecx
mov ecx, esp
mov dword [ebp - 0x3c], esp
push eax
call fcn.0040aeb3
call fcn.0040a12f
add esp, 0xc
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0xb
call sub.MFC42.DLL_CString::CString
inc esi
jmp 0x403e09
push ecx
mov ecx, esp
mov dword [ebp - 0x3c], esp
push str._Glsetup2_PackageInfo
call fcn.00403975
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0xe
call fcn.00404ca4
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0xb
push ecx
mov ecx, eax
call fcn.004041c5
push dword [eax]
lea ecx, [ebp - 0x18]
call fcn.00404d38
mov eax, dword [ebp - 0x38]
test eax, eax
je 0x403f13
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push str.OutputName
push ecx
lea eax, [ebp - 0x18]
mov ecx, esp
mov dword [ebp - 0x3c], esp
push eax
call fcn.0040aeb3
lea eax, [ebp - 0x28]
push eax
call fcn.004099aa
add esp, 0xc
push 0x42d150
push str..exe
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0xf
call sub.MFC42.DLL_CString::Replace
lea eax, [ebp - 0x30]
push str._GLDIR_
push eax
mov ecx, ebx
call fcn.00408a36
lea eax, [ebp - 0x30]
push str.Setup
push eax
lea eax, [ebp - 0x1c]
push eax
mov byte [ebp - 4], 0x10
call sub.MFC42.DLL_operator
push dword [ebp - 0x1c]
mov byte [ebp - 4], 0x11
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryA]
test eax, eax
jne 0x403f8a
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x38]
push 0x42d144
push eax
call sub.MFC42.DLL_operator_2
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0x12
call sub.MFC42.DLL_CString::operator_1
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0x11
call sub.MFC42.DLL_CString::CString
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x38]
call fcn.00403975
push eax
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 0x13
call fcn.00403a49
cmp dword [ebp - 0x14], 0
mov byte [ebp - 4], 0x14
jne 0x403fe1
push 0x80004003
call fcn.004180b6
sub esp, 0x10
lea esi, [ebp - 0x4c]
mov edi, esp
mov ebx, dword [ebp - 0x14]
movsd dword es:[edi], dword [esi]
mov eax, dword [ebx]
push ebx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [eax + 0x108]
test eax, eax
jge 0x404009
push 0x42d1f0
push ebx
push eax
call fcn.004180c4
lea eax, [ebp - 0x4c]
mov byte [ebp - 4], 0x13
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
test eax, eax
jge 0x404021
push eax
call fcn.004180b6
mov ecx, dword [ebp - 0x38]
test ecx, ecx
je 0x40402d
call fcn.004039fc
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0x10
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0xf
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0xb
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x20]
mov byte [ebp - 4], 0xa
test eax, eax
je 0x404062
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x18]
mov byte [ebp - 4], 7
test eax, eax
je 0x404073
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x2c]
mov byte [ebp - 4], 2
test eax, eax
je 0x404084
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 1
test eax, eax
je 0x403c2d
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x403c2d