Function at 0x140003478
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r13
push r14
push r15
lea rbp, [rsp - 0x860]
sub rsp, 0x960
mov rax, qword [0x1400b7a38]
xor rax, rsp
mov qword [rbp + 0x850], rax
xor r15d, r15d
mov rdi, r9
mov rbx, r8
mov rsi, rdx
mov r14, rcx
test rdx, rdx
je 0x140003768
test rbx, rbx
je 0x140003768
xor edx, edx
lea rcx, [rbp + 0x50]
mov r8d, 0x400
call fcn.14007c100
mov r13d, 0x3ff
lea rcx, [rbp + 0x50]
mov edx, r13d
mov r8, rsi
call fcn.14005838c
mov r8, rbx
lea rcx, [rbp + 0x50]
mov edx, r13d
call fcn.1400583ec
lea rcx, [rbp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x140003768
test al, 0x10
je 0x140003768
cmp dword [r14 + 0x38], 1
lea rcx, [rbp + 0x50]
jne 0x1400035e0
lea rdx, str.RoomConnector.exe
call fcn.1400033c4
lea rdx, str.gateway_conf_client.dll
mov ebx, eax
lea rcx, [rbp + 0x50]
call fcn.1400033c4
lea rdx, str.gmcm.dll
mov r14d, eax
lea rcx, [rbp + 0x50]
call fcn.1400033c4
lea rdx, str.gviper.dll
mov esi, eax
lea rcx, [rbp + 0x50]
call fcn.1400033c4
test ebx, ebx
je 0x140003768
test r14d, r14d
je 0x140003768
test esi, esi
je 0x140003768
test eax, eax
je 0x140003768
mov ebx, 0x104
mov qword [rsp + 0x30], r15
mov r8d, ebx
mov byte [rbp + 0x3c], r15b
xor edx, edx
mov qword [rbp + 0x3e], r15
lea rcx, [rsp + 0x38]
mov dword [rbp + 0x48], r15d
call fcn.14007c100
mov edx, ebx
mov dword [rsp + 0x34], 1
lea rcx, [rbp + 0x50]
call fcn.140057cec
inc rax
cmp rax, rbx
jae 0x1400036c2
lea r8, [rbp + 0x50]
mov edx, ebx
lea rcx, [rsp + 0x38]
call fcn.14005838c
jmp 0x14000375b
cmp dword [r14 + 0x38], 2
jne 0x14000361e
lea rdx, str.Controller.exe
call fcn.1400033c4
lea rdx, [0x14009a0b8]
mov ebx, eax
lea rcx, [rbp + 0x50]
call fcn.1400033c4
lea rdx, str.zrc_sdk.dll
mov esi, eax
lea rcx, [rbp + 0x50]
call fcn.1400033c4
test ebx, ebx
jmp 0x140003571
lea rdx, [0x14009a0d8]
call fcn.1400033c4
lea rdx, str.zChatApp.dll
mov ebx, eax
lea rcx, [rbp + 0x50]
call fcn.1400033c4
lea rdx, str.zVideoApp.dll
mov esi, eax
lea rcx, [rbp + 0x50]
call fcn.1400033c4
lea rdx, [0x14009a0b8]
mov r14d, eax
lea rcx, [rbp + 0x50]
call fcn.1400033c4
test ebx, ebx
je 0x140003768
test esi, esi
je 0x140003768
test r14d, r14d
je 0x140003768
test eax, eax
je 0x140003768
mov ebx, 0x104
mov qword [rsp + 0x30], r15
mov r8d, ebx
mov byte [rbp + 0x3c], r15b
xor edx, edx
mov qword [rbp + 0x3e], r15
lea rcx, [rsp + 0x38]
mov dword [rbp + 0x48], r15d
call fcn.14007c100
mov edx, ebx
mov dword [rsp + 0x34], 1
lea rcx, [rbp + 0x50]
call fcn.140057cec
inc rax
cmp rax, rbx
jb 0x1400036c9
xor eax, eax
jmp 0x14000376d
lea r8, [rbp + 0x50]
mov rdx, rbx
lea rcx, [rsp + 0x38]
call fcn.14005838c
cmp dword [rbp + 0x8c0], r15d
je 0x14000375b
xor edx, edx
lea rcx, [rbp + 0x450]
mov r8d, 0x400
call fcn.14007c100
lea r8, [rsp + 0x38]
mov rdx, r13
lea rcx, [rbp + 0x450]
call fcn.14005838c
lea r8, [0x14009a038]
mov rdx, r13
lea rcx, [rbp + 0x450]
call fcn.1400583ec
lea r8, [0x14009a0d8]
mov rdx, r13
lea rcx, [rbp + 0x450]
call fcn.1400583ec
lea rcx, [rbp + 0x44]
mov qword [rsp + 0x20], rcx
lea r9, [rbp + 0x42]
lea rcx, [rbp + 0x450]
lea r8, [rbp + 0x40]
lea rdx, [rbp + 0x3e]
call fcn.1400046c8
mov byte [rbp + 0x3c], al
lea rdx, [rsp + 0x30]
mov rcx, rdi
call fcn.140003f68
mov eax, 1
mov rcx, qword [rbp + 0x850]
xor rcx, rsp
call fcn.1400775a0
add rsp, 0x960
pop r15
pop r14
pop r13
pop rdi
pop rsi
pop rbx
pop rbp
ret