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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ec44e
mov eax, dword fs:[0]
push eax
sub esp, 0x188
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
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 - 0x78], eax
mov dword [ebp - 0x74], 7
mov word [ebp - 0x88], ax
push ecx
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 1
call fcn.10001d80
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 2
push eax
call fcn.10005780
mov ecx, eax
call fcn.1003eb87
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
push str.ziphost
cmovae eax, dword [ebp - 0x40]
push eax
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 3
push 0x100f6a38
push eax
call fcn.100350d8
mov esi, eax
add esp, 0x10
lea eax, [ebp - 0x40]
cmp eax, esi
je 0x10019510
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 0x1001954a
mov ecx, dword [ebp - 0x70]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10019540
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100198f2
push edx
push ecx
call fcn.10081441
add esp, 8
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push eax
call fcn.1004095b
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
push str.puscfg.exe
cmovae eax, dword [ebp - 0x40]
push eax
lea eax, [ebp - 0x70]
push 0x100f5634
push eax
call fcn.100350d8
mov esi, eax
add esp, 0x14
lea eax, [ebp - 0x28]
cmp eax, esi
je 0x100195b1
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 0x100195eb
mov ecx, dword [ebp - 0x70]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100195e1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100198f7
push edx
push ecx
call fcn.10081441
add esp, 8
cmp dword [ebp - 0x44], 8
lea eax, [ebp - 0x58]
push str.puscfg.exe
cmovae eax, dword [ebp - 0x58]
push eax
lea eax, [ebp - 0x70]
push 0x100f5634
push eax
call fcn.100350d8
mov esi, eax
add esp, 0x10
lea eax, [ebp - 0x58]
cmp eax, esi
je 0x10019641
mov ecx, eax
call fcn.10001ee0
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [ebp - 0x58], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x48], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov edx, dword [ebp - 0x5c]
cmp edx, 8
jb 0x1001967b
mov ecx, dword [ebp - 0x70]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10019671
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100198fc
push edx
push ecx
call fcn.10081441
add esp, 8
cmp dword [ebp - 0x44], 8
lea eax, [ebp - 0x58]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmovae eax, dword [ebp - 0x58]
push eax
call esi
test eax, eax
je 0x10019805
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call esi
test eax, eax
je 0x100196bd
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 0x10019797
mov eax, dword [0x1012ebd0]
test eax, eax
je 0x10019797
cmp dword [eax + 4], 4
jl 0x10019797
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push str.1096
cmovae eax, dword [ebp - 0x28]
mov dword [ebp - 0x190], eax
call fcn.10045bd3
push str.1091
mov dword [ebp - 0x18c], eax
call fcn.10045bd3
add esp, 8
lea ecx, [ebp - 0x188]
mov esi, eax
push 0
push 0
push 0x100f5674
push 0x3e
push str.CDoRemainLogic::CopyRemainServiceHostExeFileToInsPath
push 4
call fcn.10006e20
mov dword [ebp - 0x194], eax
mov edi, 0x100f5c08
mov byte [ebp - 4], 4
test esi, esi
mov ecx, edi
cmovne ecx, esi
lea esi, [eax + 0x28]
push ecx
push esi
call fcn.10006220
mov ecx, dword [ebp - 0x18c]
mov eax, edi
test ecx, ecx
cmovne eax, ecx
push eax
push esi
call fcn.10006220
mov eax, dword [ebp - 0x190]
test eax, eax
cmovne edi, eax
push edi
push esi
call fcn.10006220
mov ecx, dword [0x1012ebd0]
add esp, 0x18
push dword [ebp - 0x194]
call fcn.10007f70
lea ecx, [ebp - 0x188]
mov byte [ebp - 4], 3
call fcn.10007910
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
push 0
cmovae ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x58]
cmp dword [ebp - 0x44], 8
push ecx
cmovae eax, dword [ebp - 0x58]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push str.de5f4539
push str.qN7dnSN
push 0x100f5980
call fcn.10005780
mov ecx, eax
call fcn.1003ed01
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push str.de5f4539
push str.qN7dnSN
push str.fHrkis
call fcn.10005780
mov ecx, eax
call fcn.1003ed01
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x1001983f
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10019835
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10019901
push edx
push ecx
call fcn.10081441
add esp, 8
mov edx, dword [ebp - 0x44]
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
cmp edx, 8
jb 0x1001988d
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10019883
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10019906
push edx
push ecx
call fcn.10081441
add esp, 8
mov edx, dword [ebp - 0x14]
xor eax, eax
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
cmp edx, 8
jb 0x100198d7
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100198cd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001990b
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
call fcn.100ad050
int3