Function at 0x4013fa
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
lea ebp, [esp - 0x1004]
mov eax, 0x1004
call fcn.00406ad0
push 0xfffffffffffffffe
push 0x40a670
push 0x4069c7
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x40c150]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp + 0x1000], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x1010]
mov dword [ebp - 0x40], eax
xor ebx, ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], ebx
xor eax, eax
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp + 0x100c], eax
jle 0x40154c
mov edi, dword [sym.imp.MSVCR100.dll__mbscmp]
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x28]
lea esi, [eax + ecx*4]
mov eax, dword [esi]
push str._new
push eax
call edi
pop ecx
pop ecx
test eax, eax
jne 0x401499
mov dword [ebp - 0x20], 1
jmp 0x40153a
mov eax, dword [esi]
push str._old
push eax
call edi
pop ecx
pop ecx
test eax, eax
jne 0x4014b1
mov dword [ebp - 0x20], ebx
jmp 0x40153a
mov eax, dword [esi]
push str._high
push eax
call edi
pop ecx
pop ecx
test eax, eax
jne 0x4014ca
mov dword [ebp - 0x3c], 1
jmp 0x40153a
mov eax, dword [esi]
push str._jpisetup
push eax
call edi
pop ecx
pop ecx
test eax, eax
jne 0x4014e3
mov dword [ebp - 0x34], 1
jmp 0x40153a
mov eax, dword [esi]
push str._settreatas
push eax
call edi
pop ecx
pop ecx
test eax, eax
jne 0x4014fc
mov dword [ebp - 0x38], 1
jmp 0x40153a
mov eax, dword [esi]
push str._enablefx
push eax
call edi
pop ecx
pop ecx
test eax, eax
jne 0x40151a
cmp dword [ebp - 0x30], ebx
jne 0x40153a
mov dword [ebp - 0x2c], 1
jmp 0x40153a
mov esi, dword [esi]
push str._disablefx
push esi
call edi
pop ecx
pop ecx
test eax, eax
jne 0x401666
cmp dword [ebp - 0x30], ebx
jne 0x40153a
mov dword [ebp - 0x30], 1
inc dword [ebp - 0x28]
mov eax, dword [ebp - 0x28]
cmp eax, dword [ebp + 0x100c]
jl 0x401474
xor esi, esi
inc esi
mov dword [ebp - 0x24], esi
mov byte [ebp], bl
mov edi, 0x7ff
push edi
push ebx
lea eax, [ebp + 1]
push eax
call sub.MSVCR100.dll_memset
mov byte [ebp + 0x800], bl
push edi
push ebx
lea eax, [ebp + 0x801]
push eax
call sub.MSVCR100.dll_memset
add esp, 0x18
mov dword [ebp - 0x1c], ebx
cmp dword [ebp - 0x30], ebx
jne 0x4015a3
cmp dword [ebp - 0x2c], ebx
jne 0x4015a3
push 0x400
lea eax, [ebp + 0x800]
push eax
push esi
push ebx
call fcn.004044ac
add esp, 0x10
mov edi, eax
jmp 0x4015d6
push dword [ebp - 0x2c]
push 0x400
lea eax, [ebp + 0x800]
push eax
call fcn.00404ea5
add esp, 0xc
mov edi, eax
cmp edi, ebx
je 0x4015d6
push dword [ebp - 0x2c]
call fcn.00405122
lea eax, [ebp + 0x800]
push eax
call fcn.004059af
pop ecx
pop ecx
cmp edi, 1
jne 0x4017b2
lea eax, [ebp + 0x800]
push eax
mov edi, 0x800
push edi
lea eax, [ebp]
push eax
call dword [sym.imp.MSVCR100.dll_strcpy_s]
add esp, 0xc
lea eax, [ebp]
cmp dword [ebp - 0x20], ebx
je 0x401608
push 0x40842c
jmp 0x40160d
push str._ssv.dll
push edi
push eax
call dword [sym.imp.MSVCR100.dll_strcat_s]
add esp, 0xc
mov dword [ebp - 4], ebx
lea eax, [ebp]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 0x1c], eax
cmp eax, ebx
je 0x4017a6
xor esi, esi
mov dword [ebp - 0x24], esi
cmp dword [ebp - 0x3c], ebx
je 0x40172a
cmp dword [ebp - 0x38], ebx
je 0x40168a
push str.UpdateTreatAsKey
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
jne 0x40166e
push 0xfffffffffffffffe
lea eax, [ebp - 0x10]
push eax
push 0x40c150
call sub.MSVCR100.dll__local_unwind4
add esp, 0xc
xor eax, eax
inc eax
jmp 0x4017b4
call eax
push 0xfffffffffffffffe
lea eax, [ebp - 0x10]
push eax
push 0x40c150
call sub.MSVCR100.dll__local_unwind4
add esp, 0xc
xor eax, eax
jmp 0x4017b4
push 0x408458
push eax
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
call edi
cmp eax, ebx
je 0x401653
push ebx
push 1
call eax
pop ecx
pop ecx
xor eax, eax
inc eax
cmp dword [ebp - 0x20], ebx
jne 0x4016bb
push str.IsSSVEnabledInMozilla
push dword [ebp - 0x1c]
call edi
cmp eax, ebx
je 0x401653
call eax
cmp eax, ebx
je 0x4016cf
push str.RemoveAllMozillaJavaPlugins
push dword [ebp - 0x1c]
call edi
cmp eax, ebx
je 0x401653
call eax
cmp dword [ebp - 0x34], ebx
je 0x40170c
xor eax, eax
cmp dword [ebp - 0x20], 1
sete al
push eax
call fcn.00401234
pop ecx
test eax, eax
jne 0x401653
push 0x4084b0
push dword [ebp - 0x1c]
call edi
cmp eax, ebx
je 0x401653
push ebx
push ebx
call eax
pop ecx
pop ecx
test eax, eax
je 0x401653
cmp dword [ebp - 0x20], ebx
je 0x40171b
call fcn.00401144
jmp 0x4017a6
lea eax, [ebp + 0x800]
push eax
call fcn.0040115a
pop ecx
jmp 0x4017a6
push str.RegKeyBranchNeedsUpdating
push eax
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
call esi
cmp eax, ebx
je 0x401653
push ebx
call eax
mov edi, eax
mov dword [esp], str.CheckMozJavaPlugins
push dword [ebp - 0x1c]
call esi
cmp eax, ebx
je 0x401653
cmp edi, ebx
jne 0x40177d
call eax
test eax, eax
jne 0x40177d
push str.RedirectSelectedStaticVersionKeys
push dword [ebp - 0x1c]
call esi
cmp eax, ebx
je 0x401653
push ebx
push ebx
call eax
pop ecx
pop ecx
jmp 0x40179c
push str.RunBrokerProcess
push dword [ebp - 0x1c]
call esi
cmp eax, ebx
je 0x401653
push ebx
push edi
push 1
push dword [ebp - 0x20]
push ebx
call eax
add esp, 0x14
mov esi, eax
neg esi
sbb esi, esi
inc esi
mov dword [ebp - 0x24], esi
mov dword [ebp - 4], 0xfffffffe
call fcn.004017dc
mov eax, esi
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x1000]
xor ecx, ebp
call fcn.00406ab9
add ebp, 0x1004
leave
ret