Function at 0x40df00
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x258
xor eax, eax
mov word [0x4323e0], ax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0040dc00
add esp, 8
xor eax, eax
mov word [ebp - 0x20], ax
xor ecx, ecx
mov word [ebp - 0xc], cx
xor edx, edx
mov word [ebp - 0x10], dx
xor eax, eax
mov word [ebp - 0x14], ax
xor ecx, ecx
mov word [ebp - 0x18], cx
xor edx, edx
mov word [ebp - 8], dx
xor eax, eax
mov word [ebp - 4], ax
xor ecx, ecx
mov word [ebp - 0x1c], cx
lea edx, [ebp - 0x1c]
push edx
lea eax, [ebp - 4]
push eax
lea ecx, [ebp - 8]
push ecx
lea edx, [ebp - 0x18]
push edx
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp - 0xc]
push edx
lea eax, [ebp - 0x20]
push eax
call fcn.004130d0
add esp, 0x20
movsx ecx, word [ebp - 0x1c]
test ecx, ecx
je 0x40df86
jmp 0x40e669
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
push eax
lea edx, [ebp - 0x258]
push edx
call fcn.004152c0
add esp, 8
lea eax, [ebp - 0x258]
push eax
call fcn.004151b0
add esp, 4
mov word [ebp - 0x2c], ax
mov dword [ebp - 0x24], 0
jmp 0x40dfc1
mov ecx, dword [ebp - 0x24]
add ecx, 1
mov dword [ebp - 0x24], ecx
lea edx, [ebp - 0x258]
push edx
call fcn.004151b0
add esp, 4
cmp dword [ebp - 0x24], eax
jae 0x40dff5
mov eax, dword [ebp - 0x24]
movsx ecx, byte [ebp + eax - 0x258]
push ecx
call fcn.0041710d
add esp, 4
mov edx, dword [ebp - 0x24]
mov byte [ebp + edx - 0x258], al
jmp 0x40dfb8
push 0x42fa08
lea eax, [ebp - 0x258]
push eax
call fcn.00414600
add esp, 8
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
je 0x40e021
mov ecx, 1
imul edx, ecx, 0
mov eax, dword [ebp - 0x28]
mov byte [eax + edx], 0
mov ecx, 1
imul edx, ecx, 0
movsx eax, byte [ebp + edx - 0x258]
cmp eax, 0x22
jne 0x40e055
mov ecx, 1
shl ecx, 0
lea edx, [ebp + ecx - 0x258]
push edx
lea eax, [ebp - 0x258]
push eax
call fcn.004152c0
add esp, 8
movsx ecx, word [ebp - 0xc]
test ecx, ecx
je 0x40e0c9
push 4
push 0x42fa14
push str.OK_to_install_the_VS2005_x86_Redistributable_Package_
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 6
jne 0x40e0c9
push 0x42fa60
lea eax, [ebp - 0x158]
push eax
call fcn.004152c0
add esp, 8
lea ecx, [ebp - 0x258]
push ecx
lea edx, [ebp - 0x158]
push edx
call fcn.004152d0
add esp, 8
push str.redist_vc2005_vcredist_x86.exe_
lea eax, [ebp - 0x158]
push eax
call fcn.004152d0
add esp, 8
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0x158]
push edx
call fcn.0040dcb0
add esp, 8
movsx eax, word [ebp - 0xc]
test eax, eax
je 0x40e13d
push 4
push 0x42fa84
push str.OK_to_install_the_VS2005_x64_Redistributable_Package_
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 6
jne 0x40e13d
push 0x42fad0
lea edx, [ebp - 0x158]
push edx
call fcn.004152c0
add esp, 8
lea eax, [ebp - 0x258]
push eax
lea ecx, [ebp - 0x158]
push ecx
call fcn.004152d0
add esp, 8
push str.redist_vc2005_vcredist_x64.exe_
lea edx, [ebp - 0x158]
push edx
call fcn.004152d0
add esp, 8
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x158]
push ecx
call fcn.0040dcb0
add esp, 8
movsx edx, word [ebp - 0x10]
test edx, edx
je 0x40e1b1
push 4
push 0x42faf4
push str.OK_to_install_the_VS2008_x86_Redistributable_Package_
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 6
jne 0x40e1b1
push 0x42fb40
lea ecx, [ebp - 0x158]
push ecx
call fcn.004152c0
add esp, 8
lea edx, [ebp - 0x258]
push edx
lea eax, [ebp - 0x158]
push eax
call fcn.004152d0
add esp, 8
push str.redist_vc2008_vcredist_x86.exe_
lea ecx, [ebp - 0x158]
push ecx
call fcn.004152d0
add esp, 8
mov edx, dword [ebp + 0xc]
push edx
lea eax, [ebp - 0x158]
push eax
call fcn.0040dcb0
add esp, 8
movsx ecx, word [ebp - 0x10]
test ecx, ecx
je 0x40e225
push 4
push 0x42fb64
push str.OK_to_install_the_VS2008_x64_Redistributable_Package_
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 6
jne 0x40e225
push 0x42fbb0
lea eax, [ebp - 0x158]
push eax
call fcn.004152c0
add esp, 8
lea ecx, [ebp - 0x258]
push ecx
lea edx, [ebp - 0x158]
push edx
call fcn.004152d0
add esp, 8
push str.redist_vc2008_vcredist_x64.exe_
lea eax, [ebp - 0x158]
push eax
call fcn.004152d0
add esp, 8
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0x158]
push edx
call fcn.0040dcb0
add esp, 8
movsx eax, word [ebp - 0x14]
test eax, eax
je 0x40e299
push 4
push 0x42fbd4
push str.OK_to_install_the_VS2012_x86_Redistributable_Package_
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 6
jne 0x40e299
push 0x42fc20
lea edx, [ebp - 0x158]
push edx
call fcn.004152c0
add esp, 8
lea eax, [ebp - 0x258]
push eax
lea ecx, [ebp - 0x158]
push ecx
call fcn.004152d0
add esp, 8
push str.redist_vc2012_vcredist_x86.exe_
lea edx, [ebp - 0x158]
push edx
call fcn.004152d0
add esp, 8
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x158]
push ecx
call fcn.0040dcb0
add esp, 8
movsx edx, word [ebp - 0x14]
test edx, edx
je 0x40e30d
push 4
push 0x42fc44
push str.OK_to_install_the_VS2012_x64_Redistributable_Package_
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 6
jne 0x40e30d
push 0x42fc90
lea ecx, [ebp - 0x158]
push ecx
call fcn.004152c0
add esp, 8
lea edx, [ebp - 0x258]
push edx
lea eax, [ebp - 0x158]
push eax
call fcn.004152d0
add esp, 8
push str.redist_vc2012_vcredist_x64.exe_
lea ecx, [ebp - 0x158]
push ecx
call fcn.004152d0
add esp, 8
mov edx, dword [ebp + 0xc]
push edx
lea eax, [ebp - 0x158]
push eax
call fcn.0040dcb0
add esp, 8
movsx ecx, word [ebp - 0x18]
test ecx, ecx
je 0x40e391
movsx edx, word [ebp - 8]
test edx, edx
jne 0x40e391
movsx eax, word [ebp - 4]
test eax, eax
jne 0x40e391
push 4
push 0x42fcb4
push str.OK_to_install_the_VS2015_x86_Redistributable_Package_
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 6
jne 0x40e391
push 0x42fd00
lea edx, [ebp - 0x158]
push edx
call fcn.004152c0
add esp, 8
lea eax, [ebp - 0x258]
push eax
lea ecx, [ebp - 0x158]
push ecx
call fcn.004152d0
add esp, 8
push str.redist_vc2015_vcredist_x86.exe_
lea edx, [ebp - 0x158]
push edx
call fcn.004152d0
add esp, 8
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x158]
push ecx
call fcn.0040dcb0
add esp, 8
movsx edx, word [ebp - 0x18]
test edx, edx
je 0x40e415
movsx eax, word [ebp - 8]
test eax, eax
jne 0x40e415
movsx ecx, word [ebp - 4]
test ecx, ecx
jne 0x40e415
push 4
push 0x42fd24
push str.OK_to_install_the_VS2015_x64_Redistributable_Package_
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 6
jne 0x40e415
push 0x42fd70
lea eax, [ebp - 0x158]
push eax
call fcn.004152c0
add esp, 8
lea ecx, [ebp - 0x258]
push ecx
lea edx, [ebp - 0x158]
push edx
call fcn.004152d0
add esp, 8
push str.redist_vc2015_vcredist_x64.exe_
lea eax, [ebp - 0x158]
push eax
call fcn.004152d0
add esp, 8
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0x158]
push edx
call fcn.0040dcb0
add esp, 8
movsx eax, word [ebp - 8]
test eax, eax
je 0x40e491
movsx ecx, word [ebp - 4]
test ecx, ecx
jne 0x40e491
push 4
push 0x42fd94
push str.OK_to_install_the_VS2017_x86_Redistributable_Package_
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 6
jne 0x40e491
push 0x42fde0
lea eax, [ebp - 0x158]
push eax
call fcn.004152c0
add esp, 8
lea ecx, [ebp - 0x258]
push ecx
lea edx, [ebp - 0x158]
push edx
call fcn.004152d0
add esp, 8
push str.redist_vc2017_vcredist_x86.exe_
lea eax, [ebp - 0x158]
push eax
call fcn.004152d0
add esp, 8
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0x158]
push edx
call fcn.0040dcb0
add esp, 8
movsx eax, word [ebp - 8]
test eax, eax
je 0x40e50d
movsx ecx, word [ebp - 4]
test ecx, ecx
jne 0x40e50d
push 4
push 0x42fe04
push str.OK_to_install_the_VS2017_x64_Redistributable_Package_
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 6
jne 0x40e50d
push 0x42fe50
lea eax, [ebp - 0x158]
push eax
call fcn.004152c0
add esp, 8
lea ecx, [ebp - 0x258]
push ecx
lea edx, [ebp - 0x158]
push edx
call fcn.004152d0
add esp, 8
push str.redist_vc2017_vcredist_x64.exe_
lea eax, [ebp - 0x158]
push eax
call fcn.004152d0
add esp, 8
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0x158]
push edx
call fcn.0040dcb0
add esp, 8
movsx eax, word [ebp - 4]
test eax, eax
je 0x40e581
push 4
push 0x42fe74
push str.OK_to_install_the_VS2019_x86_Redistributable_Package_
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 6
jne 0x40e581
push 0x42fec0
lea edx, [ebp - 0x158]
push edx
call fcn.004152c0
add esp, 8
lea eax, [ebp - 0x258]
push eax
lea ecx, [ebp - 0x158]
push ecx
call fcn.004152d0
add esp, 8
push str.redist_vc2019_vcredist_x86.exe_
lea edx, [ebp - 0x158]
push edx
call fcn.004152d0
add esp, 8
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x158]
push ecx
call fcn.0040dcb0
add esp, 8
movsx edx, word [ebp - 4]
test edx, edx
je 0x40e5f5
push 4
push 0x42fee4
push str.OK_to_install_the_VS2019_x64_Redistributable_Package_
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 6
jne 0x40e5f5
push 0x42ff30
lea ecx, [ebp - 0x158]
push ecx
call fcn.004152c0
add esp, 8
lea edx, [ebp - 0x258]
push edx
lea eax, [ebp - 0x158]
push eax
call fcn.004152d0
add esp, 8
push str.redist_vc2019_vcredist_x64.exe_
lea ecx, [ebp - 0x158]
push ecx
call fcn.004152d0
add esp, 8
mov edx, dword [ebp + 0xc]
push edx
lea eax, [ebp - 0x158]
push eax
call fcn.0040dcb0
add esp, 8
movsx ecx, word [ebp - 0x20]
test ecx, ecx
je 0x40e669
push 4
push 0x42ff54
push str.Certain_DirectX_9_components_are_required_by_PDS_even_if_nyou_already_have_DirectX_10_or_11_installed._n_n_nOK_to_install_the_DirectX_9_Redistributable_Package_
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 6
jne 0x40e669
push 0x430008
lea eax, [ebp - 0x158]
push eax
call fcn.004152c0
add esp, 8
lea ecx, [ebp - 0x258]
push ecx
lea edx, [ebp - 0x158]
push edx
call fcn.004152d0
add esp, 8
push str.redistdirxredidxsetup.exe_
lea eax, [ebp - 0x158]
push eax
call fcn.004152d0
add esp, 8
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0x158]
push edx
call fcn.0040dcb0
add esp, 8
xor eax, eax
mov esp, ebp
pop ebp
ret