Function at 0x40141b
Capabilities:
Link many functions at runtime
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x2004]
mov eax, 0x2004
call fcn.00406be0
push 0xffffffffffffffff
push 0x407bde
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x40c148]
xor eax, ebp
mov dword [ebp + 0x2000], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
call fcn.0040424c
neg eax
sbb eax, eax
xor esi, esi
xor ebx, ebx
inc ebx
neg eax
push 4
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x20], ebx
pop edi
cmp dword [ebp + 0x200c], ebx
jle 0x401921
mov eax, dword [ebp + 0x2010]
mov ecx, dword [ebp - 0x20]
mov ebx, dword [eax + ecx*4]
mov ecx, str._new
mov eax, ebx
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4014d5
cmp dx, si
je 0x4014d1
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4014d5
add eax, edi
add ecx, edi
cmp dx, si
jne 0x4014b1
xor eax, eax
jmp 0x4014da
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, esi
jne 0x4014ea
mov dword [ebp - 0x24], 1
jmp 0x4017ba
mov ecx, str._old
mov eax, ebx
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x401515
cmp dx, si
je 0x401511
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x401515
add eax, edi
add ecx, edi
cmp dx, si
jne 0x4014f1
xor eax, eax
jmp 0x40151a
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, esi
jne 0x401531
call fcn.0040424c
neg eax
sbb eax, eax
neg eax
mov dword [ebp - 0x24], eax
jmp 0x4017ba
mov ecx, str._high
mov eax, ebx
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x40155c
cmp dx, si
je 0x401558
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x40155c
add eax, edi
add ecx, edi
cmp dx, si
jne 0x401538
xor eax, eax
jmp 0x401561
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, esi
jne 0x401571
mov dword [ebp - 0x3c], 1
jmp 0x4017ba
mov ecx, str._jpisetup
mov eax, ebx
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x40159c
cmp dx, si
je 0x401598
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x40159c
add eax, edi
add ecx, edi
cmp dx, si
jne 0x401578
xor eax, eax
jmp 0x4015a1
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, esi
jne 0x4015b1
mov dword [ebp - 0x34], 1
jmp 0x4017ba
mov ecx, str._settreatas
mov eax, ebx
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4015dc
cmp dx, si
je 0x4015d8
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4015dc
add eax, edi
add ecx, edi
cmp dx, si
jne 0x4015b8
xor eax, eax
jmp 0x4015e1
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, esi
jne 0x4015f1
mov dword [ebp - 0x44], 1
jmp 0x4017ba
mov ecx, str._fullreg
mov eax, ebx
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x40161c
cmp dx, si
je 0x401618
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x40161c
add eax, edi
add ecx, edi
cmp dx, si
jne 0x4015f8
xor eax, eax
jmp 0x401621
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, esi
jne 0x401631
mov dword [ebp - 0x30], 1
jmp 0x4017ba
mov ecx, str._regdeploy
mov eax, ebx
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x40165c
cmp dx, si
je 0x401658
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x40165c
add eax, edi
add ecx, edi
cmp dx, si
jne 0x401638
xor eax, eax
jmp 0x401661
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, esi
jne 0x401671
mov dword [ebp - 0x38], 1
jmp 0x4017ba
mov ecx, str._register
mov eax, ebx
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x40169c
cmp dx, si
je 0x401698
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x40169c
add eax, edi
add ecx, edi
cmp dx, si
jne 0x401678
xor eax, eax
jmp 0x4016a1
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, esi
jne 0x4016b1
mov dword [ebp - 0x28], 1
jmp 0x4017ba
mov ecx, str._disablewebjava
mov eax, ebx
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4016dc
cmp dx, si
je 0x4016d8
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4016dc
add eax, edi
add ecx, edi
cmp dx, si
jne 0x4016b8
xor eax, eax
jmp 0x4016e1
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, esi
jne 0x4016f1
mov dword [ebp - 0x1c], 1
jmp 0x4017ba
mov ecx, str._forceinstall
mov eax, ebx
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x40171c
cmp dx, si
je 0x401718
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x40171c
add eax, edi
add ecx, edi
cmp dx, si
jne 0x4016f8
xor eax, eax
jmp 0x401721
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, esi
jne 0x401731
mov dword [ebp - 0x2c], 1
jmp 0x4017ba
mov ecx, str._nohint
mov eax, ebx
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x40175c
cmp dx, si
je 0x401758
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x40175c
add eax, edi
add ecx, edi
cmp dx, si
jne 0x401738
xor eax, eax
jmp 0x401761
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, esi
jne 0x40176e
mov dword [ebp - 0x40], 1
jmp 0x4017ba
mov ecx, str._doHKCUSSVSetup
mov eax, ebx
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x401799
cmp dx, si
je 0x401795
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x401799
add eax, edi
add ecx, edi
cmp dx, si
jne 0x401775
xor eax, eax
jmp 0x40179e
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, esi
jne 0x4019c9
cmp dword [ebp + 0x200c], 2
mov dword [ebp - 0x14], 1
jne 0x4019c9
inc dword [ebp - 0x20]
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebp + 0x200c]
jl 0x40149e
cmp dword [ebp - 0x14], esi
je 0x40191e
lea eax, [ebp - 0x20]
push eax
push 0x20019
push esi
xor edi, edi
push str.SOFTWAREOracleJavaDeploy
inc edi
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x24], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x401800
mov eax, edi
jmp 0x401cd5
xor eax, eax
push 0xffe
mov word [ebp], ax
lea eax, [ebp + 2]
push esi
push eax
mov dword [ebp - 0x30], 0x800
call sub.MSVCR100.dll_memset
add esp, 0xc
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp]
push eax
lea eax, [ebp - 0x34]
push eax
push esi
push str.deployment.home.bin.ssvagent
push dword [ebp - 0x20]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x20]
test eax, eax
je 0x401849
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4017f9
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x28]
call fcn.00401f01
push 0x4086c8
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], esi
call fcn.00401eb4
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.00404095
mov ecx, dword [ebp - 0x14]
cmp ecx, esi
je 0x401887
call fcn.004038f6
mov eax, dword [ebp - 0x28]
mov byte [ebp - 4], 2
cmp eax, esi
je 0x401896
mov eax, dword [eax]
jmp 0x401898
xor eax, eax
push eax
call dword [sym.imp.kernel32.dll_LoadLibraryW]
mov edi, eax
mov dword [ebp - 0x14], edi
cmp edi, esi
je 0x4018f0
mov esi, dword [sym.imp.kernel32.dll_GetProcAddress]
push 0x4086d4
push edi
call esi
test eax, eax
je 0x4018cc
push 0
push 0
call eax
pop ecx
pop ecx
xor ecx, ecx
test eax, eax
setne cl
mov dword [ebp - 0x24], ecx
push 0x4086f4
push edi
call esi
test eax, eax
je 0x4018f0
xor esi, esi
push esi
push esi
call eax
pop ecx
pop ecx
cmp dword [ebp - 0x24], esi
je 0x401913
cmp eax, esi
je 0x401913
mov dword [ebp - 0x24], 1
cmp dword [ebp - 0x14], 0
je 0x4018ff
push dword [ebp - 0x14]
call dword [sym.imp.kernel32.dll_FreeLibrary]
mov ecx, dword [ebp - 0x28]
test ecx, ecx
je 0x40190b
call fcn.004038f6
mov eax, dword [ebp - 0x24]
jmp 0x401cd5
mov dword [ebp - 0x24], esi
jmp 0x4018f0
xor ebx, ebx
inc ebx
xor eax, eax
push 0xffe
mov word [ebp + 0x1000], ax
lea eax, [ebp + 0x1002]
push esi
push eax
mov dword [ebp - 0x20], ebx
call sub.MSVCR100.dll_memset
push 0x800
lea eax, [ebp + 0x1000]
push eax
push ebx
push esi
call fcn.004077a1
add esp, 0x1c
test eax, eax
jne 0x401960
mov eax, ebx
jmp 0x401cd5
lea eax, [ebp + 0x1000]
push eax
lea ecx, [ebp - 0x18]
call fcn.00401f01
push str.deploy.dll
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], edi
call fcn.00401f01
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 5
call fcn.00404095
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 4
cmp ecx, esi
je 0x40199f
call fcn.004038f6
mov eax, dword [ebp - 0x18]
cmp eax, esi
je 0x4019aa
mov eax, dword [eax]
jmp 0x4019ac
xor eax, eax
mov ebx, dword [sym.imp.kernel32.dll_LoadLibraryW]
push eax
call ebx
mov edi, eax
xor esi, esi
cmp edi, esi
jne 0x4019d1
mov ecx, dword [ebp - 0x18]
cmp ecx, esi
je 0x4019c9
call fcn.004038f6
xor eax, eax
inc eax
jmp 0x401cd5
cmp dword [ebp - 0x1c], esi
je 0x401a4d
push str.UnregisterDeployEx
push edi
call dword [sym.imp.kernel32.dll_GetProcAddress]
cmp eax, esi
je 0x4019bd
mov dword [ebp - 0x78], 0x34
mov dword [ebp - 0x74], 4
mov dword [ebp - 0x68], esi
mov dword [ebp - 0x60], esi
mov dword [ebp - 0x5c], esi
mov dword [ebp - 0x58], esi
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x48], esi
mov dword [ebp - 0x6c], 2
mov dword [ebp - 0x64], 1
push 0
cmp dword [ebp - 0x40], esi
je 0x401a25
push 0
jmp 0x401a29
lea ecx, [ebp - 0x78]
push ecx
call eax
pop ecx
pop ecx
push edi
mov esi, eax
call dword [sym.imp.kernel32.dll_FreeLibrary]
mov ecx, dword [ebp - 0x18]
test esi, esi
je 0x401a6c
test ecx, ecx
je 0x401a46
call fcn.004038f6
xor eax, eax
jmp 0x401cd5
cmp dword [ebp - 0x38], esi
jne 0x401a57
cmp dword [ebp - 0x28], esi
je 0x401ace
mov esi, dword [sym.imp.kernel32.dll_GetProcAddress]
push str.RegisterDeployEx
push edi
call esi
test eax, eax
jne 0x401a73
mov ecx, dword [ebp - 0x18]
test ecx, ecx
jmp 0x4019c2
cmp dword [ebp - 0x2c], 0
je 0x401ab1
xor ecx, ecx
xor edx, edx
push ecx
mov dword [ebp - 0x68], ecx
mov dword [ebp - 0x60], ecx
mov dword [ebp - 0x5c], ecx
mov dword [ebp - 0x58], ecx
mov dword [ebp - 0x54], ecx
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x48], ecx
inc edx
lea ecx, [ebp - 0x78]
mov dword [ebp - 0x78], 0x34
mov dword [ebp - 0x74], 4
mov dword [ebp - 0x6c], edx
mov dword [ebp - 0x64], edx
push ecx
jmp 0x401ab5
push 0
push 0
call eax
pop ecx
pop ecx
push edi
call dword [sym.imp.kernel32.dll_FreeLibrary]
cmp dword [ebp - 0x28], 0
jne 0x401ad4
mov ecx, dword [ebp - 0x18]
jmp 0x401a3d
mov esi, dword [sym.imp.kernel32.dll_GetProcAddress]
push 0x400
lea eax, [ebp + 0x1000]
push eax
push 1
push 0
call fcn.004077a1
add esp, 0x10
cmp eax, 1
jne 0x401cc6
lea eax, [ebp + 0x1000]
push eax
lea ecx, [ebp - 0x1c]
call fcn.00401f01
cmp dword [ebp - 0x24], 0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x2c]
je 0x401b21
push str.jp2ssv.dll
call fcn.00401f01
mov byte [ebp - 4], 7
jmp 0x401b2f
push str._ssv.dll
call fcn.00401f01
mov byte [ebp - 4], 8
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x1c]
call fcn.00404095
mov ecx, dword [ebp - 0x2c]
test ecx, ecx
je 0x401b47
call fcn.004038f6
mov eax, dword [ebp - 0x1c]
mov byte [ebp - 4], 9
test eax, eax
je 0x401b56
mov eax, dword [eax]
jmp 0x401b58
xor eax, eax
push eax
call ebx
mov ebx, eax
mov dword [ebp - 0x14], ebx
test ebx, ebx
je 0x401cab
xor edi, edi
mov dword [ebp - 0x20], edi
cmp dword [ebp - 0x3c], edi
je 0x401d07
cmp dword [ebp - 0x44], edi
jne 0x401b80
cmp dword [ebp - 0x28], edi
je 0x401bbf
push str.UpdateTreatAsKey
push ebx
call esi
cmp eax, edi
jne 0x401ba2
mov ecx, dword [ebp - 0x1c]
cmp ecx, edi
je 0x401b98
call fcn.004038f6
mov ecx, dword [ebp - 0x18]
cmp ecx, edi
jmp 0x4019c2
call eax
cmp dword [ebp - 0x28], edi
jne 0x401bbf
mov ecx, dword [ebp - 0x1c]
cmp ecx, edi
je 0x401bb5
call fcn.004038f6
mov ecx, dword [ebp - 0x18]
cmp ecx, edi
jmp 0x401a3f
push 0x4087d0
push ebx
call esi
cmp eax, edi
je 0x401bd8
push edi
call eax
pop ecx
cmp eax, edi
je 0x401bd8
xor edi, edi
inc edi
jmp 0x401bda
xor edi, edi
call fcn.004044d0
xor ebx, ebx
test eax, eax
jne 0x401be9
cmp edi, ebx
je 0x401c18
push 0x4087ec
push dword [ebp - 0x14]
call esi
cmp eax, ebx
jne 0x401c0d
mov ecx, dword [ebp - 0x1c]
cmp ecx, ebx
je 0x401c03
call fcn.004038f6
mov ecx, dword [ebp - 0x18]
cmp ecx, ebx
jmp 0x4019c2
xor edi, edi
inc edi
push ebx
push edi
call eax
pop ecx
pop ecx
jmp 0x401c1b
xor edi, edi
inc edi
cmp dword [ebp - 0x24], ebx
jne 0x401c55
push str.IsSSVEnabledInMozilla
push dword [ebp - 0x14]
call esi
cmp eax, ebx
jne 0x401c4f
mov ecx, dword [ebp - 0x1c]
cmp ecx, ebx
je 0x401c3a
call fcn.004038f6
mov ecx, dword [ebp - 0x18]
cmp ecx, ebx
je 0x4017f9
call fcn.004038f6
jmp 0x4017f9
call eax
cmp eax, ebx
je 0x401c65
push str.RemoveAllMozillaJavaPlugins
push dword [ebp - 0x14]
call esi
cmp eax, ebx
je 0x401c2e
call eax
cmp dword [ebp - 0x34], ebx
je 0x401ca1
xor eax, eax
cmp dword [ebp - 0x24], edi
sete al
push eax
call fcn.00401189
pop ecx
test eax, eax
jne 0x401c2e
cmp dword [ebp - 0x30], ebx
jne 0x401c89
push 0x408844
jmp 0x401c8e
push 0x408868
push dword [ebp - 0x14]
call esi
cmp eax, ebx
je 0x401c2e
push ebx
push ebx
call eax
pop ecx
pop ecx
cmp eax, ebx
je 0x401c2e
cmp dword [ebp - 0x24], ebx
je 0x401cf8
call fcn.00401173
cmp dword [ebp - 0x14], 0
je 0x401cba
push dword [ebp - 0x14]
call dword [sym.imp.kernel32.dll_FreeLibrary]
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x401cc6
call fcn.004038f6
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x401cd2
call fcn.004038f6
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x2000]
xor ecx, ebp
call fcn.00406b00
add ebp, 0x2004
leave
ret
lea eax, [ebp + 0x1000]
push eax
call fcn.0040134a
pop ecx
jmp 0x401cab
push str.RegKeyBranchNeedsUpdating
push ebx
call esi
cmp eax, edi
je 0x401b8c
xor ebx, ebx
push ebx
call eax
pop ecx
push str.CheckMozJavaPlugins
push dword [ebp - 0x14]
mov edi, eax
call esi
cmp eax, ebx
je 0x401bf7
cmp edi, ebx
jne 0x401d6d
call eax
cmp eax, ebx
jne 0x401d6d
push str.RedirectAllStaticVersionKeys
push dword [ebp - 0x14]
call esi
cmp eax, ebx
je 0x401bf7
push ebx
push ebx
call eax
pop ecx
pop ecx
push str.RedirectSelectedStaticVersionKeys
push dword [ebp - 0x14]
call esi
cmp eax, ebx
je 0x401bf7
push ebx
push ebx
call eax
pop ecx
pop ecx
jmp 0x401d8e
push str.RunBrokerProcess
push dword [ebp - 0x14]
call esi
cmp eax, ebx
je 0x401bf7
push ebx
push ebx
push ebx
push edi
push 1
push dword [ebp - 0x24]
push ebx
call eax
add esp, 0x1c
xor ecx, ecx
cmp eax, ebx
sete cl
mov dword [ebp - 0x20], ecx
jmp 0x401cab