Function at 0x14018d7d0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 7]
sub rsp, 0xb8
mov qword [rbp - 0x39], 0xfffffffffffffffe
mov rax, qword [0x140324030]
xor rax, rsp
mov qword [rbp - 0x11], rax
mov byte [rbp - 0x61], r9b
movzx r13d, r8w
mov word [rbp - 0x5f], r8w
movzx r12d, dx
mov rbx, rcx
mov r14, qword [rbp + 0x6f]
mov qword [rbp - 0x31], r14
mov r15, qword [rbp + 0x7f]
mov qword [rbp - 0x29], r15
add rcx, 0x10d8
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rdi, qword [0x14032d8f0]
lea rcx, [rbp - 0x21]
call qword [sym.imp.mfc110u.dll_Ordinal_296]
nop
mov esi, r12d
imul rsi, rsi, 0x408
add rsi, rbx
cmp byte [rsi + 0xae8], 0
jne 0x14018d89f
lea rdx, str.Try_to_connect_mes
lea rcx, [rbp - 0x21]
call qword [sym.imp.mfc110u.dll_Ordinal_4595]
lea rdx, [rbp - 0x21]
lea rcx, [rbp - 0x51]
call qword [sym.imp.mfc110u.dll_Ordinal_280]
lea rcx, [rbx + 0x1150]
mov rdx, rax
call qword [sym.imp.LogMsgInterface.dll_public:_void___cdecl_CLogMsgInterface::writeLogData_class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t_______ptr64]
test rdi, rdi
jne 0x14018d890
xor edx, edx
jmp 0x14018d894
mov rdx, qword [rdi + 0x40]
mov r8b, 1
mov rcx, rbx
call fcn.14018c700
cmp byte [rsi + 0xae8], 1
jne 0x14018da9d
movzx eax, r13w
mov dword [rbp - 0x5d], eax
movzx ecx, r12w
mov dword [rbp - 0x59], ecx
movzx r12d, byte [rbp - 0x61]
mov r8d, r12d
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x30], ecx
mov rax, qword [r15]
mov qword [rsp + 0x28], rax
mov rax, qword [rbp + 0x77]
mov qword [rsp + 0x20], rax
mov r9, qword [r14]
lea rdx, str.SendDbProcCompleteForPanelVerify__Send_combine_final_decision_:__d___s___I64d___s__Lane:_d__Active:_d_
lea rcx, [rbp - 0x21]
call qword [sym.imp.mfc110u.dll_Ordinal_4595]
lea rdx, [rbp - 0x21]
lea rcx, [rbp - 0x51]
call qword [sym.imp.mfc110u.dll_Ordinal_280]
lea rcx, [rbx + 0x1150]
mov rdx, rax
call qword [sym.imp.LogMsgInterface.dll_public:_void___cdecl_CLogMsgInterface::writeLogData_class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t_______ptr64]
lea rax, [rbp - 0x51]
mov qword [rbp - 0x41], rax
mov rdx, r15
lea rcx, [rbp - 0x51]
call qword [sym.imp.mfc110u.dll_Ordinal_280]
mov rdi, rax
mov rdx, r14
lea rcx, [rbp - 0x49]
call qword [sym.imp.mfc110u.dll_Ordinal_280]
nop
mov qword [rsp + 0x28], rdi
mov rcx, qword [rbp + 0x77]
mov qword [rsp + 0x20], rcx
mov r9, rax
movzx r8d, r12b
movzx edx, word [rbp - 0x5f]
lea rcx, [rsi + 0x880]
call fcn.14005f310
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, eax
xor edx, edx
mov rcx, qword [rsi + 0x8b8]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x14018d9c7
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, edi
mov ecx, dword [rbx + 0x1148]
add ecx, ecx
cmp eax, ecx
ja 0x14018d9a7
mov ecx, 0xa
call qword [sym.imp.KERNEL32.dll_Sleep]
xor edx, edx
mov rcx, qword [rsi + 0x8b8]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x14018d973
jmp 0x14018d9c7
mov dword [rbx + Ordinal_4411], 0xffffffff
lea rcx, [rbx + 0x1140]
lea rdx, str.Mes_Time_Over..
call qword [sym.imp.mfc110u.dll_Ordinal_1494]
jmp 0x14018da16
lea rdx, [0x140224a18]
lea rcx, [rbp - 0x19]
call qword [sym.imp.mfc110u.dll_Ordinal_286]
nop
mov edi, dword [rsi + 0x8d0]
lea rdx, [rsi + 0x8d8]
lea rcx, [rbp - 0x19]
call qword [sym.imp.mfc110u.dll_Ordinal_1492]
mov dword [rbx + Ordinal_4411], edi
lea rcx, [rbx + 0x1140]
lea rdx, [rbp - 0x19]
call qword [sym.imp.mfc110u.dll_Ordinal_1492]
nop
lea rcx, [rbp - 0x19]
call qword [sym.imp.mfc110u.dll_Ordinal_1027]
test edi, edi
je 0x14018da6d
mov r8d, dword [rbx + 0x1148]
add r8d, r8d
mov rax, qword [r15]
mov qword [rsp + 0x40], rax
mov rax, qword [rbp + 0x77]
mov qword [rsp + 0x38], rax
mov rax, qword [r14]
mov qword [rsp + 0x30], rax
movzx eax, r12b
mov dword [rsp + 0x28], eax
mov eax, dword [rbp - 0x5d]
mov dword [rsp + 0x20], eax
mov r9d, dword [rbp - 0x59]
lea rdx, str.SendDbProcCompleteForPanelVerify__send_time_out__d_ms__:_lane:_d__active:_d__isAOI:_d__Model:_s__PanelIdx:_I64d__barcode:_s
lea rcx, [rbp - 0x21]
call qword [sym.imp.mfc110u.dll_Ordinal_4595]
lea rdx, [rbp - 0x21]
lea rcx, [rbp - 0x49]
call qword [sym.imp.mfc110u.dll_Ordinal_280]
jmp 0x14018dacc
lea rcx, [rbx + reloc.mfc110u.dll_Ordinal_4296]
mov rax, qword [rcx]
call qword [rax + gethostname]
nop
lea rcx, [rbp - 0x21]
call qword [sym.imp.mfc110u.dll_Ordinal_1027]
nop
mov rcx, r14
call qword [sym.imp.mfc110u.dll_Ordinal_1027]
nop
mov rcx, r15
call qword [sym.imp.mfc110u.dll_Ordinal_1027]
mov al, 1
jmp 0x14018db0a
mov dword [rbx + Ordinal_4411], 0xffffffff
lea rcx, [rbx + 0x1140]
lea rdx, str.Cannot_connect_xNetAgent
call qword [sym.imp.mfc110u.dll_Ordinal_1494]
lea rdx, str.SendDbProcCompleteForPanelVerify__Cannot_connect_xNetAgent.___1_
lea rcx, [rbp - 0x49]
call qword [sym.imp.mfc110u.dll_Ordinal_286]
mov rdx, rax
lea rcx, [rbx + 0x1150]
call qword [sym.imp.LogMsgInterface.dll_public:_void___cdecl_CLogMsgInterface::writeLogData_class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t_______ptr64]
lea rcx, [rbx + reloc.mfc110u.dll_Ordinal_4296]
mov rax, qword [rcx]
call qword [rax + gethostname]
nop
lea rcx, [rbp - 0x21]
call qword [sym.imp.mfc110u.dll_Ordinal_1027]
nop
mov rcx, r14
call qword [sym.imp.mfc110u.dll_Ordinal_1027]
nop
mov rcx, r15
call qword [sym.imp.mfc110u.dll_Ordinal_1027]
xor al, al
mov rcx, qword [rbp - 0x11]
xor rcx, rsp
call fcn.1401e3980
add rsp, 0xb8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret