Function at 0x40b570
Capabilities:
Check for time delay via gettickcount

Disassembly:
push 0xffffffffffffffff
push 0x4575a4
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x46bd84]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, dword [esp + 0x44]
mov ebp, dword [esp + 0x40]
xor edi, edi
mov dword [esp + 0x28], edi
call fcn.0042d67b
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x40b5bf
push 0x80004005
call fcn.00401f60
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
mov dword [esp + 0x38], edi
call fcn.0042d67b
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x40b5ed
push 0x80004005
call fcn.00401f60
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
mov byte [esp + 0x38], 1
call fcn.0042d67b
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x40b61c
push 0x80004005
call fcn.00401f60
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x1c], eax
push str.CmdLine
mov byte [esp + 0x3c], 2
mov eax, dword [ebp]
push str.Product
push eax
lea ecx, [esp + 0x2c]
push ecx
call fcn.00420b30
add esp, 0x10
push str.dtid
lea ecx, [esp + 0x28]
mov byte [esp + 0x3c], 3
call fcn.00401ea0
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x34]
mov bl, 4
push ecx
mov byte [esp + 0x44], bl
call fcn.00418fd0
add esp, 0xc
lea ecx, [esi + 0x20]
push eax
mov byte [esp + 0x3c], 5
call fcn.0040f0a0
mov byte [esp + 0x38], bl
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40b6ae
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x38], 3
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40b6d3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push str.guid
lea ecx, [esp + 0x28]
call fcn.00401ea0
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x34]
mov bl, 6
push eax
mov byte [esp + 0x44], bl
call fcn.00418fd0
add esp, 0xc
lea ecx, [esi + 0x1c]
push eax
mov byte [esp + 0x3c], 7
call fcn.0040f0a0
mov byte [esp + 0x38], bl
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40b730
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x38], 3
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40b755
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push str.tb_type
lea ecx, [esp + 0x28]
call fcn.00401ea0
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x34]
mov bl, 8
push eax
mov byte [esp + 0x44], bl
call fcn.00418fd0
add esp, 0xc
lea ecx, [esi + 0x24]
push eax
mov byte [esp + 0x3c], 9
call fcn.0040f0a0
mov byte [esp + 0x38], bl
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40b7b2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x38], 3
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40b7d7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp]
push str.ProductCode
push str.Product
push eax
lea ecx, [esp + 0x30]
push ecx
call fcn.00420b30
lea edx, [esp + 0x3c]
mov bl, 0xa
push edx
mov ecx, eax
mov byte [esp + 0x4c], bl
call fcn.004207c0
add esp, 0x14
lea ecx, [esi + 0x28]
push eax
mov byte [esp + 0x3c], 0xb
call fcn.0040f0a0
mov byte [esp + 0x38], bl
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40b836
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x38], 3
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40b85b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp]
push 0x45d5ac
push str.Product
push eax
lea ecx, [esp + 0x38]
push ecx
call fcn.00420b30
add esp, 0x10
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x3c], 0xc
call fcn.0040f0a0
mov byte [esp + 0x38], 3
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40b8aa
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea esi, [esp + 0x14]
lea edi, [esp + 0x2c]
call fcn.00420d30
mov eax, dword [eax]
push 0x45d5ac
push eax
call fcn.0043e099
xor ecx, ecx
add esp, 8
test eax, eax
sete cl
mov byte [esp + 0x38], 3
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
or ebx, 0xffffffff
lea edx, [eax + 0xc]
mov esi, ecx
mov dword [esp + 0x24], esi
mov ecx, ebx
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40b8fb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test esi, esi
jne 0x40be3e
push str.AskToolbar.7z
lea ecx, [esp + 0x30]
push ecx
push 0x470130
lea ecx, [esp + 0x30]
call fcn.00405060
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x3c], 0xe
call fcn.0040f0a0
mov byte [esp + 0x38], 3
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
mov ecx, ebx
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40b94e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [esp + 0x24], 0
jne 0x40be3e
push 0
push str._local
push 0x470130
call fcn.00403330
test eax, eax
jne 0x40bcd0
cmp dword [0x4701e8], 3
je 0x40bcd0
push ebp
lea ecx, [esp + 0x18]
call fcn.0040a860
test eax, eax
jne 0x40ba41
mov esi, dword [0x4701d4]
call fcn.0040f520
push str.payloadUrlInvalid
mov ecx, 0x4701f0
call fcn.00401e60
mov byte [esp + 0x38], 2
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, ebx
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40b9cf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x38], 1
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, ebx
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40b9f3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x38], 0
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, ebx
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40ba17
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x38], ebx
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, ebx
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40ba3a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, ebx
jmp 0x40c2bd
call fcn.00411050
mov edi, eax
test edi, edi
jne 0x40bb1d
mov eax, dword [0x4701e0]
test eax, eax
je 0x40ba69
push str.Failed_to_download_Payload_file__Downloader_instance_unavailable_
push 1
push eax
call fcn.00417320
add esp, 0xc
mov esi, dword [0x4701d4]
call fcn.0040f520
push str.payloadDownloadFailed
mov ecx, 0x4701f0
call fcn.00401e60
mov byte [esp + 0x38], 2
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, ebx
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40baa7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x38], 1
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, ebx
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40bacb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x38], 0
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, ebx
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40baef
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x38], ebx
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, ebx
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40ba3a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, ebx
jmp 0x40c2bd
push 0x8a
lea ecx, [esp + 0x30]
push ecx
call fcn.00402c60
mov byte [esp + 0x38], 0xf
mov eax, dword [eax]
push str.AskToolbar.7z
push eax
lea edx, [esp + 0x24]
push edx
call fcn.0040f030
mov byte [esp + 0x44], 3
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
add esp, 0xc
lea ecx, [eax + 0xc]
lock xadd dword [ecx], ebx
dec ebx
test ebx, ebx
jg 0x40bb68
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [0x4701d4]
mov edx, dword [ecx]
mov eax, dword [esp + 0x1c]
mov edx, dword [edx + 0x17c]
push eax
call edx
mov eax, dword [0x4701e0]
test eax, eax
je 0x40bb96
push str.Begin_downloads_of_Payload.
push 1
push eax
call fcn.00417320
add esp, 0xc
push 1
lea eax, [esp + 0x30]
push eax
call fcn.00409950
mov byte [esp + 0x38], 0x10
mov esi, dword [eax]
call fcn.0040b0f0
mov ecx, dword [0x4701d4]
push eax
push ecx
push 0x402170
push ecx
call fcn.0040aec0
mov edx, dword [esp + 0x28]
mov ebp, dword [esp + 0x24]
add esp, 4
push eax
push 0xc
push edx
push ebp
push esi
mov eax, edi
call fcn.00411090
mov esi, eax
mov byte [esp + 0x38], 3
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40bc00
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
call fcn.0040b1f0
cmp dword [0x470124], 0
mov ecx, dword [esp + 0x44]
mov dword [ecx], eax
je 0x40bc4f
push str.userCanceled
mov ecx, 0x4701f0
call fcn.00401e60
lea ecx, [esp + 0x20]
call fcn.00402040
lea ecx, [esp + 0x1c]
call fcn.00402040
lea ecx, [esp + 0x18]
call fcn.00402040
lea ecx, [esp + 0x14]
call fcn.00402040
or eax, 0xffffffff
jmp 0x40c2bd
test esi, esi
je 0x40bc92
mov eax, dword [0x4701e0]
test eax, eax
je 0x40bc6c
push str.Download_of_Payload_succeeded.
push 1
push eax
call fcn.00417320
add esp, 0xc
lea ecx, [esp + 0x18]
call fcn.00421480
test eax, eax
jne 0x40bcc0
mov eax, dword [0x4701e0]
test eax, eax
je 0x40bcab
push str.Error:_Local_Compressed_Payload_not_found_
push 1
push eax
call fcn.00417320
add esp, 0xc
mov eax, dword [0x4701e0]
test eax, eax
je 0x40bcab
push str.Error:_Download_of_Payload_failed_
push 1
push eax
call fcn.00417320
add esp, 0xc
mov esi, dword [0x4701d4]
call fcn.0040f520
push str.payloadDownloadFailed
jmp 0x40bc19
mov esi, dword [0x4701d4]
call fcn.0040f470
jmp 0x40be42
push 0
push str._local
push 0x470130
call fcn.00403330
test eax, eax
jne 0x40bcf2
cmp dword [0x4701e8], 3
jne 0x40be3e
push 0x45dd94
push 0x83
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebx, dword [esp + 0x18]
test eax, eax
jne 0x40bd14
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x40bd1c
push ebx
mov edi, eax
call fcn.00409240
mov esi, eax
test esi, esi
je 0x40be20
cmp dword [0x4701e0], 0
je 0x40bd67
lea edx, [esp + 0x44]
push esi
push edx
call fcn.00403230
mov byte [esp + 0x40], 0x11
mov eax, dword [eax]
mov ecx, dword [0x4701e0]
push eax
push esi
push str.Error:_Extracting_Binary_Recourse__Payload__fails_with_Error_Code__d__s_
push 1
push ecx
call fcn.00417320
add esp, 0x1c
lea ecx, [esp + 0x44]
mov byte [esp + 0x38], 3
call fcn.00402040
push str.internalError
mov ecx, 0x4701f0
call fcn.00401e60
mov esi, dword [0x4701d4]
call fcn.0040f520
mov byte [esp + 0x38], 2
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40bda6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x38], 1
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40bdcb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x38], 0
lea eax, [ebx - 0x10]
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40bdec
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x38], 0xffffffff
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40bc47
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
or eax, 0xffffffff
jmp 0x40c2bd
mov eax, dword [0x4701e0]
test eax, eax
je 0x40be3e
mov ecx, dword [esp + 0x18]
push ecx
push str.Payload_is_extracted_to___s_
push 1
push eax
call fcn.00417320
add esp, 0x10
mov ebp, dword [esp + 0x14]
cmp dword [ebp - 0xc], 0
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
jl 0x40c0f2
push 0x4616f0
push ebp
call fcn.0043e12c
add esp, 8
test eax, eax
je 0x40c0f2
sub eax, ebp
sar eax, 1
cmp eax, 0xffffffff
je 0x40c0f2
call ebx
push 0x20
mov ebp, eax
call fcn.0042d2aa
mov esi, eax
add esp, 4
mov dword [esp + 0x24], esi
mov byte [esp + 0x38], 0x12
test esi, esi
je 0x40bec0
lea edx, [esp + 0x2c]
push edx
mov ecx, 0x470130
call fcn.004051a0
mov byte [esp + 0x38], 0x13
mov eax, dword [eax]
push eax
mov eax, dword [esp + 0x1c]
push eax
push esi
mov dword [esp + 0x34], 1
call fcn.0041dfe0
mov esi, eax
jmp 0x40bec2
xor esi, esi
mov dword [esp + 0x38], 3
test byte [esp + 0x28], 1
je 0x40bef1
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40bef1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test esi, esi
jne 0x40bf87
mov eax, dword [0x4701e0]
test eax, eax
je 0x40bf12
push str.Error:_Unable_to_instantiate_CUnzipper7z_object_
push 1
push eax
call fcn.00417320
add esp, 0xc
mov esi, dword [0x4701d4]
call fcn.0040f520
push str.extract7zFailed
mov ecx, 0x4701f0
call fcn.00401e60
mov byte [esp + 0x38], 2
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40bf51
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x38], 1
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40bf76
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x38], 0
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
jmp 0x40bdd3
push 0x8c
lea ecx, [esp + 0x2c]
push ecx
call fcn.00402c60
mov byte [esp + 0x38], 0x15
mov eax, dword [eax]
push str.AskToolbar.7z
push eax
lea edx, [esp + 0x24]
push edx
call fcn.0040f030
mov byte [esp + 0x44], 3
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
add esp, 0xc
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40bfd5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [0x4701d4]
mov edx, dword [ecx]
mov eax, dword [esp + 0x1c]
mov edx, dword [edx + 0x17c]
push eax
call edx
mov eax, dword [0x4701d4]
push eax
push 0x402500
call fcn.0041e0d0
mov edx, dword [esi]
mov edi, eax
mov eax, dword [edx]
push 1
mov ecx, esi
call eax
call ebx
mov ecx, dword [esp + 0x44]
sub eax, ebp
cmp dword [0x470124], 0
mov dword [ecx + 4], eax
je 0x40c047
push str.userCanceled
mov ecx, 0x4701f0
call fcn.00401e60
mov byte [esp + 0x38], 2
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x40bf45
test edi, edi
je 0x40c07a
mov eax, dword [0x4701e0]
test eax, eax
je 0x40c065
push edi
push str.Error:_Unable_to_unzip_payload__error_d_
push 1
push eax
call fcn.00417320
add esp, 0x10
mov esi, dword [0x4701d4]
call fcn.0040f520
push str.extract7zFailed
jmp 0x40bc19
lea ecx, [esp + 0x2c]
push ecx
mov ecx, 0x470130
call fcn.004051a0
mov byte [esp + 0x38], 0x16
mov edx, dword [eax]
push str..msi
push edx
lea eax, [esp + 0x1c]
push 0x45c72c
push eax
call fcn.0040f030
add esp, 0x10
lea ecx, [esp + 0x2c]
mov byte [esp + 0x38], 3
call fcn.00402040
lea ecx, [esp + 0x14]
call fcn.00421480
test eax, eax
je 0x40c1b5
mov ecx, dword [esp + 0x40]
mov eax, dword [ecx]
mov edx, dword [esp + 0x14]
push eax
push edx
push 0x45d5ac
push str.Product
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov esi, dword [0x4701d4]
call fcn.0040f470
mov ebp, dword [esp + 0x14]
mov eax, dword [0x4701e0]
test eax, eax
je 0x40c10b
push str.Validate_MSI_file_Digital_Signature.
push 1
push eax
call fcn.00417320
add esp, 0xc
push ebp
call fcn.00419f60
add esp, 4
test eax, eax
jne 0x40c1e8
mov esi, dword [0x4701d4]
call fcn.0040f520
push str.digitalSignatureValidationFailure
mov ecx, 0x4701f0
call fcn.00401e60
mov byte [esp + 0x38], 2
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40c15b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x38], 1
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40c180
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x38], 0
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40c1a5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x38], 0xffffffff
lea eax, [ebp - 0x10]
jmp 0x40bdfb
mov eax, dword [0x4701e0]
test eax, eax
je 0x40c1d3
mov ecx, dword [esp + 0x14]
push ecx
push str.Error:_Unable_to_find_file___s__
push 1
push eax
call fcn.00417320
add esp, 0x10
mov esi, dword [0x4701d4]
call fcn.0040f520
push str.internalError
jmp 0x40bc19
call ebx
mov ecx, dword [esp + 0x40]
mov ecx, dword [ecx]
push ebp
mov esi, eax
call fcn.0040cc20
mov edi, eax
call ebx
mov edx, dword [esp + 0x44]
sub eax, esi
mov dword [edx + 8], eax
test edi, edi
je 0x40c228
cmp edi, 0x669
je 0x40c228
cmp edi, 0xbc2
je 0x40c228
push str.msiInstallationFailure
mov ecx, 0x4701f0
call fcn.00401e60
mov byte [esp + 0x38], 2
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40c24d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x38], 1
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40c272
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x38], 0
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40c297
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebp - 0x10]
mov dword [esp + 0x38], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40c2bb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret 8