Function at 0x4080af
Capabilities:
Create process on windows
Terminate process

Disassembly:
push ebp
lea ebp, [esp - 0x68]
sub esp, 0x548
push ebx
lea eax, [ebp + 0x50]
push eax
push 0x20006
xor ebx, ebx
push ebx
push str.SOFTWARE
push 0x80000002
mov dword [ebp + 0x58], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x4080f9
push 0x10
push str.INSTALL_ERROR
push str.This_product_must_be_installed_using_an_administrator_account.
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
xor eax, eax
inc eax
jmp 0x408b98
push esi
push edi
push dword [ebp + 0x50]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call fcn.004077c3
push 0xff
lea eax, [ebp - 0x4e0]
push eax
push dword [ebp + 0x70]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x4e0]
push eax
mov ecx, 0x428278
call fcn.00401737
push str.popcfg
push 0x42448d
call fcn.00415e07
pop ecx
pop ecx
mov esi, eax
push esi
mov ecx, 0x42825c
call fcn.00401737
push esi
call fcn.00414a18
mov dword [esp], str._files.cab
lea eax, [ebp + 0x10]
push 0x42825c
push eax
call fcn.0040484c
add esp, 0xc
push 0xffffffffffffffff
push ebx
push eax
mov ecx, 0x429db4
call fcn.004016a8
xor edi, edi
inc edi
push edi
lea ecx, [ebp + 0x10]
call fcn.004017ef
cmp dword [0x428290], 0x10
mov eax, dword [0x42827c]
jae 0x408198
mov eax, 0x42827c
push 0x423ae8
push eax
call fcn.004161a1
mov esi, eax
cmp esi, ebx
pop ecx
pop ecx
jne 0x4081f3
push 0x424320
push 0x428278
lea eax, [ebp - 0x44]
push str.Unable_to_Open_Installer_Exe_
push eax
call fcn.00404898
add esp, 0xc
push eax
lea eax, [ebp + 0x10]
push eax
call fcn.0040484c
push eax
call fcn.004050a8
add esp, 0x10
push edi
lea ecx, [ebp + 0x10]
call fcn.004017ef
push edi
lea ecx, [ebp - 0x44]
call fcn.004017ef
push 4
pop eax
jmp 0x408b96
push 2
push ebx
push esi
call fcn.0041666e
push esi
call fcn.0041659e
add eax, 0xfffffffc
push eax
push esi
call fcn.00407e1f
add esp, 0x18
test al, al
jne 0x408237
push str.Unable_to_Read_Installer_Data
lea ecx, [ebp + 0x34]
call fcn.0040163f
lea eax, [ebp + 0x34]
push eax
call fcn.004050a8
pop ecx
push edi
lea ecx, [ebp + 0x34]
call fcn.004017ef
push 5
jmp 0x4081ed
call dword [sym.imp.COMCTL32.dll_InitCommonControls]
push 0x2dadada
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov dword [0x429cec], eax
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
mov dword [ebp + 0x5c], eax
call dword [sym.imp.USER32.dll_GetDC]
mov esi, dword [sym.imp.GDI32.dll_GetDeviceCaps]
push 0x48
push 0x5a
push eax
mov dword [ebp + 0x60], eax
call esi
mov edi, dword [sym.imp.KERNEL32.dll_MulDiv]
push eax
push 0x12
call edi
push str.Arial
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x2bc
push ebx
push ebx
neg eax
push ebx
push eax
call dword [sym.imp.GDI32.dll_CreateFontA]
push 0x48
push 0x5a
push dword [ebp + 0x60]
mov dword [0x429cfc], eax
call esi
push eax
push 8
call edi
push str.Courier_New
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x190
push ebx
push ebx
neg eax
push ebx
push eax
call dword [sym.imp.GDI32.dll_CreateFontA]
push 0x48
push 0x5a
push dword [ebp + 0x60]
mov dword [0x429cf8], eax
call esi
push eax
push 0x10
call edi
push str.Arial
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x2bc
push ebx
push ebx
neg eax
push ebx
push eax
call dword [sym.imp.GDI32.dll_CreateFontA]
push dword [ebp + 0x60]
mov dword [0x429d00], eax
push dword [ebp + 0x5c]
call dword [sym.imp.USER32.dll_ReleaseDC]
xor esi, esi
mov edi, 0x429edc
inc esi
mov eax, dword [0x429d04]
sub eax, ebx
mov dword [ebp + 0x60], 2
je 0x40862c
dec eax
je 0x40860c
dec eax
je 0x408601
dec eax
je 0x4085e7
dec eax
je 0x4083cf
dec eax
jne 0x4089e2
cmp dword [0x429e4c], ebx
jbe 0x408b29
push ebx
push 0x405747
push ebx
push 0x6c
push dword [ebp + 0x70]
call dword [sym.imp.USER32.dll_DialogBoxParamA]
cmp eax, 6
mov dword [ebp + 0x60], eax
jne 0x4089e2
lea eax, [ebp - 0xc]
push 0x429e38
push eax
call fcn.00404ae0
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.004118c0
mov ecx, dword [ebp - 0x24]
add esp, 0x10
cmp dword [ebp - 0x10], 0x10
jae 0x40839c
lea ecx, [ebp - 0x24]
cmp dword [ebp + 0xc], 0x10
mov eax, dword [ebp - 8]
jae 0x4083a8
lea eax, [ebp - 8]
push esi
push ecx
push ebx
push eax
push str.open
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
push esi
lea ecx, [ebp - 0x28]
call fcn.004017ef
lea ecx, [ebp - 0xc]
push esi
call fcn.004017ef
jmp 0x4089e2
push str.InstallGroup
lea ecx, [ebp - 0x108]
call fcn.0040163f
push str.ProgramGroup
lea ecx, [ebp - 0x60]
call fcn.0040163f
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x1b0]
push eax
mov ecx, edi
call fcn.0040e230
push eax
push 0x424334
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x15c]
push eax
mov ecx, edi
call fcn.0040e230
push eax
lea eax, [ebp - 0x2c8]
push eax
call fcn.0040484c
add esp, 0xc
push eax
lea eax, [ebp - 0x124]
push eax
call fcn.00408e14
add esp, 0xc
push esi
lea ecx, [ebp - 0x2c8]
call fcn.004017ef
push esi
lea ecx, [ebp - 0x15c]
call fcn.004017ef
push esi
lea ecx, [ebp - 0x1b0]
call fcn.004017ef
push esi
lea ecx, [ebp - 0x60]
call fcn.004017ef
push esi
lea ecx, [ebp - 0x108]
call fcn.004017ef
push str.AppFolder
lea ecx, [ebp - 0x140]
call fcn.0040163f
lea eax, [ebp - 0x124]
push eax
lea eax, [ebp - 0x370]
push eax
call fcn.004115b0
pop ecx
pop ecx
push eax
lea eax, [ebp - 0x140]
push eax
mov ecx, edi
call fcn.0040e7f0
push esi
lea ecx, [ebp - 0x370]
call fcn.004017ef
push esi
lea ecx, [ebp - 0x140]
call fcn.004017ef
push str.files_
mov ecx, 0x4282b0
call fcn.00401737
push str.InstallPath
lea ecx, [ebp - 0xec]
call fcn.0040163f
lea eax, [ebp - 0xec]
push eax
lea eax, [ebp - 0x300]
push eax
mov ecx, edi
call fcn.0040e230
push eax
lea eax, [ebp - 0x1e8]
push eax
call fcn.00404ae0
pop ecx
pop ecx
push 0xffffffffffffffff
push ebx
push eax
mov ecx, 0x4282cc
call fcn.004016a8
push esi
lea ecx, [ebp - 0x1e8]
call fcn.004017ef
push esi
lea ecx, [ebp - 0x300]
call fcn.004017ef
push esi
lea ecx, [ebp - 0xec]
call fcn.004017ef
mov eax, dword [0x4282e0]
cmp eax, ebx
jle 0x40857f
mov ecx, dword [0x4282e4]
cmp ecx, 0x10
mov edx, dword [0x4282d0]
jae 0x408552
mov edx, 0x4282d0
cmp byte [edx + eax - 1], 0x5c
je 0x40857f
cmp ecx, 0x10
mov ecx, dword [0x4282d0]
jae 0x408569
mov ecx, 0x4282d0
cmp byte [ecx + eax - 1], 0x2f
je 0x40857f
push 0x424334
mov ecx, 0x4282cc
call fcn.00404999
mov edx, 0x429f68
call fcn.00408ce8
call fcn.0040778d
push ebx
push 0x4060ca
push ebx
push 0x68
push dword [ebp + 0x70]
call dword [sym.imp.USER32.dll_DialogBoxParamA]
cmp byte [0x429d09], bl
mov dword [ebp + 0x60], eax
je 0x4085dc
cmp byte [0x429d08], bl
jne 0x4085dc
push str.Failed_to_decompress_files_
lea ecx, [ebp - 0xb4]
call fcn.0040163f
lea eax, [ebp - 0xb4]
push eax
call fcn.004050a8
pop ecx
push esi
lea ecx, [ebp - 0xb4]
call fcn.004017ef
lea ecx, [ebp - 0x124]
jmp 0x4083c4
push ebx
push 0x405a59
push ebx
push 0x65
push dword [ebp + 0x70]
call dword [sym.imp.USER32.dll_DialogBoxParamA]
mov dword [ebp + 0x60], eax
jmp 0x4089e2
push ebx
push 0x405cd7
push ebx
push 0x66
jmp 0x4085f0
push ebx
push 0x40596e
push ebx
push 0x67
push dword [ebp + 0x70]
call dword [sym.imp.USER32.dll_DialogBoxParamA]
inc dword [0x429d04]
mov dword [ebp + 0x60], eax
jmp 0x4089e2
push str.cfg_
mov ecx, 0x4282b0
call fcn.00401737
push 0x424334
lea eax, [ebp - 0x220]
push 0x42825c
push eax
call fcn.0040484c
add esp, 0xc
push 0xffffffffffffffff
push ebx
push eax
mov ecx, 0x4282cc
call fcn.004016a8
push esi
lea ecx, [ebp - 0x220]
call fcn.004017ef
call fcn.004063c8
push ebx
push 0x40560f
push ebx
push 0x6b
push dword [ebp + 0x70]
call dword [sym.imp.USER32.dll_DialogBoxParamA]
cmp byte [0x429d09], bl
mov dword [ebp + 0x60], eax
je 0x4086bc
cmp byte [0x429d08], bl
jne 0x4089e2
push str.Failed_to_decompress_setup_files_
lea ecx, [ebp - 0x7c]
call fcn.0040163f
lea eax, [ebp - 0x7c]
push eax
call fcn.004050a8
pop ecx
push esi
lea ecx, [ebp - 0x7c]
call fcn.004017ef
cmp byte [0x429d08], bl
jne 0x4089e2
push str.logo.bmp
lea eax, [ebp - 0x3e0]
push 0x4282cc
push eax
call fcn.0040484c
add esp, 0xc
cmp dword [eax + 0x18], 0x10
jb 0x4086ec
mov eax, dword [eax + 4]
jmp 0x4086ef
add eax, 4
push 0x50
push ebx
push ebx
push ebx
push eax
push dword [ebp + 0x70]
call dword [sym.imp.USER32.dll_LoadImageA]
push esi
lea ecx, [ebp - 0x3e0]
mov dword [0x429cf0], eax
call fcn.004017ef
push str.product.bmp
lea eax, [ebp - 0x258]
push 0x4282cc
push eax
call fcn.0040484c
add esp, 0xc
cmp dword [eax + 0x18], 0x10
jb 0x408733
mov eax, dword [eax + 4]
jmp 0x408736
add eax, 4
push 0x50
push ebx
push ebx
push ebx
push eax
push dword [ebp + 0x70]
call dword [sym.imp.USER32.dll_LoadImageA]
push esi
lea ecx, [ebp - 0x258]
mov dword [0x429cf4], eax
call fcn.004017ef
push str.props.xml
lea eax, [ebp - 0x338]
push 0x42825c
push eax
call fcn.0040484c
add esp, 0xc
push eax
mov ecx, 0x429f28
call fcn.00413840
neg al
sbb al, al
inc al
push esi
lea ecx, [ebp - 0x338]
mov byte [ebp + 0x67], al
call fcn.004017ef
cmp byte [ebp + 0x67], bl
je 0x408827
push 0x424320
lea eax, [ebp - 0x178]
push eax
mov ecx, 0x429f28
call fcn.0040dfb0
push eax
lea eax, [ebp - 0x3a8]
push str.Properties_file_error:_
push eax
call fcn.00404898
add esp, 0xc
push eax
lea eax, [ebp - 0x290]
push eax
call fcn.0040484c
add esp, 0xc
cmp dword [eax + 0x18], 0x10
jb 0x4087de
mov eax, dword [eax + 4]
jmp 0x4087e1
add eax, 4
push 0x10
push str.Fatal_Error_
push eax
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
push esi
lea ecx, [ebp - 0x290]
call fcn.004017ef
push esi
lea ecx, [ebp - 0x3a8]
call fcn.004017ef
push esi
lea ecx, [ebp - 0x178]
call fcn.004017ef
mov byte [0x429d08], 1
mov byte [0x429d14], 1
jmp 0x4089e2
mov ecx, dword [0x429f54]
mov eax, dword [ecx]
cmp eax, ecx
mov dword [ebp + 0x5c], eax
je 0x408858
lea ecx, [eax + 0x28]
push ecx
add eax, 0xc
push eax
mov ecx, edi
call fcn.0040e7f0
lea ecx, [ebp + 0x5c]
call fcn.00404816
mov eax, dword [ebp + 0x5c]
cmp eax, dword [0x429f54]
jne 0x408836
push str.install.xml
lea eax, [ebp - 0x194]
push 0x4282cc
push eax
call fcn.0040484c
add esp, 0xc
push eax
mov ecx, 0x429dd0
call fcn.00403c39
neg al
sbb al, al
inc al
push esi
lea ecx, [ebp - 0x194]
mov byte [ebp + 0x67], al
call fcn.004017ef
cmp byte [ebp + 0x67], bl
je 0x4088b9
lea eax, [ebp - 0x1cc]
push eax
mov eax, 0x429dd0
call fcn.00403e0e
push eax
call fcn.004050a8
pop ecx
lea ecx, [ebp - 0x1cc]
jmp 0x4083c4
push str.defines.xml
lea eax, [ebp - 0x204]
push 0x4282cc
push eax
call fcn.0040484c
add esp, 0xc
push eax
mov ecx, edi
call fcn.0040f410
neg al
sbb al, al
inc al
push esi
lea ecx, [ebp - 0x204]
mov byte [ebp + 0x67], al
call fcn.004017ef
cmp byte [ebp + 0x67], bl
je 0x408914
lea eax, [ebp - 0x23c]
push eax
mov ecx, edi
call fcn.0040dfb0
push eax
call fcn.004050a8
pop ecx
lea ecx, [ebp - 0x23c]
jmp 0x4083c4
mov eax, dword [0x429d28]
cmp eax, ebx
jne 0x408921
xor ecx, ecx
jmp 0x408923
mov ecx, dword [eax]
cmp ecx, eax
mov dword [ebp + 0x5c], ecx
je 0x40898f
mov eax, dword [ebp + 0x5c]
add eax, 8
push eax
mov ecx, edi
call fcn.0040f3a0
test al, al
je 0x40894e
mov eax, dword [ebp + 0x5c]
mov eax, dword [eax]
cmp eax, dword [0x429d28]
mov dword [ebp + 0x5c], eax
jne 0x40892a
jmp 0x40898f
lea eax, [ebp - 0x2ac]
push eax
mov ecx, edi
call fcn.0040dfb0
push eax
lea eax, [ebp - 0x274]
push str.Attached_Defines:
push eax
call fcn.00404898
push eax
call fcn.004050a8
add esp, 0x10
push esi
lea ecx, [ebp - 0x274]
call fcn.004017ef
push esi
lea ecx, [ebp - 0x2ac]
call fcn.004017ef
push str.MinDXVer
lea ecx, [ebp - 0x98]
call fcn.0040163f
push 0x429f0c
lea eax, [ebp - 0x98]
push eax
mov ecx, edi
call fcn.0040e7f0
push esi
lea ecx, [ebp - 0x98]
call fcn.004017ef
push ebx
xor ebx, ebx
lea eax, [ebp + 0x54]
call fcn.00401c68
test eax, eax
pop ecx
jl 0x4089dd
mov eax, dword [ebp + 0x54]
cmp eax, dword [0x428258]
jb 0x408ba0
xor esi, esi
xor ebx, ebx
inc esi
cmp dword [0x429d04], 5
je 0x408b29
cmp dword [ebp + 0x60], 0x3f6
jne 0x408a00
inc dword [0x429d04]
jmp 0x408a17
cmp dword [ebp + 0x60], 0x6e
jne 0x408a0c
dec dword [0x429d04]
cmp dword [ebp + 0x60], 2
jne 0x408a17
call fcn.00405210
cmp dword [0x429d04], 3
jne 0x408b1d
cmp byte [0x429d08], bl
jne 0x408b29
push str.InstallPath
lea ecx, [ebp - 0xd0]
call fcn.0040163f
lea eax, [ebp - 0xd0]
push eax
lea eax, [ebp - 0x2e4]
push eax
mov ecx, edi
call fcn.0040e230
push eax
lea eax, [ebp + 0x34]
push eax
call fcn.00404ae0
pop ecx
pop ecx
push esi
lea ecx, [ebp - 0x2e4]
call fcn.004017ef
push esi
lea ecx, [ebp - 0xd0]
call fcn.004017ef
push 0x424334
lea eax, [ebp + 0x34]
push eax
lea eax, [ebp - 0x354]
push eax
call fcn.004114e0
pop ecx
pop ecx
push eax
lea eax, [ebp - 0x31c]
push eax
call fcn.0040484c
add esp, 0xc
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp + 0x34]
call fcn.004016a8
push esi
lea ecx, [ebp - 0x31c]
call fcn.004017ef
push esi
lea ecx, [ebp - 0x354]
call fcn.004017ef
lea eax, [ebp + 0x34]
call fcn.00408015
mov ecx, edx
mov dword [ebp + 0x2c], eax
and eax, ecx
cmp eax, 0xffffffff
jne 0x408ae6
push 0x10
push str.Invalid_Drive_
push str.The_drive_specified_is_not_valid.__Please_select_a_different_path.
jmp 0x408b03
mov eax, dword [0x429d20]
cdq
cmp ecx, edx
jg 0x408b14
jl 0x408af7
cmp dword [ebp + 0x2c], eax
jae 0x408b14
push 0x10
push str.Insufficient_Space_
push str.The_drive_specified_does_not_have_sufficient_space.__Please_select_a_different_path.
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
mov dword [0x429d04], 2
push esi
lea ecx, [ebp + 0x34]
call fcn.004017ef
cmp byte [0x429d08], bl
je 0x408311
mov eax, dword [0x429d50]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x429d54]
cmp dword [eax + 0x4c], 0xffffffff
je 0x408b53
push 0x4238bc
mov ecx, 0x429d5c
call fcn.0041f7c1
push eax
call fcn.00404ac7
pop ecx
push 0x42825c
call fcn.00410ee0
cmp byte [0x429d08], bl
pop ecx
je 0x408b87
cmp byte [0x429d14], bl
jne 0x408b80
push ebx
push 0x4054b0
push ebx
push 0x6a
push dword [ebp + 0x70]
call dword [sym.imp.USER32.dll_DialogBoxParamA]
mov dword [ebp + 0x58], 0xa
push dword [0x429cec]
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [ebp + 0x58]
pop edi
pop esi
pop ebx
add ebp, 0x68
leave
ret 0x10
push str._DX_UPGRADE_TITLE_
lea ecx, [ebp + 0x10]
call fcn.0040163f
push str._DX_UPGRADE_TEXT_
lea ecx, [ebp - 0x44]
call fcn.0040163f
lea eax, [ebp + 0x10]
push eax
lea eax, [ebp - 0x3c4]
push eax
call fcn.00404ae0
cmp dword [eax + 0x18], 0x10
pop ecx
pop ecx
jb 0x408bd7
mov edi, dword [eax + 4]
jmp 0x408bda
lea edi, [eax + 4]
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x38c]
push eax
call fcn.00404ae0
cmp dword [eax + 0x18], 0x10
pop ecx
pop ecx
jb 0x408bf7
mov eax, dword [eax + 4]
jmp 0x408bfa
add eax, 4
xor esi, esi
inc esi
push esi
push edi
push eax
xor edi, edi
push edi
call dword [sym.imp.USER32.dll_MessageBoxA]
mov ebx, eax
dec ebx
neg ebx
sbb bl, bl
push esi
lea ecx, [ebp - 0x38c]
inc bl
call fcn.004017ef
push esi
lea ecx, [ebp - 0x3c4]
call fcn.004017ef
push esi
lea ecx, [ebp - 0x44]
call fcn.004017ef
push esi
lea ecx, [ebp + 0x10]
call fcn.004017ef
test bl, bl
je 0x408c63
cmp dword [0x429d48], 0x10
mov eax, dword [0x429d34]
jae 0x408c53
mov eax, 0x429d34
push esi
push edi
push edi
push eax
push str.open
push edi
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
push 2
call fcn.004168ce
int3