Function at 0x406167
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43994c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x1a8
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0xb8], ecx
mov dword [ebp - 4], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.0040c840
mov byte [ebp - 4], 2
push 7
push 0
push 0x447640
lea ecx, [ebp - 0x28]
call fcn.00408b60
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jge 0x4061e3
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.00408b40
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call sub.MFC42.DLL_CString::CString
jmp 0x40698a
push 0x44bad0
lea eax, [ebp + 8]
push eax
call fcn.00407f30
mov byte [ebp - 0xbc], al
mov ecx, dword [ebp - 0xbc]
and ecx, 0xff
test ecx, ecx
je 0x4062a0
lea ecx, [ebp + 8]
call fcn.0040c8c0
mov dword [ebp - 0xc0], eax
mov edx, dword [ebp - 0xc0]
push edx
lea ecx, [ebp - 0x64]
call fcn.00408100
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp - 0xc4]
mov dword [ebp - 0xc8], eax
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0xc8]
push ecx
lea ecx, [ebp - 0x60]
call fcn.00408310
mov dword [ebp - 0xcc], eax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x28]
call fcn.00408b10
mov dword [ebp - 0xd0], eax
lea edx, [ebp - 0x60]
push edx
mov ecx, dword [ebp - 0xd0]
call fcn.00408520
mov word [ebp - 0xd2], ax
mov ax, word [ebp - 0xd2]
mov word [ebp - 0x44], ax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x60]
call fcn.004083a0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x64]
call fcn.00408190
jmp 0x40631f
push ecx
mov ecx, esp
mov dword [ebp - 0x68], esp
push ecx
mov edx, dword [ebp - 0xb8]
mov ecx, dword [edx + 0x158]
call fcn.00412bb0
mov dword [ebp - 0xd8], eax
mov ecx, dword [ebp - 0xd8]
call fcn.00408b10
mov dword [ebp - 0xdc], eax
mov ecx, dword [ebp - 0xdc]
call fcn.004087a0
mov dword [ebp - 0xe0], eax
mov eax, dword [ebp - 0xe0]
mov dword [ebp - 0xe4], eax
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x28]
call fcn.00408b10
mov dword [ebp - 0xe8], eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0xe8]
call fcn.004088a0
mov word [ebp - 0xea], ax
mov cx, word [ebp - 0xea]
mov word [ebp - 0x44], cx
movsx edx, word [ebp - 0x44]
cmp edx, 0xffffffff
je 0x406348
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.00408b40
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call sub.MFC42.DLL_CString::CString
jmp 0x40698a
push ecx
mov ecx, esp
mov dword [ebp - 0x6c], esp
push 0x447408
call fcn.00408100
mov dword [ebp - 0xf0], eax
mov eax, dword [ebp - 0xf0]
mov dword [ebp - 0xf4], eax
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x28]
call fcn.00408b10
mov dword [ebp - 0xf8], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x24]
push ecx
mov ecx, dword [ebp - 0xf8]
call fcn.00408800
mov dword [ebp - 0xfc], eax
mov byte [ebp - 4], 7
call fcn.00403a19
mov dword [ebp - 0x100], eax
mov edx, dword [ebp - 0x100]
push edx
push str.ComputerID
push ecx
mov ecx, esp
mov dword [ebp - 0x70], esp
lea eax, [ebp - 0x24]
push eax
call fcn.00408a90
mov dword [ebp - 0x104], eax
call fcn.00416ce0
add esp, 0xc
call fcn.00407fb0
mov dword [ebp - 0x108], eax
lea ecx, [ebp - 0x74]
push ecx
mov ecx, dword [ebp - 0x108]
call fcn.00413cf0
mov dword [ebp - 0x10c], eax
mov edx, dword [ebp - 0x10c]
mov dword [ebp - 0x110], edx
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x110]
call fcn.0040c8c0
mov dword [ebp - 0x114], eax
mov eax, dword [ebp - 0x114]
push eax
push 0x44742c
push ecx
mov ecx, esp
mov dword [ebp - 0x78], esp
lea edx, [ebp - 0x24]
push edx
call fcn.00408a90
mov dword [ebp - 0x118], eax
call fcn.00416820
add esp, 0xc
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x74]
call sub.MFC42.DLL_CString::CString
push ecx
mov ecx, esp
mov dword [ebp - 0x7c], esp
push str._Glsetup2_Directorys
call fcn.00408100
mov dword [ebp - 0x11c], eax
mov eax, dword [ebp - 0x11c]
mov dword [ebp - 0x120], eax
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x28]
call fcn.00408b10
mov dword [ebp - 0x124], eax
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x14]
push ecx
mov ecx, dword [ebp - 0x124]
call fcn.00408800
mov dword [ebp - 0x128], eax
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x14]
call fcn.00408b10
mov dword [ebp - 0x12c], eax
lea edx, [ebp - 0x38]
push edx
mov ecx, dword [ebp - 0x12c]
call fcn.00408740
mov dword [ebp - 0x130], eax
mov byte [ebp - 4], 0xb
mov dword [ebp - 0x30], 0
jmp 0x4064cd
mov eax, dword [ebp - 0x30]
add eax, 1
mov dword [ebp - 0x30], eax
lea ecx, [ebp - 0x38]
call fcn.00408b10
mov dword [ebp - 0x134], eax
mov ecx, dword [ebp - 0x134]
call fcn.004084e0
mov dword [ebp - 0x138], eax
mov ecx, dword [ebp - 0x30]
cmp ecx, dword [ebp - 0x138]
jge 0x40661d
lea ecx, [ebp - 0x38]
call fcn.00408b10
mov dword [ebp - 0x13c], eax
mov edx, dword [ebp - 0x30]
push edx
lea eax, [ebp - 0x80]
push eax
mov ecx, dword [ebp - 0x13c]
call fcn.00408480
mov dword [ebp - 0x140], eax
mov ecx, dword [ebp - 0x140]
push ecx
lea ecx, [ebp - 0x14]
call fcn.00408af0
lea ecx, [ebp - 0x80]
call fcn.00408b40
push 0x447454
push ecx
mov ecx, esp
mov dword [ebp - 0x84], esp
lea edx, [ebp - 0x14]
push edx
call fcn.00408a90
mov dword [ebp - 0x144], eax
lea eax, [ebp - 0x48]
push eax
call fcn.00415cc0
add esp, 0xc
mov dword [ebp - 0x148], eax
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x48]
call fcn.0040c8c0
mov dword [ebp - 0x14c], eax
call fcn.00407fb0
mov dword [ebp - 0x150], eax
mov ecx, dword [ebp - 0x14c]
push ecx
lea edx, [ebp - 0x88]
push edx
mov ecx, dword [ebp - 0x150]
call fcn.00413b90
mov dword [ebp - 0x154], eax
mov eax, dword [ebp - 0x154]
mov dword [ebp - 0x158], eax
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp - 0x158]
push ecx
lea ecx, [ebp - 0x48]
call sub.MFC42.DLL_CString::operator
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x88]
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x48]
call fcn.0040c8c0
mov dword [ebp - 0x15c], eax
mov edx, dword [ebp - 0x15c]
push edx
push 0x44745c
push ecx
mov ecx, esp
mov dword [ebp - 0x8c], esp
lea eax, [ebp - 0x14]
push eax
call fcn.00408a90
mov dword [ebp - 0x160], eax
call fcn.00416820
add esp, 0xc
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x48]
call sub.MFC42.DLL_CString::CString
jmp 0x4064c4
push str.GLSetup2Version
push ecx
mov ecx, esp
mov dword [ebp - 0x90], esp
lea edx, [ebp - 0x24]
push edx
call fcn.00408a90
mov dword [ebp - 0x164], eax
lea eax, [ebp - 0x94]
push eax
call fcn.00415cc0
add esp, 0xc
mov dword [ebp - 0x168], eax
mov ecx, dword [ebp - 0x168]
mov dword [ebp - 0x16c], ecx
mov byte [ebp - 4], 0xe
mov edx, dword [ebp - 0x16c]
push edx
mov ecx, dword [ebp - 0xb8]
add ecx, 0x1c4
call sub.MFC42.DLL_CString::operator
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x94]
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp - 0xb8]
add ecx, 0x1c4
call fcn.004080e0
mov dword [ebp - 0x170], eax
cmp dword [ebp - 0x170], 0
je 0x4066bc
push str.0.0.0.0
mov ecx, dword [ebp - 0xb8]
add ecx, 0x1c4
call fcn.00430af8
push str.OutputName
push ecx
mov ecx, esp
mov dword [ebp - 0x98], esp
lea eax, [ebp - 0x24]
push eax
call fcn.00408a90
mov dword [ebp - 0x174], eax
lea ecx, [ebp - 0x18]
push ecx
call fcn.00415cc0
add esp, 0xc
mov dword [ebp - 0x178], eax
mov byte [ebp - 4], 0xf
mov dword [ebp - 0x34], 0
lea ecx, [ebp - 0x18]
call fcn.00402c80
mov dword [ebp - 0x17c], eax
mov edx, dword [ebp - 0x17c]
mov dword [ebp - 0x3c], edx
mov eax, dword [ebp - 0x3c]
sub eax, 1
mov dword [ebp - 0x34], eax
jmp 0x406721
mov ecx, dword [ebp - 0x34]
sub ecx, 1
mov dword [ebp - 0x34], ecx
cmp dword [ebp - 0x34], 0
jl 0x40674f
mov edx, dword [ebp - 0x34]
push edx
lea ecx, [ebp - 0x18]
call fcn.00407f10
mov byte [ebp - 0x17d], al
mov al, byte [ebp - 0x17d]
mov byte [ebp - 0x4c], al
movsx ecx, byte [ebp - 0x4c]
cmp ecx, 0x2e
jne 0x40674d
jmp 0x40674f
jmp 0x406718
mov edx, dword [ebp - 0x3c]
sub edx, dword [ebp - 0x34]
push edx
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x18]
call sub.MFC42.DLL_CString::Right
mov dword [ebp - 0x184], eax
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x40]
call fcn.0040c8c0
mov dword [ebp - 0x188], eax
push 0x447488
mov ecx, dword [ebp - 0x188]
push ecx
lea ecx, [ebp - 0x18]
call sub.MFC42.DLL_CString::Replace
call fcn.00407fb0
mov dword [ebp - 0x18c], eax
push 0x447490
lea edx, [ebp - 0x1c]
push edx
mov ecx, dword [ebp - 0x18c]
call fcn.00413b90
mov dword [ebp - 0x190], eax
mov byte [ebp - 4], 0x11
push str.Setup
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x20]
push ecx
call sub.MFC42.DLL_operator_1
mov dword [ebp - 0x194], eax
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x20]
call fcn.0040c8c0
mov dword [ebp - 0x198], eax
mov edx, dword [ebp - 0x198]
push edx
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryA]
test eax, eax
jne 0x40680f
lea ecx, [ebp - 0x20]
call fcn.0040c8c0
mov dword [ebp - 0x19c], eax
push 0
mov eax, dword [ebp - 0x19c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
lea ecx, [ebp - 0x18]
push ecx
push 0x4474a0
lea edx, [ebp - 0x9c]
push edx
call sub.MFC42.DLL_operator_2
mov dword [ebp - 0x1a0], eax
mov eax, dword [ebp - 0x1a0]
mov dword [ebp - 0x1a4], eax
mov byte [ebp - 4], 0x13
mov ecx, dword [ebp - 0x1a4]
push ecx
lea ecx, [ebp - 0x20]
call sub.MFC42.DLL_CString::operator_1
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x9c]
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x20]
call fcn.0040c8c0
mov dword [ebp - 0x1a8], eax
mov edx, dword [ebp - 0x1a8]
push edx
lea ecx, [ebp - 0xb0]
call fcn.00408100
mov dword [ebp - 0x1ac], eax
mov eax, dword [ebp - 0x1ac]
mov dword [ebp - 0x1b0], eax
mov byte [ebp - 4], 0x14
mov ecx, dword [ebp - 0x1b0]
push ecx
lea ecx, [ebp - 0xac]
call fcn.00408310
mov dword [ebp - 0x1b4], eax
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x28]
call fcn.00408b10
mov dword [ebp - 0x1b8], eax
lea edx, [ebp - 0xac]
push edx
mov ecx, dword [ebp - 0x1b8]
call fcn.00408930
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0xac]
call fcn.004083a0
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0xb0]
call fcn.00408190
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x20]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x1c]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x40]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x18]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x38]
call fcn.00408b40
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x14]
call fcn.00408b40
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x24]
call fcn.00408b40
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.00408b40
jmp 0x40697b
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4