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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x1364
call fcn.00440fb0
mov eax, dword [0x47162c]
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 0x40ed3d
lea edi, [esp + 0x268]
call fcn.0040c710
test eax, eax
jne 0x40ed36
mov edi, 0x80004005
push esi
push 1
lea ecx, [esp + 0x78]
call fcn.00405e00
mov eax, edi
jmp 0x40f653
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.00407f93
add esp, 0x14
cmp eax, esi
jge 0x40ed63
mov edi, eax
jmp 0x40ed23
lea eax, [esp + 0x20]
push eax
push esi
lea edx, [esp + 0x128]
mov ecx, str.VersionXmlChecksum
call fcn.0040c7c4
pop ecx
pop ecx
test eax, eax
je 0x40edb0
lea eax, [esp + 0x120]
push eax
lea eax, [esp + 0xdc]
push eax
call fcn.00438d7e
pop ecx
pop ecx
test eax, eax
jne 0x40eda5
mov dword [esp + 0x18], 1
jmp 0x40edc6
push str.Update_Descriptor_Checksums_DO_NOT_Match_n
call fcn.004154d3
pop ecx
lea eax, [esp + 0xd8]
push eax
push str.VersionXmlChecksum
push esi
call fcn.0040c984
add esp, 0xc
cmp dword [ebp + 0x14], esi
je 0x40edd8
cmp dword [esp + 0x18], esi
je 0x40edd8
xor edi, edi
jmp 0x40ed23
push str.Saving_Update_Descriptor_XML_Data_n
call fcn.004154d3
pop ecx
lea eax, [esp + 0xa8]
push eax
push ecx
lea eax, [esp + 0x34]
push eax
mov byte [esp + 0x23], 1
call fcn.0041a4eb
pop ecx
pop ecx
mov ecx, eax
call fcn.0041a5b1
push eax
lea eax, [esp + 0x90]
call fcn.00414901
pop ecx
push esi
push 1
lea ecx, [esp + 0xb0]
call fcn.00405e00
push 0x7ff
lea eax, [esp + 0x36d]
push esi
push eax
mov byte [esp + 0x374], 0
call fcn.004360a0
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 0x40ee63
lea eax, [esp + 0x70]
add eax, dword [esp + 0x80]
cmp dword [esp + 0x84], 0x10
jae 0x40ee78
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.0040fc91
lea eax, [esp + 0x1f]
lea esi, [esp + 0x30]
mov byte [esp + 0x1f], 0
call fcn.0040a801
mov eax, dword [esp + 0x30]
mov dword [0x4752bc], eax
call fcn.0040ff25
call fcn.0040fff1
mov esi, eax
cmp esi, edi
je 0x40f51b
push str.java_update
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jne 0x40f51b
mov edi, dword [esi + 0xc]
test edi, edi
je 0x40f51b
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpA]
push str.information
push dword [edi + 4]
call esi
test eax, eax
jne 0x40f510
mov eax, dword [edi + 0x10]
push str.xml:lang
call fcn.004101e9
mov dword [esp + 0x1c], eax
mov eax, dword [edi + 0x10]
mov dword [esp], str.version
call fcn.004101e9
mov dword [esp], 0x45ed10
push eax
mov dword [esp + 0x18], eax
call esi
test eax, eax
je 0x40ef43
push 0x45ef6c
push dword [esp + 0x14]
call esi
test eax, eax
jne 0x40f510
cmp dword [esp + 0xa0], 0x10
mov eax, dword [esp + 0x8c]
jae 0x40ef5b
lea eax, [esp + 0x8c]
push eax
push dword [esp + 0x1c]
call esi
test eax, eax
je 0x40ef79
push 0x45ef44
push dword [esp + 0x1c]
call esi
test eax, eax
jne 0x40f510
mov eax, dword [edi + 0xc]
push str.descriptionfrom8
call fcn.004101be
mov dword [esp + 0x48], eax
mov eax, dword [edi + 0xc]
mov dword [esp], str.title
call fcn.004101be
mov dword [esp + 0x4c], eax
mov eax, dword [edi + 0xc]
mov dword [esp], str.moreinfotxt
call fcn.004101be
mov dword [esp + 0x64], eax
mov eax, dword [edi + 0xc]
mov dword [esp], str.caption
call fcn.004101be
mov dword [esp + 0x70], eax
mov eax, dword [edi + 0xc]
mov dword [esp], str.moreinfo
call fcn.004101be
mov dword [esp + 0x58], eax
mov eax, dword [edi + 0xc]
mov dword [esp], 0x45e59c
call fcn.004101be
mov esi, eax
mov eax, dword [edi + 0xc]
mov dword [esp], str.options
call fcn.004101be
mov dword [esp + 0x2c], eax
mov eax, dword [edi + 0xc]
mov dword [esp], str.post_status
call fcn.004101be
mov dword [esp + 0x6c], eax
mov eax, dword [edi + 0xc]
mov dword [esp], str.cntry_lookup
call fcn.004101be
mov dword [esp + 0x44], eax
mov eax, dword [edi + 0xc]
mov dword [esp], str.version
call fcn.004101be
mov dword [esp + 0x68], eax
mov eax, dword [edi + 0xc]
mov dword [esp], str.AlertText
call fcn.004101be
mov dword [esp + 0x54], eax
mov eax, dword [edi + 0xc]
mov dword [esp], str.AlertTitle
call fcn.004101be
mov dword [esp + 0x30], eax
mov eax, dword [edi + 0xc]
mov dword [esp], str.urlinfo256
call fcn.004101be
mov dword [esp + 0x50], eax
mov eax, dword [edi + 0xc]
mov dword [esp], str.predownload
call fcn.004101be
cmp byte [esp + 0x1b], 0
pop ecx
mov dword [esp + 0x20], eax
jne 0x40f09a
push 0x45ed10
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jne 0x40f0bd
mov eax, ebx
call fcn.0040ebf7
push 0xffffffffffffffff
push 0x45d48e
lea eax, [esp + 0x370]
push 0x800
push eax
call fcn.00436678
add esp, 0x10
test esi, esi
je 0x40f0e1
mov eax, dword [esi + 0xc]
test eax, eax
je 0x40f0e1
push 0xffffffffffffffff
push dword [eax + 4]
lea eax, [ebx + 0x108]
push pe_nt_image_headers32
push eax
call fcn.00436678
add esp, 0x10
mov eax, dword [esp + 0x28]
test eax, eax
je 0x40f29e
mov eax, dword [eax + 0xc]
mov dword [esp + 0x10], eax
test eax, eax
je 0x40f29e
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.0040c7c4
push 0xff
lea eax, [esp + 0x175]
push esi
push eax
mov byte [esp + 0x17c], 0
call fcn.004360a0
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.00435063
add esp, 0x14
lea esi, [esp + 0x168]
call fcn.0040cf0b
lea eax, [esp + 0x58]
push eax
mov eax, dword [esp + 0x14]
push 0x45f010
push dword [eax + 4]
call fcn.00438e18
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
add esp, 0xc
mov dword [esp + 0x10], eax
test eax, eax
je 0x40f250
push str._installmethod
push dword [esp + 0x14]
call fcn.00435be0
pop ecx
pop ecx
test eax, eax
je 0x40f20f
push 0x13
push 0x45e4c8
push dword [esp + 0x18]
mov dword [esp + 0x34], 1
call fcn.00435be0
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 0x40f215
push str._installmethod
push eax
call esi
lea eax, [esp + 0xc4]
push eax
lea eax, [ebx + 0xd88]
jmp 0x40f219
lea eax, [ebx + 0xd88]
push dword [esp + 0x10]
push eax
call esi
push 0x45f010
lea eax, [ebx + 0xd88]
push eax
call esi
lea eax, [esp + 0x58]
push eax
push 0x45f010
push 0
call fcn.00438e18
add esp, 0xc
mov dword [esp + 0x10], eax
test eax, eax
jne 0x40f199
cmp dword [esp + 0x28], eax
jne 0x40f26f
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.00435063
add esp, 0x14
lea esi, [esp + 0x168]
call fcn.0040cf0b
mov eax, dword [esp + 0x44]
test eax, eax
je 0x40f2d7
mov eax, dword [eax + 0xc]
test eax, eax
je 0x40f2d7
push 0xffffffffffffffff
push dword [eax + 4]
lea eax, [esp + 0x370]
push 0x800
push eax
call fcn.00436678
add esp, 0x10
lea ebx, [esp + 0x368]
call fcn.0040ec4e
mov ebx, dword [esp + 0x24]
mov eax, dword [esp + 0x48]
test eax, eax
je 0x40f308
mov eax, dword [eax + 0xc]
test eax, eax
je 0x40f308
push 0xffffffffffffffff
push dword [eax + 4]
add ebx, 0x1588
push pe_nt_image_headers32
push ebx
call fcn.00436678
add esp, 0x10
call fcn.0040ec4e
mov ebx, dword [esp + 0x24]
mov eax, dword [esp + 0x60]
test eax, eax
je 0x40f339
mov eax, dword [eax + 0xc]
test eax, eax
je 0x40f339
push 0xffffffffffffffff
push dword [eax + 4]
add ebx, 0x1688
push pe_nt_image_headers32
push ebx
call fcn.00436678
add esp, 0x10
call fcn.0040ec4e
mov ebx, dword [esp + 0x24]
mov eax, dword [esp + 0x6c]
test eax, eax
je 0x40f36a
mov eax, dword [eax + 0xc]
test eax, eax
je 0x40f36a
push 0xffffffffffffffff
push dword [eax + 4]
add ebx, 0x1788
push 0x80
push ebx
call fcn.00436678
add esp, 0x10
call fcn.0040ec4e
mov ebx, dword [esp + 0x24]
mov eax, dword [esp + 0x54]
test eax, eax
je 0x40f392
mov eax, dword [eax + 0xc]
test eax, eax
je 0x40f392
push 0xffffffffffffffff
push dword [eax + 4]
lea eax, [ebx + 0x208]
push pe_nt_image_headers32
push eax
call fcn.00436678
add esp, 0x10
mov eax, dword [esp + 0x68]
test eax, eax
je 0x40f3ba
mov eax, dword [eax + 0xc]
test eax, eax
je 0x40f3ba
push 0xffffffffffffffff
push dword [eax + 4]
lea eax, [ebx + 0x408]
push pe_nt_image_headers32
push eax
call fcn.00436678
add esp, 0x10
mov eax, dword [esp + 0x40]
test eax, eax
je 0x40f3e2
mov eax, dword [eax + 0xc]
test eax, eax
je 0x40f3e2
push 0xffffffffffffffff
push dword [eax + 4]
lea eax, [ebx + 0x308]
push pe_nt_image_headers32
push eax
call fcn.00436678
add esp, 0x10
mov eax, dword [esp + 0x64]
test eax, eax
je 0x40f40a
mov eax, dword [eax + 0xc]
test eax, eax
je 0x40f40a
push 0xffffffffffffffff
push dword [eax + 4]
lea eax, [ebx + 0x508]
push 0x80
push eax
call fcn.00436678
add esp, 0x10
cmp dword [esp + 0x20], 0
je 0x40f454
mov eax, dword [esp + 0x20]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x40f435
push 0xffffffffffffffff
push dword [eax + 4]
lea eax, [ebx + 0x2190]
push 0x80
push eax
call fcn.00436678
add esp, 0x10
lea esi, [ebx + 0x2190]
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
jne 0x40f454
push 0x7f
push 0x45d7fc
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x40f47c
mov eax, dword [eax + 0xc]
test eax, eax
je 0x40f47c
push 0xffffffffffffffff
push dword [eax + 4]
lea eax, [ebx + 0x2110]
push 0x80
push eax
call fcn.00436678
add esp, 0x10
mov eax, dword [esp + 0x50]
test eax, eax
je 0x40f4ad
mov eax, dword [eax + 0xc]
test eax, eax
je 0x40f4ad
push 0xffffffffffffffff
push dword [eax + 4]
add ebx, 0x1808
push 0x800
push ebx
call fcn.00436678
add esp, 0x10
call fcn.0040ec4e
mov ebx, dword [esp + 0x24]
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x40f4de
mov eax, dword [eax + 0xc]
test eax, eax
je 0x40f4de
push 0xffffffffffffffff
push dword [eax + 4]
add ebx, 0x2008
push 0x104
push ebx
call fcn.00436678
add esp, 0x10
call fcn.0040ec4e
mov ebx, dword [esp + 0x24]
cmp dword [esp + 0xa0], 0x10
mov eax, dword [esp + 0x8c]
mov byte [esp + 0x17], 0
jae 0x40f4fb
lea eax, [esp + 0x8c]
push eax
push dword [esp + 0x1c]
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
je 0x40f51b
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpA]
mov edi, dword [edi + 8]
test edi, edi
jne 0x40eeec
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 0x45e4cc
push dword [esp + 0x14]
call fcn.00435be0
pop ecx
pop ecx
mov dword [esp + 0x20], eax
test eax, eax
je 0x40f5a9
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 0x45e1c4
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 0x40f532
jmp 0x40f5b6
push dword [esp + 0x10]
lea eax, [ebx + 0x588]
push eax
call edi
cmp byte [esp + 0x17], 0
jne 0x40f621
lea edi, [ebx + 0x108]
push edi
call esi
test eax, eax
je 0x40f621
push edi
call fcn.00415501
pop ecx
test eax, eax
je 0x40f621
lea eax, [ebx + 0x2110]
push eax
call esi
cmp eax, 0x40
jne 0x40f621
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 0x40f604
push dword [esp + 0x30]
call fcn.00434c43
pop ecx
push edi
push esi
lea ecx, [esp + 0x94]
call fcn.00405e00
push edi
push esi
lea ecx, [esp + 0x78]
call fcn.00405e00
xor eax, eax
jmp 0x40f653
xor esi, esi
cmp dword [esp + 0x30], esi
je 0x40f633
push dword [esp + 0x30]
call fcn.00434c43
pop ecx
push esi
push 1
lea ecx, [esp + 0x94]
call fcn.00405e00
push esi
push 1
lea ecx, [esp + 0x78]
call fcn.00405e00
mov eax, 0x80004005
mov ecx, dword [esp + 0x136c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00434c4e
mov esp, ebp
pop ebp
ret 0x10