Function at 0x109ccca
Capabilities:
Copy file
Get common file path

Disassembly:
mov eax, 0x1277d81
call fcn.01160458
sub esp, 0x240
mov eax, dword [0x12cf8c8]
push ebx
push esi
xor ebx, ebx
push ebx
push ebx
push 0x109d052
mov esi, ecx
push 0x1003980
mov ecx, 0x12d23b4
mov dword [ebp - 0x10], eax
call fcn.0116b872
cmp eax, ebx
jl 0x109cfbc
cmp dword [esi + 0x78], ebx
push edi
mov dword [ebp - 0x220], ebx
jle 0x109cf9f
cmp byte [esi + 0x38], bl
jne 0x109cfb9
mov eax, dword [esi + 0x74]
mov ecx, dword [ebp - 0x220]
push dword [eax + ecx*4]
mov ecx, esi
call fcn.0109d06e
mov edi, eax
cmp edi, ebx
jge 0x109cf8a
cmp edi, 0xc947006b
je 0x109cda9
cmp dword [esi + 0x84], ebx
je 0x109cfd2
lea ecx, [ebp - 0x238]
call fcn.0108edb9
mov dword [ebp - 4], ebx
mov eax, dword [esi + 0x74]
mov ecx, dword [ebp - 0x220]
push dword [eax + ecx*4]
lea ecx, [ebp - 0x238]
call fcn.01045196
mov ecx, dword [esi + 0x84]
lea eax, [ebp - 0x238]
push eax
mov dword [ebp - 0x234], edi
call fcn.01093bf4
cmp eax, ebx
je 0x109cfd9
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x238]
call fcn.01045295
jmp 0x109cf8a
test byte [esi + 0x88], 0x20
je 0x109cf8a
mov eax, dword [esi + 0x74]
mov ecx, dword [ebp - 0x220]
push dword [eax + ecx*4]
lea ecx, [ebp - 0x224]
call fcn.01046065
xor edi, edi
inc edi
mov dword [ebp - 4], edi
lea eax, [ebp - 0x224]
push eax
lea ecx, [ebp - 0x228]
call fcn.01052b7d
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x21c]
call fcn.01045169
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x230]
call fcn.01045169
mov byte [ebp - 4], 4
lea eax, [ebp - 0x24c]
push eax
lea eax, [ebp - 0x244]
push eax
lea ecx, [ebp - 0x228]
call fcn.010451bd
push dword [ebp - 0x244]
lea ecx, [ebp - 0x230]
call fcn.01045196
lea eax, [ebp - 0x218]
push eax
push ebx
push ebx
push 0x800e
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
cmp eax, ebx
jl 0x109ceee
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x21c]
call fcn.01045196
lea ecx, [ebp - 0x21c]
call fcn.01045236
lea eax, [ebp - 0x230]
push eax
lea ecx, [ebp - 0x21c]
call fcn.01044f22
push edi
push dword [ebp - 0x21c]
push dword [ebp - 0x228]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
cmp eax, ebx
je 0x109ceee
lea eax, [ebp - 0x22c]
mov dword [ebp - 0x248], eax
mov eax, dword [0x12ce0a0]
mov dword [ebp - 0x22c], eax
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x21c]
mov ecx, dword [eax - 8]
push eax
push ecx
lea ecx, [ebp - 0x22c]
call fcn.01032931
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x22c]
mov ecx, dword [eax - 8]
push eax
push ecx
lea ecx, [ebp - 0x224]
call fcn.01032931
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x22c]
call fcn.01045295
cmp dword [esi + 0x84], ebx
je 0x109cfef
lea ecx, [ebp - 0x240]
call fcn.0108edb9
mov byte [ebp - 4], 8
lea eax, [ebp - 0x224]
push eax
lea ecx, [ebp - 0x240]
call fcn.01044de0
mov ecx, dword [esi + 0x84]
lea eax, [ebp - 0x240]
push eax
mov dword [ebp - 0x23c], 0xc94700df
call fcn.01093bf4
cmp eax, ebx
je 0x109cff6
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x240]
call fcn.01045295
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x230]
call fcn.01045295
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x21c]
call fcn.01045295
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x228]
call fcn.01045295
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x224]
call fcn.01045295
inc dword [ebp - 0x220]
mov eax, dword [ebp - 0x220]
cmp eax, dword [esi + 0x78]
jl 0x109cd16
push ebx
push ebx
push 0x109d060
push 0x1003980
mov ecx, 0x12d23b4
call fcn.0116b872
cmp eax, ebx
jl 0x109cfbb
xor eax, eax
pop edi
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop ebx
call fcn.0116015a
leave
ret
mov eax, 0x80004003
jmp 0x109cfbb
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x238]
call fcn.01045295
mov eax, 0x80004005
jmp 0x109cfbb
mov esi, 0x80004003
jmp 0x109d00a
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x240]
call fcn.01045295
mov esi, 0x80004005
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x230]
call fcn.01045295
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x21c]
call fcn.01045295
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x228]
call fcn.01045295
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x224]
call fcn.01045295
mov eax, esi
jmp 0x109cfbb