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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x134c
call fcn.00457f40
mov eax, dword [0x4976a0]
xor eax, esp
mov dword [esp + 0x1348], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
xor esi, esi
push edi
mov edi, dword [ebp + 0xc]
mov dword [esp + 0x20], ebx
mov dword [esp + 0x80], 0xf
mov dword [esp + 0x7c], esi
mov byte [esp + 0x6c], 0
mov byte [esp + 0xc0], 0
mov byte [esp + 0x108], 0
mov dword [esp + 0x1c], 0x41
mov dword [esp + 0x14], esi
cmp edi, esi
jne 0x40fe9f
lea edi, [esp + 0x250]
call fcn.0042ef2e
test eax, eax
jne 0x40fe98
mov edi, 0x80004005
push esi
push 1
lea ecx, [esp + 0x74]
call fcn.0040321f
mov eax, edi
jmp 0x410769
lea edi, [esp + 0x250]
push 0x41
lea eax, [esp + 0xc4]
push eax
push dword [ebp + 0x10]
lea eax, [esp + 0x78]
push 1
push eax
mov ecx, edi
call fcn.0040bf99
add esp, 0x14
cmp eax, esi
jge 0x40fec5
mov edi, eax
jmp 0x40fe85
lea eax, [esp + 0x1c]
push eax
push esi
lea edx, [esp + 0x110]
mov ecx, str.VersionXmlChecksum
call fcn.0040ef60
pop ecx
pop ecx
test eax, eax
je 0x40ff12
lea eax, [esp + 0x108]
push eax
lea eax, [esp + 0xc4]
push eax
call fcn.0042ef2e
pop ecx
pop ecx
test eax, eax
jne 0x40ff07
mov dword [esp + 0x14], 1
jmp 0x40ff28
push str.Update_Descriptor_Checksums_DO_NOT_Match_n
call fcn.0042665c
pop ecx
lea eax, [esp + 0xc0]
push eax
push str.VersionXmlChecksum
push esi
call fcn.0040f0c4
add esp, 0xc
cmp dword [ebp + 0x14], esi
je 0x40ff3a
cmp dword [esp + 0x14], esi
je 0x40ff3a
xor edi, edi
jmp 0x40fe85
push str.Saving_Update_Descriptor_XML_Data_n
call fcn.0042665c
pop ecx
lea eax, [esp + 0xa4]
push eax
lea eax, [esp + 0x2c]
push eax
mov byte [esp + 0x1b], 1
call fcn.0042ef2e
pop ecx
mov ecx, eax
call fcn.004345e5
push eax
lea eax, [esp + 0x8c]
call fcn.0042ef2e
pop ecx
push esi
push 1
lea ecx, [esp + 0xac]
call fcn.0040321f
push 0x7ff
lea eax, [esp + 0x355]
push esi
push eax
mov byte [esp + 0x35c], 0
call fcn.0044c6d0
add esp, 0xc
push 0xff
push edi
lea eax, [ebx + 8]
push eax
call dword [sym.imp.kernel32.dll_lstrcpynA]
cmp dword [esp + 0x80], 0x10
mov ecx, dword [esp + 0x6c]
mov eax, ecx
jae 0x40ffc3
lea eax, [esp + 0x6c]
add eax, dword [esp + 0x7c]
cmp dword [esp + 0x80], 0x10
jae 0x40ffd5
lea ecx, [esp + 0x6c]
push dword [esp + 0x28]
xor edi, edi
push eax
push ecx
lea eax, [esp + 0x38]
push eax
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], edi
mov dword [esp + 0x44], edi
call fcn.0042eb71
lea eax, [esp + 0x1b]
lea esi, [esp + 0x2c]
mov byte [esp + 0x1b], 0
call fcn.00410da7
mov eax, dword [esp + 0x2c]
mov dword [0x49c050], eax
call fcn.004110f0
call fcn.004111bc
mov esi, eax
cmp esi, edi
je 0x410631
push str.java_update
push dword [esi + 4]
call dword [sym.imp.kernel32.dll_lstrcmpA]
test eax, eax
jne 0x410631
mov edi, dword [esi + 0xc]
test edi, edi
je 0x410631
mov esi, dword [sym.imp.kernel32.dll_lstrcmpA]
push str.information
push dword [edi + 4]
call esi
test eax, eax
jne 0x410626
mov eax, dword [edi + 0x10]
push str.xml:lang
call fcn.004113b4
mov dword [esp + 0x18], eax
mov eax, dword [edi + 0x10]
mov dword [esp], str.version
call fcn.004113b4
mov dword [esp], 0x47b0bc
push eax
mov dword [esp + 0x14], eax
call esi
test eax, eax
je 0x4100a0
push 0x47b0c0
push dword [esp + 0x10]
call esi
test eax, eax
jne 0x410626
cmp dword [esp + 0x9c], 0x10
mov eax, dword [esp + 0x88]
jae 0x4100b8
lea eax, [esp + 0x88]
push eax
push dword [esp + 0x18]
call esi
test eax, eax
je 0x4100d6
push 0x47b08c
push dword [esp + 0x18]
call esi
test eax, eax
jne 0x410626
mov eax, dword [edi + 0xc]
push str.descriptionfrom8
call fcn.00411389
mov dword [esp + 0x48], eax
mov eax, dword [edi + 0xc]
mov dword [esp], str.title
call fcn.00411389
mov dword [esp + 0x5c], eax
mov eax, dword [edi + 0xc]
mov dword [esp], str.moreinfotxt
call fcn.00411389
mov dword [esp + 0x4c], eax
mov eax, dword [edi + 0xc]
mov dword [esp], str.caption
call fcn.00411389
mov dword [esp + 0x64], eax
mov eax, dword [edi + 0xc]
mov dword [esp], str.moreinfo
call fcn.00411389
mov dword [esp + 0x6c], eax
mov eax, dword [edi + 0xc]
mov dword [esp], 0x47b100
call fcn.00411389
mov esi, eax
mov eax, dword [edi + 0xc]
mov dword [esp], str.options
call fcn.00411389
mov dword [esp + 0x28], eax
mov eax, dword [edi + 0xc]
mov dword [esp], str.post_status
call fcn.00411389
mov dword [esp + 0x40], eax
mov eax, dword [edi + 0xc]
mov dword [esp], str.cntry_lookup
call fcn.00411389
mov dword [esp + 0x68], eax
mov eax, dword [edi + 0xc]
mov dword [esp], str.version
call fcn.00411389
mov dword [esp + 0x60], eax
mov eax, dword [edi + 0xc]
mov dword [esp], str.AlertText
call fcn.00411389
mov dword [esp + 0x54], eax
mov eax, dword [edi + 0xc]
mov dword [esp], str.AlertTitle
call fcn.00411389
mov dword [esp + 0x2c], eax
mov eax, dword [edi + 0xc]
mov dword [esp], str.urlinfo256
call fcn.00411389
mov dword [esp + 0x50], eax
mov eax, dword [edi + 0xc]
mov dword [esp], str.predownload
call fcn.00411389
cmp byte [esp + 0x17], 0
pop ecx
mov dword [esp + 0x1c], eax
jne 0x4101f7
push 0x47b0bc
push dword [esp + 0x10]
call dword [sym.imp.kernel32.dll_lstrcmpA]
test eax, eax
jne 0x41021a
mov eax, ebx
call fcn.0040fd5e
push 0xffffffffffffffff
push 0x476f1c
lea eax, [esp + 0x358]
push 0x800
push eax
call fcn.0042ef2e
add esp, 0x10
test esi, esi
je 0x41023e
mov eax, dword [esi + 0xc]
test eax, eax
je 0x41023e
push 0xffffffffffffffff
push dword [eax + 4]
lea eax, [ebx + 0x108]
push pe_nt_image_headers32
push eax
call fcn.0042ef2e
add esp, 0x10
mov eax, dword [esp + 0x24]
test eax, eax
je 0x4103b4
mov eax, dword [eax + 0xc]
mov dword [esp + 0xc], eax
test eax, eax
je 0x4103b4
lea eax, [esp + 0x54]
xor esi, esi
push eax
push esi
lea edx, [esp + 0xac]
mov ecx, str.Method
mov dword [esp + 0x2c], esi
mov dword [esp + 0x5c], 0x14
call fcn.0040ef60
push 0xff
lea eax, [esp + 0x15d]
push esi
push eax
mov byte [esp + 0x164], 0
call fcn.0044c6d0
mov eax, dword [esp + 0x20]
add esp, 0x14
push dword [eax + 4]
lea eax, [esp + 0x154]
push str.Original_options_element:__s
push 0xffffffffffffffff
push pe_nt_image_headers32
push eax
call fcn.0042ef2e
add esp, 0x14
lea esi, [esp + 0x150]
call fcn.0042ef2e
lea eax, [esp + 0x40]
push eax
mov eax, dword [esp + 0x10]
push 0x47b168
push dword [eax + 4]
call fcn.0042ef2e
mov esi, dword [sym.imp.kernel32.dll_lstrcatA]
add esp, 0xc
mov dword [esp + 0xc], eax
test eax, eax
je 0x410366
push str._installmethod
push dword [esp + 0x10]
call fcn.0044ca60
pop ecx
pop ecx
test eax, eax
je 0x410329
cmp dword [ebp + 0x10], 0
mov dword [esp + 0x24], 1
je 0x410329
push dword [esp + 0xc]
lea eax, [ebx + 0xd88]
push eax
call esi
mov dword [esp + 0xc], 0x47b17c
push dword [esp + 0xc]
lea eax, [ebx + 0xd88]
push eax
call esi
push 0x47b168
lea eax, [ebx + 0xd88]
push eax
call esi
lea eax, [esp + 0x40]
push eax
push 0x47b168
push 0
call fcn.0042ef2e
add esp, 0xc
mov dword [esp + 0xc], eax
test eax, eax
jne 0x4102f2
cmp dword [esp + 0x24], eax
jne 0x410385
lea eax, [ebx + 0xd88]
push str._installmethod
push eax
call esi
lea eax, [esp + 0xa4]
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 + 0x15c]
push pe_nt_image_headers32
push eax
call fcn.0042ef2e
add esp, 0x14
lea esi, [esp + 0x150]
call fcn.0042ef2e
mov eax, dword [esp + 0x44]
test eax, eax
je 0x4103ed
mov eax, dword [eax + 0xc]
test eax, eax
je 0x4103ed
push 0xffffffffffffffff
push dword [eax + 4]
lea eax, [esp + 0x358]
push 0x800
push eax
call fcn.0042ef2e
add esp, 0x10
lea ebx, [esp + 0x350]
call fcn.0042ef2e
mov ebx, dword [esp + 0x20]
mov eax, dword [esp + 0x58]
test eax, eax
je 0x41041e
mov eax, dword [eax + 0xc]
test eax, eax
je 0x41041e
push 0xffffffffffffffff
push dword [eax + 4]
add ebx, 0x1588
push pe_nt_image_headers32
push ebx
call fcn.0042ef2e
add esp, 0x10
call fcn.0042ef2e
mov ebx, dword [esp + 0x20]
mov eax, dword [esp + 0x48]
test eax, eax
je 0x41044f
mov eax, dword [eax + 0xc]
test eax, eax
je 0x41044f
push 0xffffffffffffffff
push dword [eax + 4]
add ebx, 0x1688
push pe_nt_image_headers32
push ebx
call fcn.0042ef2e
add esp, 0x10
call fcn.0042ef2e
mov ebx, dword [esp + 0x20]
mov eax, dword [esp + 0x60]
test eax, eax
je 0x410480
mov eax, dword [eax + 0xc]
test eax, eax
je 0x410480
push 0xffffffffffffffff
push dword [eax + 4]
add ebx, 0x1788
push 0x80
push ebx
call fcn.0042ef2e
add esp, 0x10
call fcn.0042ef2e
mov ebx, dword [esp + 0x20]
mov eax, dword [esp + 0x68]
test eax, eax
je 0x4104a8
mov eax, dword [eax + 0xc]
test eax, eax
je 0x4104a8
push 0xffffffffffffffff
push dword [eax + 4]
lea eax, [ebx + 0x208]
push pe_nt_image_headers32
push eax
call fcn.0042ef2e
add esp, 0x10
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x4104d0
mov eax, dword [eax + 0xc]
test eax, eax
je 0x4104d0
push 0xffffffffffffffff
push dword [eax + 4]
lea eax, [ebx + 0x408]
push pe_nt_image_headers32
push eax
call fcn.0042ef2e
add esp, 0x10
mov eax, dword [esp + 0x64]
test eax, eax
je 0x4104f8
mov eax, dword [eax + 0xc]
test eax, eax
je 0x4104f8
push 0xffffffffffffffff
push dword [eax + 4]
lea eax, [ebx + 0x308]
push pe_nt_image_headers32
push eax
call fcn.0042ef2e
add esp, 0x10
mov eax, dword [esp + 0x5c]
test eax, eax
je 0x410520
mov eax, dword [eax + 0xc]
test eax, eax
je 0x410520
push 0xffffffffffffffff
push dword [eax + 4]
lea eax, [ebx + 0x508]
push 0x80
push eax
call fcn.0042ef2e
add esp, 0x10
cmp dword [esp + 0x1c], 0
je 0x41056a
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x41054b
push 0xffffffffffffffff
push dword [eax + 4]
lea eax, [ebx + 0x2190]
push 0x80
push eax
call fcn.0042ef2e
add esp, 0x10
lea esi, [ebx + 0x2190]
push esi
call dword [sym.imp.kernel32.dll_lstrlenA]
test eax, eax
jne 0x41056a
push 0x7f
push 0x47b19c
push esi
call dword [sym.imp.kernel32.dll_lstrcpynA]
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x410592
mov eax, dword [eax + 0xc]
test eax, eax
je 0x410592
push 0xffffffffffffffff
push dword [eax + 4]
lea eax, [ebx + 0x2110]
push 0x80
push eax
call fcn.0042ef2e
add esp, 0x10
mov eax, dword [esp + 0x50]
test eax, eax
je 0x4105c3
mov eax, dword [eax + 0xc]
test eax, eax
je 0x4105c3
push 0xffffffffffffffff
push dword [eax + 4]
add ebx, 0x1808
push 0x800
push ebx
call fcn.0042ef2e
add esp, 0x10
call fcn.0042ef2e
mov ebx, dword [esp + 0x20]
mov eax, dword [esp + 0x28]
test eax, eax
je 0x4105f4
mov eax, dword [eax + 0xc]
test eax, eax
je 0x4105f4
push 0xffffffffffffffff
push dword [eax + 4]
add ebx, 0x2008
push 0x104
push ebx
call fcn.0042ef2e
add esp, 0x10
call fcn.0042ef2e
mov ebx, dword [esp + 0x20]
cmp dword [esp + 0x9c], 0x10
mov eax, dword [esp + 0x88]
mov byte [esp + 0x13], 0
jae 0x410611
lea eax, [esp + 0x88]
push eax
push dword [esp + 0x18]
call dword [sym.imp.kernel32.dll_lstrcmpA]
test eax, eax
je 0x410631
mov esi, dword [sym.imp.kernel32.dll_lstrcmpA]
mov edi, dword [edi + 8]
test edi, edi
jne 0x410049
mov esi, dword [sym.imp.kernel32.dll_lstrlenA]
mov edi, dword [sym.imp.kernel32.dll_lstrcatA]
lea eax, [esp + 0x350]
mov dword [esp + 0xc], eax
push 0x47b1a0
push dword [esp + 0x10]
call fcn.0044ca60
pop ecx
pop ecx
mov dword [esp + 0x1c], eax
test eax, eax
je 0x4106bf
push eax
call esi
push dword [esp + 0xc]
mov dword [esp + 0x18], 1
sub dword [esp + 0x18], eax
call esi
add eax, dword [esp + 0x14]
push eax
push dword [esp + 0x10]
lea eax, [esp + 0xb58]
push eax
call dword [sym.imp.kernel32.dll_lstrcpynA]
lea ecx, [esp + 0xb50]
lea eax, [ebx + 0x588]
push ecx
push eax
call edi
push 0x47a8e8
lea eax, [ebx + 0x588]
push eax
call edi
push dword [esp + 0x1c]
call dword [sym.imp.user32.dll_CharNextA]
mov dword [esp + 0xc], eax
test eax, eax
jne 0x410648
jmp 0x4106cc
push dword [esp + 0xc]
lea eax, [ebx + 0x588]
push eax
call edi
cmp byte [esp + 0x13], 0
jne 0x410737
lea edi, [ebx + 0x108]
push edi
call esi
test eax, eax
je 0x410737
push edi
call fcn.0042668a
pop ecx
test eax, eax
je 0x410737
lea eax, [ebx + 0x2110]
push eax
call esi
cmp eax, 0x40
jne 0x410737
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 + 0x2c], edi
je 0x41071a
push dword [esp + 0x2c]
call fcn.0042ef2e
pop ecx
push edi
push esi
lea ecx, [esp + 0x90]
call fcn.0040321f
push edi
push esi
lea ecx, [esp + 0x74]
call fcn.0040321f
xor eax, eax
jmp 0x410769
xor esi, esi
cmp dword [esp + 0x2c], esi
je 0x410749
push dword [esp + 0x2c]
call fcn.0042ef2e
pop ecx
push esi
push 1
lea ecx, [esp + 0x90]
call fcn.0040321f
push esi
push 1
lea ecx, [esp + 0x74]
call fcn.0040321f
mov eax, 0x80004005
mov ecx, dword [esp + 0x1354]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0044a628
mov esp, ebp
pop ebp
ret 0x10