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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x1364
call fcn.00456f60
mov eax, dword [0x4956a0]
xor eax, esp
mov dword [esp + 0x1360], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
xor esi, esi
push edi
mov edi, dword [ebp + 0xc]
mov dword [esp + 0x24], ebx
mov dword [esp + 0x84], 0xf
mov dword [esp + 0x80], esi
mov byte [esp + 0x70], 0
mov byte [esp + 0xd8], 0
mov byte [esp + 0x120], 0
mov dword [esp + 0x20], 0x41
mov dword [esp + 0x18], esi
cmp edi, esi
jne 0x413108
lea edi, [esp + 0x268]
call fcn.00461382
test eax, eax
jne 0x413101
mov edi, 0x80004005
push esi
push 1
lea ecx, [esp + 0x78]
call fcn.00403353
mov eax, edi
jmp 0x413a1c
lea edi, [esp + 0x268]
push 0x41
lea eax, [esp + 0xdc]
push eax
push dword [ebp + 0x10]
lea eax, [esp + 0x7c]
push 1
push eax
mov ecx, edi
call fcn.0040c111
add esp, 0x14
cmp eax, esi
jge 0x41312e
mov edi, eax
jmp 0x4130ee
lea eax, [esp + 0x20]
push eax
push esi
lea edx, [esp + 0x128]
mov ecx, str.VersionXmlChecksum
call fcn.004102c8
pop ecx
pop ecx
test eax, eax
je 0x41317b
lea eax, [esp + 0x120]
push eax
lea eax, [esp + 0xdc]
push eax
call fcn.00461382
pop ecx
pop ecx
test eax, eax
jne 0x413170
mov dword [esp + 0x18], 1
jmp 0x413191
push str.Update_Descriptor_Checksums_DO_NOT_Match_n
call fcn.004295a9
pop ecx
lea eax, [esp + 0xd8]
push eax
push str.VersionXmlChecksum
push esi
call fcn.00410602
add esp, 0xc
cmp dword [ebp + 0x14], esi
je 0x4131a3
cmp dword [esp + 0x18], esi
je 0x4131a3
xor edi, edi
jmp 0x4130ee
push str.Saving_Update_Descriptor_XML_Data_n
call fcn.004295a9
pop ecx
lea eax, [esp + 0xa8]
push eax
lea eax, [esp + 0x30]
push eax
mov byte [esp + 0x1f], 1
call fcn.00461382
pop ecx
mov ecx, eax
call fcn.0043374f
push eax
lea eax, [esp + 0x90]
call fcn.00461382
pop ecx
push esi
push 1
lea ecx, [esp + 0xb0]
call fcn.00403353
push 0x7ff
lea eax, [esp + 0x36d]
push esi
push eax
mov byte [esp + 0x374], 0
call fcn.0044b630
add esp, 0xc
push 0xff
push edi
lea eax, [ebx + 8]
push eax
call dword [sym.imp.kernel32.dll_lstrcpynA]
cmp dword [esp + 0x84], 0x10
mov ecx, dword [esp + 0x70]
mov eax, ecx
jae 0x41322c
lea eax, [esp + 0x70]
add eax, dword [esp + 0x80]
cmp dword [esp + 0x84], 0x10
jae 0x413241
lea ecx, [esp + 0x70]
push dword [esp + 0x2c]
xor edi, edi
push eax
push ecx
lea eax, [esp + 0x3c]
push eax
mov dword [esp + 0x40], edi
mov dword [esp + 0x44], edi
mov dword [esp + 0x48], edi
call fcn.0041405a
lea eax, [esp + 0x1f]
lea esi, [esp + 0x30]
mov byte [esp + 0x1f], 0
call fcn.0040ecb7
mov eax, dword [esp + 0x30]
mov dword [0x499f74], eax
call fcn.004142ee
call fcn.004143ba
mov esi, eax
cmp esi, edi
je 0x4138e4
push str.java_update
push dword [esi + 4]
call dword [sym.imp.kernel32.dll_lstrcmpA]
test eax, eax
jne 0x4138e4
mov edi, dword [esi + 0xc]
test edi, edi
je 0x4138e4
mov esi, dword [sym.imp.kernel32.dll_lstrcmpA]
push str.information
push dword [edi + 4]
call esi
test eax, eax
jne 0x4138d9
mov eax, dword [edi + 0x10]
push str.xml:lang
call fcn.004145b2
mov dword [esp + 0x1c], eax
mov eax, dword [edi + 0x10]
mov dword [esp], str.version
call fcn.004145b2
mov dword [esp], 0x47a1f4
push eax
mov dword [esp + 0x18], eax
call esi
test eax, eax
je 0x41330c
push 0x47a83c
push dword [esp + 0x14]
call esi
test eax, eax
jne 0x4138d9
cmp dword [esp + 0xa0], 0x10
mov eax, dword [esp + 0x8c]
jae 0x413324
lea eax, [esp + 0x8c]
push eax
push dword [esp + 0x1c]
call esi
test eax, eax
je 0x413342
push 0x47a814
push dword [esp + 0x1c]
call esi
test eax, eax
jne 0x4138d9
mov eax, dword [edi + 0xc]
push str.descriptionfrom8
call fcn.00414587
mov dword [esp + 0x48], eax
mov eax, dword [edi + 0xc]
mov dword [esp], str.title
call fcn.00414587
mov dword [esp + 0x4c], eax
mov eax, dword [edi + 0xc]
mov dword [esp], str.moreinfotxt
call fcn.00414587
mov dword [esp + 0x64], eax
mov eax, dword [edi + 0xc]
mov dword [esp], str.caption
call fcn.00414587
mov dword [esp + 0x70], eax
mov eax, dword [edi + 0xc]
mov dword [esp], str.moreinfo
call fcn.00414587
mov dword [esp + 0x58], eax
mov eax, dword [edi + 0xc]
mov dword [esp], 0x479b08
call fcn.00414587
mov esi, eax
mov eax, dword [edi + 0xc]
mov dword [esp], str.options
call fcn.00414587
mov dword [esp + 0x2c], eax
mov eax, dword [edi + 0xc]
mov dword [esp], str.post_status
call fcn.00414587
mov dword [esp + 0x6c], eax
mov eax, dword [edi + 0xc]
mov dword [esp], str.cntry_lookup
call fcn.00414587
mov dword [esp + 0x44], eax
mov eax, dword [edi + 0xc]
mov dword [esp], str.version
call fcn.00414587
mov dword [esp + 0x68], eax
mov eax, dword [edi + 0xc]
mov dword [esp], str.AlertText
call fcn.00414587
mov dword [esp + 0x54], eax
mov eax, dword [edi + 0xc]
mov dword [esp], str.AlertTitle
call fcn.00414587
mov dword [esp + 0x30], eax
mov eax, dword [edi + 0xc]
mov dword [esp], str.urlinfo256
call fcn.00414587
mov dword [esp + 0x50], eax
mov eax, dword [edi + 0xc]
mov dword [esp], str.predownload
call fcn.00414587
cmp byte [esp + 0x1b], 0
pop ecx
mov dword [esp + 0x20], eax
jne 0x413463
push 0x47a1f4
push dword [esp + 0x14]
call dword [sym.imp.kernel32.dll_lstrcmpA]
test eax, eax
jne 0x413486
mov eax, ebx
call fcn.00412fc4
push 0xffffffffffffffff
push 0x475e44
lea eax, [esp + 0x370]
push 0x800
push eax
call fcn.00461382
add esp, 0x10
test esi, esi
je 0x4134aa
mov eax, dword [esi + 0xc]
test eax, eax
je 0x4134aa
push 0xffffffffffffffff
push dword [eax + 4]
lea eax, [ebx + 0x108]
push pe_nt_image_headers32
push eax
call fcn.00461382
add esp, 0x10
mov eax, dword [esp + 0x28]
test eax, eax
je 0x413667
mov eax, dword [eax + 0xc]
mov dword [esp + 0x10], eax
test eax, eax
je 0x413667
lea eax, [esp + 0x5c]
xor esi, esi
push eax
push esi
lea edx, [esp + 0xcc]
mov ecx, str.Method
mov dword [esp + 0x30], esi
mov dword [esp + 0x64], 0x14
call fcn.004102c8
push 0xff
lea eax, [esp + 0x175]
push esi
push eax
mov byte [esp + 0x17c], 0
call fcn.0044b630
mov eax, dword [esp + 0x24]
add esp, 0x14
push dword [eax + 4]
lea eax, [esp + 0x16c]
push str.Original_options_element:__s
push 0xffffffffffffffff
push pe_nt_image_headers32
push eax
call fcn.00461382
add esp, 0x14
lea esi, [esp + 0x168]
call fcn.00461382
lea eax, [esp + 0x58]
push eax
mov eax, dword [esp + 0x14]
push 0x47a8e0
push dword [eax + 4]
call fcn.00461382
mov esi, dword [sym.imp.kernel32.dll_lstrcatA]
add esp, 0xc
mov dword [esp + 0x10], eax
test eax, eax
je 0x413619
push str._installmethod
push dword [esp + 0x14]
call fcn.0044b9c0
pop ecx
pop ecx
test eax, eax
je 0x4135d8
push 0x13
push 0x479a34
push dword [esp + 0x18]
mov dword [esp + 0x34], 1
call fcn.0044b9c0
pop ecx
pop ecx
inc eax
push eax
lea eax, [esp + 0xb0]
push eax
call dword [sym.imp.kernel32.dll_lstrcpynA]
lea eax, [esp + 0xc4]
push eax
lea eax, [esp + 0xac]
push eax
call dword [sym.imp.kernel32.dll_lstrcmpA]
test eax, eax
lea eax, [ebx + 0xd88]
je 0x4135de
push str._installmethod
push eax
call esi
lea eax, [esp + 0xc4]
push eax
lea eax, [ebx + 0xd88]
jmp 0x4135e2
lea eax, [ebx + 0xd88]
push dword [esp + 0x10]
push eax
call esi
push 0x47a8e0
lea eax, [ebx + 0xd88]
push eax
call esi
lea eax, [esp + 0x58]
push eax
push 0x47a8e0
push 0
call fcn.00461382
add esp, 0xc
mov dword [esp + 0x10], eax
test eax, eax
jne 0x413562
cmp dword [esp + 0x28], eax
jne 0x413638
lea eax, [ebx + 0xd88]
push str._installmethod
push eax
call esi
lea eax, [esp + 0xc4]
push eax
lea eax, [ebx + 0xd88]
push eax
call esi
lea eax, [ebx + 0xd88]
push eax
push str.Final_options_element:__s
push 0xffffffffffffffff
lea eax, [esp + 0x174]
push pe_nt_image_headers32
push eax
call fcn.00461382
add esp, 0x14
lea esi, [esp + 0x168]
call fcn.00461382
mov eax, dword [esp + 0x44]
test eax, eax
je 0x4136a0
mov eax, dword [eax + 0xc]
test eax, eax
je 0x4136a0
push 0xffffffffffffffff
push dword [eax + 4]
lea eax, [esp + 0x370]
push 0x800
push eax
call fcn.00461382
add esp, 0x10
lea ebx, [esp + 0x368]
call fcn.00461382
mov ebx, dword [esp + 0x24]
mov eax, dword [esp + 0x48]
test eax, eax
je 0x4136d1
mov eax, dword [eax + 0xc]
test eax, eax
je 0x4136d1
push 0xffffffffffffffff
push dword [eax + 4]
add ebx, 0x1588
push pe_nt_image_headers32
push ebx
call fcn.00461382
add esp, 0x10
call fcn.00461382
mov ebx, dword [esp + 0x24]
mov eax, dword [esp + 0x60]
test eax, eax
je 0x413702
mov eax, dword [eax + 0xc]
test eax, eax
je 0x413702
push 0xffffffffffffffff
push dword [eax + 4]
add ebx, 0x1688
push pe_nt_image_headers32
push ebx
call fcn.00461382
add esp, 0x10
call fcn.00461382
mov ebx, dword [esp + 0x24]
mov eax, dword [esp + 0x6c]
test eax, eax
je 0x413733
mov eax, dword [eax + 0xc]
test eax, eax
je 0x413733
push 0xffffffffffffffff
push dword [eax + 4]
add ebx, 0x1788
push 0x80
push ebx
call fcn.00461382
add esp, 0x10
call fcn.00461382
mov ebx, dword [esp + 0x24]
mov eax, dword [esp + 0x54]
test eax, eax
je 0x41375b
mov eax, dword [eax + 0xc]
test eax, eax
je 0x41375b
push 0xffffffffffffffff
push dword [eax + 4]
lea eax, [ebx + 0x208]
push pe_nt_image_headers32
push eax
call fcn.00461382
add esp, 0x10
mov eax, dword [esp + 0x68]
test eax, eax
je 0x413783
mov eax, dword [eax + 0xc]
test eax, eax
je 0x413783
push 0xffffffffffffffff
push dword [eax + 4]
lea eax, [ebx + 0x408]
push pe_nt_image_headers32
push eax
call fcn.00461382
add esp, 0x10
mov eax, dword [esp + 0x40]
test eax, eax
je 0x4137ab
mov eax, dword [eax + 0xc]
test eax, eax
je 0x4137ab
push 0xffffffffffffffff
push dword [eax + 4]
lea eax, [ebx + 0x308]
push pe_nt_image_headers32
push eax
call fcn.00461382
add esp, 0x10
mov eax, dword [esp + 0x64]
test eax, eax
je 0x4137d3
mov eax, dword [eax + 0xc]
test eax, eax
je 0x4137d3
push 0xffffffffffffffff
push dword [eax + 4]
lea eax, [ebx + 0x508]
push 0x80
push eax
call fcn.00461382
add esp, 0x10
cmp dword [esp + 0x20], 0
je 0x41381d
mov eax, dword [esp + 0x20]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x4137fe
push 0xffffffffffffffff
push dword [eax + 4]
lea eax, [ebx + 0x2190]
push 0x80
push eax
call fcn.00461382
add esp, 0x10
lea esi, [ebx + 0x2190]
push esi
call dword [sym.imp.kernel32.dll_lstrlenA]
test eax, eax
jne 0x41381d
push 0x7f
push 0x47a910
push esi
call dword [sym.imp.kernel32.dll_lstrcpynA]
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x413845
mov eax, dword [eax + 0xc]
test eax, eax
je 0x413845
push 0xffffffffffffffff
push dword [eax + 4]
lea eax, [ebx + 0x2110]
push 0x80
push eax
call fcn.00461382
add esp, 0x10
mov eax, dword [esp + 0x50]
test eax, eax
je 0x413876
mov eax, dword [eax + 0xc]
test eax, eax
je 0x413876
push 0xffffffffffffffff
push dword [eax + 4]
add ebx, 0x1808
push 0x800
push ebx
call fcn.00461382
add esp, 0x10
call fcn.00461382
mov ebx, dword [esp + 0x24]
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x4138a7
mov eax, dword [eax + 0xc]
test eax, eax
je 0x4138a7
push 0xffffffffffffffff
push dword [eax + 4]
add ebx, 0x2008
push 0x104
push ebx
call fcn.00461382
add esp, 0x10
call fcn.00461382
mov ebx, dword [esp + 0x24]
cmp dword [esp + 0xa0], 0x10
mov eax, dword [esp + 0x8c]
mov byte [esp + 0x17], 0
jae 0x4138c4
lea eax, [esp + 0x8c]
push eax
push dword [esp + 0x1c]
call dword [sym.imp.kernel32.dll_lstrcmpA]
test eax, eax
je 0x4138e4
mov esi, dword [sym.imp.kernel32.dll_lstrcmpA]
mov edi, dword [edi + 8]
test edi, edi
jne 0x4132b5
mov esi, dword [sym.imp.kernel32.dll_lstrlenA]
mov edi, dword [sym.imp.kernel32.dll_lstrcatA]
lea eax, [esp + 0x368]
mov dword [esp + 0x10], eax
push 0x479a38
push dword [esp + 0x14]
call fcn.0044b9c0
pop ecx
pop ecx
mov dword [esp + 0x20], eax
test eax, eax
je 0x413972
push eax
call esi
push dword [esp + 0x10]
mov dword [esp + 0x1c], 1
sub dword [esp + 0x1c], eax
call esi
add eax, dword [esp + 0x18]
push eax
push dword [esp + 0x14]
lea eax, [esp + 0xb70]
push eax
call dword [sym.imp.kernel32.dll_lstrcpynA]
lea ecx, [esp + 0xb68]
lea eax, [ebx + 0x588]
push ecx
push eax
call edi
push 0x479784
lea eax, [ebx + 0x588]
push eax
call edi
push dword [esp + 0x20]
call dword [sym.imp.user32.dll_CharNextA]
mov dword [esp + 0x10], eax
test eax, eax
jne 0x4138fb
jmp 0x41397f
push dword [esp + 0x10]
lea eax, [ebx + 0x588]
push eax
call edi
cmp byte [esp + 0x17], 0
jne 0x4139ea
lea edi, [ebx + 0x108]
push edi
call esi
test eax, eax
je 0x4139ea
push edi
call fcn.004295d7
pop ecx
test eax, eax
je 0x4139ea
lea eax, [ebx + 0x2110]
push eax
call esi
cmp eax, 0x40
jne 0x4139ea
mov eax, dword [ebx]
xor esi, esi
inc esi
push ebx
mov dword [ebx + 0x210c], esi
call dword [eax + 0x14]
xor edi, edi
cmp dword [esp + 0x30], edi
je 0x4139cd
push dword [esp + 0x30]
call fcn.00461382
pop ecx
push edi
push esi
lea ecx, [esp + 0x94]
call fcn.00403353
push edi
push esi
lea ecx, [esp + 0x78]
call fcn.00403353
xor eax, eax
jmp 0x413a1c
xor esi, esi
cmp dword [esp + 0x30], esi
je 0x4139fc
push dword [esp + 0x30]
call fcn.00461382
pop ecx
push esi
push 1
lea ecx, [esp + 0x94]
call fcn.00403353
push esi
push 1
lea ecx, [esp + 0x78]
call fcn.00403353
mov eax, 0x80004005
mov ecx, dword [esp + 0x136c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00449589
mov esp, ebp
pop ebp
ret 0x10