Function at 0x411260
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x52260c
mov eax, dword fs:[0]
push eax
sub esp, 0x4c0
mov eax, dword [0x589560]
xor eax, esp
mov dword [esp + 0x4b8], eax
push ebx
push esi
push edi
mov eax, dword [0x589560]
xor eax, esp
push eax
lea eax, [esp + 0x4d0]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov esi, ecx
mov ecx, dword [esi + 0x1e8]
test ecx, ecx
je 0x4113c7
mov eax, dword [ecx]
mov edx, dword [eax + 4]
call edx
push eax
mov eax, dword [esi]
mov edx, dword [eax + 0x14]
mov ecx, esi
call edx
push eax
call dword [sym.imp.USER32.dll_IsDlgButtonChecked]
cmp eax, 1
lea ecx, [esp + 0x278]
sete bl
mov dword [esp + method.t_reg.virtual_0], vtable.t_reg.0
call fcn.0046a650
mov eax, str.HKEY_CURRENT_USER
lea edx, [esp + 0x278]
mov dword [esp + 0x270], 0
mov dword [esp + 0x274], 0x80000001
call fcn.0046a7f0
push 1
push 1
push str.SOFTWARESogouInput
push edi
lea ecx, [esp + 0x27c]
mov dword [esp + 0x4e8], 0
call fcn.00473f60
test al, al
je 0x41135d
push str.UpUseBT
movzx eax, bl
push edi
lea ecx, [esp + 0x274]
mov edx, 4
mov dword [esp + 0x1c], eax
push ecx
mov eax, edx
lea ecx, [esp + 0x20]
call fcn.00474320
test al, al
jne 0x411364
mov ecx, edi
call fcn.00470c90
mov dword [esp + 0x4d8], 0xffffffff
mov eax, dword [esp + 0x270]
test eax, eax
mov dword [esp + method.t_reg.virtual_0], vtable.t_reg.0
je 0x41138c
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp byte [esp + 0x394], 0
mov dword [esp + 0x270], 0
mov dword [esp + method.t_str.virtual_0], vtable.t_str.0
jne 0x4113c7
mov eax, dword [esp + 0x280]
lea edx, [esp + 0x284]
cmp eax, edx
je 0x4113c7
push eax
call fcn.004fdda1
add esp, 4
mov eax, dword [ebp + 0xc]
lea ecx, [esi + 0x3c]
mov dword [esi + 0x40], eax
mov edx, dword [ecx + 8]
push edx
push edi
call fcn.0040f410
cmp dword [esi + 0x1e4], 0
je 0x411617
lea ecx, [esp + 0x148]
mov dword [esp + method.t_reg.virtual_0], vtable.t_reg.0
call fcn.0046a650
mov eax, str.HKEY_CURRENT_USER
lea edx, [esp + 0x148]
mov dword [esp + 0x140], 0
mov dword [esp + 0x144], 0x80000001
call fcn.0046a7f0
push 1
push 1
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push edi
lea ecx, [esp + 0x14c]
mov dword [esp + 0x4e8], 1
call fcn.00473f60
test al, al
je 0x4115b8
mov ecx, dword [esi + 0x1e4]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
call edx
push eax
mov eax, dword [esi]
mov edx, dword [eax + 0x14]
mov ecx, esi
call edx
push eax
call dword [sym.imp.USER32.dll_IsDlgButtonChecked]
cmp eax, 1
jne 0x4115a7
lea ecx, [esp + 0x39c]
call fcn.0046da30
lea eax, [esp + 0x39c]
push eax
mov ebx, 2
push str.UserManager
mov byte [esp + 0x4e0], bl
call fcn.00407970
add esp, 4
mov ecx, eax
call fcn.0040f010
lea ecx, [esp + 0x18]
call fcn.0046a650
mov eax, str.Preloader.exe
lea edx, [esp + 0x18]
call fcn.0046a7f0
mov byte [esp + 0x4d8], bl
cmp byte [esp + 0x134], 0
lea eax, [esp + 0x24]
jne 0x4114d9
mov eax, dword [esp + 0x20]
cmp word [eax + 4], 0x2e
lea esi, [esp + 0x39c]
jne 0x4114f2
lea ecx, [esp + 0x18]
call fcn.0046ed90
jmp 0x4114fb
lea eax, [esp + 0x18]
call fcn.0046e110
cmp byte [esp + 0x134], 0
mov dword [esp + 0x18], vtable.t_str.0
jne 0x411522
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x24]
cmp eax, ecx
je 0x411522
push eax
call fcn.004fdda1
add esp, 4
cmp byte [esp + 0x4b8], 0
lea eax, [esp + 0x3a8]
jne 0x41153a
mov eax, dword [esp + 0x3a4]
lea ecx, [eax + 4]
mov eax, ecx
lea esi, [eax + 2]
mov dx, word [eax]
add eax, ebx
test dx, dx
jne 0x411542
push str.SogouPyPreloader
sub eax, esi
push edi
lea edx, [esp + 0x144]
sar eax, 1
push edx
add eax, eax
mov edx, 1
call fcn.00474320
test al, al
jne 0x411575
mov ecx, edi
call fcn.00470870
cmp byte [esp + 0x4b8], 0
mov dword [esp + method.t_str.virtual_0], vtable.t_str.0
jne 0x4115bf
mov eax, dword [esp + 0x3a4]
lea ecx, [esp + 0x3a8]
cmp eax, ecx
je 0x4115bf
push eax
call fcn.004fdda1
add esp, 4
jmp 0x4115bf
push edi
lea eax, [esp + 0x140]
call fcn.00474500
test al, al
jne 0x4115bf
mov ecx, edi
call fcn.00470870
mov eax, dword [esp + 0x140]
test eax, eax
mov dword [esp + method.t_reg.virtual_0], vtable.t_reg.0
je 0x4115dc
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp byte [esp + 0x264], 0
mov dword [esp + 0x140], 0
mov dword [esp + method.t_str.virtual_0], vtable.t_str.0
jne 0x411617
mov eax, dword [esp + 0x150]
lea edx, [esp + 0x154]
cmp eax, edx
je 0x411617
push eax
call fcn.004fdda1
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x4d0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x4b8]
xor ecx, esp
call fcn.004fe05a
mov esp, ebp
pop ebp
ret 8