Function at 0x403bca
Capabilities:
Create directory

Disassembly:
mov eax, 0x420b90
call main
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 0x42c200
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.00404be7
cmp eax, edi
jl 0x403cd3
push 0x42f9e0
push dword [ebp + 8]
call dword [sym.imp.MSVCRT.dll__mbscmp]
pop ecx
test eax, eax
pop ecx
je 0x403c98
push dword [ebp + 8]
lea ecx, [ebp - 0x20]
call fcn.0040393c
push eax
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 2
call fcn.00403a23
cmp dword [ebp - 0x10], edi
mov byte [ebp - 4], 3
jne 0x403c43
push 0x80004003
call fcn.00417ff8
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 0x403c6f
push 0x42c1f0
push ebx
push eax
call fcn.00418006
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 0x403c8a
push eax
call fcn.00417ff8
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 1
call fcn.00403990
jmp 0x403ccd
push ecx
mov ecx, dword [esi + 0x158]
mov eax, esp
mov dword [ebp - 0x38], esp
push eax
call fcn.00407e10
mov ecx, eax
call fcn.00404bd1
mov ecx, eax
call fcn.0040409c
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.00404bd1
mov ecx, eax
call fcn.004041df
mov esi, eax
cmp si, 0xffff
je 0x403ce0
lea ecx, [ebp - 0x10]
call fcn.00404bc4
jmp 0x40404d
push ecx
mov ebx, str._Glsetup2_PackageInfo
mov ecx, esp
mov dword [ebp - 0x38], esp
push ebx
call fcn.0040393c
lea eax, [ebp - 0x2c]
lea ecx, [ebp - 0x10]
push eax
mov byte [ebp - 4], 1
call fcn.00404bd1
mov ecx, eax
call fcn.00404178
mov byte [ebp - 4], 6
call fcn.00402aaa
push eax
push str.ComputerID
push ecx
lea eax, [ebp - 0x2c]
mov ecx, esp
mov dword [ebp - 0x38], esp
push eax
call fcn.0040ac2e
call fcn.0040a1e1
add esp, 0xc
lea eax, [ebp - 0x24]
mov esi, 0x42faf0
push eax
mov ecx, esi
call fcn.00408906
push dword [eax]
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 7
push str.RealTargetDir
push ecx
mov ecx, esp
mov dword [ebp - 0x38], esp
push eax
call fcn.0040ac2e
call fcn.00409eaa
add esp, 0xc
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 6
call sub.MFC42.DLL_CString::CString
push ecx
mov ecx, esp
mov dword [ebp - 0x38], esp
push str._Glsetup2_Directorys
call fcn.0040393c
lea eax, [ebp - 0x14]
lea ecx, [ebp - 0x10]
push eax
mov byte [ebp - 4], 6
call fcn.00404bd1
mov ecx, eax
call fcn.00404178
cmp dword [ebp - 0x14], 0
mov byte [ebp - 4], 9
jne 0x403da7
push 0x80004003
call fcn.00417ff8
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x1c]
push eax
call fcn.0040406a
and dword [ebp - 0x24], 0
mov byte [ebp - 4], 0xa
mov edi, str.Name
cmp dword [ebp - 0x1c], 0
jne 0x403dd0
push 0x80004003
call fcn.00417ff8
mov ecx, dword [ebp - 0x1c]
call fcn.00403b11
cmp dword [ebp - 0x24], eax
jge 0x403e8d
cmp dword [ebp - 0x1c], 0
jne 0x403df1
push 0x80004003
call fcn.00417ff8
push dword [ebp - 0x24]
mov ecx, dword [ebp - 0x1c]
lea eax, [ebp - 0x34]
push eax
call fcn.00403adc
push dword [eax]
lea ecx, [ebp - 0x14]
call fcn.00404c65
mov eax, dword [ebp - 0x34]
test eax, eax
je 0x403e17
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push edi
push ecx
lea eax, [ebp - 0x14]
mov ecx, esp
mov dword [ebp - 0x3c], esp
push eax
call fcn.0040ac2e
lea eax, [ebp - 0x20]
push eax
call fcn.00409725
add esp, 0xc
push dword [ebp - 0x20]
lea eax, [ebp - 0x38]
mov ecx, esi
mov byte [ebp - 4], 0xb
push eax
call fcn.00408867
push eax
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0xc
call fcn.00417b3a
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0xb
call sub.MFC42.DLL_CString::CString
push dword [ebp - 0x20]
lea eax, [ebp - 0x14]
push edi
push ecx
mov ecx, esp
mov dword [ebp - 0x3c], esp
push eax
call fcn.0040ac2e
call fcn.00409eaa
add esp, 0xc
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0xa
call sub.MFC42.DLL_CString::CString
inc dword [ebp - 0x24]
jmp 0x403dc0
push ecx
mov ecx, esp
mov dword [ebp - 0x3c], esp
push ebx
call fcn.0040393c
lea eax, [ebp - 0x38]
lea ecx, [ebp - 0x10]
push eax
mov byte [ebp - 4], 0xa
call fcn.00404bd1
mov ecx, eax
call fcn.00404178
push dword [eax]
lea ecx, [ebp - 0x14]
call fcn.00404c65
mov eax, dword [ebp - 0x38]
test eax, eax
je 0x403ec7
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push str.OutputName
push ecx
lea eax, [ebp - 0x14]
mov ecx, esp
mov dword [ebp - 0x3c], esp
push eax
call fcn.0040ac2e
lea eax, [ebp - 0x28]
push eax
call fcn.00409725
add esp, 0xc
push 0x42c150
push str..exe
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0xe
call sub.MFC42.DLL_CString::Replace
lea eax, [ebp - 0x30]
push str._GLDIR_
push eax
mov ecx, esi
call fcn.00408867
lea eax, [ebp - 0x30]
push 0x42c260
push eax
lea eax, [ebp - 0x18]
push eax
mov byte [ebp - 4], 0xf
call sub.MFC42.DLL_operator
push dword [ebp - 0x18]
mov byte [ebp - 4], 0x10
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryA]
test eax, eax
jne 0x403f3e
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x38]
push 0x42c144
push eax
call sub.MFC42.DLL_operator_2
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0x11
call sub.MFC42.DLL_CString::operator_1
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0x10
call sub.MFC42.DLL_CString::CString
push dword [ebp - 0x18]
lea ecx, [ebp - 0x24]
call fcn.0040393c
push eax
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 0x12
call fcn.00403a23
cmp dword [ebp - 0x10], 0
mov byte [ebp - 4], 0x13
jne 0x403f95
push 0x80004003
call fcn.00417ff8
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 + 0x108]
test eax, eax
jge 0x403fbd
push 0x42c1f0
push ebx
push eax
call fcn.00418006
lea eax, [ebp - 0x4c]
mov byte [ebp - 4], 0x12
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
test eax, eax
jge 0x403fd5
push eax
call fcn.00417ff8
mov ecx, dword [ebp - 0x24]
test ecx, ecx
je 0x403fe5
call fcn.004039d6
and dword [ebp - 0x24], 0
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0xf
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0xe
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0xa
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x1c]
mov byte [ebp - 4], 9
test eax, eax
je 0x40401a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 6
test eax, eax
je 0x40402b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x2c]
mov byte [ebp - 4], 1
test eax, eax
je 0x40403c
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x10]
and byte [ebp - 4], 0
test eax, eax
je 0x40404d
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