Function at 0x405e10
Capabilities:
Delete file
Get common file path
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44ccd8
mov eax, dword fs:[0]
push eax
sub esp, 0x260
mov eax, dword [0x463444]
xor eax, ebp
mov dword [ebp - 0x1c], eax
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x25c], ecx
mov byte [ebp - 0x124], 0
push 0x103
push 0
lea eax, [ebp - 0x123]
push eax
call fcn.0043b290
add esp, 0xc
mov dword [ebp - 0x238], 0
lea ecx, [ebp - 0x238]
push ecx
push 1
push 0
mov edx, dword [ebp + 8]
push edx
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 0x230], eax
cmp dword [ebp - 0x230], 0
jne 0x405f01
mov dword [ebp - 0x244], 0x104
mov dword [ebp - 0x240], 1
lea eax, [ebp - 0x244]
push eax
lea ecx, [ebp - 0x124]
push ecx
lea edx, [ebp - 0x240]
push edx
push 0
push str.UPDATE_VER
mov eax, dword [ebp - 0x238]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 0x230], eax
cmp dword [ebp - 0x230], 0
je 0x405ef2
mov ecx, dword [ebp - 0x238]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x40614d
mov edx, dword [ebp - 0x238]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x405f08
xor eax, eax
jmp 0x40614d
lea eax, [ebp - 0x124]
push eax
lea ecx, [ebp - 0x18]
push ecx
mov ecx, dword [ebp - 0x25c]
call fcn.00405c20
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.00402a10
mov dword [ebp - 0x23c], eax
mov edx, dword [ebp - 0x23c]
push edx
lea ecx, [ebp - 0x18]
call fcn.00402c70
mov dword [ebp - 0x234], eax
mov byte [ebp - 0x22c], 0
push 0x103
push 0
lea eax, [ebp - 0x22b]
push eax
call fcn.0043b290
add esp, 0xc
lea ecx, [ebp - 0x22c]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea edx, [ebp - 0x22c]
add edx, 0xffffffff
mov dword [ebp - 0x260], edx
mov eax, dword [ebp - 0x260]
mov cl, byte [eax + 1]
mov byte [ebp - 0x261], cl
add dword [ebp - 0x260], 1
cmp byte [ebp - 0x261], 0
jne 0x405f86
mov edi, dword [ebp - 0x260]
mov edx, dword [str.FT11_ck.EXE]
mov dword [edi], edx
mov eax, dword [0x456680]
mov dword [edi + 4], eax
mov ecx, dword [0x456684]
mov dword [edi + 8], ecx
mov dl, byte [0x456688]
mov byte [edi + 0xc], dl
lea eax, [ebp - 0x22c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [ebp - 0x22c]
push ecx
push 0x45668c
push 0xbd
mov ecx, dword [ebp - 0x25c]
call fcn.00418e70
movzx edx, al
test edx, edx
jne 0x406021
mov dword [ebp - 0x248], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.00402f30
mov eax, dword [ebp - 0x248]
jmp 0x40614d
push ecx
mov ecx, esp
mov dword [ebp - 0x24c], esp
lea eax, [ebp - 0x22c]
push eax
call fcn.00402330
mov dword [ebp - 0x268], eax
lea ecx, [ebp - 0x10]
push ecx
mov ecx, dword [ebp - 0x25c]
call fcn.00406170
mov dword [ebp - 0x26c], eax
mov byte [ebp - 4], 1
lea edx, [ebp - 0x22c]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0
lea ecx, [ebp - 0x10]
call fcn.00402c70
push eax
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x25c]
call fcn.00405c20
mov byte [ebp - 4], 2
push 0
lea ecx, [ebp - 0x14]
call fcn.00402c70
push eax
mov ecx, dword [ebp - 0x234]
push ecx
mov ecx, dword [ebp - 0x25c]
call fcn.00405890
cmp eax, 1
jne 0x4060dd
mov dword [ebp - 0x250], 1
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
call fcn.00402f30
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.00402f30
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.00402f30
mov eax, dword [ebp - 0x250]
jmp 0x40614d
mov dword [ebp - 0x254], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
call fcn.00402f30
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.00402f30
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.00402f30
mov eax, dword [ebp - 0x254]
jmp 0x40614d
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.004381fb
mov esp, ebp
pop ebp
ret 8