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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ec3f3
mov eax, dword fs:[0]
push eax
sub esp, 0x170
mov eax, dword [0x1012931c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov dword [ebp - 4], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 1
push eax
call fcn.10005780
mov ecx, eax
call fcn.1003eb87
cmp dword [ebp - 0x44], 8
lea eax, [ebp - 0x58]
push str.upgrade.dll
cmovae eax, dword [ebp - 0x58]
push str.ziphost
push eax
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 2
push str._s_s_s
push eax
call fcn.100350d8
mov esi, eax
add esp, 0x14
lea eax, [ebp - 0x28]
cmp eax, esi
je 0x10018c87
mov ecx, eax
call fcn.10001ee0
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [ebp - 0x28], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x18], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov edx, dword [ebp - 0x5c]
cmp edx, 8
jb 0x10018cc1
mov ecx, dword [ebp - 0x70]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10018cb7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10018f8c
push edx
push ecx
call fcn.10081441
add esp, 8
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.1004095b
add esp, 4
cmp dword [edi + 0x14], 8
jb 0x10018cdd
mov edi, dword [edi]
push str.upgrade.dll
push edi
lea eax, [ebp - 0x70]
push 0x100f5634
push eax
call fcn.100350d8
mov esi, eax
add esp, 0x10
lea eax, [ebp - 0x40]
cmp eax, esi
je 0x10018d28
mov ecx, eax
call fcn.10001ee0
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [ebp - 0x40], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x30], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov edx, dword [ebp - 0x5c]
cmp edx, 8
jb 0x10018d62
mov ecx, dword [ebp - 0x70]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10018d58
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10018f91
push edx
push ecx
call fcn.10081441
add esp, 8
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmovae eax, dword [ebp - 0x40]
push eax
call esi
test eax, eax
je 0x10018ea3
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call esi
test eax, eax
je 0x10018da4
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.10041b1d
add esp, 4
call fcn.10045da9
test al, al
je 0x10018e83
mov eax, dword [0x1012ebd0]
test eax, eax
je 0x10018e83
cmp dword [eax + 4], 4
jl 0x10018e83
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push str.1098
cmovae eax, dword [ebp - 0x28]
mov dword [ebp - 0x17c], eax
call fcn.10045bd3
push str.1091
mov dword [ebp - 0x178], eax
call fcn.10045bd3
add esp, 8
lea ecx, [ebp - 0x170]
mov esi, eax
push 0
push 0
push 0x100f5674
push 0x20
push str.CDoRemainLogic::CopyDllServiceFileToInsPath
push 4
call fcn.10006e20
mov dword [ebp - 0x174], eax
add eax, 0x28
mov byte [ebp - 4], 3
mov edi, 0x100f5c08
test esi, esi
mov ecx, edi
cmovne ecx, esi
push ecx
push eax
call fcn.10006220
mov ecx, dword [ebp - 0x178]
mov eax, edi
mov esi, dword [ebp - 0x174]
test ecx, ecx
cmovne eax, ecx
add esi, 0x28
push eax
push esi
call fcn.10006220
mov eax, dword [ebp - 0x17c]
test eax, eax
cmovne edi, eax
push edi
push esi
call fcn.10006220
mov ecx, dword [0x1012ebd0]
add esp, 0x18
push dword [ebp - 0x174]
call fcn.10007f70
lea ecx, [ebp - 0x170]
call fcn.10007910
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
push 0
cmovae ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x40]
cmp dword [ebp - 0x2c], 8
push ecx
cmovae eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov edx, dword [ebp - 0x44]
cmp edx, 8
jb 0x10018edd
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10018ed3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10018f96
push edx
push ecx
call fcn.10081441
add esp, 8
mov edx, dword [ebp - 0x2c]
xor eax, eax
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
cmp edx, 8
jb 0x10018f27
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10018f1d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10018f9b
push edx
push ecx
call fcn.10081441
add esp, 8
mov edx, dword [ebp - 0x14]
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
cmp edx, 8
jb 0x10018f71
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10018f67
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10018fa0
push edx
push ecx
call fcn.10081441
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10081454
mov esp, ebp
pop ebp
ret
call fcn.100ad050
call fcn.100ad050
call fcn.100ad050
call fcn.100ad050
call fcn.100ad050
int3