Function at 0x4076a0
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x4bb250
mov eax, dword fs:[0]
push eax
sub esp, 0x84
mov eax, dword [0x4e27e0]
xor eax, esp
mov dword [esp + 0x80], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4e27e0]
xor eax, esp
push eax
lea eax, [esp + 0x98]
mov dword fs:[0], eax
push 0x4c8d38
lea edi, [esp + 0x7c]
call fcn.0040e1e0
add esp, 4
xor ebx, ebx
mov dword [esp + 0xa0], ebx
xor eax, eax
mov word [esp + 0x1c], ax
mov edi, 7
push 0x33
mov eax, str.ReOfferCampaignApp:_RunCommonInstaller:_Temp_path:
lea esi, [esp + 0x1c]
mov dword [esp + 0x34], edi
mov dword [esp + 0x30], ebx
call fcn.004033f0
mov ecx, esi
push ecx
lea ecx, [esp + 0x7c]
mov byte [esp + 0xa4], 1
call fcn.00402ec0
mov ebp, 8
add esp, 4
mov byte [esp + 0xa0], bl
cmp dword [esp + 0x30], ebp
jb 0x40774f
mov edx, dword [esp + 0x1c]
push edx
call fcn.0047cc0e
add esp, 4
xor eax, eax
mov word [esp + 0x60], ax
push 0x13
mov eax, str.CommonInstaller.exe
lea esi, [esp + 0x60]
mov dword [esp + 0x3c], 0x67
mov dword [esp + 0x78], edi
mov dword [esp + 0x74], ebx
call fcn.004033f0
mov byte [esp + 0xa0], 2
cmp dword [esp + 0x74], ebp
jb 0x40778e
mov ecx, dword [esp + 0x60]
mov dword [esp + 0x34], ecx
jmp 0x407796
lea edx, [esp + 0x60]
mov dword [esp + 0x34], edx
xor eax, eax
mov word [esp + 0x1c], ax
push 0x49
mov eax, str.ReOfferCampaignApp:_RunCommonInstaller:_CSystemCommands::ExtractResource
lea esi, [esp + 0x1c]
mov dword [esp + 0x34], edi
mov dword [esp + 0x30], ebx
call fcn.004033f0
mov ecx, esi
push ecx
lea ecx, [esp + 0x60]
mov byte [esp + 0xa4], 3
call fcn.00402ec0
add esp, 4
mov byte [esp + 0xa0], 2
cmp dword [esp + 0x30], ebp
jb 0x4077e7
mov edx, dword [esp + 0x1c]
push edx
call fcn.0047cc0e
add esp, 4
push 1
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x40]
push ecx
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x64], esp
push 0xffffffffffffffff
xor edx, edx
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push ebx
lea eax, [esp + 0xa8]
mov word [ecx + 4], dx
call fcn.004030c0
call fcn.0040c400
add esp, 0x28
cmp al, bl
jne 0x4078ab
xor eax, eax
mov word [esp + 0x1c], ax
push 0x3f
mov eax, str.ReOfferCampaignApp:_RunCommonInstaller:_Fail_to_ExtractResource
lea esi, [esp + 0x1c]
mov dword [esp + 0x34], edi
mov dword [esp + 0x30], ebx
call fcn.004033f0
mov ecx, esi
push ecx
mov byte [esp + 0xa4], 4
call fcn.00403580
add esp, 4
cmp dword [esp + 0x30], ebp
jb 0x40786c
mov edx, dword [esp + 0x1c]
push edx
call fcn.0047cc0e
add esp, 4
cmp dword [esp + 0x74], ebp
jb 0x40787f
mov eax, dword [esp + 0x60]
push eax
call fcn.0047cc0e
add esp, 4
xor ecx, ecx
cmp dword [esp + 0x90], ebp
mov dword [esp + 0x74], edi
mov dword [esp + 0x70], ebx
mov word [esp + 0x60], cx
jb 0x4078a4
mov edx, dword [esp + 0x7c]
push edx
call fcn.0047cc0e
add esp, 4
xor al, al
jmp 0x407b2a
lea eax, [esp + 0x78]
push eax
mov ebx, 0x4c8610
lea esi, [esp + 0x44]
call fcn.00408ee0
add esp, 4
push eax
mov ebx, str.CommonInstaller.exe
lea esi, [esp + 0x1c]
mov byte [esp + 0xa4], 5
call fcn.00408ee0
add esp, 4
push 0xffffffffffffffff
xor edi, edi
push edi
lea ecx, [esp + 0x80]
mov byte [esp + 0xa8], 6
call fcn.004030c0
mov ebx, 8
cmp dword [esp + 0x30], ebx
jb 0x40790c
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.0047cc0e
add esp, 4
xor edx, edx
mov ebp, 7
mov byte [esp + 0xa0], 2
mov dword [esp + 0x30], ebp
mov dword [esp + 0x2c], edi
mov word [esp + 0x1c], dx
cmp dword [esp + 0x58], ebx
jb 0x40793b
mov eax, dword [esp + 0x44]
push eax
call fcn.0047cc0e
add esp, 4
xor ecx, ecx
push 0x27
mov eax, str.ReOfferCampaignApp:_Update:_Temp_path:
lea esi, [esp + 0x1c]
mov dword [esp + 0x34], ebp
mov dword [esp + 0x30], edi
mov word [esp + 0x20], cx
call fcn.004033f0
mov edx, esi
push edx
lea ecx, [esp + 0x7c]
mov byte [esp + 0xa4], 7
call fcn.00402ec0
add esp, 4
mov byte [esp + 0xa0], 2
cmp dword [esp + 0x30], ebx
jb 0x40798c
mov eax, dword [esp + 0x1c]
push eax
call fcn.0047cc0e
add esp, 4
mov eax, dword [esp + 0x7c]
cmp dword [esp + 0x90], ebx
jae 0x40799d
lea eax, [esp + 0x7c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
xor ecx, ecx
mov dword [esp + 0x30], ebp
mov dword [esp + 0x2c], edi
lea esi, [esp + 0x18]
mov word [esp + 0x1c], cx
test eax, eax
jne 0x407a2f
push 0x2a
mov eax, str.ReOfferCampaignApp:_Update:_path_not_exist
call fcn.004033f0
mov edx, esi
push edx
mov byte [esp + 0xa4], bl
call fcn.00403580
add esp, 4
cmp dword [esp + 0x30], ebx
jb 0x4079ec
mov eax, dword [esp + 0x1c]
push eax
call fcn.0047cc0e
add esp, 4
cmp dword [esp + 0x74], ebx
jb 0x4079ff
mov ecx, dword [esp + 0x60]
push ecx
call fcn.0047cc0e
add esp, 4
xor edx, edx
mov dword [esp + 0x74], ebp
mov dword [esp + 0x70], edi
mov word [esp + 0x60], dx
cmp dword [esp + 0x90], ebx
jb 0x4078a4
mov eax, dword [esp + 0x7c]
push eax
call fcn.0047cc0e
add esp, 4
xor al, al
jmp 0x407b2a
push 0x3f
mov eax, str.ReOfferCampaignApp:_Update:_CSystemCommands::RunProgram:_path:
call fcn.004033f0
lea edx, [esp + 0x18]
push edx
lea ecx, [esp + 0x7c]
mov byte [esp + 0xa4], 9
call fcn.00402ec0
add esp, 4
mov byte [esp + 0xa0], 2
cmp dword [esp + 0x30], ebx
jb 0x407a6f
mov eax, dword [esp + 0x1c]
push eax
call fcn.0047cc0e
add esp, 4
mov ecx, dword [esp + 0x7c]
cmp dword [esp + 0x90], ebx
jae 0x407a80
lea ecx, [esp + 0x7c]
push 0xffffffffffffffff
push 1
push edi
call fcn.0040b980
add esp, 0xc
cmp eax, edi
je 0x407af0
mov eax, str.ReOfferCampaignApp:_Update:_fail_to_run_program
lea ecx, [esp + 0x18]
call fcn.004034a0
lea ecx, [esp + 0x18]
push ecx
mov byte [esp + 0xa4], 0xa
call fcn.00403580
add esp, 4
cmp dword [esp + 0x30], ebx
jb 0x407ac7
mov edx, dword [esp + 0x1c]
push edx
call fcn.0047cc0e
add esp, 4
cmp dword [esp + 0x74], ebx
jb 0x407ada
mov eax, dword [esp + 0x60]
push eax
call fcn.0047cc0e
add esp, 4
xor ecx, ecx
cmp dword [esp + 0x90], ebx
mov dword [esp + 0x74], ebp
mov dword [esp + 0x70], edi
jmp 0x407890
cmp dword [esp + 0x74], ebx
jb 0x407b03
mov eax, dword [esp + 0x60]
push eax
call fcn.0047cc0e
add esp, 4
xor ecx, ecx
mov dword [esp + 0x74], ebp
mov dword [esp + 0x70], edi
mov word [esp + 0x60], cx
cmp dword [esp + 0x90], ebx
jb 0x407b28
mov edx, dword [esp + 0x7c]
push edx
call fcn.0047cc0e
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x98]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x80]
xor ecx, esp
call fcn.0049bee5
add esp, 0x90
ret