Function at 0x1000f354
Capabilities:
Check if file exists
Copy file
Delete registry key
Get file attributes

Disassembly:
push 0x178
mov eax, 0x1005ed9d
call fcn.100422ea
mov eax, dword [ebp + 8]
cmp dword [eax + 0x3c], 8
mov dword [ebp - 0xe8], eax
jb 0x1000f377
mov ecx, dword [eax + 0x28]
jmp 0x1000f37a
lea ecx, [eax + 0x28]
lea eax, [ebp - 0x110]
push eax
mov edx, reloc.WS2_32.dll_bind
call fcn.1000e4a2
pop ecx
and dword [ebp - 4], 0
push dword [ebp - 0xf4]
push str.key_count:_d
call fcn.10037607
mov eax, dword [ebp - 0xf8]
mov eax, dword [eax]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x110]
mov dword [ebp - 0xe4], ecx
mov dword [ebp - 0xe0], eax
mov eax, dword [ebp - 0xf8]
mov dword [ebp - 0xec], eax
mov eax, dword [ebp - 0x110]
lea edi, [ebp - 0xf0]
lea esi, [ebp - 0xe4]
mov dword [ebp - 0xf0], eax
call fcn.1002c705
test al, al
jne 0x1000f7b1
call fcn.10011a28
mov edi, dword [ebp - 0xe8]
push eax
lea ebx, [ebp - 0xc0]
mov ecx, edi
call fcn.1000e904
push 8
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x4c]
pop esi
cmp dword [ebp - 0x38], esi
jae 0x1000f418
lea ecx, [ebp - 0x4c]
cmp dword [edi + 0x3c], esi
jb 0x1000f422
mov eax, dword [edi + 0x28]
jmp 0x1000f425
lea eax, [edi + 0x28]
push ecx
push eax
push 0x10065bc4
lea ecx, [ebp - 0xdc]
call fcn.100347ad
add esp, 0xc
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0xa0]
cmp dword [ebp - 0x8c], esi
jae 0x1000f452
lea eax, [ebp - 0xa0]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x1000f4ce
mov eax, dword [ebp - 0xa0]
cmp dword [ebp - 0x8c], esi
jae 0x1000f472
lea eax, [ebp - 0xa0]
push eax
push str.file_not_find__path:_ls
call fcn.10037607
pop ecx
pop ecx
cmp dword [ebp - 0xc4], 8
mov eax, dword [ebp - 0xd8]
jae 0x1000f494
lea eax, [ebp - 0xd8]
push eax
push reloc.WS2_32.dll_bind
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
push 0
push 1
lea esi, [ebp - 0xdc]
call fcn.10002370
lea edi, [ebp - 0xc0]
mov byte [ebp - 4], 0
call fcn.1000eb09
lea esi, [ebp - 0xe4]
call fcn.1000d749
jmp 0x1000f3bc
lea eax, [ebp - 0x128]
lea ecx, [ebp - 0xa4]
call fcn.1000f7e9
mov esi, eax
lea eax, [ebp - 0x120]
lea ecx, [ebp - 0xa4]
call fcn.1000f809
mov ebx, eax
lea eax, [ebp - 0x130]
lea ecx, [ebp - 0xa4]
call fcn.1000f7e9
push dword [esi + 4]
push dword [esi]
push dword [ebx + 4]
push dword [ebx]
push dword [eax + 4]
push dword [eax]
lea eax, [ebp - 0x118]
push eax
call fcn.1000fd3c
add esp, 0x1c
cmp dword [ebp - 0x58], 0
jne 0x1000f667
lea eax, [ebp - 0xc0]
push eax
lea ecx, [ebp - 0x88]
call fcn.1000ec7c
test al, al
jne 0x1000f47f
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0xc0]
call fcn.1000f0e5
mov byte [ebp - 4], 3
cmp dword [ebp - 0x8c], 8
mov eax, dword [ebp - 0xa0]
jae 0x1000f56f
lea eax, [ebp - 0xa0]
push eax
mov ebx, str..ico
call fcn.10034766
test eax, eax
je 0x1000f5f9
cmp dword [ebp - 0x8c], 8
mov eax, dword [ebp - 0xa0]
jae 0x1000f593
lea eax, [ebp - 0xa0]
push 0x10
push 0x20
push 0x20
push 1
push eax
push 0
call dword [sym.imp.USER32.dll_LoadImageW]
mov esi, eax
test esi, esi
je 0x1000f5e8
lea edx, [ebp - 0x2c]
mov ecx, esi
call fcn.1000ee50
push esi
call dword [sym.imp.USER32.dll_DestroyIcon]
cmp dword [ebp - 0x14], 8
mov ecx, dword [ebp - 0x28]
jae 0x1000f5c7
lea ecx, [ebp - 0x28]
cmp dword [ebp - 0x8c], 8
mov eax, dword [ebp - 0xa0]
jae 0x1000f5dc
lea eax, [ebp - 0xa0]
push 1
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
jmp 0x1000f60b
push 0
push 1
lea esi, [ebp - 0x2c]
call fcn.10002370
jmp 0x1000f47f
lea eax, [ebp - 0x2c]
push eax
push dword [ebp - 0x34]
lea ecx, [ebp - 0xa4]
call fcn.1000f1cb
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x2c]
lea ecx, [ebp - 0x6c]
call fcn.100022bf
lea edx, [ebp - 0xc0]
mov ecx, edi
call fcn.1000e61b
cmp dword [ebp - 0x14], 8
mov ecx, dword [ebp - 0x28]
jae 0x1000f633
lea ecx, [ebp - 0x28]
cmp dword [ebp - 0x8c], 8
mov eax, dword [ebp - 0xa0]
jae 0x1000f648
lea eax, [ebp - 0xa0]
push ecx
push eax
push str.src_file:_ls__ico:_ls
call fcn.10037607
add esp, 0xc
push 0
push 1
lea esi, [ebp - 0x2c]
mov byte [ebp - 4], 2
call fcn.10002370
mov eax, dword [ebp - 0x68]
push 8
pop edi
cmp dword [ebp - 0x54], edi
jae 0x1000f675
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x1000f697
mov eax, dword [ebp - 0x68]
cmp dword [ebp - 0x54], edi
jae 0x1000f68c
lea eax, [ebp - 0x68]
push eax
push str.ico_cache_fine_not_find:_ls
jmp 0x1000f478
mov ecx, dword [ebp - 0x68]
cmp dword [ebp - 0x54], edi
jae 0x1000f6a2
lea ecx, [ebp - 0x68]
mov eax, dword [ebp - 0xbc]
cmp dword [ebp - 0xa8], edi
jae 0x1000f6b6
lea eax, [ebp - 0xbc]
push ecx
push eax
push str.test_report_ico__type:_ls__ico_path:_ls
call fcn.10037607
mov eax, dword [ebp - 0x68]
add esp, 0xc
cmp dword [ebp - 0x54], edi
jae 0x1000f6d0
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
lea esi, [ebp - 0x14c]
call fcn.10002030
mov eax, esi
push eax
lea eax, [ebp - 0x184]
push eax
mov byte [ebp - 4], 4
call fcn.1000121f
mov esi, eax
lea eax, [ebp - 0xc0]
push eax
lea eax, [ebp - 0x168]
push eax
mov byte [ebp - 4], 5
call fcn.1000121f
add esp, 0x10
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x68]
cmp dword [ebp - 0x54], edi
jae 0x1000f721
lea edx, [ebp - 0x68]
cmp dword [esi + 0x18], 0x10
jb 0x1000f72c
mov esi, dword [esi + 4]
jmp 0x1000f72f
add esi, 4
cmp dword [eax + 0x18], 0x10
jb 0x1000f73a
mov ecx, dword [eax + 4]
jmp 0x1000f73d
lea ecx, [eax + 4]
push 0
push edx
mov edx, esi
call fcn.1000a6db
pop ecx
pop ecx
xor esi, esi
push esi
push 1
lea ecx, [ebp - 0x168]
mov bl, al
call fcn.10002274
push esi
push 1
lea ecx, [ebp - 0x184]
call fcn.10002274
push esi
push 1
lea esi, [ebp - 0x14c]
mov byte [ebp - 4], 2
call fcn.10002370
test bl, bl
je 0x1000f7a1
push str.report_success
call fcn.10037607
pop ecx
lea eax, [ebp - 0xc0]
push eax
lea ecx, [ebp - 0x88]
call fcn.1000ed30
jmp 0x1000f47f
push str.report_failed
call fcn.10037607
pop ecx
jmp 0x1000f4a0
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x110]
push eax
call fcn.1000f82f
mov al, 1
call fcn.1004236d
ret 4