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

Disassembly:
mov eax, 0x100ed347
call fcn.100c908c
sub esp, 0x34
push ebx
push esi
push edi
mov edi, ecx
xor esi, esi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x20], esi
lea eax, [ebp - 0x11]
push eax
push ecx
lea eax, [ebp + 0x1c]
mov dword [ebp - 0x24], esp
mov ecx, esp
push eax
mov dword [ebp - 4], 2
mov byte [ebp - 0x11], 0
call fcn.1000548f
push dword [ebp + 0x14]
lea eax, [ebp + 8]
push ecx
mov dword [ebp - 0x28], esp
mov ecx, esp
push eax
mov byte [ebp - 4], 3
call fcn.1000548f
lea eax, [ebp - 0x18]
push eax
mov byte [ebp - 4], 2
call fcn.100984be
add esp, 0x14
mov eax, dword [ebp + 0x24]
mov byte [ebp - 4], 4
cmp eax, esi
je 0x10098c2d
mov cl, byte [ebp - 0x11]
mov byte [eax], cl
mov ecx, dword [ebp + 0x28]
lea eax, [ebp - 0x18]
push eax
call fcn.1000688b
cmp byte [ebp - 0x11], 0
jne 0x10098f35
cmp byte [ebp + 0x14], 0
jne 0x10098f35
push dword [ebp - 0x18]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x10098d83
mov eax, dword [ebp + 0xc]
cmp dword [eax - 0xc], esi
je 0x10098d83
push ecx
mov ecx, esp
mov dword [ebp + 0x24], esp
push 0x1010d92c
call fcn.10009e15
push ecx
lea eax, [ebp - 0x18]
mov dword [ebp + 0x28], esp
mov ecx, esp
push eax
mov byte [ebp - 4], 5
call fcn.1000548f
mov byte [ebp - 4], 4
call fcn.100616bb
lea eax, [ebp + 0x28]
push eax
call fcn.10060b08
lea ecx, [ebp + 0xc]
push ecx
push eax
lea eax, [ebp + 0x24]
push eax
mov byte [ebp - 4], 6
call fcn.10006f5b
add esp, 0x18
push eax
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 7
call fcn.1000688b
mov ecx, dword [ebp + 0x24]
add ecx, 0xfffffff0
call fcn.10003f60
mov ecx, dword [ebp + 0x28]
add ecx, 0xfffffff0
mov byte [ebp - 4], 4
call fcn.10003f60
lea eax, [ebp + 0x14]
push eax
call fcn.10060f33
pop ecx
push dword [ebp + 0x14]
mov byte [ebp - 4], 8
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x10098d0b
push ecx
lea eax, [ebp + 0x14]
mov dword [ebp + 0x24], esp
mov ecx, esp
push eax
call fcn.1000548f
call fcn.10049303
pop ecx
push esi
push dword [ebp - 0x18]
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
cmp byte [ebp + 0x20], 0
je 0x10098d74
push esi
push 0x101445f0
push 0x101445d0
push esi
push dword [edi + 0x60]
call fcn.100c8799
mov ecx, eax
add esp, 0x14
lea eax, [ebp + 0x24]
push eax
mov dword [ebp + 0x28], ecx
call fcn.1007f33d
push dword [eax]
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 9
call fcn.10004959
mov ecx, dword [ebp + 0x24]
mov ebx, eax
neg ebx
sbb bl, bl
add ecx, 0xfffffff0
inc bl
mov byte [ebp - 4], 8
call fcn.10003f60
test bl, bl
je 0x10098d74
mov ecx, dword [ebp + 0x28]
call fcn.10083ef8
mov ecx, dword [ebp + 0x14]
add ecx, 0xfffffff0
mov byte [ebp - 4], 4
call fcn.10003f60
mov eax, dword [edi + 0x6c]
cmp eax, esi
je 0x10098f35
cmp byte [eax], 0
je 0x10098f35
cmp dword [ebp + 0x10], esi
jl 0x10098f35
push esi
push 0x101445f0
push 0x101445d0
push esi
push dword [edi + 0x60]
call fcn.100c8799
add esp, 0x14
cmp byte [ebp + 0x20], 0
je 0x10098de5
lea ecx, [ebp + 0x24]
push ecx
mov ecx, eax
call fcn.1007f33d
push dword [eax]
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0xa
mov dword [ebp - 0x20], 1
call fcn.10004959
mov byte [ebp + 0x20], 1
test eax, eax
je 0x10098de9
mov byte [ebp + 0x20], 0
test byte [ebp - 0x20], 1
mov dword [ebp - 4], 4
je 0x10098e01
mov ecx, dword [ebp + 0x24]
add ecx, 0xfffffff0
call fcn.10003f60
mov eax, dword [edi + 0x6c]
push esi
push 0x10147948
push 0x10147924
mov dword [ebp + 0x14], esi
push esi
push dword [eax + 8]
mov byte [ebp - 4], 0xb
call fcn.100c8799
mov ebx, eax
add esp, 0x14
cmp ebx, esi
je 0x10098ec7
mov eax, dword [ebx]
push str.SyncRemoteFileEx3
mov ecx, ebx
call dword [eax + 0x70]
cmp eax, esi
je 0x10098e95
xor eax, eax
lea edi, [ebp - 0x3c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
movzx ecx, byte [ebp + 0x18]
stosd dword es:[edi], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x38], eax
lea eax, [ebp + 0x14]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x34], eax
movzx eax, byte [ebp + 0x20]
neg eax
sbb eax, eax
and eax, 8
neg ecx
sbb ecx, ecx
and ecx, 4
or eax, ecx
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x40], 0x18
cmp dword [eax - 0xc], esi
je 0x10098e85
mov dword [ebp - 0x2c], eax
mov eax, dword [ebx]
lea ecx, [ebp - 0x40]
push ecx
mov ecx, ebx
call dword [eax + 0x7c]
mov edi, dword [ebp - 0x1c]
jmp 0x10098ee8
mov eax, dword [ebx]
push str.SyncRemoteFileEx
mov ecx, ebx
call dword [eax + 0x70]
cmp eax, esi
je 0x10098ec7
push esi
lea ecx, [ebp + 8]
call fcn.100054ad
push dword [ebp + 0x20]
mov edx, dword [ebx]
push dword [ebp + 0x18]
mov ecx, ebx
push esi
push esi
push dword [ebp + 0x10]
push eax
lea eax, [ebp + 0x14]
push eax
call dword [edx + 0x74]
jmp 0x10098ee8
push esi
lea ecx, [ebp + 8]
call fcn.100054ad
push dword [ebp + 0x18]
mov ecx, dword [edi + 0x6c]
mov ecx, dword [ecx + 8]
mov edx, dword [ecx]
push esi
push esi
push dword [ebp + 0x10]
push eax
lea eax, [ebp + 0x14]
push eax
call dword [edx + 0x1c]
mov dword [ebp - 4], 4
jmp 0x10098f27
mov ecx, dword [edi + 0x60]
push dword [ebp + 0x14]
mov eax, dword [ecx]
call dword [eax + 0xa8]
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.10003f60
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.10003f60
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.10003f60
mov ecx, dword [ebp + 0x1c]
add ecx, 0xfffffff0
call fcn.10003f60
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 0x24