Function at 0x40ecc6
Capabilities:
Contain obfuscated stackstrings
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x1364
call fcn.004429d0
mov eax, dword [0x47362c]
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 0x40ed59
lea edi, [esp + 0x268]
call fcn.0040c711
test eax, eax
jne 0x40ed52
mov edi, 0x80004005
push esi
push 1
lea ecx, [esp + 0x78]
call fcn.00405db8
mov eax, edi
jmp 0x40f66f
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.00407f9f
add esp, 0x14
cmp eax, esi
jge 0x40ed7f
mov edi, eax
jmp 0x40ed3f
lea eax, [esp + 0x20]
push eax
push esi
lea edx, [esp + 0x128]
mov ecx, str.VersionXmlChecksum
call fcn.0040c7c5
pop ecx
pop ecx
test eax, eax
je 0x40edcc
lea eax, [esp + 0x120]
push eax
lea eax, [esp + 0xdc]
push eax
call fcn.0043a51e
pop ecx
pop ecx
test eax, eax
jne 0x40edc1
mov dword [esp + 0x18], 1
jmp 0x40ede2
push str.Update_Descriptor_Checksums_DO_NOT_Match_n
call fcn.004154f0
pop ecx
lea eax, [esp + 0xd8]
push eax
push str.VersionXmlChecksum
push esi
call fcn.0040c985
add esp, 0xc
cmp dword [ebp + 0x14], esi
je 0x40edf4
cmp dword [esp + 0x18], esi
je 0x40edf4
xor edi, edi
jmp 0x40ed3f
push str.Saving_Update_Descriptor_XML_Data_n
call fcn.004154f0
pop ecx
lea eax, [esp + 0xa8]
push eax
push ecx
lea eax, [esp + 0x34]
push eax
mov byte [esp + 0x23], 1
call fcn.0041a78b
pop ecx
pop ecx
mov ecx, eax
call fcn.0041a851
push eax
lea eax, [esp + 0x90]
call fcn.004146f1
pop ecx
push esi
push 1
lea ecx, [esp + 0xb0]
call fcn.00405db8
push 0x7ff
lea eax, [esp + 0x36d]
push esi
push eax
mov byte [esp + 0x374], 0
call fcn.00437840
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 0x40ee7f
lea eax, [esp + 0x70]
add eax, dword [esp + 0x80]
cmp dword [esp + 0x84], 0x10
jae 0x40ee94
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.0040b9b4
lea eax, [esp + 0x1f]
lea esi, [esp + 0x30]
mov byte [esp + 0x1f], 0
call fcn.0040a213
mov eax, dword [esp + 0x30]
mov dword [0x47747c], eax
call fcn.0040ff03
call fcn.0040ffcf
mov esi, eax
cmp esi, edi
je 0x40f537
push str.java_update
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jne 0x40f537
mov edi, dword [esi + 0xc]
test edi, edi
je 0x40f537
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpA]
push str.information
push dword [edi + 4]
call esi
test eax, eax
jne 0x40f52c
mov eax, dword [edi + 0x10]
push str.xml:lang
call fcn.004101c7
mov dword [esp + 0x1c], eax
mov eax, dword [edi + 0x10]
mov dword [esp], str.version
call fcn.004101c7
mov dword [esp], 0x45fdb8
push eax
mov dword [esp + 0x18], eax
call esi
test eax, eax
je 0x40ef5f
push 0x46001c
push dword [esp + 0x14]
call esi
test eax, eax
jne 0x40f52c
cmp dword [esp + 0xa0], 0x10
mov eax, dword [esp + 0x8c]
jae 0x40ef77
lea eax, [esp + 0x8c]
push eax
push dword [esp + 0x1c]
call esi
test eax, eax
je 0x40ef95
push 0x45fff4
push dword [esp + 0x1c]
call esi
test eax, eax
jne 0x40f52c
mov eax, dword [edi + 0xc]
push str.descriptionfrom8
call fcn.0041019c
mov dword [esp + 0x48], eax
mov eax, dword [edi + 0xc]
mov dword [esp], str.title
call fcn.0041019c
mov dword [esp + 0x4c], eax
mov eax, dword [edi + 0xc]
mov dword [esp], str.moreinfotxt
call fcn.0041019c
mov dword [esp + 0x64], eax
mov eax, dword [edi + 0xc]
mov dword [esp], str.caption
call fcn.0041019c
mov dword [esp + 0x70], eax
mov eax, dword [edi + 0xc]
mov dword [esp], str.moreinfo
call fcn.0041019c
mov dword [esp + 0x58], eax
mov eax, dword [edi + 0xc]
mov dword [esp], 0x45f644
call fcn.0041019c
mov esi, eax
mov eax, dword [edi + 0xc]
mov dword [esp], str.options
call fcn.0041019c
mov dword [esp + 0x2c], eax
mov eax, dword [edi + 0xc]
mov dword [esp], str.post_status
call fcn.0041019c
mov dword [esp + 0x6c], eax
mov eax, dword [edi + 0xc]
mov dword [esp], str.cntry_lookup
call fcn.0041019c
mov dword [esp + 0x44], eax
mov eax, dword [edi + 0xc]
mov dword [esp], str.version
call fcn.0041019c
mov dword [esp + 0x68], eax
mov eax, dword [edi + 0xc]
mov dword [esp], str.AlertText
call fcn.0041019c
mov dword [esp + 0x54], eax
mov eax, dword [edi + 0xc]
mov dword [esp], str.AlertTitle
call fcn.0041019c
mov dword [esp + 0x30], eax
mov eax, dword [edi + 0xc]
mov dword [esp], str.urlinfo256
call fcn.0041019c
mov dword [esp + 0x50], eax
mov eax, dword [edi + 0xc]
mov dword [esp], str.predownload
call fcn.0041019c
cmp byte [esp + 0x1b], 0
pop ecx
mov dword [esp + 0x20], eax
jne 0x40f0b6
push 0x45fdb8
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jne 0x40f0d9
mov eax, ebx
call fcn.0040ec15
push 0xffffffffffffffff
push 0x45e50e
lea eax, [esp + 0x370]
push 0x800
push eax
call fcn.00437e18
add esp, 0x10
test esi, esi
je 0x40f0fd
mov eax, dword [esi + 0xc]
test eax, eax
je 0x40f0fd
push 0xffffffffffffffff
push dword [eax + 4]
lea eax, [ebx + 0x108]
push 0x100
push eax
call fcn.00437e18
add esp, 0x10
mov eax, dword [esp + 0x28]
test eax, eax
je 0x40f2ba
mov eax, dword [eax + 0xc]
mov dword [esp + 0x10], eax
test eax, eax
je 0x40f2ba
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.0040c7c5
push 0xff
lea eax, [esp + 0x175]
push esi
push eax
mov byte [esp + 0x17c], 0
call fcn.00437840
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 0x100
push eax
call fcn.00436803
add esp, 0x14
lea esi, [esp + 0x168]
call fcn.0040cf0c
lea eax, [esp + 0x58]
push eax
mov eax, dword [esp + 0x14]
push 0x4600c0
push dword [eax + 4]
call fcn.0043a5b8
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
add esp, 0xc
mov dword [esp + 0x10], eax
test eax, eax
je 0x40f26c
push str._installmethod
push dword [esp + 0x14]
call fcn.00437380
pop ecx
pop ecx
test eax, eax
je 0x40f22b
push 0x13
push 0x45f570
push dword [esp + 0x18]
mov dword [esp + 0x34], 1
call fcn.00437380
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 0x40f231
push str._installmethod
push eax
call esi
lea eax, [esp + 0xc4]
push eax
lea eax, [ebx + 0xd88]
jmp 0x40f235
lea eax, [ebx + 0xd88]
push dword [esp + 0x10]
push eax
call esi
push 0x4600c0
lea eax, [ebx + 0xd88]
push eax
call esi
lea eax, [esp + 0x58]
push eax
push 0x4600c0
push 0
call fcn.0043a5b8
add esp, 0xc
mov dword [esp + 0x10], eax
test eax, eax
jne 0x40f1b5
cmp dword [esp + 0x28], eax
jne 0x40f28b
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 0x100
push eax
call fcn.00436803
add esp, 0x14
lea esi, [esp + 0x168]
call fcn.0040cf0c
mov eax, dword [esp + 0x44]
test eax, eax
je 0x40f2f3
mov eax, dword [eax + 0xc]
test eax, eax
je 0x40f2f3
push 0xffffffffffffffff
push dword [eax + 4]
lea eax, [esp + 0x370]
push 0x800
push eax
call fcn.00437e18
add esp, 0x10
lea ebx, [esp + 0x368]
call fcn.0040ec6c
mov ebx, dword [esp + 0x24]
mov eax, dword [esp + 0x48]
test eax, eax
je 0x40f324
mov eax, dword [eax + 0xc]
test eax, eax
je 0x40f324
push 0xffffffffffffffff
push dword [eax + 4]
add ebx, 0x1588
push 0x100
push ebx
call fcn.00437e18
add esp, 0x10
call fcn.0040ec6c
mov ebx, dword [esp + 0x24]
mov eax, dword [esp + 0x60]
test eax, eax
je 0x40f355
mov eax, dword [eax + 0xc]
test eax, eax
je 0x40f355
push 0xffffffffffffffff
push dword [eax + 4]
add ebx, 0x1688
push 0x100
push ebx
call fcn.00437e18
add esp, 0x10
call fcn.0040ec6c
mov ebx, dword [esp + 0x24]
mov eax, dword [esp + 0x6c]
test eax, eax
je 0x40f386
mov eax, dword [eax + 0xc]
test eax, eax
je 0x40f386
push 0xffffffffffffffff
push dword [eax + 4]
add ebx, 0x1788
push 0x80
push ebx
call fcn.00437e18
add esp, 0x10
call fcn.0040ec6c
mov ebx, dword [esp + 0x24]
mov eax, dword [esp + 0x54]
test eax, eax
je 0x40f3ae
mov eax, dword [eax + 0xc]
test eax, eax
je 0x40f3ae
push 0xffffffffffffffff
push dword [eax + 4]
lea eax, [ebx + 0x208]
push 0x100
push eax
call fcn.00437e18
add esp, 0x10
mov eax, dword [esp + 0x68]
test eax, eax
je 0x40f3d6
mov eax, dword [eax + 0xc]
test eax, eax
je 0x40f3d6
push 0xffffffffffffffff
push dword [eax + 4]
lea eax, [ebx + 0x408]
push 0x100
push eax
call fcn.00437e18
add esp, 0x10
mov eax, dword [esp + 0x40]
test eax, eax
je 0x40f3fe
mov eax, dword [eax + 0xc]
test eax, eax
je 0x40f3fe
push 0xffffffffffffffff
push dword [eax + 4]
lea eax, [ebx + 0x308]
push 0x100
push eax
call fcn.00437e18
add esp, 0x10
mov eax, dword [esp + 0x64]
test eax, eax
je 0x40f426
mov eax, dword [eax + 0xc]
test eax, eax
je 0x40f426
push 0xffffffffffffffff
push dword [eax + 4]
lea eax, [ebx + 0x508]
push 0x80
push eax
call fcn.00437e18
add esp, 0x10
cmp dword [esp + 0x20], 0
je 0x40f470
mov eax, dword [esp + 0x20]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x40f451
push 0xffffffffffffffff
push dword [eax + 4]
lea eax, [ebx + 0x2190]
push 0x80
push eax
call fcn.00437e18
add esp, 0x10
lea esi, [ebx + 0x2190]
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
jne 0x40f470
push 0x7f
push 0x45e8a4
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x40f498
mov eax, dword [eax + 0xc]
test eax, eax
je 0x40f498
push 0xffffffffffffffff
push dword [eax + 4]
lea eax, [ebx + 0x2110]
push 0x80
push eax
call fcn.00437e18
add esp, 0x10
mov eax, dword [esp + 0x50]
test eax, eax
je 0x40f4c9
mov eax, dword [eax + 0xc]
test eax, eax
je 0x40f4c9
push 0xffffffffffffffff
push dword [eax + 4]
add ebx, 0x1808
push 0x800
push ebx
call fcn.00437e18
add esp, 0x10
call fcn.0040ec6c
mov ebx, dword [esp + 0x24]
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x40f4fa
mov eax, dword [eax + 0xc]
test eax, eax
je 0x40f4fa
push 0xffffffffffffffff
push dword [eax + 4]
add ebx, 0x2008
push 0x104
push ebx
call fcn.00437e18
add esp, 0x10
call fcn.0040ec6c
mov ebx, dword [esp + 0x24]
cmp dword [esp + 0xa0], 0x10
mov eax, dword [esp + 0x8c]
mov byte [esp + 0x17], 0
jae 0x40f517
lea eax, [esp + 0x8c]
push eax
push dword [esp + 0x1c]
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
je 0x40f537
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpA]
mov edi, dword [edi + 8]
test edi, edi
jne 0x40ef08
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 0x45f574
push dword [esp + 0x14]
call fcn.00437380
pop ecx
pop ecx
mov dword [esp + 0x20], eax
test eax, eax
je 0x40f5c5
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 0x45f26c
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 0x40f54e
jmp 0x40f5d2
push dword [esp + 0x10]
lea eax, [ebx + 0x588]
push eax
call edi
cmp byte [esp + 0x17], 0
jne 0x40f63d
lea edi, [ebx + 0x108]
push edi
call esi
test eax, eax
je 0x40f63d
push edi
call fcn.0041551e
pop ecx
test eax, eax
je 0x40f63d
lea eax, [ebx + 0x2110]
push eax
call esi
cmp eax, 0x40
jne 0x40f63d
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 0x40f620
push dword [esp + 0x30]
call fcn.004363e2
pop ecx
push edi
push esi
lea ecx, [esp + 0x94]
call fcn.00405db8
push edi
push esi
lea ecx, [esp + 0x78]
call fcn.00405db8
xor eax, eax
jmp 0x40f66f
xor esi, esi
cmp dword [esp + 0x30], esi
je 0x40f64f
push dword [esp + 0x30]
call fcn.004363e2
pop ecx
push esi
push 1
lea ecx, [esp + 0x94]
call fcn.00405db8
push esi
push 1
lea ecx, [esp + 0x78]
call fcn.00405db8
mov eax, 0x80004005
mov ecx, dword [esp + 0x136c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004363ed
mov esp, ebp
pop ebp
ret 0x10