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

Disassembly:
push 0x178
mov eax, 0x100529ac
call fcn.1003755a
mov eax, dword [ebp + 8]
cmp dword [eax + 0x3c], 8
mov dword [ebp - 0xe8], eax
jb 0x1000cb7e
mov ecx, dword [eax + 0x28]
jmp 0x1000cb81
lea ecx, [eax + 0x28]
lea eax, [ebp - 0x110]
push eax
mov edx, reloc.WS2_32.dll_bind
call fcn.1000bca9
pop ecx
and dword [ebp - 4], 0
push dword [ebp - 0xf4]
push str.key_count:_d
call fcn.1002fd9f
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.1000af45
test al, al
jne 0x1000cfb8
call fcn.1001dcad
mov edi, dword [ebp - 0xe8]
push eax
lea ebx, [ebp - 0xc0]
mov ecx, edi
call fcn.1000c10b
push 8
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x4c]
pop esi
cmp dword [ebp - 0x38], esi
jae 0x1000cc1f
lea ecx, [ebp - 0x4c]
cmp dword [edi + 0x3c], esi
jb 0x1000cc29
mov eax, dword [edi + 0x28]
jmp 0x1000cc2c
lea eax, [edi + 0x28]
push ecx
push eax
push 0x10058584
lea ecx, [ebp - 0xdc]
call fcn.1002d119
add esp, 0xc
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0xa0]
cmp dword [ebp - 0x8c], esi
jae 0x1000cc59
lea eax, [ebp - 0xa0]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x1000ccd5
mov eax, dword [ebp - 0xa0]
cmp dword [ebp - 0x8c], esi
jae 0x1000cc79
lea eax, [ebp - 0xa0]
push eax
push str.file_not_find__path:_ls
call fcn.1002fd9f
pop ecx
pop ecx
cmp dword [ebp - 0xc4], 8
mov eax, dword [ebp - 0xd8]
jae 0x1000cc9b
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.100021e2
lea edi, [ebp - 0xc0]
mov byte [ebp - 4], 0
call fcn.1000c310
lea esi, [ebp - 0xe4]
call fcn.1000d09b
jmp 0x1000cbc3
lea eax, [ebp - 0x128]
lea ecx, [ebp - 0xa4]
call fcn.1000cff0
mov esi, eax
lea eax, [ebp - 0x120]
lea ecx, [ebp - 0xa4]
call fcn.1000d010
mov ebx, eax
lea eax, [ebp - 0x130]
lea ecx, [ebp - 0xa4]
call fcn.1000cff0
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.1000d5d9
add esp, 0x1c
cmp dword [ebp - 0x58], 0
jne 0x1000ce6e
lea eax, [ebp - 0xc0]
push eax
lea ecx, [ebp - 0x88]
call fcn.1000c483
test al, al
jne 0x1000cc86
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0xc0]
call fcn.1000c8ec
mov byte [ebp - 4], 3
cmp dword [ebp - 0x8c], 8
mov eax, dword [ebp - 0xa0]
jae 0x1000cd76
lea eax, [ebp - 0xa0]
push eax
mov ebx, str..ico
call fcn.1002d0d2
test eax, eax
je 0x1000ce00
cmp dword [ebp - 0x8c], 8
mov eax, dword [ebp - 0xa0]
jae 0x1000cd9a
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 0x1000cdef
lea edx, [ebp - 0x2c]
mov ecx, esi
call fcn.1000c657
push esi
call dword [sym.imp.USER32.dll_DestroyIcon]
cmp dword [ebp - 0x14], 8
mov ecx, dword [ebp - 0x28]
jae 0x1000cdce
lea ecx, [ebp - 0x28]
cmp dword [ebp - 0x8c], 8
mov eax, dword [ebp - 0xa0]
jae 0x1000cde3
lea eax, [ebp - 0xa0]
push 1
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
jmp 0x1000ce12
push 0
push 1
lea esi, [ebp - 0x2c]
call fcn.100021e2
jmp 0x1000cc86
lea eax, [ebp - 0x2c]
push eax
push dword [ebp - 0x34]
lea ecx, [ebp - 0xa4]
call fcn.1000c9d2
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x2c]
lea ecx, [ebp - 0x6c]
call fcn.10002131
lea edx, [ebp - 0xc0]
mov ecx, edi
call fcn.1000be22
cmp dword [ebp - 0x14], 8
mov ecx, dword [ebp - 0x28]
jae 0x1000ce3a
lea ecx, [ebp - 0x28]
cmp dword [ebp - 0x8c], 8
mov eax, dword [ebp - 0xa0]
jae 0x1000ce4f
lea eax, [ebp - 0xa0]
push ecx
push eax
push str.src_file:_ls__ico:_ls
call fcn.1002fd9f
add esp, 0xc
push 0
push 1
lea esi, [ebp - 0x2c]
mov byte [ebp - 4], 2
call fcn.100021e2
mov eax, dword [ebp - 0x68]
push 8
pop edi
cmp dword [ebp - 0x54], edi
jae 0x1000ce7c
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x1000ce9e
mov eax, dword [ebp - 0x68]
cmp dword [ebp - 0x54], edi
jae 0x1000ce93
lea eax, [ebp - 0x68]
push eax
push str.ico_cache_fine_not_find:_ls
jmp 0x1000cc7f
mov ecx, dword [ebp - 0x68]
cmp dword [ebp - 0x54], edi
jae 0x1000cea9
lea ecx, [ebp - 0x68]
mov eax, dword [ebp - 0xbc]
cmp dword [ebp - 0xa8], edi
jae 0x1000cebd
lea eax, [ebp - 0xbc]
push ecx
push eax
push str.test_report_ico__type:_ls__ico_path:_ls
call fcn.1002fd9f
mov eax, dword [ebp - 0x68]
add esp, 0xc
cmp dword [ebp - 0x54], edi
jae 0x1000ced7
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
lea esi, [ebp - 0x14c]
call fcn.10001eb9
mov eax, esi
push eax
lea eax, [ebp - 0x184]
push eax
mov byte [ebp - 4], 4
call fcn.1000124a
mov esi, eax
lea eax, [ebp - 0xc0]
push eax
lea eax, [ebp - 0x168]
push eax
mov byte [ebp - 4], 5
call fcn.1000124a
add esp, 0x10
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x68]
cmp dword [ebp - 0x54], edi
jae 0x1000cf28
lea edx, [ebp - 0x68]
cmp dword [esi + 0x18], 0x10
jb 0x1000cf33
mov esi, dword [esi + 4]
jmp 0x1000cf36
add esi, 4
cmp dword [eax + 0x18], 0x10
jb 0x1000cf41
mov ecx, dword [eax + 4]
jmp 0x1000cf44
lea ecx, [eax + 4]
push 0
push edx
mov edx, esi
call fcn.10007bb1
pop ecx
pop ecx
xor esi, esi
push esi
push 1
lea ecx, [ebp - 0x168]
mov bl, al
call fcn.100020e6
push esi
push 1
lea ecx, [ebp - 0x184]
call fcn.100020e6
push esi
push 1
lea esi, [ebp - 0x14c]
mov byte [ebp - 4], 2
call fcn.100021e2
test bl, bl
je 0x1000cfa8
push str.report_success
call fcn.1002fd9f
pop ecx
lea eax, [ebp - 0xc0]
push eax
lea ecx, [ebp - 0x88]
call fcn.1000c537
jmp 0x1000cc86
push str.report_failed
call fcn.1002fd9f
pop ecx
jmp 0x1000cca7
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x110]
push eax
call fcn.1000d036
mov al, 1
call fcn.100375dd
ret 4