Function at 0x41134360
Capabilities:
Check if file exists

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x280
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov rax, qword [0x41359af8]
xor rax, rsp
mov qword [rsp + 0x270], rax
mov rax, qword [0x4135c018]
test rax, rax
jne 0x411343c1
mov ecx, 0x2d0
call fcn.41211580
mov qword [rsp + 0x20], rax
test rax, rax
je 0x411343b8
mov rcx, rax
call fcn.410228e0
jmp 0x411343ba
xor eax, eax
mov qword [0x4135c018], rax
mov rcx, rax
call fcn.4102a750
mov rsi, rax
mov edx, 7
mov qword [rsp + 0x50], rdx
xor r8d, r8d
mov qword [rsp + 0x48], r8
mov word [rsp + 0x38], r8w
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, rsi
repne scasw ax, word [rdi]
not rcx
sub rcx, 1
mov rbx, rcx
movabs rax, 0x7ffffffffffffffe
cmp rcx, rax
jbe 0x41134418
call fcn.4120fbc0
mov rdx, qword [rsp + 0x50]
mov r8, qword [rsp + 0x48]
cmp rdx, rbx
jae 0x41134431
mov rdx, rbx
lea rcx, [rsp + 0x30]
call fcn.41022ab0
mov rdx, qword [rsp + 0x50]
jmp 0x4113444f
test rbx, rbx
jne 0x4113444f
mov qword [rsp + 0x48], rbx
lea rax, [rsp + 0x38]
cmp rdx, 8
cmovae rax, qword [rsp + 0x38]
mov word [rax], bx
jmp 0x41134491
test rbx, rbx
je 0x41134491
lea rcx, [rsp + 0x38]
cmp rdx, 8
cmovae rcx, qword [rsp + 0x38]
lea rdi, [rbx + rbx]
add rdx, rdx
mov r9, rdi
mov r8, rsi
call fcn.412118b0
mov qword [rsp + 0x48], rbx
lea rax, [rsp + 0x38]
cmp qword [rsp + 0x50], 8
cmovae rax, qword [rsp + 0x38]
mov word [rdi + rax], 0
mov r8d, 0xf
lea rdx, str.SCHandInput.exe
lea rcx, [rsp + 0x30]
call fcn.41022fe0
lea rcx, [rsp + 0x38]
cmp qword [rsp + 0x50], 8
cmovae rcx, qword [rsp + 0x38]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x411345a2
mov word [rsp + 0x60], 0
xor edx, edx
mov r8d, 0x206
lea rcx, [rsp + 0x62]
call fcn.412121c0
lea r8, [rsp + 0x38]
cmp qword [rsp + 0x50], 8
cmovae r8, qword [rsp + 0x38]
lea rdx, [0x412b2cf0]
lea rcx, [rsp + 0x60]
call fcn.412122b0
mov rax, qword [0x41360978]
test rax, rax
jne 0x41134535
mov ecx, 0x398
call fcn.41211580
mov qword [rsp + 0x20], rax
test rax, rax
je 0x4113452c
mov rcx, rax
call fcn.410825d0
jmp 0x4113452e
xor eax, eax
mov qword [0x41360978], rax
mov rcx, rax
call fcn.4107bb90
test eax, eax
jne 0x411346a6
mov rax, qword [0x41360978]
test rax, rax
jne 0x41134578
mov ecx, 0x398
call fcn.41211580
mov qword [rsp + 0x20], rax
test rax, rax
je 0x4113456f
mov rcx, rax
call fcn.410825d0
jmp 0x41134571
xor eax, eax
mov qword [0x41360978], rax
mov rcx, rax
call fcn.4107bb70
test eax, eax
jne 0x41134593
lea rcx, [rsp + 0x60]
call fcn.4103dad0
jmp 0x411346a6
lea rcx, [rsp + 0x60]
call fcn.41038e80
jmp 0x411346a6
mov word [rsp + 0x60], 0
xor edx, edx
mov r8d, 0x206
lea rcx, [rsp + 0x62]
call fcn.412121c0
mov rax, qword [0x4135c018]
test rax, rax
jne 0x411345ee
mov ecx, 0x2d0
call fcn.41211580
mov qword [rsp + 0x20], rax
test rax, rax
je 0x411345e5
mov rcx, rax
call fcn.410228e0
jmp 0x411345e7
xor eax, eax
mov qword [0x4135c018], rax
mov rcx, rax
call fcn.4102a750
mov r8, rax
lea r9, str.SCTool.exe
lea rdx, str.__s_s__DownLoadHandInputByHand
lea rcx, [rsp + 0x60]
call fcn.412122b0
mov rax, qword [0x41360978]
test rax, rax
jne 0x41134644
mov ecx, 0x398
call fcn.41211580
mov qword [rsp + 0x20], rax
test rax, rax
je 0x4113463b
mov rcx, rax
call fcn.410825d0
jmp 0x4113463d
xor eax, eax
mov qword [0x41360978], rax
mov rcx, rax
call fcn.4107bb90
test eax, eax
jne 0x411346a6
mov rax, qword [0x41360978]
test rax, rax
jne 0x41134683
mov ecx, 0x398
call fcn.41211580
mov qword [rsp + 0x20], rax
test rax, rax
je 0x4113467a
mov rcx, rax
call fcn.410825d0
jmp 0x4113467c
xor eax, eax
mov qword [0x41360978], rax
mov rcx, rax
call fcn.4107bb70
test eax, eax
jne 0x4113469b
lea rcx, [rsp + 0x60]
call fcn.4103dad0
jmp 0x411346a6
lea rcx, [rsp + 0x60]
call fcn.41038e80
nop
cmp qword [rsp + 0x50], 8
jb 0x411346b8
mov rcx, qword [rsp + 0x38]
call fcn.41210d60
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.41211b80
lea r11, [rsp + 0x280]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret