Function at 0x428ca2
Capabilities:
Accept command line arguments
Check if file exists
Create directory

Disassembly:
push ebp
sub esp, 0x400
lea ebp, [esp - 4]
mov eax, dword [0x664e94]
xor eax, ebp
mov dword [ebp + 0x400], eax
push 0x34
mov eax, 0x5bba24
call fcn.0058f985
mov ebx, ecx
call fcn.00496dcd
push eax
lea ecx, [ebp - 0x1c]
call fcn.0040141e
xor edi, edi
mov dword [ebp - 4], edi
call fcn.00496dcd
push eax
lea ecx, [ebp - 0x2c]
call fcn.0040141e
mov byte [ebp - 4], 1
call fcn.00496dcd
push eax
lea ecx, [ebp - 0x34]
call fcn.0040141e
mov byte [ebp - 4], 2
call fcn.00496dcd
push eax
lea ecx, [ebp - 0x20]
call fcn.0040141e
mov byte [ebp - 4], 3
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea ecx, [ebp - 0x24]
call fcn.004039d7
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 4
call fcn.00401db5
mov byte [ebp - 4], 5
call fcn.00496dcd
push eax
lea ecx, [ebp - 0x28]
call fcn.0040141e
xor eax, eax
mov esi, 0x1fe
push esi
mov word [ebp], ax
lea eax, [ebp + 2]
push edi
push eax
mov byte [ebp - 4], 6
call fcn.0058fa90
xor eax, eax
push esi
mov word [ebp + 0x200], ax
lea eax, [ebp + 0x202]
push edi
push eax
call fcn.0058fa90
push str.Creating_Launch_Point
call fcn.004437b6
add esp, 0x1c
lea eax, [ebp - 0x28]
push eax
push str.SetupDir
lea ecx, [ebx + 0x174]
call fcn.004a29f8
test eax, eax
je 0x42912d
mov eax, dword [ebp - 0x28]
cmp dword [eax - 0xc], edi
je 0x42912d
mov esi, 0x5d45c0
push esi
push str._CreateLaunchPoint
lea ecx, [ebp - 0x30]
call fcn.00405d13
push 1
push 0x5d4664
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.0044507b
add esp, 0x10
test eax, eax
jne 0x428e5c
push str.___Failed_extracting_the_program_name_from_the_command_line
call fcn.004437b6
pop ecx
mov esi, 0x667
mov ecx, dword [ebp - 0x28]
add ecx, 0xfffffff0
call fcn.00401019
mov ecx, dword [ebp - 0x30]
add ecx, 0xfffffff0
call fcn.00401019
mov ecx, dword [ebp - 0x24]
add ecx, 0xfffffff0
call fcn.00401019
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
call fcn.00401019
mov ecx, dword [ebp - 0x34]
add ecx, 0xfffffff0
call fcn.00401019
mov ecx, dword [ebp - 0x2c]
add ecx, 0xfffffff0
call fcn.00401019
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.00401019
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x400]
xor ecx, ebp
call fcn.0058f976
add ebp, 0x404
leave
ret
mov eax, 0x100
push eax
lea ecx, [ebp + 0x200]
push ecx
push eax
lea eax, [ebp]
push eax
push edi
push edi
push edi
push edi
push dword [ebp - 0x24]
call fcn.00590065
lea eax, [ebp + 0x200]
push eax
lea eax, [ebp]
push eax
push dword [ebp - 0x28]
lea eax, [ebp - 0x24]
push 0x5e3a30
push eax
call fcn.00401518
add esp, 0x38
push esi
lea ecx, [ebp - 0x10]
call fcn.004039d7
push str.LaunchPointLink
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 7
call fcn.004039d7
mov edi, str.Shortcut
push edi
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 8
call fcn.004039d7
mov ecx, dword [ebx + 0x158]
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
mov byte [ebp - 4], 9
call fcn.004583d0
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.00401019
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.00401019
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov byte [ebp - 4], 6
call fcn.00401019
push esi
lea ecx, [ebp - 0x14]
call fcn.004039d7
push str.LaunchPointDesc
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0xa
call fcn.004039d7
push edi
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 0xb
call fcn.004039d7
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x18]
push eax
mov byte [ebp - 4], 0xc
lea eax, [ebp - 0x10]
mov ecx, dword [ebx + 0x158]
push eax
call fcn.004583d0
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00401019
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.00401019
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
mov byte [ebp - 4], 6
call fcn.00401019
push esi
lea ecx, [ebp - 0x14]
call fcn.004039d7
push str.LaunchPointIcon
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0xd
call fcn.004039d7
push edi
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 0xe
call fcn.004039d7
mov ecx, dword [ebx + 0x158]
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x10]
push eax
mov byte [ebp - 4], 0xf
call fcn.004583d0
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00401019
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.00401019
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
mov byte [ebp - 4], 6
call fcn.00401019
push dword [ebp - 0x1c]
lea eax, [ebp - 0x10]
push eax
mov ecx, ebx
call fcn.00426cdb
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0x10
call fcn.0040227d
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov byte [ebp - 4], 6
call fcn.00401019
push 0x5c
lea ecx, [ebp - 0x1c]
call fcn.00403913
push eax
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x1c]
call fcn.00401f0b
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0x11
call fcn.0040227d
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov byte [ebp - 4], 6
call fcn.00401019
push dword [ebp - 0x20]
lea eax, [ebp - 0x10]
push eax
mov ecx, ebx
call fcn.00426cdb
push eax
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0x12
call fcn.0040227d
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov byte [ebp - 4], 6
call fcn.00401019
push dword [ebp - 0x20]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
call esi
test eax, eax
jne 0x42907d
lea ecx, [ebp - 0x20]
call fcn.0040116b
mov eax, dword [ebp - 0x1c]
xor edi, edi
cmp dword [eax - 0xc], edi
je 0x429138
mov eax, dword [ebp - 0x24]
cmp dword [eax - 0xc], edi
je 0x429138
push dword [ebp - 0x2c]
call esi
test eax, eax
jne 0x4290ab
push edi
push dword [ebp - 0x2c]
push edi
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
push edi
push ecx
lea eax, [ebp - 0x20]
mov dword [ebp - 0x10], esp
mov ecx, esp
push eax
call fcn.00401db5
push ecx
lea eax, [ebp - 0x28]
mov dword [ebp - 0x18], esp
mov ecx, esp
push eax
mov byte [ebp - 4], 0x13
call fcn.00401db5
push ecx
lea eax, [ebp - 0x34]
mov dword [ebp - 0x14], esp
mov ecx, esp
push eax
mov byte [ebp - 4], 0x14
call fcn.00401db5
push ecx
lea eax, [ebp - 0x30]
mov dword [ebp - 0x38], esp
mov ecx, esp
push eax
mov byte [ebp - 4], 0x15
call fcn.00401db5
push ecx
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x3c], esp
mov ecx, esp
push eax
mov byte [ebp - 4], 0x16
call fcn.00401db5
push ecx
lea eax, [ebp - 0x24]
mov dword [ebp - 0x40], esp
mov ecx, esp
push eax
mov byte [ebp - 4], 0x17
call fcn.00401db5
mov byte [ebp - 4], 6
call fcn.00444e10
add esp, 0x1c
mov esi, eax
jmp 0x428dea
push str.___WARNING:_The_ReplacementMap_SetupDir_could_not_be_found.
call fcn.004437b6
pop ecx
push 0xd
pop esi
jmp 0x428dea