Function at 0x438ab0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5e7be0
mov eax, dword fs:[0]
push eax
sub esp, 0x8c
mov eax, dword [0x67d070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, fcn.0042c970
test eax, eax
je 0x438b0c
push str.Start_installing_async_products...
push 0x622628
push 0x622628
push str.AsyncProductInstallManager
push str.WAMB
push 0xa
call fcn.0042c970
add esp, 0x18
mov bl, 1
mov dword [ebp - 0x14], 7
xor eax, eax
mov byte [ebp - 0x59], bl
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
mov dword [ebp - 4], eax
mov dword [ebp - 0x44], 7
mov dword [ebp - 0x48], eax
mov word [ebp - 0x58], ax
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], bl
call fcn.0049c250
push 0xf
xor eax, eax
mov dword [ebp - 0x2c], 7
push str.HDBoxSetup.exe
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
call fcn.00407060
push ecx
lea edx, [ebp - 0x40]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x58]
call fcn.0049c840
mov byte [ebp - 4], bl
add esp, 4
mov eax, dword [ebp - 0x2c]
cmp eax, 8
jb 0x438b8f
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.00407b40
mov ecx, dword [edi + 0x1c]
mov eax, 0x2aaaaaab
sub ecx, dword [edi + 0x18]
xor esi, esi
imul ecx
mov dword [ebp - 0x60], esi
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x438f71
xor ebx, ebx
mov dword [ebp - 0x6c], ebx
lea eax, [ebp - 0x28]
cmp eax, edi
je 0x438bc9
push 0xffffffffffffffff
push 0
push edi
mov ecx, eax
call fcn.00407550
mov edx, dword [edi + 0x18]
push ecx
add edx, ebx
lea ecx, [ebp - 0x28]
call fcn.0049c840
mov eax, fcn.0042c970
add esp, 4
test eax, eax
je 0x438c13
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push esi
push str.Driver_xml_path_for_entry__d_is__s
push 0x622628
push 0x622628
push str.AsyncProductInstallManager
push str.WAMB
push 0xa
call fcn.0042c970
add esp, 0x20
mov ecx, dword [edi + 0x1c]
mov eax, 0x2aaaaaab
sub ecx, dword [edi + 0x18]
imul ecx
mov ecx, dword [0x689928]
sar edx, 2
mov ebx, edx
shr ebx, 0x1f
add ebx, edx
test ecx, ecx
jne 0x438c73
push 0x3d8
call fcn.00599c81
mov esi, eax
add esp, 4
mov dword [ebp - 0x90], esi
push 0x3d8
push 0
push esi
mov byte [ebp - 4], 3
call fcn.005b3770
add esp, 0xc
mov ecx, esi
call fcn.0042ca50
mov esi, dword [ebp - 0x60]
mov ecx, eax
mov byte [ebp - 4], 1
mov dword [0x689928], ecx
movd xmm0, ebx
inc esi
cvtdq2pd xmm0, xmm0
shr ebx, 0x1f
mov ecx, dword [ecx + 0x3bc]
mov dword [ebp - 0x60], esi
movd xmm1, esi
addsd xmm0, qword [ebx*8 + 0x654980]
cvtdq2ps xmm1, xmm1
cvtpd2ps xmm0, xmm0
movss dword [ebp - 0x70], xmm1
divss xmm1, xmm0
mulss xmm1, dword [0x654874]
subss xmm1, dword [0x654784]
cvttss2si eax, xmm1
push eax
call fcn.004735d0
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x438ff9
xorps xmm0, xmm0
mov dword [ebp - 0x2c], 0
movq qword [ebp - 0x34], xmm0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x8c]
push 0xb
xor eax, eax
mov dword [ebp - 0x78], 7
push str.__install1
mov dword [ebp - 0x7c], 0
mov word [ebp - 0x8c], ax
call fcn.00407060
lea eax, [ebp - 0x8c]
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0x34]
call fcn.0041f910
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x78]
cmp eax, 8
jb 0x438d5c
inc eax
lea ecx, [ebp - 0x8c]
push eax
push dword [ebp - 0x8c]
call fcn.00407b40
lea eax, [ebp - 0x28]
mov edx, str.__driverXML
push eax
lea ecx, [ebp - 0x8c]
call fcn.0042b470
add esp, 4
push eax
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 6
call fcn.0041f910
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x78]
cmp eax, 8
jb 0x438d9f
inc eax
lea ecx, [ebp - 0x8c]
push eax
push dword [ebp - 0x8c]
call fcn.00407b40
push 0
lea eax, [ebp - 0x74]
mov dword [ebp - 0x68], 0
push eax
push 1
lea eax, [ebp - 0x64]
mov dword [ebp - 0x64], 0xffffffff
push eax
lea eax, [ebp - 0x68]
mov dword [ebp - 0x74], 0
push 1
push eax
lea edx, [ebp - 0x34]
lea ecx, [ebp - 0x58]
call fcn.004bb3e0
add esp, 0x18
test al, al
jne 0x438e22
mov ecx, dword [ebp - 0x64]
test ecx, ecx
je 0x438e22
mov eax, fcn.0042c970
test eax, eax
je 0x438e1b
push dword [ebp - 0x68]
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push ecx
cmovae eax, dword [ebp - 0x28]
push eax
push str.Error_occured_while_trying_to_install_async_product_from__s_with_return_code_:__d_and_error_code_:__d
push 0x622628
push 0x622628
push str.AsyncProductInstallManager
push str.WAMB
push 0x32
call fcn.0042c970
add esp, 0x24
xor bl, bl
mov byte [ebp - 0x59], bl
jmp 0x438e5a
mov eax, fcn.0042c970
test eax, eax
je 0x438e5a
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push str.Successfully_installed_async_product_from__s
push 0x622628
push 0x622628
push str.AsyncProductInstallManager
push str.WAMB
push 0x1e
call fcn.0042c970
add esp, 0x1c
mov byte [ebp - 4], 1
mov esi, dword [ebp - 0x34]
test esi, esi
je 0x438eaa
lea eax, [ebp - 0x34]
push eax
push dword [ebp - 0x30]
push esi
call fcn.0040afd0
mov ecx, dword [ebp - 0x2c]
mov eax, 0x2aaaaaab
sub ecx, esi
add esp, 0xc
imul ecx
lea ecx, [ebp - 0x34]
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
push esi
call fcn.0040acc0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov esi, dword [ebp - 0x60]
mov ecx, dword [edi + 0x1c]
mov eax, 0x2aaaaaab
sub ecx, dword [edi + 0x18]
imul ecx
mov ecx, dword [0x689928]
sar edx, 2
mov ebx, edx
shr ebx, 0x1f
add ebx, edx
test ecx, ecx
jne 0x438f0d
push 0x3d8
call fcn.00599c81
mov esi, eax
add esp, 4
mov dword [ebp - 0x94], esi
push 0x3d8
push 0
push esi
mov byte [ebp - 4], 7
call fcn.005b3770
add esp, 0xc
mov ecx, esi
call fcn.0042ca50
mov esi, dword [ebp - 0x60]
mov ecx, eax
mov byte [ebp - 4], 1
mov dword [0x689928], ecx
movss xmm1, dword [ebp - 0x70]
movd xmm0, ebx
cvtdq2pd xmm0, xmm0
shr ebx, 0x1f
mov ecx, dword [ecx + 0x3bc]
addsd xmm0, qword [ebx*8 + 0x654980]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
mulss xmm1, dword [0x654874]
cvttss2si eax, xmm1
push eax
call fcn.004735d0
mov ecx, dword [edi + 0x1c]
mov eax, 0x2aaaaaab
sub ecx, dword [edi + 0x18]
mov ebx, dword [ebp - 0x6c]
imul ecx
add ebx, 0x18
sar edx, 2
mov eax, edx
mov dword [ebp - 0x6c], ebx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jb 0x438bb6
mov bl, byte [ebp - 0x59]
mov eax, fcn.0042c970
test eax, eax
je 0x438f9d
push str.End_installing_async_products...
push 0x622628
push 0x622628
push str.AsyncProductInstallManager
push str.WAMB
push 0xa
call fcn.0042c970
add esp, 0x18
mov eax, dword [ebp - 0x44]
cmp eax, 8
jb 0x438fb2
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.00407b40
mov ecx, dword [ebp - 0x14]
xor eax, eax
mov dword [ebp - 0x44], 7
mov dword [ebp - 0x48], 0
mov word [ebp - 0x58], ax
cmp ecx, 8
jb 0x438fdb
inc ecx
push ecx
push dword [ebp - 0x28]
lea ecx, [ebp - 0x28]
call fcn.00407b40
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00599c70
mov esp, ebp
pop ebp
ret
mov eax, fcn.0042c970
test eax, eax
je 0x439031
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push str.Found_async_product_entry__s_but_path_doesnt_exist
push 0x622628
push 0x622628
push str.AsyncProductInstallManager
push str.WAMB
push 0x28
call fcn.0042c970
add esp, 0x1c
mov byte [ebp - 0x59], 0
jmp 0x438ead