Function at 0x41e860
Capabilities:
Check if file exists
Delete file
Delete registry value
Get common file path
Move file
Persist via run registry key

Disassembly:
push 0xffffffffffffffff
push 0x4ef540
mov eax, dword fs:[0]
push eax
sub esp, 0x254
mov eax, dword [0x52a6ec]
xor eax, esp
mov dword [esp + 0x250], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x52a6ec]
xor eax, esp
push eax
lea eax, [esp + 0x268]
mov dword fs:[0], eax
lea eax, [esp + 0x40]
push eax
mov ecx, str.PATH
mov byte [esp + 0x1b], 0
call fcn.00405cc0
lea ecx, [esp + 0x38]
push ecx
mov ecx, 0x504fbc
mov dword [esp + 0x274], 0
call fcn.00405cc0
lea edx, [esp + 0x40]
push edx
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x50]
push ecx
mov edx, 0x200
mov byte [esp + 0x27c], 1
call fcn.00413da0
add esp, 0xc
lea edx, [esp + 0x1c]
mov byte [esp + 0x270], 2
mov ecx, dword [eax]
push edx
call fcn.00405cc0
mov byte [esp + 0x270], 4
mov eax, dword [esp + 0x48]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41e929
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x270], 5
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41e951
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x270], 6
mov eax, dword [esp + 0x40]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41e979
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x3c]
push ecx
mov ecx, str.DataPath
call fcn.00405cc0
lea edx, [esp + 0x30]
push edx
mov ecx, 0x504fbc
mov byte [esp + 0x274], 7
call fcn.00405cc0
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x34]
push ecx
lea edx, [esp + 0x60]
push edx
mov edx, 0x200
mov byte [esp + 0x27c], 8
call fcn.00413da0
add esp, 0xc
mov byte [esp + 0x270], 9
mov eax, dword [eax]
lea ecx, [esp + 0x34]
push ecx
mov ecx, eax
call fcn.00405cc0
mov byte [esp + 0x270], 0xb
mov eax, dword [esp + 0x58]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41ea01
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x270], 0xc
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41ea29
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x270], 0xd
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41ea51
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
call fcn.00406260
add eax, 0x10
mov dword [esp + 0x24], eax
mov eax, str.GooglePinyinDaemon.exe
lea esi, [esp + 0x24]
mov byte [esp + 0x270], 0xe
call fcn.00414530
mov ecx, esi
push ecx
call fcn.00413ba0
mov eax, dword [esp + 0x20]
add esp, 4
add eax, 0xfffffff0
call fcn.00406260
add eax, 0x10
mov dword [esp + 0x2c], eax
mov eax, str.imetool.exe
lea esi, [esp + 0x2c]
mov byte [esp + 0x270], 0xf
call fcn.00414530
mov edx, dword [0x52a1ec]
mov eax, dword [edx + 0xc]
mov ecx, 0x52a1ec
call eax
add eax, 0x10
mov dword [esp + 0x44], eax
mov byte [esp + 0x270], 0x10
mov ebp, dword [esp + 0x2c]
push ebp
push str.__s__unload
lea edi, [esp + 0x4c]
call fcn.00404770
mov edi, dword [esp + 0x4c]
add esp, 4
add edi, 0xfffffff0
mov eax, edi
mov dword [esp + 0x2c], esp
mov esi, esp
call fcn.00406260
add eax, 0x10
mov dword [esi], eax
call fcn.0041e6f0
lea ecx, [esp + 0x20]
add esp, 4
push ecx
call fcn.00412db0
add esp, 4
test al, al
jne 0x41eb1a
mov byte [esp + 0x17], 1
lea edx, [esp + 0x34]
push edx
call fcn.00412db0
add esp, 4
test al, al
jne 0x41eb30
mov byte [esp + 0x17], 1
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x66]
push ecx
mov word [esp + 0x68], ax
call fcn.004cf830
add esp, 0xc
push 0x104
lea edx, [esp + 0x60]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x60]
call fcn.00405cc0
mov bl, 0x11
mov eax, str.GooglePinyin.ime
lea esi, [esp + 0x20]
mov byte [esp + 0x270], bl
call fcn.00414530
mov ecx, dword [esp + 0x20]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x41ebb0
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x41ebb0
mov edx, dword [esp + 0x20]
push 4
xor esi, esi
push esi
push edx
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov byte [esp + 0x17], 1
jmp 0x41ebb2
xor esi, esi
lea eax, [esp + 0x18]
push eax
mov ecx, 0x504fbc
call fcn.00405cc0
lea ecx, [esp + 0x18]
push ecx
mov byte [esp + 0x274], 0x12
call fcn.00414030
mov byte [esp + 0x274], bl
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
add esp, 4
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41ebfd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x18]
push ecx
mov ecx, str.SoftwareMicrosoftInternet_ExplorerLow_RightsElevationPolicy302B2415_EC61_4730_9318_EBC7566054EE
call fcn.00405cc0
lea edx, [esp + 0x18]
push edx
mov byte [esp + 0x274], 0x13
call fcn.00414030
mov byte [esp + 0x274], bl
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
add esp, 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41ec48
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x18]
push ecx
mov ecx, str.SoftwareMicrosoftWindowsCurrentVersionUninstallGooglePinyin
call fcn.00405cc0
lea edx, [esp + 0x18]
push edx
mov byte [esp + 0x274], 0x14
call fcn.00414030
mov byte [esp + 0x274], bl
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
add esp, 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41ec93
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x28]
push ecx
mov ecx, str.Google_IME_Autoupdater
call fcn.00405cc0
lea edx, [esp + 0x18]
push edx
mov ecx, 0x505178
mov byte [esp + 0x274], 0x15
call fcn.00405cc0
lea eax, [esp + 0x4c]
push eax
mov eax, dword [esp + 0x1c]
mov edx, 0x2021f
mov ecx, reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x50], esi
mov dword [esp + 0x54], esi
mov dword [esp + 0x58], esi
call fcn.00404dd0
test eax, eax
je 0x41ecec
mov eax, dword [esp + 0x4c]
cmp eax, esi
je 0x41ed07
push eax
jmp 0x41ed01
mov ecx, dword [esp + 0x28]
mov esi, dword [esp + 0x4c]
push ecx
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test esi, esi
je 0x41ed07
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41ed27
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x270], bl
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41ed4e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp byte [esp + 0x17], 0
mov byte [esp + 0x270], 0x10
mov eax, dword [esp + 0x20]
sete bl
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41ed7e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x270], 0xf
lea ecx, [edi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41ed9f
mov ecx, dword [edi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push edi
call edx
lea eax, [ebp - 0x10]
mov byte [esp + 0x270], 0xe
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41edc3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x270], 0xd
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41edeb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x270], 6
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41ee13
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x270], 0xffffffff
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41ee3e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, bl
mov ecx, dword [esp + 0x268]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x250]
xor ecx, esp
call fcn.004c9392
add esp, 0x260
ret