Function at 0x4ab9fc
Capabilities:
Check if file exists
Copy file

Disassembly:
push 0x884
mov eax, 0x566c1d
call fcn.00539a44
mov eax, dword [ebp + 0x10]
xor ebx, ebx
mov dword [ebp - 0x844], ecx
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 0x848], eax
mov dword [ebp - 0x840], ecx
mov dword [ebp - 0x83c], ebx
cmp eax, ebx
jne 0x4aba39
xor eax, eax
call fcn.00539ac7
ret 0x10
lea eax, [ebp - 0x86c]
push eax
call fcn.004b213d
push dword [ebp + 8]
lea ecx, [ebp - 0x86c]
mov dword [ebp - 4], ebx
call fcn.004ab4f9
mov eax, dword [ebp - 0x85c]
sub eax, dword [ebp - 0x860]
push 0x58
cdq
pop ecx
idiv ecx
cmp eax, 1
mov dword [ebp - 0x838], eax
jge 0x4aba84
xor edi, edi
lea esi, [ebp - 0x86c]
call fcn.004ac2e9
mov eax, edi
jmp 0x4aba31
cmp eax, ebx
mov dword [ebp - 0x834], ebx
jle 0x4abcdf
push dword [ebp - 0x834]
lea esi, [ebp - 0x86c]
call fcn.004ac316
mov esi, eax
cmp byte [esi + 8], bl
jne 0x4abcc7
xor eax, eax
push 0x206
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push ebx
push eax
call fcn.00537010
add esp, 0xc
cmp dword [esi + 0x44], 8
jb 0x4abad7
mov esi, dword [esi + 0x30]
jmp 0x4abada
add esi, 0x30
lea eax, [ebp - 0x218]
push 0x104
push eax
mov ebx, esi
call fcn.00498bbb
pop ecx
pop ecx
test eax, eax
je 0x4abcc5
xor eax, eax
cmp ax, word [ebp - 0x218]
je 0x4abcc5
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x888]
call fcn.0040a8b0
mov eax, dword [ebp - 0x840]
mov byte [ebp - 4], 1
mov ecx, dword [eax + 0x18]
mov dword [ebp - 0x850], ecx
mov ecx, dword [eax]
mov dword [ebp - 0x854], ecx
lea ecx, [ebp - 0x888]
push ecx
lea ecx, [ebp - 0x890]
push ecx
push eax
call fcn.004c7eb3
lea edi, [ebp - 0x854]
mov esi, eax
call fcn.00470a9c
mov bl, al
neg bl
push 0
sbb bl, bl
push 1
lea ecx, [ebp - 0x888]
inc bl
mov byte [ebp - 4], 0
call fcn.004053e5
test bl, bl
jne 0x4abcc5
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x420], ax
lea eax, [ebp - 0x41e]
push eax
call fcn.00537010
lea eax, [ebp - 0x420]
add esp, 0xc
push eax
lea ebx, [ebp - 0x218]
call fcn.00498d48
pop ecx
test eax, eax
je 0x4abcc5
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4abcc5
push 0x206
push eax
mov word [ebp - 0x628], ax
lea eax, [ebp - 0x626]
push eax
call fcn.00537010
add esp, 0xc
push 0
push 2
lea eax, [ebp - 0x84c]
push eax
lea eax, [ebp - 0x628]
push eax
mov eax, ebx
mov esi, 0x103
push eax
mov dword [ebp - 0x84c], esi
call dword [sym.imp.SHLWAPI.dll_UrlGetPartW]
test eax, eax
jl 0x4abcc5
cmp word [ebp - 0x628], 0
je 0x4abcc5
xor eax, eax
push 0x206
mov word [ebp - 0x830], ax
xor ebx, ebx
lea eax, [ebp - 0x82e]
push ebx
push eax
call fcn.00537010
mov ecx, dword [ebp - 0x848]
mov eax, dword [ecx]
add esp, 0xc
push esi
lea edx, [ebp - 0x830]
push edx
lea edx, [ebp - 0x628]
push edx
call dword [eax + 0x10]
test eax, eax
jne 0x4abc9a
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x888]
call fcn.0040a8b0
lea eax, [ebp - 0x888]
push eax
push dword [ebp - 0x840]
mov byte [ebp - 4], 2
call fcn.0045d3dd
xor ecx, ecx
inc ecx
push ebx
mov dword [eax], ecx
push ecx
lea ecx, [ebp - 0x888]
mov byte [ebp - 4], bl
call fcn.004053e5
jmp 0x4abcc5
lea ebx, [ebp - 0x420]
call fcn.0049699b
push 0
mov eax, ebx
push eax
lea eax, [ebp - 0x830]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x4abcc5
mov dword [ebp - 0x83c], 1
xor ebx, ebx
inc dword [ebp - 0x834]
mov eax, dword [ebp - 0x834]
cmp eax, dword [ebp - 0x838]
jl 0x4aba92
xor edi, edi
cmp dword [ebp - 0x838], ebx
jle 0x4abd2b
push edi
lea esi, [ebp - 0x86c]
call fcn.004ac316
cmp byte [eax + 8], bl
je 0x4abd22
push dword [ebp - 0x840]
mov ecx, dword [ebp - 0x844]
push dword [ebp - 0x848]
push ebx
push dword [eax]
call fcn.004ab9fc
test eax, eax
je 0x4abd22
mov dword [ebp - 0x83c], 1
inc edi
cmp edi, dword [ebp - 0x838]
jl 0x4abce9
cmp dword [ebp + 0xc], ebx
je 0x4abd4e
cmp dword [ebp - 0x83c], ebx
je 0x4abd4e
mov eax, dword [ebp - 0x844]
push ebx
push ebx
push 0x506
push dword [eax + 0xc]
call dword [sym.imp.USER32.dll_PostMessageW]
mov edi, dword [ebp - 0x83c]
jmp 0x4aba75