Function at 0x404672
Capabilities:
Create directory

Disassembly:
mov eax, 0x421534
call sub.MSVCRT.dll__EH_prolog
sub esp, 0x40
push ebx
push esi
push edi
mov esi, ecx
xor edi, edi
mov dword [ebp - 4], edi
mov dword [ebp - 0x10], edi
push 7
push edi
push 0x42d230
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.004054e7
cmp eax, edi
jl 0x40477b
push 0x43127c
push dword [ebp + 8]
call dword [sym.imp.MSVCRT.dll__mbscmp]
pop ecx
test eax, eax
pop ecx
je 0x404740
push dword [ebp + 8]
lea ecx, [ebp - 0x20]
call fcn.004043e7
push eax
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 2
call fcn.004044ce
cmp dword [ebp - 0x10], edi
mov byte [ebp - 4], 3
jne 0x4046eb
push 0x80004003
call fcn.004187b0
lea ecx, [ebp - 0x24]
lea esi, [ebp - 0x4c]
push ecx
mov ebx, dword [ebp - 0x10]
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 0x404717
push 0x42d220
push ebx
push eax
call fcn.004187be
mov esi, dword [ebp - 0x24]
lea eax, [ebp - 0x4c]
push eax
mov byte [ebp - 4], 2
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
test eax, eax
jge 0x404732
push eax
call fcn.004187b0
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 1
call fcn.0040443b
jmp 0x404775
push ecx
mov ecx, dword [esi + 0x1cc]
mov eax, esp
mov dword [ebp - 0x38], esp
push eax
call fcn.004085e3
mov ecx, eax
call fcn.0040abfd
mov ecx, eax
call fcn.00404b09
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.0040abfd
mov ecx, eax
call fcn.00404c4c
mov esi, eax
cmp si, 0xffff
je 0x404788
lea ecx, [ebp - 0x10]
call fcn.004054da
jmp 0x404aba
push ecx
mov ebx, str._Glsetup2_PackageInfo
mov ecx, esp
mov dword [ebp - 0x38], esp
push ebx
call fcn.004043e7
lea eax, [ebp - 0x30]
lea ecx, [ebp - 0x10]
push eax
mov byte [ebp - 4], 1
call fcn.0040abfd
mov ecx, eax
call fcn.00404be5
mov byte [ebp - 4], 6
call fcn.0040345a
push eax
push str.ComputerID
push ecx
lea eax, [ebp - 0x30]
mov ecx, esp
mov dword [ebp - 0x38], esp
push eax
call fcn.0040b526
call fcn.0040aadd
pop ecx
pop ecx
mov ecx, esp
mov dword [ebp - 0x38], esp
push str._Glsetup2_Directorys
call fcn.004043e7
lea eax, [ebp - 0x14]
lea ecx, [ebp - 0x10]
push eax
mov byte [ebp - 4], 6
call fcn.0040abfd
mov ecx, eax
call fcn.00404be5
cmp dword [ebp - 0x14], 0
mov byte [ebp - 4], 8
jne 0x40480f
push 0x80004003
call fcn.004187b0
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x1c]
push eax
call fcn.00404ad7
and dword [ebp - 0x24], 0
mov byte [ebp - 4], 9
mov esi, str.Name
mov edi, 0x431388
cmp dword [ebp - 0x1c], 0
jne 0x40483d
push 0x80004003
call fcn.004187b0
mov ecx, dword [ebp - 0x1c]
call fcn.004045bc
cmp dword [ebp - 0x24], eax
jge 0x4048fa
cmp dword [ebp - 0x1c], 0
jne 0x40485e
push 0x80004003
call fcn.004187b0
push dword [ebp - 0x24]
mov ecx, dword [ebp - 0x1c]
lea eax, [ebp - 0x34]
push eax
call fcn.00404587
push dword [eax]
lea ecx, [ebp - 0x14]
call fcn.0040ac13
mov eax, dword [ebp - 0x34]
test eax, eax
je 0x404884
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push esi
push ecx
lea eax, [ebp - 0x14]
mov ecx, esp
mov dword [ebp - 0x3c], esp
push eax
call fcn.0040b526
lea eax, [ebp - 0x20]
push eax
call fcn.0040a021
add esp, 0xc
push dword [ebp - 0x20]
lea eax, [ebp - 0x38]
mov ecx, edi
mov byte [ebp - 4], 0xa
push eax
call fcn.004091d9
push eax
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0xb
call sub.MFC42.DLL_CString::operator
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0xa
call sub.MFC42.DLL_CString::CString
push dword [ebp - 0x20]
lea eax, [ebp - 0x14]
push esi
push ecx
mov ecx, esp
mov dword [ebp - 0x3c], esp
push eax
call fcn.0040b526
call fcn.0040a7a6
add esp, 0xc
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 9
call sub.MFC42.DLL_CString::CString
inc dword [ebp - 0x24]
jmp 0x40482d
push ecx
mov ecx, esp
mov dword [ebp - 0x3c], esp
push ebx
call fcn.004043e7
lea eax, [ebp - 0x38]
lea ecx, [ebp - 0x10]
push eax
mov byte [ebp - 4], 9
call fcn.0040abfd
mov ecx, eax
call fcn.00404be5
push dword [eax]
lea ecx, [ebp - 0x14]
call fcn.0040ac13
mov eax, dword [ebp - 0x38]
test eax, eax
je 0x404934
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push 0x42d2a8
push ecx
lea eax, [ebp - 0x14]
mov ecx, esp
mov dword [ebp - 0x3c], esp
push eax
call fcn.0040b526
lea eax, [ebp - 0x28]
push eax
call fcn.0040a021
add esp, 0xc
push 0x42d168
push str..exe
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0xd
call sub.MFC42.DLL_CString::Replace
lea eax, [ebp - 0x2c]
push 0x42d240
push eax
mov ecx, edi
call fcn.004091d9
lea eax, [ebp - 0x2c]
push str.Setup
push eax
lea eax, [ebp - 0x18]
push eax
mov byte [ebp - 4], 0xe
call sub.MFC42.DLL_operator_1
push dword [ebp - 0x18]
mov byte [ebp - 4], 0xf
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryA]
test eax, eax
jne 0x4049ab
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x38]
push 0x42d15c
push eax
call sub.MFC42.DLL_operator_2
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0x10
call fcn.0041818e
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0xf
call sub.MFC42.DLL_CString::CString
push dword [ebp - 0x18]
lea ecx, [ebp - 0x24]
call fcn.004043e7
push eax
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 0x11
call fcn.004044ce
cmp dword [ebp - 0x10], 0
mov byte [ebp - 4], 0x12
jne 0x404a02
push 0x80004003
call fcn.004187b0
sub esp, 0x10
lea esi, [ebp - 0x4c]
mov edi, esp
mov ebx, dword [ebp - 0x10]
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 + pe_nt_image_headers32]
test eax, eax
jge 0x404a2a
push 0x42d220
push ebx
push eax
call fcn.004187be
lea eax, [ebp - 0x4c]
mov byte [ebp - 4], 0x11
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
test eax, eax
jge 0x404a42
push eax
call fcn.004187b0
mov ecx, dword [ebp - 0x24]
test ecx, ecx
je 0x404a52
call fcn.00404481
and dword [ebp - 0x24], 0
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0xe
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0xd
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 9
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x1c]
mov byte [ebp - 4], 8
test eax, eax
je 0x404a87
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 6
test eax, eax
je 0x404a98
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x30]
mov byte [ebp - 4], 1
test eax, eax
je 0x404aa9
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x10]
and byte [ebp - 4], 0
test eax, eax
je 0x404aba
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
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