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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x1364
call fcn.00429470
mov eax, dword [0x448630]
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 0x40ec37
lea edi, [esp + 0x268]
call fcn.0040d9ab
test eax, eax
jne 0x40ec30
mov edi, 0x80004005
push esi
push 1
lea ecx, [esp + 0x78]
call fcn.00405dcc
mov eax, edi
jmp 0x40f54d
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.00407f70
add esp, 0x14
cmp eax, esi
jge 0x40ec5d
mov edi, eax
jmp 0x40ec1d
lea eax, [esp + 0x20]
push eax
push esi
lea edx, [esp + 0x128]
mov ecx, str.VersionXmlChecksum
call fcn.0040da5f
pop ecx
pop ecx
test eax, eax
je 0x40ecaa
lea eax, [esp + 0x120]
push eax
lea eax, [esp + 0xdc]
push eax
call fcn.00422757
pop ecx
pop ecx
test eax, eax
jne 0x40ec9f
mov dword [esp + 0x18], 1
jmp 0x40ecc0
push str.Update_Descriptor_Checksums_DO_NOT_Match_n
call fcn.0041262c
pop ecx
lea eax, [esp + 0xd8]
push eax
push str.VersionXmlChecksum
push esi
call fcn.0040dc2a
add esp, 0xc
cmp dword [ebp + 0x14], esi
je 0x40ecd2
cmp dword [esp + 0x18], esi
je 0x40ecd2
xor edi, edi
jmp 0x40ec1d
push str.Saving_Update_Descriptor_XML_Data_n
call fcn.0041262c
pop ecx
lea eax, [esp + 0xa8]
push eax
push ecx
lea eax, [esp + 0x34]
push eax
mov byte [esp + 0x23], 1
call fcn.00416c06
pop ecx
pop ecx
mov ecx, eax
call fcn.00416ccc
push eax
lea eax, [esp + 0x90]
call fcn.004148a1
pop ecx
push esi
push 1
lea ecx, [esp + 0xb0]
call fcn.00405dcc
push 0x7ff
lea eax, [esp + 0x36d]
push esi
push eax
mov byte [esp + 0x374], 0
call fcn.0041f900
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 0x40ed5d
lea eax, [esp + 0x70]
add eax, dword [esp + 0x80]
cmp dword [esp + 0x84], 0x10
jae 0x40ed72
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.0040cc48
lea eax, [esp + 0x1f]
lea esi, [esp + 0x30]
mov byte [esp + 0x1f], 0
call fcn.0040a1c4
mov eax, dword [esp + 0x30]
mov dword [0x44b694], eax
call fcn.0040fe16
call fcn.0040fee2
mov esi, eax
cmp esi, edi
je 0x40f415
push str.java_update
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jne 0x40f415
mov edi, dword [esi + 0xc]
test edi, edi
je 0x40f415
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpA]
push str.information
push dword [edi + 4]
call esi
test eax, eax
jne 0x40f40a
mov eax, dword [edi + 0x10]
push str.xml:lang
call fcn.004100da
mov dword [esp + 0x1c], eax
mov eax, dword [edi + 0x10]
mov dword [esp], str.version
call fcn.004100da
mov dword [esp], 0x43e208
push eax
mov dword [esp + 0x18], eax
call esi
test eax, eax
je 0x40ee3d
push 0x43e3f0
push dword [esp + 0x14]
call esi
test eax, eax
jne 0x40f40a
cmp dword [esp + 0xa0], 0x10
mov eax, dword [esp + 0x8c]
jae 0x40ee55
lea eax, [esp + 0x8c]
push eax
push dword [esp + 0x1c]
call esi
test eax, eax
je 0x40ee73
push 0x43e3c8
push dword [esp + 0x1c]
call esi
test eax, eax
jne 0x40f40a
mov eax, dword [edi + 0xc]
push str.descriptionfrom8
call fcn.004100af
mov dword [esp + 0x48], eax
mov eax, dword [edi + 0xc]
mov dword [esp], str.title
call fcn.004100af
mov dword [esp + 0x4c], eax
mov eax, dword [edi + 0xc]
mov dword [esp], str.moreinfotxt
call fcn.004100af
mov dword [esp + 0x64], eax
mov eax, dword [edi + 0xc]
mov dword [esp], str.caption
call fcn.004100af
mov dword [esp + 0x70], eax
mov eax, dword [edi + 0xc]
mov dword [esp], str.moreinfo
call fcn.004100af
mov dword [esp + 0x58], eax
mov eax, dword [edi + 0xc]
mov dword [esp], 0x43d910
call fcn.004100af
mov esi, eax
mov eax, dword [edi + 0xc]
mov dword [esp], str.options
call fcn.004100af
mov dword [esp + 0x2c], eax
mov eax, dword [edi + 0xc]
mov dword [esp], str.post_status
call fcn.004100af
mov dword [esp + 0x6c], eax
mov eax, dword [edi + 0xc]
mov dword [esp], str.cntry_lookup
call fcn.004100af
mov dword [esp + 0x44], eax
mov eax, dword [edi + 0xc]
mov dword [esp], str.version
call fcn.004100af
mov dword [esp + 0x68], eax
mov eax, dword [edi + 0xc]
mov dword [esp], str.AlertText
call fcn.004100af
mov dword [esp + 0x54], eax
mov eax, dword [edi + 0xc]
mov dword [esp], str.AlertTitle
call fcn.004100af
mov dword [esp + 0x30], eax
mov eax, dword [edi + 0xc]
mov dword [esp], str.urlinfo256
call fcn.004100af
mov dword [esp + 0x50], eax
mov eax, dword [edi + 0xc]
mov dword [esp], str.predownload
call fcn.004100af
cmp byte [esp + 0x1b], 0
pop ecx
mov dword [esp + 0x20], eax
jne 0x40ef94
push 0x43e208
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jne 0x40efb7
mov eax, ebx
call fcn.0040eaf3
push 0xffffffffffffffff
push 0x43c7de
lea eax, [esp + 0x370]
push 0x800
push eax
call fcn.0041fed8
add esp, 0x10
test esi, esi
je 0x40efdb
mov eax, dword [esi + 0xc]
test eax, eax
je 0x40efdb
push 0xffffffffffffffff
push dword [eax + 4]
lea eax, [ebx + 0x108]
push pe_nt_image_headers32
push eax
call fcn.0041fed8
add esp, 0x10
mov eax, dword [esp + 0x28]
test eax, eax
je 0x40f198
mov eax, dword [eax + 0xc]
mov dword [esp + 0x10], eax
test eax, eax
je 0x40f198
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.0040da5f
push 0xff
lea eax, [esp + 0x175]
push esi
push eax
mov byte [esp + 0x17c], 0
call fcn.0041f900
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.0041e983
add esp, 0x14
lea esi, [esp + 0x168]
call fcn.0040e1a6
lea eax, [esp + 0x58]
push eax
mov eax, dword [esp + 0x14]
push 0x43e494
push dword [eax + 4]
call fcn.0042279e
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
add esp, 0xc
mov dword [esp + 0x10], eax
test eax, eax
je 0x40f14a
push str._installmethod
push dword [esp + 0x14]
call fcn.0041f500
pop ecx
pop ecx
test eax, eax
je 0x40f109
push 0x13
push 0x43d83c
push dword [esp + 0x18]
mov dword [esp + 0x34], 1
call fcn.0041f500
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 0x40f10f
push str._installmethod
push eax
call esi
lea eax, [esp + 0xc4]
push eax
lea eax, [ebx + 0xd88]
jmp 0x40f113
lea eax, [ebx + 0xd88]
push dword [esp + 0x10]
push eax
call esi
push 0x43e494
lea eax, [ebx + 0xd88]
push eax
call esi
lea eax, [esp + 0x58]
push eax
push 0x43e494
push 0
call fcn.0042279e
add esp, 0xc
mov dword [esp + 0x10], eax
test eax, eax
jne 0x40f093
cmp dword [esp + 0x28], eax
jne 0x40f169
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.0041e983
add esp, 0x14
lea esi, [esp + 0x168]
call fcn.0040e1a6
mov eax, dword [esp + 0x44]
test eax, eax
je 0x40f1d1
mov eax, dword [eax + 0xc]
test eax, eax
je 0x40f1d1
push 0xffffffffffffffff
push dword [eax + 4]
lea eax, [esp + 0x370]
push 0x800
push eax
call fcn.0041fed8
add esp, 0x10
lea ebx, [esp + 0x368]
call fcn.0040eb4a
mov ebx, dword [esp + 0x24]
mov eax, dword [esp + 0x48]
test eax, eax
je 0x40f202
mov eax, dword [eax + 0xc]
test eax, eax
je 0x40f202
push 0xffffffffffffffff
push dword [eax + 4]
add ebx, 0x1588
push pe_nt_image_headers32
push ebx
call fcn.0041fed8
add esp, 0x10
call fcn.0040eb4a
mov ebx, dword [esp + 0x24]
mov eax, dword [esp + 0x60]
test eax, eax
je 0x40f233
mov eax, dword [eax + 0xc]
test eax, eax
je 0x40f233
push 0xffffffffffffffff
push dword [eax + 4]
add ebx, 0x1688
push pe_nt_image_headers32
push ebx
call fcn.0041fed8
add esp, 0x10
call fcn.0040eb4a
mov ebx, dword [esp + 0x24]
mov eax, dword [esp + 0x6c]
test eax, eax
je 0x40f264
mov eax, dword [eax + 0xc]
test eax, eax
je 0x40f264
push 0xffffffffffffffff
push dword [eax + 4]
add ebx, 0x1788
push 0x80
push ebx
call fcn.0041fed8
add esp, 0x10
call fcn.0040eb4a
mov ebx, dword [esp + 0x24]
mov eax, dword [esp + 0x54]
test eax, eax
je 0x40f28c
mov eax, dword [eax + 0xc]
test eax, eax
je 0x40f28c
push 0xffffffffffffffff
push dword [eax + 4]
lea eax, [ebx + 0x208]
push pe_nt_image_headers32
push eax
call fcn.0041fed8
add esp, 0x10
mov eax, dword [esp + 0x68]
test eax, eax
je 0x40f2b4
mov eax, dword [eax + 0xc]
test eax, eax
je 0x40f2b4
push 0xffffffffffffffff
push dword [eax + 4]
lea eax, [ebx + 0x408]
push pe_nt_image_headers32
push eax
call fcn.0041fed8
add esp, 0x10
mov eax, dword [esp + 0x40]
test eax, eax
je 0x40f2dc
mov eax, dword [eax + 0xc]
test eax, eax
je 0x40f2dc
push 0xffffffffffffffff
push dword [eax + 4]
lea eax, [ebx + 0x308]
push pe_nt_image_headers32
push eax
call fcn.0041fed8
add esp, 0x10
mov eax, dword [esp + 0x64]
test eax, eax
je 0x40f304
mov eax, dword [eax + 0xc]
test eax, eax
je 0x40f304
push 0xffffffffffffffff
push dword [eax + 4]
lea eax, [ebx + 0x508]
push 0x80
push eax
call fcn.0041fed8
add esp, 0x10
cmp dword [esp + 0x20], 0
je 0x40f34e
mov eax, dword [esp + 0x20]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x40f32f
push 0xffffffffffffffff
push dword [eax + 4]
lea eax, [ebx + 0x2190]
push 0x80
push eax
call fcn.0041fed8
add esp, 0x10
lea esi, [ebx + 0x2190]
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
jne 0x40f34e
push 0x7f
push 0x43cb4c
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x40f376
mov eax, dword [eax + 0xc]
test eax, eax
je 0x40f376
push 0xffffffffffffffff
push dword [eax + 4]
lea eax, [ebx + 0x2110]
push 0x80
push eax
call fcn.0041fed8
add esp, 0x10
mov eax, dword [esp + 0x50]
test eax, eax
je 0x40f3a7
mov eax, dword [eax + 0xc]
test eax, eax
je 0x40f3a7
push 0xffffffffffffffff
push dword [eax + 4]
add ebx, 0x1808
push 0x800
push ebx
call fcn.0041fed8
add esp, 0x10
call fcn.0040eb4a
mov ebx, dword [esp + 0x24]
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x40f3d8
mov eax, dword [eax + 0xc]
test eax, eax
je 0x40f3d8
push 0xffffffffffffffff
push dword [eax + 4]
add ebx, 0x2008
push 0x104
push ebx
call fcn.0041fed8
add esp, 0x10
call fcn.0040eb4a
mov ebx, dword [esp + 0x24]
cmp dword [esp + 0xa0], 0x10
mov eax, dword [esp + 0x8c]
mov byte [esp + 0x17], 0
jae 0x40f3f5
lea eax, [esp + 0x8c]
push eax
push dword [esp + 0x1c]
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
je 0x40f415
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpA]
mov edi, dword [edi + 8]
test edi, edi
jne 0x40ede6
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 0x43d840
push dword [esp + 0x14]
call fcn.0041f500
pop ecx
pop ecx
mov dword [esp + 0x20], eax
test eax, eax
je 0x40f4a3
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 0x43d50c
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 0x40f42c
jmp 0x40f4b0
push dword [esp + 0x10]
lea eax, [ebx + 0x588]
push eax
call edi
cmp byte [esp + 0x17], 0
jne 0x40f51b
lea edi, [ebx + 0x108]
push edi
call esi
test eax, eax
je 0x40f51b
mov eax, edi
call fcn.0041265d
test eax, eax
je 0x40f51b
lea eax, [ebx + 0x2110]
push eax
call esi
cmp eax, 0x40
jne 0x40f51b
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 0x40f4fe
push dword [esp + 0x30]
call fcn.0041e562
pop ecx
push edi
push esi
lea ecx, [esp + 0x94]
call fcn.00405dcc
push edi
push esi
lea ecx, [esp + 0x78]
call fcn.00405dcc
xor eax, eax
jmp 0x40f54d
xor esi, esi
cmp dword [esp + 0x30], esi
je 0x40f52d
push dword [esp + 0x30]
call fcn.0041e562
pop ecx
push esi
push 1
lea ecx, [esp + 0x94]
call fcn.00405dcc
push esi
push 1
lea ecx, [esp + 0x78]
call fcn.00405dcc
mov eax, 0x80004005
mov ecx, dword [esp + 0x136c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0041e56d
mov esp, ebp
pop ebp
ret 0x10