Function at 0x407250
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x4b8
mov eax, dword [0x424320]
xor eax, esp
mov dword [esp + 0x4b4], eax
push esi
push edi
push 5
xor eax, eax
mov dword [esp + 0x4c], 7
push 0x41ec04
lea ecx, [esp + 0x3c]
mov dword [esp + 0x4c], 0
mov word [esp + 0x3c], ax
call fcn.00404f00
lea ecx, [esp + 0x34]
call fcn.00402f20
cmp dword [esp + 0x48], 8
mov edi, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
jb 0x4072b2
push dword [esp + 0x34]
call edi
add esp, 4
push 0xc
xor eax, eax
mov dword [esp + 0x4c], 7
push str.Update_Start
lea ecx, [esp + 0x3c]
mov dword [esp + 0x4c], 0
mov word [esp + 0x3c], ax
call fcn.00404f00
xor dl, dl
lea ecx, [esp + 0x34]
call fcn.004030c0
cmp dword [esp + 0x48], 8
jb 0x4072f4
push dword [esp + 0x34]
call edi
add esp, 4
lea ecx, [esp + 0x68]
call fcn.0040a220
push 0x23
xor eax, eax
mov dword [esp + 0x4c], 7
push str.Readers_Resource_DirectoryPath_is
lea ecx, [esp + 0x3c]
mov dword [esp + 0x4c], 0
mov word [esp + 0x3c], ax
call fcn.00404f00
lea eax, [esp + 0x68]
push eax
lea edx, [esp + 0x38]
lea ecx, [esp + 0x20]
call fcn.00406380
add esp, 4
xor dl, dl
mov ecx, eax
call fcn.004030c0
cmp dword [esp + 0x30], 8
jb 0x407352
push dword [esp + 0x1c]
call edi
add esp, 4
xor eax, eax
mov dword [esp + 0x30], 7
cmp dword [esp + 0x48], 8
mov dword [esp + 0x2c], 0
mov word [esp + 0x1c], ax
jb 0x407379
push dword [esp + 0x34]
call edi
add esp, 4
xor eax, eax
mov dword [esp + 0x48], 7
lea ecx, [esp + 0x34]
mov dword [esp + 0x44], 0
mov word [esp + 0x34], ax
cmp dword [esp + 0x78], eax
jne 0x40744e
push 0x15
push str.Directory_path__error
call fcn.00404f00
lea ecx, [esp + 0x34]
call fcn.00402f20
cmp dword [esp + 0x48], 8
jb 0x4073c3
push dword [esp + 0x34]
call edi
add esp, 4
push 0x18
xor eax, eax
mov dword [esp + 0x4c], 7
push str.Could_not_Find_Directory
lea ecx, [esp + 0x3c]
mov dword [esp + 0x4c], 0
mov word [esp + 0x3c], ax
call fcn.00404f00
xor dl, dl
lea ecx, [esp + 0x34]
call fcn.004030c0
cmp dword [esp + 0x48], 8
jb 0x407405
push dword [esp + 0x34]
call edi
add esp, 4
push 0xc
xor eax, eax
mov dword [esp + 0x4c], 7
push str.Logging_Ends
lea ecx, [esp + 0x3c]
mov dword [esp + 0x4c], 0
mov word [esp + 0x3c], ax
call fcn.00404f00
mov dl, 1
lea ecx, [esp + 0x34]
call fcn.004030c0
cmp dword [esp + 0x48], 8
jb 0x407447
push dword [esp + 0x34]
call edi
add esp, 4
xor esi, esi
jmp 0x407b15
push 0x21
push str.ProductVersion_change:_Log_Starts
call fcn.00404f00
mov dl, 1
lea ecx, [esp + 0x34]
call fcn.004030c0
cmp dword [esp + 0x48], 8
jb 0x407475
push dword [esp + 0x34]
call edi
add esp, 4
push 0x26
xor eax, eax
mov byte [esp + 0x17], 0
push str.A6EADE66_0000_0000_484E_7E8A45000000
lea ecx, [esp + 0x54]
mov dword [esp + 0x68], 7
mov dword [esp + 0x64], 0
mov word [esp + 0x54], ax
call fcn.00404f00
xor ecx, ecx
mov dword [esp + 0x18], ecx
jmp 0x4074b0
cmp dword [esp + 0x60], 8
lea edx, [esp + 0x2b0]
push edx
push ecx
lea eax, [esp + 0x54]
cmovae eax, dword [esp + 0x54]
push 0
push eax
call dword [sym.imp.msi.dll_MsiSourceListClearAllW]
mov ecx, eax
mov dword [esp + 0x14], ecx
test ecx, ecx
jne 0x407649
push 0x206
push eax
mov word [esp + 0xb0], ax
lea eax, [esp + 0xb2]
push eax
mov dword [esp + 0x70], 0x14
call sub.MSVCR120.dll_memset
add esp, 0xc
lea eax, [esp + 0x64]
push eax
lea eax, [esp + 0xac]
push eax
push str.VersionString
lea eax, [esp + 0x2bc]
push eax
call dword [sym.imp.msi.dll_MsiGetPropertyW]
test eax, eax
jne 0x407649
mov dword [esp + 0x48], 7
mov dword [esp + 0x44], eax
mov word [esp + 0x34], ax
cmp word [esp + 0xa8], ax
jne 0x40754b
xor ecx, ecx
jmp 0x407564
lea ecx, [esp + 0xa8]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x407555
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [esp + 0xac]
push eax
lea ecx, [esp + 0x3c]
call fcn.00404f00
cmp dword [esp + 0x48], 8
lea ecx, [esp + 0x34]
mov eax, dword [esp + 0x44]
cmovae ecx, dword [esp + 0x34]
lea eax, [ecx + eax*2]
lea ecx, [esp + 0x34]
cmovae ecx, dword [esp + 0x34]
test eax, eax
je 0x40759c
sub eax, ecx
sar eax, 1
push 0x2e
push ecx
push eax
lea ecx, [esp + 0x40]
call fcn.00407b40
cmp dword [esp + 0x48], 8
lea ecx, [esp + 0x34]
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x44]
cmovae ecx, edx
lea eax, [ecx + eax*2]
lea ecx, [esp + 0x34]
cmovae ecx, edx
test eax, eax
je 0x4075cf
sub eax, ecx
sar eax, 1
push 0x30
push ecx
push eax
lea ecx, [esp + 0x40]
call fcn.00407b40
mov eax, dword [0x41edc4]
lea ecx, [esp + 0x80]
movdqu xmm0, xmmword [str.20.012.20048.0]
cmp dword [esp + 0x48], 8
mov dword [esp + 0x98], eax
mov ax, word [0x41edc8]
mov word [esp + 0x9c], ax
lea eax, [esp + 0x34]
cmovae eax, dword [esp + 0x34]
movdqu xmmword [esp + 0x80], xmm0
push ecx
movq xmm0, qword [0x41edbc]
push eax
movq qword [esp + 0x98], xmm0
call dword [sym.imp.SHLWAPI.dll_StrCmpW]
test eax, eax
jns 0x40765f
cmp dword [esp + 0x48], 8
jb 0x407649
push dword [esp + 0x34]
call edi
add esp, 4
mov ecx, dword [esp + 0x18]
inc ecx
cmp dword [esp + 0x14], 0
mov dword [esp + 0x18], ecx
je 0x4074b0
jmp 0x40769b
push str.ApplyExperiment:_SUCCESS
lea ecx, [esp + 0x20]
mov byte [esp + 0x17], 1
call fcn.004041c0
mov dl, 1
mov ecx, eax
call fcn.004030c0
cmp dword [esp + 0x30], 8
jb 0x40768b
push dword [esp + 0x1c]
call edi
add esp, 4
cmp dword [esp + 0x48], 8
jb 0x40769b
push dword [esp + 0x34]
call edi
add esp, 4
push 0x1f
xor eax, eax
mov dword [esp + 0x4c], 7
push str.ProductVersion_change:_Log_Ends
lea ecx, [esp + 0x3c]
mov dword [esp + 0x4c], 0
mov word [esp + 0x3c], ax
call fcn.00404f00
mov dl, 1
lea ecx, [esp + 0x34]
call fcn.004030c0
cmp dword [esp + 0x48], 8
jb 0x4076dd
push dword [esp + 0x34]
call edi
add esp, 4
mov eax, dword [0x424df0]
test al, 1
jne 0x40770b
or eax, 1
xorps xmm0, xmm0
mov dword [0x424df0], eax
movq qword [0x424de4], xmm0
call fcn.00407df0
push 0x41a250
call fcn.004177f5
add esp, 4
mov ecx, 0x424de4
call fcn.00408070
test al, al
je 0x407838
push 0x14
xor eax, eax
mov dword [esp + 0x4c], 7
push str.should_unzip_is_true
lea ecx, [esp + 0x3c]
mov dword [esp + 0x4c], 0
mov word [esp + 0x3c], ax
call fcn.00404f00
xor dl, dl
lea ecx, [esp + 0x34]
call fcn.004030c0
cmp dword [esp + 0x48], 8
jb 0x40775f
push dword [esp + 0x34]
call edi
add esp, 4
mov eax, dword [0x424df0]
test al, 1
jne 0x40778d
or eax, 1
xorps xmm0, xmm0
mov dword [0x424df0], eax
movq qword [0x424de4], xmm0
call fcn.00407df0
push 0x41a250
call fcn.004177f5
add esp, 4
mov ecx, 0x424de4
call fcn.00408360
lea edx, [esp + 0x68]
mov cl, al
call fcn.004038a0
test al, al
jne 0x4078cf
push 0x2c
xor eax, eax
mov dword [esp + 0x4c], 7
push str.ApplyUpdate_Failure._Exiting_Service_Updater
lea ecx, [esp + 0x3c]
mov dword [esp + 0x4c], 0
mov word [esp + 0x3c], ax
call fcn.00404f00
xor dl, dl
lea ecx, [esp + 0x34]
call fcn.004030c0
cmp dword [esp + 0x48], 8
jb 0x4077ec
push dword [esp + 0x34]
call edi
add esp, 4
push 0xc
xor eax, eax
mov dword [esp + 0x4c], 7
push str.Logging_Ends
lea ecx, [esp + 0x3c]
mov dword [esp + 0x4c], 0
mov word [esp + 0x3c], ax
call fcn.00404f00
mov dl, 1
lea ecx, [esp + 0x34]
call fcn.004030c0
cmp dword [esp + 0x48], 8
jb 0x40782e
push dword [esp + 0x34]
call edi
add esp, 4
mov esi, 1
jmp 0x407aee
mov eax, dword [0x424df0]
test al, 1
jne 0x407866
or eax, 1
xorps xmm0, xmm0
mov dword [0x424df0], eax
movq qword [0x424de4], xmm0
call fcn.00407df0
push 0x41a250
call fcn.004177f5
add esp, 4
push 8
push str.updateid
lea ecx, [esp + 0x3c]
mov dword [esp + 0x50], 0xf
mov dword [esp + 0x4c], 0
mov byte [esp + 0x3c], 0
call fcn.00404b70
lea eax, [esp + 0x34]
mov ecx, 0x424de4
push eax
call fcn.00404590
mov ecx, eax
call fcn.00407cb0
cmp dword [esp + 0x48], 0x10
mov esi, eax
jb 0x4078b3
push dword [esp + 0x34]
call edi
add esp, 4
mov ecx, esi
mov dword [esp + 0x48], 0xf
mov dword [esp + 0x44], 0
mov byte [esp + 0x34], 0
call fcn.0040a5d0
cmp byte [esp + 0x13], 0
je 0x407a85
mov eax, dword [0x424df0]
test al, 1
jne 0x407908
or eax, 1
xorps xmm0, xmm0
mov dword [0x424df0], eax
movq qword [0x424de4], xmm0
call fcn.00407df0
push 0x41a250
call fcn.004177f5
add esp, 4
mov ecx, 0x424de4
call fcn.00407f50
test al, al
je 0x40795d
push 0x12
xor eax, eax
mov dword [esp + 0x4c], 7
push str.registering_random
lea ecx, [esp + 0x3c]
mov dword [esp + 0x4c], 0
mov word [esp + 0x3c], ax
call fcn.00404f00
xor dl, dl
lea ecx, [esp + 0x34]
call fcn.004030c0
cmp dword [esp + 0x48], 8
jb 0x407958
push dword [esp + 0x34]
call edi
add esp, 4
call fcn.0040a9b0
mov eax, dword [0x424df0]
test al, 1
jne 0x40798b
or eax, 1
xorps xmm0, xmm0
mov dword [0x424df0], eax
movq qword [0x424de4], xmm0
call fcn.00407df0
push 0x41a250
call fcn.004177f5
add esp, 4
mov ecx, 0x424de4
call fcn.004088d0
test al, al
je 0x407a09
push 0x20
call dword [sym.imp.MSVCR120.dll_void____cdecl_operator_new_unsigned_int_]
mov esi, eax
add esp, 4
test esi, esi
je 0x4079c0
xor eax, eax
mov dword [esi + 0x1c], 7
mov dword [esi + 0x18], 0
mov word [esi + 8], ax
jmp 0x4079c2
xor esi, esi
mov ecx, esi
call fcn.0040c0c0
test eax, eax
je 0x4079dd
call fcn.0040c2b0
test eax, eax
je 0x4079dd
mov ecx, esi
call fcn.0040c380
test esi, esi
je 0x407a09
cmp dword [esi + 0x1c], 8
jb 0x4079ef
push dword [esi + 8]
call edi
add esp, 4
xor eax, eax
mov dword [esi + 0x1c], 7
mov dword [esi + 0x18], 0
push esi
mov word [esi + 8], ax
call edi
add esp, 4
mov eax, dword [0x424df0]
test al, 1
jne 0x407a37
or eax, 1
xorps xmm0, xmm0
mov dword [0x424df0], eax
movq qword [0x424de4], xmm0
call fcn.00407df0
push 0x41a250
call fcn.004177f5
add esp, 4
mov ecx, 0x424de4
call fcn.004089f0
mov eax, dword [0x424df0]
test al, 1
jne 0x407a6f
or eax, 1
xorps xmm0, xmm0
mov dword [0x424df0], eax
movq qword [0x424de4], xmm0
call fcn.00407df0
push 0x41a250
call fcn.004177f5
add esp, 4
sub esp, 0x18
mov ecx, 0x424de4
push esp
call fcn.00408190
call fcn.0040abd0
add esp, 0x18
push 0xc
xor eax, eax
mov dword [esp + 0x4c], 7
push str.Logging_Ends
lea ecx, [esp + 0x3c]
mov dword [esp + 0x4c], 0
mov word [esp + 0x3c], ax
call fcn.00404f00
mov dl, 1
lea ecx, [esp + 0x34]
call fcn.004030c0
cmp dword [esp + 0x48], 8
jb 0x407ac7
push dword [esp + 0x34]
call edi
add esp, 4
push str.SUCCESS
lea ecx, [esp + 0x20]
call fcn.004041c0
mov ecx, eax
call fcn.00402f20
cmp dword [esp + 0x30], 8
jb 0x407aec
push dword [esp + 0x1c]
call edi
add esp, 4
xor esi, esi
cmp dword [esp + 0x60], 8
jb 0x407afe
push dword [esp + 0x4c]
call edi
add esp, 4
xor eax, eax
mov dword [esp + 0x60], 7
mov dword [esp + 0x5c], 0
mov word [esp + 0x4c], ax
cmp dword [esp + 0x7c], 8
jb 0x407b25
push dword [esp + 0x68]
call edi
add esp, 4
mov ecx, dword [esp + 0x4bc]
mov eax, esi
pop edi
pop esi
xor ecx, esp
call fcn.004176f4
mov esp, ebp
pop ebp
ret 0x10