Function at 0x406820
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b46cf
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x4d57fc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x64], eax
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x68], 0
cmp byte [eax + 0x494], 0
je 0x40687f
mov edi, dword [eax + 0xc]
mov eax, dword [edi]
mov esi, dword [eax + 0x20]
mov ecx, esi
call dword [0x4b9328]
mov ecx, edi
call esi
mov byte [ebp - 0x59], 0
test al, al
je 0x406883
mov byte [ebp - 0x59], 1
mov eax, dword [ebp - 0x64]
cmp byte [eax + 0x494], 0
je 0x4068ab
mov edi, dword [eax + 0xc]
mov eax, dword [edi]
mov esi, dword [eax + 0x24]
mov ecx, esi
call dword [0x4b9328]
mov ecx, edi
call esi
mov byte [ebp - 0x5a], 0
test al, al
je 0x4068af
mov byte [ebp - 0x5a], 1
mov edi, dword [ebp - 0x64]
mov byte [ebp - 0x60], 1
mov esi, dword [edi + 0x14]
test esi, esi
je 0x4068d6
nop dword [eax]
push ebx
mov ecx, esi
call fcn.0040ab40
test al, al
jne 0x4068d8
mov esi, dword [esi + 0xa4]
test esi, esi
jne 0x4068c0
xor esi, esi
mov edi, dword [edi + 0x14]
test edi, edi
je 0x4068f6
nop
push ebx
mov ecx, edi
call fcn.0040ab60
test al, al
jne 0x4068f8
mov edi, dword [edi + 0xa4]
test edi, edi
jne 0x4068e0
xor edi, edi
test esi, esi
je 0x406a50
mov eax, dword [esi + 0x9c]
cmp eax, 5
jne 0x4069b7
cmp byte [ebp - 0x59], 0
je 0x40693f
push ebx
lea ecx, [ebp - 0x28]
call fcn.00403830
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
push eax
mov ecx, esi
mov dword [ebp - 0x68], 1
call fcn.0040b080
mov byte [ebp - 0x59], 1
test al, al
je 0x406943
mov byte [ebp - 0x59], 0
test byte [ebp - 0x68], 1
mov dword [ebp - 4], 0xffffffff
je 0x406958
lea ecx, [ebp - 0x28]
call fcn.00402420
cmp byte [ebp - 0x59], 0
je 0x406996
push ebx
push str.Failed_to_load_library__ls
push 2
push 0xda
mov ecx, dword [ebp - 0x64]
lea eax, [ebp - 0x20]
push eax
mov byte [ebp - 0x14], 0
mov dword [ebp - 0x18], 0x7070632e
push dword [ecx + 4]
mov dword [ebp - 0x1c], 0x74736f48
mov dword [ebp - 0x20], 0x63764e5c
call fcn.0041eb00
add esp, 0x18
mov eax, dword [ebp - 0x60]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00461564
mov esp, ebp
pop ebp
ret 4
cmp eax, 2
jne 0x406996
mov ecx, esi
call fcn.0040aff0
test al, al
je 0x406a07
cmp byte [ebp - 0x5a], 0
je 0x406a07
mov ecx, dword [ebp - 0x64]
lea eax, [esi + 0x58]
push eax
push str.Plugin__s_is_now_disabled_in_config
push 3
push 0xe1
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0x63764e5c
push eax
push dword [ecx + 4]
mov dword [ebp - 0x1c], 0x74736f48
mov dword [ebp - 0x18], 0x7070632e
mov byte [ebp - 0x14], 0
call fcn.0041e8a0
jmp 0x406993
mov ecx, dword [ebp - 0x64]
lea eax, [esi + 0x58]
push eax
push str.Mark_plugin__s_as_verified
push 3
push 0xe5
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0x63764e5c
push eax
push dword [ecx + 4]
mov dword [ebp - 0x1c], 0x74736f48
mov dword [ebp - 0x18], 0x7070632e
mov byte [ebp - 0x14], 0
call fcn.0041e8a0
mov eax, dword [esi + 0xa0]
mov dword [esi + 0x9c], eax
jmp 0x406993
test edi, edi
je 0x406b76
cmp dword [edi + 0x9c], 5
jne 0x406ac6
cmp byte [ebp - 0x59], 0
je 0x406a91
push ebx
lea ecx, [ebp - 0x28]
call fcn.00403830
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 1
push eax
mov ecx, edi
mov dword [ebp - 0x68], 2
call fcn.0040b080
mov byte [ebp - 0x5a], 1
test al, al
je 0x406a95
mov byte [ebp - 0x5a], 0
test byte [ebp - 0x68], 2
mov dword [ebp - 4], 0xffffffff
je 0x406aaa
lea ecx, [ebp - 0x28]
call fcn.00402420
cmp byte [ebp - 0x5a], 0
je 0x406996
push ebx
push str.Failed_to_load_library__ls
push 2
push 0xf3
jmp 0x40696b
mov esi, dword [ebp - 0x64]
add edi, 0x58
push edi
mov dword [ebp - 0x20], 0x63764e5c
mov dword [ebp - 0x1c], 0x74736f48
mov eax, dword [esi + 4]
mov dword [ebp - 0x68], eax
lea eax, [ebp - 0x40]
push eax
mov dword [ebp - 0x18], 0x7070632e
mov byte [ebp - 0x14], 0
call fcn.00405610
add esp, 8
cmp dword [eax + 0x14], 8
mov dword [ebp - 4], 2
jb 0x406b07
mov eax, dword [eax]
push eax
push ebx
push str.Failing_loading_of_plugin_from__ls_because_of_existing_plugin__ls
push 1
push 0xfc
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0x68]
call fcn.0041eb00
add esp, 0x1c
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.00402420
lea eax, [ebp - 0x40]
push edi
push eax
call fcn.00405610
add esp, 8
cmp dword [eax + 0x14], 8
mov dword [ebp - 4], 3
jb 0x406b4f
mov eax, dword [eax]
push eax
push ebx
push str.Failing_loading_of_plugin_from__ls_because_of_existing_plugin__ls
push 0x1e
call fcn.004073d0
add esp, 0x10
lea ecx, [ebp - 0x40]
call fcn.00402420
xor al, al
mov byte [esi + 0x124], 1
jmp 0x406999
cmp byte [ebp - 0x59], 0
je 0x406996
push ebx
lea ecx, [ebp - 0x58]
call fcn.00403830
mov ecx, dword [ebp - 0x64]
lea eax, [ebp - 0x58]
push eax
mov dword [ebp - 4], 4
call fcn.00404960
lea ecx, [ebp - 0x58]
mov esi, eax
call fcn.00402420
mov eax, dword [ebp - 0x60]
xor ecx, ecx
cmp esi, 1
movzx eax, al
cmove eax, ecx
jmp 0x406999