Function at 0x415eb0
Capabilities:
Check if file exists
Get file attributes
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e0581
mov eax, dword fs:[0]
push eax
sub esp, 0x398
mov eax, dword [0x513200]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 0x208
push 0
push edi
call fcn.0048bb90
add esp, 0xc
mov dword [ebp - method.t_reg.virtual_0], vtable.t_reg.0
lea ecx, [ebp - 0x264]
call fcn.00403480
push str.MACHINE
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x270]
call fcn.00423d10
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x134]
mov dword [ebp - method.t_reg.virtual_0], vtable.t_reg.0
call fcn.00403480
push 0xd
lea ecx, [ebp - 0x12c]
mov dword [ebp - 0x13c], 0
mov dword [ebp - 0x138], SysReAllocString
mov dword [ebp - 0x130], 0xc
call fcn.004056f0
cmp byte [ebp - 0x18], 0
lea eax, [ebp - 0x128]
push 0x1a
cmove eax, dword [ebp - 0x12c]
add eax, 4
push str.CURRENT_USER
push eax
call fcn.0048b610
add esp, 0xc
mov byte [ebp - 0x398], 0
mov dword [ebp - 0x39c], 0
push 1
push 0
push 0
push str.SoftwareSogouExplorer
lea eax, [ebp - 0x39c]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x270]
call fcn.00423fd0
test al, al
jne 0x415fe7
push 1
push 0
push 0
push str.SoftwareSogouExplorer
lea eax, [ebp - 0x39c]
push eax
lea ecx, [ebp - 0x140]
call fcn.00423fd0
test al, al
je 0x4160a3
lea esi, [ebp - 0x140]
jmp 0x415fed
lea esi, [ebp - 0x270]
lea eax, [ebp - 0x3a4]
mov dword [ebp - 0x3a0], 0
push eax
push edi
lea eax, [ebp - 0x3a0]
mov dword [ebp - 0x3a4], 0x208
push eax
push 0
push 0
push dword [esi + 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x416067
cmp byte [esi + 0x128], 0
lea edi, [esi + 0x18]
jne 0x416030
mov edi, dword [esi + 0x14]
push eax
lea ecx, [ebp - 0x39c]
call fcn.004272c0
push 0x4ff5c8
mov esi, eax
push 0x4fc47c
push esi
call fcn.004048f0
lea ecx, [edi + 4]
push ecx
push 0x4fc47c
push esi
call fcn.004048f0
add esp, 0x18
xor esi, esi
jmp 0x416123
cmp dword [ebp - 0x3a0], 1
je 0x4160a7
cmp byte [esi + 0x128], 0
je 0x41607e
add esi, 0x18
jmp 0x416081
mov esi, dword [esi + 0x14]
push 0x4ff5d8
lea ecx, [ebp - 0x39c]
call fcn.004058b0
lea ecx, [esi + 4]
push ecx
push 0x4fc47c
push eax
call fcn.004048f0
add esp, 0xc
xor esi, esi
jmp 0x416123
push str.SogouExplorer.exe
push 0x104
push edi
call fcn.004b5238
push ecx
push 0
push edi
lea ecx, [ebp - 0x394]
call fcn.0040e650
cmp byte [ebp - 0x278], 0
lea eax, [ebp - 0x388]
cmove eax, dword [ebp - 0x38c]
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x4160ed
xor al, al
jmp 0x4160f4
shr eax, 4
not al
and al, 1
cmp byte [ebp - 0x278], 0
movzx esi, al
mov dword [ebp - method.t_str.virtual_0], vtable.t_str.0
jne 0x416123
mov eax, dword [ebp - 0x38c]
lea ecx, [ebp - 0x388]
cmp eax, ecx
je 0x416123
push eax
call fcn.00496f41
add esp, 4
lea ecx, [ebp - 0x39c]
call fcn.00426230
mov eax, dword [ebp - 0x13c]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - method.t_reg.virtual_0], vtable.t_reg.0
test eax, eax
je 0x41614b
push eax
call edi
cmp byte [ebp - 0x18], 0
mov dword [ebp - 0x13c], 0
mov dword [ebp - method.t_str.virtual_0], vtable.t_str.0
jne 0x41617e
mov eax, dword [ebp - 0x12c]
lea ecx, [ebp - 0x128]
cmp eax, ecx
je 0x41617e
push eax
call fcn.00496f41
add esp, 4
mov eax, dword [ebp - 0x26c]
mov dword [ebp - method.t_reg.virtual_0], vtable.t_reg.0
test eax, eax
je 0x416195
push eax
call edi
cmp byte [ebp - 0x148], 0
mov dword [ebp - 0x26c], 0
mov dword [ebp - method.t_str.virtual_0], vtable.t_str.0
jne 0x4161cb
mov eax, dword [ebp - 0x25c]
lea ecx, [ebp - 0x258]
cmp eax, ecx
je 0x4161cb
push eax
call fcn.00496f41
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00489940
mov esp, ebp
pop ebp
ret