Function at 0x1800012b0
Capabilities:
Get common file path
Link many functions at runtime
Set current directory

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x480
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov rax, qword [0x1800bc650]
xor rax, rsp
mov qword [rsp + 0x470], rax
mov eax, dword [0x1800d6528]
test eax, eax
jne 0x180001881
mov ecx, dword [0x1800d652c]
cmp ecx, 3
jge 0x180001881
inc ecx
mov dword [0x1800d652c], ecx
lea rdx, [0x1800916f0]
lea rcx, [rsp + 0x40]
call fcn.1800217e0
nop
call fcn.18000e380
mov r8, rax
lea r9, str.CameraFuncx64
lea rdx, [0x180091940]
lea rcx, [rsp + 0x40]
call fcn.180021070
xor ebx, ebx
mov word [rsp + 0x60], bx
xor edx, edx
mov r8d, 0x40e
lea rcx, [rsp + 0x62]
call fcn.180031540
lea rdx, [rsp + 0x60]
mov ecx, 0x207
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov ebp, eax
mov esi, ebx
mov r8, qword [rsp + 0x40]
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x60]
repne scasw ax, word [rdi]
not rcx
dec rcx
mov eax, dword [r8 - 8]
cmp rax, rcx
jne 0x18000139e
lea rdx, [rsp + 0x60]
mov rcx, r8
call fcn.18002fbe8
test eax, eax
je 0x1800013a9
mov r8, qword [rsp + 0x40]
mov rcx, r8
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov esi, eax
cmp dword [0x1800d5b50], ebx
je 0x1800013e2
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], ebp
lea r9, str.CCameraFunc::Init_1___08x____d____s_
lea r8, str.Camera
mov edx, reloc.WS2_32.dll_ntohs
lea rcx, [0x1800d5a98]
call fcn.180015330
lea rdx, [0x1800916f0]
lea rcx, [rsp + 0x48]
call fcn.1800217e0
nop
lea r9, str.CameraFunc64.dll
mov r8, qword [rsp + 0x40]
lea rdx, [0x180091940]
lea rcx, [rsp + 0x48]
call fcn.180021070
xor edx, edx
lea r8d, [rdx + 8]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rsi, rax
cmp dword [0x1800d5b50], 0
je 0x18000145c
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rsi
lea r9, str.CCameraFunc::Init_2___08x____s_
lea r8, str.Camera
mov edx, reloc.WS2_32.dll_ntohs
lea rcx, [0x1800d5a98]
call fcn.180015330
mov r8, qword [rsp + 0x40]
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x60]
repne scasw ax, word [rdi]
not rcx
dec rcx
mov eax, dword [r8 - 8]
cmp rax, rcx
jne 0x18000148f
lea rdx, [rsp + 0x60]
mov rcx, r8
call fcn.18002fbe8
test eax, eax
je 0x18000149c
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov ebx, eax
cmp dword [0x1800d5b50], 0
je 0x1800014d2
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], ebx
lea r9, str.CCameraFunc::Init_3___d____s_
lea r8, str.Camera
mov edx, reloc.WS2_32.dll_ntohs
lea rcx, [0x1800d5a98]
call fcn.180015330
test rsi, rsi
je 0x180001833
lea rdx, str.CameraCapture
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1800d5668], rax
lea rdx, str.CameraDestroy
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1800d5670], rax
lea rdx, str.VCam_Install
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1800d5678], rax
lea rdx, str.VCam_Release
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1800d5680], rax
lea rdx, str.VCam_StartVCam
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1800d5688], rax
lea rdx, str.VCam_SetResolution
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1800d5690], rax
lea rdx, str.VCam_StopVCam
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1800d5698], rax
lea rdx, str.VCam_GetLastError
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1800d56a0], rax
lea rdx, str.VCam_UnInstall
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1800d56a8], rax
lea rdx, str.Camera_Start
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1800d56b0], rax
lea rdx, str.Camera_Stop
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1800d56b8], rax
lea rdx, str.Camera_SetResolution
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1800d56c0], rax
lea rdx, str.Camera_QueryImage
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1800d56c8], rax
lea rdx, str.Camera_FreeImage
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1800d56d0], rax
lea rdx, str.Camera_ShowImage
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1800d56d8], rax
lea rdx, str.Camera_HideImage
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1800d56e0], rax
lea rdx, str.Camera_GetLastError
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1800d56e8], rax
lea rdx, str.Camera_Release
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1800d56f0], rax
lea rdx, str.Face_Initialize
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1800d56f8], rax
lea rdx, str.Face_SetFaceDetectInfo
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1800d5700], rax
lea rdx, str.Face_DealRefreshFacePhoto
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1800d5708], rax
lea rdx, str.Face_DetectFaceImage
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1800d5710], rax
lea rdx, str.Face_GetLastError
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1800d5718], rax
lea rdx, str.Face_Release
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
mov qword [0x1800d5720], rax
cmp qword [0x1800d5668], 0
je 0x180001833
cmp qword [0x1800d5670], 0
je 0x180001833
cmp qword [0x1800d5678], 0
je 0x180001833
cmp qword [0x1800d5680], 0
je 0x180001833
cmp qword [0x1800d5688], 0
je 0x180001833
cmp qword [0x1800d5690], 0
je 0x180001833
cmp qword [0x1800d5698], 0
je 0x180001833
cmp qword [0x1800d56a0], 0
je 0x180001833
cmp qword [0x1800d56a8], 0
je 0x180001833
cmp qword [0x1800d56b0], 0
je 0x180001833
cmp qword [0x1800d56b8], 0
je 0x180001833
cmp qword [0x1800d56c0], 0
je 0x180001833
cmp qword [0x1800d56c8], 0
je 0x180001833
cmp qword [0x1800d56d0], 0
je 0x180001833
cmp qword [0x1800d56d8], 0
je 0x180001833
cmp qword [0x1800d56e0], 0
je 0x180001833
cmp qword [0x1800d56e8], 0
je 0x180001833
cmp qword [0x1800d56f0], 0
je 0x180001833
cmp qword [0x1800d56f8], 0
je 0x180001833
cmp qword [0x1800d5700], 0
je 0x180001833
cmp qword [0x1800d5708], 0
je 0x180001833
cmp qword [0x1800d5710], 0
je 0x180001833
cmp qword [0x1800d5718], 0
je 0x180001833
mov eax, dword [0x1800d6528]
mov edx, 1
test rcx, rcx
cmovne eax, edx
mov dword [0x1800d6528], eax
cmp dword [0x1800d5b50], 0
je 0x180001866
mov eax, dword [0x1800d6528]
mov dword [rsp + 0x20], eax
lea r9, str.CCameraFunc::Init_4___d_
lea r8, str.Camera
mov edx, reloc.WS2_32.dll_ntohs
lea rcx, [0x1800d5a98]
call fcn.180015330
nop
lea rcx, [rsp + 0x48]
call fcn.1800204c0
nop
lea rcx, [rsp + 0x40]
call fcn.1800204c0
mov eax, dword [0x1800d6528]
mov rcx, qword [rsp + 0x470]
xor rcx, rsp
call fcn.18002f6f0
lea r11, [rsp + 0x480]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret