Function at 0x105cb36
Capabilities:
Copy file
Delete file
Set file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x654
mov eax, dword [0x1099a38]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x634], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x63c], eax
mov eax, dword [ebp + 0x18]
push ebx
mov dword [ebp - 0x638], eax
push esi
push edi
xor eax, eax
xor ebx, ebx
push 0x40
pop edx
mov byte [ebp - 0x310], bl
mov ecx, edx
lea edi, [ebp - 0x30f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
xor eax, eax
mov byte [ebp - 0x20c], bl
mov ecx, edx
lea edi, [ebp - 0x20b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
xor eax, eax
mov byte [ebp - 0x108], bl
mov ecx, edx
lea edi, [ebp - 0x107]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov esi, dword [ebp + 8]
stosb byte es:[edi], al
xor eax, eax
mov byte [ebp - 0x518], bl
mov ecx, edx
lea edi, [ebp - 0x517]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov byte [ebp - 0x414], bl
xor eax, eax
mov ecx, edx
lea edi, [ebp - 0x413]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push esi
push dword [ebp - 0x638]
mov dword [ebp - 0x644], esi
mov dword [ebp - 0x620], ebx
stosb byte es:[edi], al
mov byte [ebp - 0x61c], bl
call dword [sym.imp.UPDSPAPI.dll_UpdSpGetLineCountA]
cmp eax, ebx
mov dword [ebp - 0x640], eax
jle 0x105cfc9
mov dword [ebp - 0x624], ebx
mov esi, 0x104
lea eax, [ebp - 0x654]
push eax
push dword [ebp - 0x624]
push dword [ebp - 0x644]
push dword [ebp - 0x638]
call dword [sym.imp.UPDSPAPI.dll_UpdSpGetLineByIndexA]
test eax, eax
je 0x105cfc9
mov edi, dword [sym.imp.UPDSPAPI.dll_UpdSpGetStringFieldA]
push ebx
push esi
lea eax, [ebp - 0x310]
push eax
push 1
lea eax, [ebp - 0x654]
push eax
call edi
test eax, eax
je 0x105cf2b
push esi
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x310]
push eax
push dword [ebp - 0x63c]
call fcn.01070fc9
push esi
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x310]
push eax
push dword [ebp - 0x634]
call fcn.01070fc9
push ebx
push esi
lea eax, [ebp - 0x310]
push eax
push 2
lea eax, [ebp - 0x654]
push eax
call edi
test eax, eax
je 0x105ccbf
push esi
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x310]
push eax
push dword [ebp - 0x634]
call fcn.01070fc9
push ebx
lea eax, [ebp - 0x20c]
push eax
mov dword [ebp - 0x628], ebx
call fcn.01073f21
test eax, eax
jne 0x105cd0f
lea eax, [ebp - 0x20c]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x105ccdf
sub eax, edx
mov byte [ebp + eax - 0x20d], 0x5f
push ebx
lea eax, [ebp - 0x20c]
push eax
call fcn.01073f21
test eax, eax
je 0x105cf48
mov dword [ebp - 0x628], 1
push ebx
lea eax, [ebp - 0x108]
push eax
mov dword [ebp - 0x62c], 1
mov dword [ebp - 0x630], ebx
call fcn.01073f21
test eax, eax
jne 0x105cdaa
mov edi, 0x101e210
push edi
lea eax, [ebp - 0x108]
push eax
push esi
lea eax, [ebp - 0x61c]
push eax
call fcn.0107bb2b
cmp eax, ebx
jl 0x105cf5d
lea eax, [ebp - 0x108]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x105cd5b
sub eax, edx
mov edi, eax
push 0x101e210
lea eax, [ebp - 0x108]
push eax
push esi
lea eax, [ebp - 0x414]
push eax
call fcn.0107bb2b
push ebx
lea eax, [ebp - 0x414]
push eax
mov byte [ebp + edi - 0x415], 0x5f
call fcn.01073f21
test eax, eax
je 0x105cdd5
mov dword [ebp - 0x630], 1
mov byte [ebp + edi - 0x109], 0x5f
mov eax, dword [ebp - 0x630]
cmp dword [ebp - 0x628], eax
je 0x105cdfd
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x20c]
push eax
push 0x101e1c8
call fcn.01071ac0
add esp, 0xc
jmp 0x105cdfd
cmp dword [ebp - 0x628], ebx
mov dword [ebp - 0x62c], ebx
je 0x105cdfd
lea eax, [ebp - 0x108]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x105cdec
sub eax, edx
mov byte [ebp + eax - 0x109], 0x5f
cmp dword [ebp + 0x14], ebx
jne 0x105ce0e
cmp dword [ebp - 0x62c], ebx
je 0x105cf1d
mov edi, dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push 0x80
lea eax, [ebp - 0x20c]
push eax
call edi
cmp dword [ebp - 0x62c], ebx
je 0x105ce38
push 0x80
lea eax, [ebp - 0x108]
push eax
call edi
cmp dword [0x109ab74], ebx
jne 0x105ce8a
push esi
lea eax, [ebp - 0x518]
push eax
push 0xf05c
push ebx
mov dword [ebp - 0x518], 0x207325
call fcn.010312a2
lea eax, [ebp - 0x310]
push eax
call dword [sym.imp.msvcrt.dll__mbsupr]
push eax
lea eax, [ebp - 0x518]
push eax
push esi
push 0x1106960
call fcn.01037486
add esp, 0x14
push 0x1106960
call fcn.01045583
push ebx
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
je 0x105cf72
push 0x80
lea eax, [ebp - 0x108]
push eax
call edi
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x20c]
push eax
push 0x101e1b4
call fcn.01071ac0
add esp, 0xc
cmp dword [ebp - 0x630], ebx
jne 0x105cf1d
cmp dword [ebp - 0x628], ebx
je 0x105cf1d
lea eax, [ebp - 0x61c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x105cf1d
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 3
je 0x105cf05
cmp eax, 2
jne 0x105cfa0
push eax
push 0x101e210
push 0x23b
push 0x101e160
call fcn.01071b53
add esp, 0x10
lea eax, [ebp - 0x654]
push eax
push eax
call dword [sym.imp.UPDSPAPI.dll_UpdSpFindNextLine]
inc dword [ebp - 0x624]
mov eax, dword [ebp - 0x624]
cmp eax, dword [ebp - 0x640]
jl 0x105cc10
jmp 0x105cfc9
lea eax, [ebp - 0x20c]
push eax
push 0x101e144
call fcn.01071ac0
pop ecx
pop ecx
jmp 0x105cfbf
push eax
lea eax, [ebp - 0x108]
push eax
push edi
push 0x1d5
push 0x101e104
jmp 0x105cfb7
mov dword [ebp - 0x620], 0xf053
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x20c]
push eax
push 0x101e0dc
call fcn.01071aea
add esp, 0x10
jmp 0x105cfc9
push eax
lea eax, [ebp - 0x61c]
push eax
push 0x101e210
push 0x236
push 0x101e0b0
call fcn.01071aea
add esp, 0x14
mov dword [ebp - 0x620], 0xf053
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x620]
pop edi
pop esi
pop ebx
call fcn.0106bc50
leave
ret 0x14