Function at 0x10100360
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10193f10
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x101f62b4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 4], 1
lea eax, [ebp + 8]
xor bl, bl
mov dword [ebp - 0x14], 0
cmp dword [ebp + 0x1c], 8
mov dword [ebp - 0x18], 0
cmovae eax, dword [ebp + 8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x10100450
test edi, edi
je 0x101003e7
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
mov esi, dword [edi]
cmovae eax, dword [ebp + 8]
push eax
push str.Source_path:_s_does_not_exist
push str.FileUtils
push 0x101ace0c
push 0x32
push edi
jmp 0x101004ff
mov esi, dword [0x101fc274]
test esi, esi
je 0x1010042c
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
mov ecx, esi
cmovae eax, dword [ebp + 8]
push eax
push str.Source_path:_s_does_not_exist
push 0x101ace0c
push 0x101ace0c
push str.FileUtils
push str.OOBEUtils
push 0x32
call dword [0x1019a4f8]
call esi
add esp, 0x1c
xor bl, bl
jmp 0x101006b7
mov ecx, dword [0x101fc278]
test ecx, ecx
je 0x1010050f
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push eax
push str.Source_path:_s_does_not_exist
jmp 0x101004f0
cmp dword [ebp + 0x34], 8
lea eax, [ebp + 0x20]
cmovae eax, dword [ebp + 0x20]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x10100516
test edi, edi
je 0x10100490
cmp dword [ebp + 0x34], 8
lea eax, [ebp + 0x20]
mov esi, dword [edi]
cmovae eax, dword [ebp + 0x20]
push eax
push str.Destination_path:_s_does_not_exist
push str.FileUtils
push 0x101ace0c
push 0x32
push edi
jmp 0x101004ff
mov esi, dword [0x101fc274]
test esi, esi
je 0x101004d5
cmp dword [ebp + 0x34], 8
lea eax, [ebp + 0x20]
mov ecx, esi
cmovae eax, dword [ebp + 0x20]
push eax
push str.Destination_path:_s_does_not_exist
push 0x101ace0c
push 0x101ace0c
push str.FileUtils
push str.OOBEUtils
push 0x32
call dword [0x1019a4f8]
call esi
add esp, 0x1c
xor bl, bl
jmp 0x101006b7
mov ecx, dword [0x101fc278]
test ecx, ecx
je 0x1010050f
cmp dword [ebp + 0x34], 8
lea eax, [ebp + 0x20]
cmovae eax, dword [ebp + 0x20]
push eax
push str.Destination_path:_s_does_not_exist
mov esi, dword [ecx]
push str.FileUtils
push 0x101ace0c
push 0x32
push ecx
mov esi, dword [esi + 0x34]
mov ecx, esi
call dword [0x1019a4f8]
call esi
add esp, 0x18
xor bl, bl
jmp 0x101006b7
cmp dword [ebp + 0x1c], 8
lea ecx, [ebp - 0x18]
push ecx
push 0
lea ecx, [ebp - 0x14]
push ecx
push 0
push 0
push SysStringLen
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push 1
push eax
call dword [sym.imp.ADVAPI32.dll_GetNamedSecurityInfoW]
mov edx, eax
test edx, edx
jne 0x10100606
cmp dword [ebp + 0x34], 8
lea eax, [ebp + 0x20]
push edx
push dword [ebp - 0x14]
cmovae eax, dword [ebp + 0x20]
push edx
push edx
push SysStringLen
push 1
push eax
call dword [sym.imp.ADVAPI32.dll_SetNamedSecurityInfoW]
mov edx, eax
test edx, edx
jne 0x10100573
mov bl, 1
jmp 0x101006a9
test edi, edi
je 0x1010059d
cmp dword [ebp + 0x34], 8
lea eax, [ebp + 0x20]
mov esi, dword [edi]
cmovae eax, dword [ebp + 0x20]
push edx
push eax
push str.Failed_to_set_security_descriptor_of_destination_at_path:_s_Error:__d
push str.FileUtils
push 0x101ace0c
push 0x32
push edi
jmp 0x10100699
mov esi, dword [0x101fc274]
test esi, esi
je 0x101005e1
cmp dword [ebp + 0x34], 8
lea eax, [ebp + 0x20]
push edx
cmovae eax, dword [ebp + 0x20]
mov ecx, esi
push eax
push str.Failed_to_set_security_descriptor_of_destination_at_path:_s_Error:__d
push 0x101ace0c
push 0x101ace0c
push str.FileUtils
push str.OOBEUtils
push 0x32
call dword [0x1019a4f8]
call esi
add esp, 0x20
jmp 0x101006a9
mov ecx, dword [0x101fc278]
test ecx, ecx
je 0x101006a9
cmp dword [ebp + 0x34], 8
lea eax, [ebp + 0x20]
push edx
cmovae eax, dword [ebp + 0x20]
push eax
push str.Failed_to_set_security_descriptor_of_destination_at_path:_s_Error:__d
jmp 0x1010068a
test edi, edi
je 0x1010062d
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
mov esi, dword [edi]
cmovae eax, dword [ebp + 8]
push edx
push eax
push str.Failed_to_get_security_descriptor_of_source_at_path:_s_Error:__d
push str.FileUtils
push 0x101ace0c
push 0x32
push edi
jmp 0x10100699
mov esi, dword [0x101fc274]
test esi, esi
je 0x1010066e
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
push edx
cmovae eax, dword [ebp + 8]
mov ecx, esi
push eax
push str.Failed_to_get_security_descriptor_of_source_at_path:_s_Error:__d
push 0x101ace0c
push 0x101ace0c
push str.FileUtils
push str.OOBEUtils
push 0x32
call dword [0x1019a4f8]
call esi
add esp, 0x20
jmp 0x101006a9
mov ecx, dword [0x101fc278]
test ecx, ecx
je 0x101006a9
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
push edx
cmovae eax, dword [ebp + 8]
push eax
push str.Failed_to_get_security_descriptor_of_source_at_path:_s_Error:__d
mov esi, dword [ecx]
push str.FileUtils
push 0x101ace0c
push 0x32
push ecx
mov esi, dword [esi + 0x34]
mov ecx, esi
call dword [0x1019a4f8]
call esi
add esp, 0x1c
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x101006b7
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov edx, dword [ebp + 0x1c]
cmp edx, 8
jb 0x101006ed
mov ecx, dword [ebp + 8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x101006e3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10100755
push edx
push ecx
call fcn.1015cbd5
add esp, 8
mov edx, dword [ebp + 0x34]
xor eax, eax
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x1c], 7
mov word [ebp + 8], ax
cmp edx, 8
jb 0x10100737
mov ecx, dword [ebp + 0x20]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1010072d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10100755
push edx
push ecx
call fcn.1015cbd5
add esp, 8
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1015c875
mov esp, ebp
pop ebp
ret
call fcn.101686f5
int3