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

Disassembly:
push 0x178
mov eax, 0x1005e27c
call fcn.100418da
mov eax, dword [ebp + 8]
cmp dword [eax + 0x3c], 8
mov dword [ebp - 0xe8], eax
jb 0x1000f32e
mov ecx, dword [eax + 0x28]
jmp 0x1000f331
lea ecx, [eax + 0x28]
lea eax, [ebp - 0x110]
push eax
mov edx, reloc.WS2_32.dll_bind
call fcn.1000e459
pop ecx
and dword [ebp - 4], 0
push dword [ebp - 0xf4]
push str.key_count:_d
call fcn.10036ea1
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.1000d610
test al, al
jne 0x1000f768
call fcn.1000f80e
mov edi, dword [ebp - 0xe8]
push eax
lea ebx, [ebp - 0xc0]
mov ecx, edi
call fcn.1000e8bb
push 8
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x4c]
pop esi
cmp dword [ebp - 0x38], esi
jae 0x1000f3cf
lea ecx, [ebp - 0x4c]
cmp dword [edi + 0x3c], esi
jb 0x1000f3d9
mov eax, dword [edi + 0x28]
jmp 0x1000f3dc
lea eax, [edi + 0x28]
push ecx
push eax
push 0x10064b5c
lea ecx, [ebp - 0xdc]
call fcn.1003416b
add esp, 0xc
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0xa0]
cmp dword [ebp - 0x8c], esi
jae 0x1000f409
lea eax, [ebp - 0xa0]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x1000f485
mov eax, dword [ebp - 0xa0]
cmp dword [ebp - 0x8c], esi
jae 0x1000f429
lea eax, [ebp - 0xa0]
push eax
push str.file_not_find__path:_ls
call fcn.10036ea1
pop ecx
pop ecx
cmp dword [ebp - 0xc4], 8
mov eax, dword [ebp - 0xd8]
jae 0x1000f44b
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.1000233f
lea edi, [ebp - 0xc0]
mov byte [ebp - 4], 0
call fcn.1000eac0
lea esi, [ebp - 0xe4]
call fcn.1000d700
jmp 0x1000f373
lea eax, [ebp - 0x128]
lea ecx, [ebp - 0xa4]
call fcn.1000f7a0
mov esi, eax
lea eax, [ebp - 0x120]
lea ecx, [ebp - 0xa4]
call fcn.1000f7c0
mov ebx, eax
lea eax, [ebp - 0x130]
lea ecx, [ebp - 0xa4]
call fcn.1000f7a0
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.1000fd5e
add esp, 0x1c
cmp dword [ebp - 0x58], 0
jne 0x1000f61e
lea eax, [ebp - 0xc0]
push eax
lea ecx, [ebp - 0x88]
call fcn.1000ec33
test al, al
jne 0x1000f436
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0xc0]
call fcn.1000f09c
mov byte [ebp - 4], 3
cmp dword [ebp - 0x8c], 8
mov eax, dword [ebp - 0xa0]
jae 0x1000f526
lea eax, [ebp - 0xa0]
push eax
mov ebx, str..ico
call fcn.10034124
test eax, eax
je 0x1000f5b0
cmp dword [ebp - 0x8c], 8
mov eax, dword [ebp - 0xa0]
jae 0x1000f54a
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 0x1000f59f
lea edx, [ebp - 0x2c]
mov ecx, esi
call fcn.1000ee07
push esi
call dword [sym.imp.USER32.dll_DestroyIcon]
cmp dword [ebp - 0x14], 8
mov ecx, dword [ebp - 0x28]
jae 0x1000f57e
lea ecx, [ebp - 0x28]
cmp dword [ebp - 0x8c], 8
mov eax, dword [ebp - 0xa0]
jae 0x1000f593
lea eax, [ebp - 0xa0]
push 1
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
jmp 0x1000f5c2
push 0
push 1
lea esi, [ebp - 0x2c]
call fcn.1000233f
jmp 0x1000f436
lea eax, [ebp - 0x2c]
push eax
push dword [ebp - 0x34]
lea ecx, [ebp - 0xa4]
call fcn.1000f182
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x2c]
lea ecx, [ebp - 0x6c]
call fcn.1000228e
lea edx, [ebp - 0xc0]
mov ecx, edi
call fcn.1000e5d2
cmp dword [ebp - 0x14], 8
mov ecx, dword [ebp - 0x28]
jae 0x1000f5ea
lea ecx, [ebp - 0x28]
cmp dword [ebp - 0x8c], 8
mov eax, dword [ebp - 0xa0]
jae 0x1000f5ff
lea eax, [ebp - 0xa0]
push ecx
push eax
push str.src_file:_ls__ico:_ls
call fcn.10036ea1
add esp, 0xc
push 0
push 1
lea esi, [ebp - 0x2c]
mov byte [ebp - 4], 2
call fcn.1000233f
mov eax, dword [ebp - 0x68]
push 8
pop edi
cmp dword [ebp - 0x54], edi
jae 0x1000f62c
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x1000f64e
mov eax, dword [ebp - 0x68]
cmp dword [ebp - 0x54], edi
jae 0x1000f643
lea eax, [ebp - 0x68]
push eax
push str.ico_cache_fine_not_find:_ls
jmp 0x1000f42f
mov ecx, dword [ebp - 0x68]
cmp dword [ebp - 0x54], edi
jae 0x1000f659
lea ecx, [ebp - 0x68]
mov eax, dword [ebp - 0xbc]
cmp dword [ebp - 0xa8], edi
jae 0x1000f66d
lea eax, [ebp - 0xbc]
push ecx
push eax
push str.test_report_ico__type:_ls__ico_path:_ls
call fcn.10036ea1
mov eax, dword [ebp - 0x68]
add esp, 0xc
cmp dword [ebp - 0x54], edi
jae 0x1000f687
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 0x1000f6d8
lea edx, [ebp - 0x68]
cmp dword [esi + 0x18], 0x10
jb 0x1000f6e3
mov esi, dword [esi + 4]
jmp 0x1000f6e6
add esi, 4
cmp dword [eax + 0x18], 0x10
jb 0x1000f6f1
mov ecx, dword [eax + 4]
jmp 0x1000f6f4
lea ecx, [eax + 4]
push 0
push edx
mov edx, esi
call fcn.1000a6df
pop ecx
pop ecx
xor esi, esi
push esi
push 1
lea ecx, [ebp - 0x168]
mov bl, al
call fcn.10002243
push esi
push 1
lea ecx, [ebp - 0x184]
call fcn.10002243
push esi
push 1
lea esi, [ebp - 0x14c]
mov byte [ebp - 4], 2
call fcn.1000233f
test bl, bl
je 0x1000f758
push str.report_success
call fcn.10036ea1
pop ecx
lea eax, [ebp - 0xc0]
push eax
lea ecx, [ebp - 0x88]
call fcn.1000ece7
jmp 0x1000f436
push str.report_failed
call fcn.10036ea1
pop ecx
jmp 0x1000f457
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x110]
push eax
call fcn.1000f7e6
mov al, 1
call fcn.1004195d
ret 4