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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x427424
mov eax, dword fs:[0]
push eax
sub esp, 0xb8
mov eax, dword [0x4351f0]
xor eax, esp
mov dword [esp + 0xb0], eax
push ebx
push esi
push edi
mov eax, dword [0x4351f0]
xor eax, esp
push eax
lea eax, [esp + 0xc8]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [esp + 0x48], ebx
mov esi, dword [ebp + 8]
xor eax, eax
mov dword [esp + 0x24], 0xbb8
mov dword [esp + 0x4c], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
push esi
lea edx, [esp + 0x50]
mov dword [esp + 0xd4], eax
lea ecx, [esp + 0xac]
call fcn.00401834
pop ecx
mov byte [esp + 0xd0], 1
cmp dword [esp + 0xb8], 0
jne 0x40e2c8
cmp dword [esp + 0x4c], 5
jne 0x40e2c8
lea ecx, [ebx + 0xb8]
mov byte [esp + 0x23], 1
cmp ecx, esi
je 0x40d992
push 0xffffffffffffffff
push 0
push esi
call fcn.004061df
lea ecx, [esp + 0x4c]
call fcn.00401454
mov esi, eax
lea ecx, [esp + 0x60]
push str.already_registered
mov dword [esp + 0x2c], esi
call fcn.00405f0d
lea eax, [esp + 0x60]
mov byte [esp + 0xd0], 2
push eax
lea eax, [esp + 0x1c]
mov byte [esp + 0x1b], 1
push eax
mov ecx, esi
call fcn.00403037
mov eax, dword [esp + 0x18]
cmp eax, dword [esi]
je 0x40d9e0
cmp dword [eax + 0x28], 1
jne 0x40d9e0
mov al, byte [eax + 0x30]
jmp 0x40d9e4
mov al, byte [esp + 0x17]
push 0
push 1
lea ecx, [esp + 0x68]
mov byte [ebx], al
mov byte [esp + 0xd8], 1
call fcn.004062d8
mov edi, str.easy_install
lea ecx, [esp + 0x60]
push edi
call fcn.00405f0d
lea eax, [esp + 0x60]
mov byte [esp + 0xd0], 3
push eax
lea eax, [esp + 0x1c]
mov byte [esp + 0x1b], 0
push eax
mov ecx, esi
call fcn.00403037
mov eax, dword [esp + 0x18]
cmp eax, dword [esi]
je 0x40da3b
cmp dword [eax + 0x28], 1
jne 0x40da3b
mov al, byte [eax + 0x30]
jmp 0x40da3f
mov al, byte [esp + 0x17]
push 0
push 1
lea ecx, [esp + 0x68]
mov byte [ebx + 2], al
mov byte [esp + 0xd8], 1
call fcn.004062d8
xor edx, edx
mov ecx, edi
cmp byte [ebx + 2], dl
setne dl
call fcn.0040809e
push str.browser_download_url
lea ecx, [esp + 0x64]
call fcn.00405f0d
sub esp, 0x18
mov byte [esp + 0xe8], 4
mov ecx, esp
mov edi, 0x42eda5
push edi
call fcn.00405f0d
lea eax, [esp + 0x78]
mov edx, esi
push eax
lea ecx, [esp + 0xac]
call fcn.00407137
add esp, 0x1c
mov edx, eax
mov byte [esp + 0xd0], 5
lea ecx, [esp + 0x78]
call fcn.00407394
push eax
lea ecx, [ebx + 4]
call fcn.00402eab
push 0
push 1
lea ecx, [esp + 0x80]
call fcn.004065b8
push 0
push 1
lea ecx, [esp + 0x98]
call fcn.004062d8
push 0
push 1
lea ecx, [esp + 0x68]
mov byte [esp + 0xd8], 1
call fcn.004062d8
push str.browser_download_hash
lea ecx, [esp + 0x64]
call fcn.00405f0d
sub esp, 0x18
mov byte [esp + 0xe8], 6
mov ecx, esp
push edi
call fcn.00405f0d
lea eax, [esp + 0x78]
mov edx, esi
push eax
lea ecx, [esp + 0xac]
call fcn.00407137
add esp, 0x1c
lea ecx, [ebx + 0x1c]
push eax
call fcn.00402e5e
push 0
push 1
lea ecx, [esp + 0x98]
call fcn.004062d8
push 0
push 1
lea ecx, [esp + 0x68]
mov byte [esp + 0xd8], 1
call fcn.004062d8
push str.native_host_domain
lea ecx, [esp + 0x64]
call fcn.00405f0d
mov byte [esp + 0xd0], 7
sub esp, 0x18
mov ecx, esp
push edi
call fcn.00405f0d
lea eax, [esp + 0x78]
mov edx, esi
push eax
lea ecx, [esp + 0x94]
call fcn.00407137
add esp, 0x1c
mov edx, eax
mov byte [esp + 0xd0], 8
lea ecx, [esp + 0x90]
call fcn.00407394
push eax
lea ecx, [ebx + 0x34]
call fcn.00402eab
push 0
push 1
lea ecx, [esp + 0x98]
call fcn.004065b8
push 0
push 1
lea ecx, [esp + 0x80]
call fcn.004062d8
push 0
push 1
lea ecx, [esp + 0x68]
mov byte [esp + 0xd8], 1
call fcn.004062d8
push str.native_host_url
lea ecx, [esp + 0x64]
call fcn.00405f0d
sub esp, 0x18
mov byte [esp + 0xe8], 9
mov ecx, esp
push edi
call fcn.00405f0d
lea eax, [esp + 0x78]
mov edx, esi
push eax
lea ecx, [esp + 0x94]
call fcn.00407137
add esp, 0x1c
mov edx, eax
mov byte [esp + 0xd0], 0xa
lea ecx, [esp + 0x90]
call fcn.00407394
push eax
lea ecx, [ebx + 0x4c]
call fcn.00402eab
push 0
push 1
lea ecx, [esp + 0x98]
call fcn.004065b8
push 0
push 1
lea ecx, [esp + 0x80]
call fcn.004062d8
push 0
push 1
lea ecx, [esp + 0x68]
mov byte [esp + 0xd8], 1
call fcn.004062d8
push 0x42e878
lea ecx, [esp + 0x64]
call fcn.00405f0d
sub esp, 0x18
mov byte [esp + 0xe8], 0xb
mov ecx, esp
push edi
call fcn.00405f0d
lea eax, [esp + 0x78]
mov edx, esi
push eax
lea ecx, [esp + 0xac]
call fcn.00407137
add esp, 0x1c
lea edi, [ebx + 0x64]
push eax
mov ecx, edi
call fcn.00402e5e
push 0
push 1
lea ecx, [esp + 0x98]
call fcn.004062d8
push 0
push 1
lea ecx, [esp + 0x68]
mov byte [esp + 0xd8], 1
call fcn.004062d8
call fcn.004018ab
sub esp, 0x18
mov esi, eax
mov ecx, esp
push edi
call fcn.00406273
lea ecx, [esi + 0x80]
call fcn.00406ab4
push str.utm_time
lea ecx, [esp + 0x64]
call fcn.00405f0d
mov edi, dword [esp + 0x28]
lea eax, [esp + 0x60]
push eax
lea eax, [esp + 0x1c]
mov byte [esp + 0xd4], 0xc
xor esi, esi
mov ecx, edi
and dword [esp + 0x30], esi
push eax
call fcn.00403037
mov eax, dword [esp + 0x18]
cmp eax, dword [edi]
je 0x40dd3d
cmp dword [eax + 0x28], 2
jne 0x40dd3d
fld qword [eax + 0x30]
call fcn.004256c6
mov esi, eax
jmp 0x40dd41
mov edx, dword [esp + 0x2c]
push 0
push 1
lea ecx, [esp + 0x68]
mov dword [ebx + 0x98], esi
mov dword [ebx + 0x9c], edx
mov byte [esp + 0xd8], 1
call fcn.004062d8
push str.options
lea ecx, [esp + 0x64]
call fcn.00405f0d
lea eax, [esp + 0x60]
mov ecx, edi
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.00403037
push 0
push 1
lea ecx, [esp + 0x68]
call fcn.004062d8
mov eax, dword [esp + 0x18]
cmp eax, dword [edi]
je 0x40de63
cmp dword [eax + 0x28], 4
jne 0x40de63
lea ecx, [eax + 0x28]
call fcn.00401419
mov dword [esp + 0x1c], eax
mov esi, dword [eax]
cmp esi, dword [eax + 4]
je 0x40de63
mov edi, 0xbb8
cmp dword [esi], 5
jne 0x40de4f
mov ecx, esi
call fcn.00401454
push ecx
push eax
lea ecx, [esp + 0x3c]
call fcn.004032ab
push 0x70
mov byte [esp + 0xd4], 0xd
call fcn.00414bb9
pop ecx
test eax, eax
je 0x40ddf8
mov ecx, eax
call fcn.0040ca7b
jmp 0x40ddfa
xor eax, eax
lea ecx, [esp + 0x34]
mov dword [esp + 0x2c], eax
push ecx
mov ecx, eax
mov dword [esp + 0x1c], eax
call fcn.0040caeb
mov ecx, dword [esp + 0x2c]
cmp dword [ecx + 0x18], 0
jbe 0x40de34
cmp dword [ecx + 0x30], 0
jbe 0x40de34
mov dword [ecx + 0x6c], edi
lea eax, [esp + 0x18]
push eax
lea ecx, [ebx + 0xd4]
inc edi
call fcn.0040c302
jmp 0x40de3a
mov eax, dword [ecx]
push 1
call dword [eax]
lea ecx, [esp + 0x34]
mov byte [esp + 0xd0], 1
call fcn.0040300e
mov eax, dword [esp + 0x1c]
add esi, 0x10
cmp esi, dword [eax + 4]
jne 0x40ddc0
mov dword [esp + 0x24], edi
mov edi, dword [esp + 0x28]
push str.extensions
lea ecx, [esp + 0x64]
call fcn.00405f0d
lea eax, [esp + 0x60]
mov ecx, edi
push eax
lea eax, [esp + 0x20]
push eax
call fcn.00403037
push 0
push 1
lea ecx, [esp + 0x68]
call fcn.004062d8
mov esi, dword [esp + 0x1c]
cmp esi, dword [edi]
je 0x40dfbb
cmp dword [esi + 0x28], 4
jne 0x40dfbb
lea eax, [esp + 0x1c]
push eax
push 0x20219
push 0
push str.SOFTWAREGoogleChrome
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push dword [esp + 0x1c]
mov ebx, eax
neg ebx
sbb bl, bl
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
inc bl
je 0x40dfb7
lea ecx, [esi + 0x28]
call fcn.00401419
mov dword [esp + 0x18], eax
mov esi, dword [eax]
cmp esi, dword [eax + 4]
je 0x40dfb7
mov edi, dword [esp + 0x48]
cmp dword [esi], 5
jne 0x40dfa7
mov ecx, esi
call fcn.00401454
push ecx
push eax
lea ecx, [esp + 0x34]
call fcn.004032ab
push 0xb8
mov byte [esp + 0xd4], 0xe
call fcn.00414bb9
pop ecx
mov dword [esp + 0x34], eax
mov byte [esp + 0xd0], 0xf
test eax, eax
je 0x40df3d
mov ecx, eax
call fcn.0040cce5
mov ebx, eax
jmp 0x40df3f
xor ebx, ebx
lea eax, [esp + 0x2c]
mov byte [esp + 0xd0], 0xe
push eax
mov ecx, ebx
call fcn.0040cda2
cmp dword [ebx + 0x18], 0
jbe 0x40df8a
cmp dword [ebx + 0x30], 0
jbe 0x40df8a
cmp dword [ebx + 0x98], 0
jbe 0x40df8a
mov eax, dword [esp + 0x24]
lea ecx, [edi + 0xd4]
mov dword [ebx + 0x6c], eax
inc eax
mov dword [esp + 0x24], eax
lea eax, [esp + 0x1c]
push eax
mov dword [esp + 0x20], ebx
call fcn.0040c302
jmp 0x40df92
mov eax, dword [ebx]
mov ecx, ebx
push 1
call dword [eax]
lea ecx, [esp + 0x2c]
mov byte [esp + 0xd0], 1
call fcn.0040300e
mov eax, dword [esp + 0x18]
add esi, 0x10
cmp esi, dword [eax + 4]
jne 0x40def4
mov edi, dword [esp + 0x28]
mov ebx, dword [esp + 0x48]
push str.bundles
lea ecx, [esp + 0x64]
call fcn.00405f0d
lea eax, [esp + 0x60]
mov ecx, edi
push eax
lea eax, [esp + 0x20]
push eax
call fcn.00403037
push 0
push 1
lea ecx, [esp + 0x68]
call fcn.004062d8
mov eax, dword [esp + 0x1c]
cmp eax, dword [edi]
je 0x40e11f
cmp dword [eax + 0x28], 4
jne 0x40e11f
lea ecx, [eax + 0x28]
call fcn.00401419
mov dword [esp + 0x18], eax
mov esi, dword [eax]
cmp esi, dword [eax + 4]
je 0x40e11f
cmp dword [esi], 5
jne 0x40e10f
mov ecx, esi
call fcn.00401454
push ecx
push eax
lea ecx, [esp + 0x34]
call fcn.004032ab
push 0xe8
mov byte [esp + 0xd4], 0x10
call fcn.00414bb9
mov edi, eax
pop ecx
mov dword [esp + 0x34], edi
mov byte [esp + 0xd0], 0x11
test edi, edi
je 0x40e093
mov ecx, edi
call fcn.0040cce5
mov dword [edi], 0x42f8a8
xor eax, eax
push 0xf
mov dword [edi + 0xc8], eax
pop ecx
mov dword [edi + 0xcc], ecx
mov byte [edi + 0xb8], al
mov dword [edi + 0xe4], ecx
mov dword [edi + 0xe0], eax
mov byte [edi + 0xd0], al
mov dword [edi + 4], 2
jmp 0x40e095
xor edi, edi
lea eax, [esp + 0x2c]
mov byte [esp + 0xd0], 0x10
push eax
mov ecx, edi
call fcn.0040d074
cmp dword [edi + 0x18], 0
jbe 0x40e0f2
cmp dword [edi + 0x30], 0
jbe 0x40e0f2
cmp dword [edi + 0x98], 0
jbe 0x40e0f2
cmp dword [edi + 0xc8], 0
jbe 0x40e0f2
cmp dword [edi + 0xe0], 0
jbe 0x40e0f2
mov eax, dword [esp + 0x24]
lea ecx, [ebx + 0xd4]
mov dword [edi + 0x6c], eax
inc eax
mov dword [esp + 0x24], eax
lea eax, [esp + 0x1c]
push eax
mov dword [esp + 0x20], edi
call fcn.0040c302
jmp 0x40e0fa
mov eax, dword [edi]
mov ecx, edi
push 1
call dword [eax]
lea ecx, [esp + 0x2c]
mov byte [esp + 0xd0], 1
call fcn.0040300e
mov eax, dword [esp + 0x18]
add esi, 0x10
cmp esi, dword [eax + 4]
jne 0x40e014
mov edi, dword [esp + 0x28]
push str.default_apps
lea ecx, [esp + 0x64]
call fcn.00405f0d
lea eax, [esp + 0x60]
mov ecx, edi
push eax
lea eax, [esp + 0x20]
push eax
call fcn.00403037
push 0
push 1
lea ecx, [esp + 0x68]
call fcn.004062d8
mov eax, dword [esp + 0x1c]
cmp eax, dword [edi]
je 0x40e21a
cmp dword [eax + 0x28], 4
jne 0x40e21a
lea ecx, [eax + 0x28]
call fcn.00401419
push eax
lea ecx, [esp + 0x38]
call fcn.004011a3
push ecx
lea eax, [esp + 0x7c]
mov byte [esp + 0xd4], 0x12
push eax
lea ecx, [esp + 0x3c]
call fcn.0040172f
lea ecx, [esp + 0x90]
mov byte [esp + 0xd0], 0x13
call fcn.00407a78
push str.default_apps.json
mov edx, eax
mov byte [esp + 0xd4], 0x14
lea ecx, [esp + 0x64]
call fcn.0040e9ae
pop ecx
push 0
push 1
lea ecx, [esp + 0x98]
call fcn.004065b8
cmp dword [esp + 0x74], 8
lea eax, [esp + 0x60]
mov edx, dword [esp + 0x88]
lea ecx, [esp + 0x78]
cmovae eax, dword [esp + 0x60]
cmp dword [esp + 0x8c], 0x10
push eax
cmovae ecx, dword [esp + 0x7c]
call fcn.0040850b
pop ecx
push 0
push 1
lea ecx, [esp + 0x68]
call fcn.004065b8
push 0
push 1
lea ecx, [esp + 0x80]
call fcn.004062d8
lea ecx, [esp + 0x34]
call fcn.00401269
cmp byte [ebx + 1], 0
je 0x40e2cd
mov eax, dword [ebx + 0xd8]
xor ecx, ecx
mov esi, dword [ebx + 0xd4]
mov edi, eax
sub edi, esi
xor edx, edx
add edi, 3
shr edi, 2
cmp esi, eax
cmova edi, ecx
mov dword [esp + 0x1c], edi
test edi, edi
jmp 0x40e2bc
mov ecx, dword [esi]
mov dword [esp + 0x34], ecx
cmp dword [ecx + 4], 0xff
je 0x40e2b6
mov eax, dword [ebx + 0xe4]
mov dword [esp + 0x24], eax
mov eax, dword [ebx + 0xe0]
mov dword [esp + 0x28], eax
cmp eax, dword [esp + 0x24]
je 0x40e2b0
mov edi, dword [esp + 0x24]
lea esi, [ecx + 8]
mov ebx, eax
push esi
mov ecx, ebx
call fcn.00405b0f
test eax, eax
je 0x40e290
add ebx, 0x18
cmp ebx, edi
jne 0x40e27d
mov esi, dword [esp + 0x2c]
mov edi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x28], ebx
mov eax, dword [esp + 0x28]
mov ebx, dword [esp + 0x48]
cmp eax, dword [esp + 0x24]
setne al
mov byte [ecx + 0x68], al
add esi, 4
inc edx
cmp edx, edi
mov dword [esp + 0x18], edx
mov dword [esp + 0x2c], esi
jne 0x40e24b
jmp 0x40e2cd
mov byte [esp + 0x23], 0
push 0
push 1
lea ecx, [esp + 0xb0]
call fcn.004062d8
lea ecx, [esp + 0x4c]
call fcn.00401269
mov al, byte [esp + 0x23]
mov ecx, dword [esp + 0xc8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xb0]
xor ecx, esp
call fcn.0041453f
mov esp, ebp
pop ebp
ret 4