Function at 0x14014cf00
Capabilities:
Create process on windows

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0xc38]
sub rsp, 0xd10
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x140324030]
xor rax, rsp
mov qword [rbp + 0xc00], rax
mov ebx, edx
mov r14, rcx
lea rcx, [rbp - 8]
call qword [sym.imp.mfc110u.dll_Ordinal_296]
nop
xor r15d, r15d
cmp dword [0x14034e540], 2
jne 0x14014cf67
cmp dword [0x14032f6c4], 2
cmove ebx, r15d
mov eax, dword [r14 + 0x7d0]
cmp eax, ebx
jne 0x14014cf7b
cmp eax, 2
jne 0x14014ddf9
mov dword [r14 + 0x7d4], eax
mov dword [r14 + 0x7d0], ebx
test ebx, ebx
jne 0x14014cfb0
mov dl, 1
mov rcx, qword [r14 + 0x150]
call qword [sym.imp.GLViewer_2DEngine.dll_public:_void___cdecl_CGLViewer_2DEngine::ShowViewer_bool____ptr64]
lea rcx, [r14 + reloc.mfc110u.dll_Ordinal_2216]
xor edx, edx
call qword [sym.imp.mfc110u.dll_Ordinal_13685]
jmp 0x14014ddf9
cmp ebx, 1
jne 0x14014da7f
cmp word [0x14034e684], r15w
jbe 0x14014ddf9
movzx ebx, word [r14 + 0xe980]
cmp ebx, 1
ja 0x14014ddf9
mov qword [rbp], r15
mov qword [rbp + 8], r15
mov qword [rbp + 0x10], r15
cmp dword [0x14034ee30], 0
je 0x14014d0c8
lea rdx, [rsp + 0x58]
lea rcx, [0x14034e310]
call fcn.140151f40
nop
mov r9, qword [rax]
mov r8, qword [0x14034ee40]
lea rdx, str._c_net_use__s__user:_s
lea rcx, [rbp - 8]
call qword [sym.imp.mfc110u.dll_Ordinal_4595]
nop
lea rcx, [rsp + 0x58]
call qword [sym.imp.mfc110u.dll_Ordinal_1027]
mov dword [rsp + 0x28], 5
mov qword [rsp + 0x20], r15
mov r9, qword [rbp - 8]
lea r8, str.cmd.exe
lea rdx, str.open
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
lea rcx, [rsp + 0x68]
call qword [sym.imp.mfc110u.dll_Ordinal_296]
nop
mov r8, qword [0x14034ee40]
lea rdx, str._s_
lea rcx, [rsp + 0x68]
call qword [sym.imp.mfc110u.dll_Ordinal_4595]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x70], rax
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x58]
call qword [sym.imp.mfc110u.dll_Ordinal_280]
mov rbx, rax
lea rdx, [0x14034ee48]
lea rcx, [rsp + 0x38]
call qword [sym.imp.mfc110u.dll_Ordinal_280]
lea rcx, [r14 + reloc.mfc110u.dll_Ordinal_2216]
mov r8, rbx
mov rdx, rax
call fcn.1400f44f0
nop
lea rcx, [rsp + 0x68]
call qword [sym.imp.mfc110u.dll_Ordinal_1027]
jmp 0x14014da58
mov qword [rbp + 0x4d8], r15
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x4e0], xmm0
lea rcx, [rbp + 0x20]
call fcn.140071b60
nop
mov r12, rbx
mov rax, qword [r14 + 0x720]
sub rax, qword [r14 + 0x718]
sar rax, 3
cmp rbx, rax
jb 0x14014d103
mov rcx, r15
jmp 0x14014d10e
mov rax, qword [r14 + 0x718]
mov rcx, qword [rax + rbx*8]
call qword [sym.imp.ModelManager.dll_public:_class_CModel____ptr64___cdecl_CModelManager::GetModel_void____ptr64]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x70], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x30]
mov qword [rbp - 0x68], rax
mov r8d, 4
lea rdx, [rsp + 0x58]
lea rcx, [0x14034e310]
call fcn.14015e6b0
mov rsi, rax
mov r8d, 4
lea rdx, [rsp + 0x60]
lea rcx, [0x14034e310]
call fcn.14015e5e0
mov rdi, rax
mov r8d, 4
lea rdx, [rsp + 0x30]
lea rcx, [0x14034e310]
call fcn.14015e510
mov rbx, rax
mov r8d, 4
lea rdx, [rsp + 0x40]
lea rcx, [0x14034e310]
call fcn.14015e420
nop
mov word [rsp + 0x28], r15w
mov qword [rsp + 0x20], rsi
mov r9, rdi
mov r8, rbx
mov rdx, rax
lea rcx, [rbp + 0x20]
call fcn.140071ef0
lea rdx, [0x140224a18]
lea rcx, [rsp + 0x68]
call qword [sym.imp.mfc110u.dll_Ordinal_286]
nop
lea rdx, [0x140224a18]
lea rcx, [rbp - 0x70]
call qword [sym.imp.mfc110u.dll_Ordinal_286]
nop
mov rbx, qword [0x14032d908]
lea rdx, [rbx + 0xdfa0]
lea rcx, [rsp + 0x68]
call qword [sym.imp.mfc110u.dll_Ordinal_1492]
lea rdx, [rbx + 0xdfa8]
lea rcx, [rbp - 0x70]
call qword [sym.imp.mfc110u.dll_Ordinal_1492]
mov rcx, qword [0x14032d908]
mov rax, qword [rcx + 0x720]
sub rax, qword [rcx + 0x718]
sar rax, 3
cmp r12, rax
jb 0x14014d226
mov rcx, r15
jmp 0x14014d231
mov rax, qword [rcx + 0x718]
mov rcx, qword [rax + r12*8]
mov r13d, r15d
test rcx, rcx
je 0x14014d265
call qword [sym.imp.ModelManager.dll_public:_class_CModel____ptr64___cdecl_CModelManager::GetModel_void____ptr64]
lea rdx, [rax + 0x258]
lea rcx, [rbp + 0x4f0]
call fcn.14014de40
mov r13d, dword [rbp + reloc.mfc110u.dll_Ordinal_1360]
lea rcx, [rbp + 0x4f0]
call fcn.1401519e0
mov qword [rbp - 0x38], r15
mov qword [rbp - 0x30], r15
mov qword [rbp - 0x28], r15
cmp byte [0x14034e74e], 0
jne 0x14014d60d
lea rax, [rsp + 0x30]
mov qword [rsp + 0x40], rax
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc110u.dll_Ordinal_280]
mov rbx, rax
lea rdx, [rbp - 0x70]
lea rcx, [rbp - 0x68]
call qword [sym.imp.mfc110u.dll_Ordinal_280]
nop
mov dword [rsp + 0x28], r13d
mov dword [rsp + 0x20], r15d
mov r9, rbx
mov r8, rax
lea rdx, [rbp - 0x38]
lea rcx, [rbp + 0x20]
call fcn.1400a6900
mov rdi, qword [rbp - 0x30]
mov rcx, rdi
mov r12, qword [rbp - 0x38]
sub rcx, r12
movabs rsi, 0x6666666666666667
mov rax, rsi
imul rcx
sar rdx, 5
mov rax, rdx
shr rax, 0x3f
add rdx, rax
je 0x14014d361
lea rax, [rsp + 0x30]
mov qword [rsp + 0x40], rax
lea r8, [r12 + 0x48]
lea rdx, [0x14026a5b4]
lea rcx, [rsp + 0x58]
call fcn.14005aa40
nop
lea r8, [0x140223734]
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.14003a710
mov rbx, rax
lea rdx, [r12 + 0x1c]
lea rcx, [rbp - 0x68]
call qword [sym.imp.mfc110u.dll_Ordinal_280]
mov rcx, qword [0x14032d908]
add rcx, reloc.mfc110u.dll_Ordinal_2216
mov r8, rbx
mov rdx, rax
call fcn.1400f44f0
nop
lea rcx, [rsp + 0x58]
call qword [sym.imp.mfc110u.dll_Ordinal_1027]
cmp word [0x14034e684], 2
jb 0x14014d59f
mov qword [rbp - 0x20], r15
mov qword [rbp - 0x18], r15
mov qword [rbp - 0x10], r15
lea rax, [rsp + 0x30]
mov qword [rsp + 0x40], rax
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc110u.dll_Ordinal_280]
mov rbx, rax
lea rdx, [rbp - 0x70]
lea rcx, [rbp - 0x68]
call qword [sym.imp.mfc110u.dll_Ordinal_280]
nop
mov dword [rsp + 0x28], r13d
mov dword [rsp + 0x20], 2
mov r9, rbx
mov r8, rax
lea rdx, [rbp - 0x20]
lea rcx, [rbp + 0x20]
call fcn.1400a6900
mov rdi, qword [rbp - 0x18]
mov rcx, rdi
mov r13, qword [rbp - 0x20]
sub rcx, r13
mov rax, rsi
imul rcx
sar rdx, 5
mov rax, rdx
shr rax, 0x3f
add rdx, rax
je 0x14014d530
lea rcx, [rsp + 0x58]
call qword [sym.imp.mfc110u.dll_Ordinal_296]
nop
movzx ecx, word [r14 + 0xe980]
mov rax, qword [r14 + 0x720]
sub rax, qword [r14 + 0x718]
sar rax, 3
cmp rcx, rax
jae 0x14014d425
mov rax, qword [r14 + 0x718]
mov r15, qword [rax + rcx*8]
mov rcx, r15
call qword [sym.imp.ModelManager.dll_public:_class_CModel____ptr64___cdecl_CModelManager::GetModel_void____ptr64]
mov rcx, rax
lea rdx, [rbp - 0x58]
call qword [sym.imp.ModelManager.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____cdecl_CModel::getModelName_void____ptr64]
nop
cmp qword [rax + 0x18], 8
jb 0x14014d446
mov rax, qword [rax]
mov rdx, rax
lea rcx, [rsp + 0x58]
call qword [sym.imp.mfc110u.dll_Ordinal_1494]
nop
cmp qword [rbp - 0x40], 8
jb 0x14014d466
mov rcx, qword [rbp - 0x58]
call qword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void____ptr64_]
lea rcx, [rsp + 0x60]
call qword [sym.imp.mfc110u.dll_Ordinal_296]
nop
mov r9, qword [r13 + 0x10]
mov r8d, dword [r13 + 0x18]
lea rdx, str.L_d__s
lea rcx, [rsp + 0x60]
call qword [sym.imp.mfc110u.dll_Ordinal_4595]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x38]
mov qword [rbp - 0x68], rax
lea rax, [rsp + 0x70]
mov qword [rbp - 0x80], rax
lea rdx, [r13 + 0x48]
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc110u.dll_Ordinal_280]
mov rsi, rax
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x38]
call qword [sym.imp.mfc110u.dll_Ordinal_280]
mov rdi, rax
lea r8, [r13 + 0x48]
lea rdx, [0x14026a5b4]
lea rcx, [rsp + 0x70]
call fcn.14005aa40
mov rbx, rax
lea rdx, [r13 + 0x1c]
lea rcx, [rbp - 0x58]
call qword [sym.imp.mfc110u.dll_Ordinal_280]
mov rcx, qword [0x14032d908]
add rcx, reloc.mfc110u.dll_Ordinal_2216
mov qword [rsp + 0x20], rsi
mov r9, rdi
mov r8, rbx
mov rdx, rax
call fcn.1400f46a0
nop
lea rcx, [rsp + 0x60]
call qword [sym.imp.mfc110u.dll_Ordinal_1027]
nop
lea rcx, [rsp + 0x58]
call qword [sym.imp.mfc110u.dll_Ordinal_1027]
mov rdi, qword [rbp - 0x18]
test r13, r13
je 0x14014d59b
cmp r13, rdi
je 0x14014d592
lea rbx, [r13 + 0x34]
nop
lea rcx, [rbx + 0x14]
call qword [sym.imp.mfc110u.dll_Ordinal_1027]
mov rcx, rbx
call qword [sym.imp.mfc110u.dll_Ordinal_1027]
lea rcx, [rbx - 0x10]
call qword [sym.imp.mfc110u.dll_Ordinal_1027]
lea rcx, [rbx - 0x18]
call qword [sym.imp.mfc110u.dll_Ordinal_1027]
lea rcx, [rbx - 0x24]
call qword [sym.imp.mfc110u.dll_Ordinal_1027]
lea rcx, [rbx - 0x2c]
call qword [sym.imp.mfc110u.dll_Ordinal_1027]
lea rcx, [rbx - 0x34]
call qword [sym.imp.mfc110u.dll_Ordinal_1027]
add rbx, 0x50
lea rax, [rbx - 0x34]
cmp rax, rdi
jne 0x14014d540
mov rcx, r13
call qword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void____ptr64_]
mov rdi, qword [rbp - 0x30]
test r12, r12
je 0x14014d9fb
cmp r12, rdi
je 0x14014d9f2
lea rbx, [r12 + 0x34]
lea rcx, [rbx + 0x14]
call qword [sym.imp.mfc110u.dll_Ordinal_1027]
mov rcx, rbx
call qword [sym.imp.mfc110u.dll_Ordinal_1027]
lea rcx, [rbx - 0x10]
call qword [sym.imp.mfc110u.dll_Ordinal_1027]
lea rcx, [rbx - 0x18]
call qword [sym.imp.mfc110u.dll_Ordinal_1027]
lea rcx, [rbx - 0x24]
call qword [sym.imp.mfc110u.dll_Ordinal_1027]
lea rcx, [rbx - 0x2c]
call qword [sym.imp.mfc110u.dll_Ordinal_1027]
lea rcx, [rbx - 0x34]
call qword [sym.imp.mfc110u.dll_Ordinal_1027]
add rbx, 0x50
lea rax, [rbx - 0x34]
cmp rax, rdi
jne 0x14014d5b6
jmp 0x14014d9f2
lea rax, [rsp + 0x70]
mov qword [rbp - 0x58], rax
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x70]
call qword [sym.imp.mfc110u.dll_Ordinal_280]
mov rbx, rax
lea rdx, [rbp - 0x70]
lea rcx, [rbp - 0x80]
call qword [sym.imp.mfc110u.dll_Ordinal_280]
nop
mov dword [rsp + 0x28], r13d
mov dword [rsp + 0x20], 1
mov r9, rbx
mov r8, rax
lea rdx, [rbp - 0x38]
lea rcx, [rbp + 0x20]
call fcn.1400a6900
mov rcx, qword [rbp - 0x30]
mov r12, qword [rbp - 0x38]
sub rcx, r12
movabs rax, 0x6666666666666667
imul rcx
sar rdx, 5
mov rax, rdx
shr rax, 0x3f
add rdx, rax
je 0x14014d743
lea rcx, [rsp + 0x60]
call qword [sym.imp.mfc110u.dll_Ordinal_296]
nop
mov r9, qword [r12 + 0x10]
mov r8d, dword [r12 + 0x18]
lea rdx, str.L_d__s
lea rcx, [rsp + 0x60]
call qword [sym.imp.mfc110u.dll_Ordinal_4595]
lea rax, [rsp + 0x70]
mov qword [rbp - 0x58], rax
lea rax, [rsp + 0x38]
mov qword [rbp - 0x80], rax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x40], rax
lea rdx, [r12 + 0x48]
lea rcx, [rsp + 0x70]
call qword [sym.imp.mfc110u.dll_Ordinal_280]
mov rsi, rax
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x38]
call qword [sym.imp.mfc110u.dll_Ordinal_280]
mov rdi, rax
lea r8, [r12 + 0x48]
lea rdx, [0x14026a5b4]
lea rcx, [rsp + 0x30]
call fcn.14005aa40
mov rbx, rax
lea rdx, [r12 + 0x1c]
lea rcx, [rbp - 0x68]
call qword [sym.imp.mfc110u.dll_Ordinal_280]
mov rcx, qword [0x14032d908]
add rcx, reloc.mfc110u.dll_Ordinal_2216
mov qword [rsp + 0x20], rsi
mov r9, rdi
mov r8, rbx
mov rdx, rax
call fcn.1400f4570
nop
lea rcx, [rsp + 0x60]
call qword [sym.imp.mfc110u.dll_Ordinal_1027]
mov qword [rbp - 0x20], r15
mov qword [rbp - 0x18], r15
mov qword [rbp - 0x10], r15
lea rax, [rsp + 0x70]
mov qword [rbp - 0x58], rax
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x70]
call qword [sym.imp.mfc110u.dll_Ordinal_280]
mov rbx, rax
lea rdx, [rbp - 0x70]
lea rcx, [rbp - 0x80]
call qword [sym.imp.mfc110u.dll_Ordinal_280]
nop
mov dword [rsp + 0x28], r13d
mov dword [rsp + 0x20], 2
mov r9, rbx
mov r8, rax
lea rdx, [rbp - 0x20]
lea rcx, [rbp + 0x20]
call fcn.1400a6900
mov rdi, qword [rbp - 0x18]
mov rcx, rdi
mov r13, qword [rbp - 0x20]
sub rcx, r13
movabs rax, 0x6666666666666667
imul rcx
sar rdx, 5
mov rax, rdx
shr rax, 0x3f
add rdx, rax
je 0x14014d921
lea rcx, [rsp + 0x58]
call qword [sym.imp.mfc110u.dll_Ordinal_296]
nop
movzx ecx, word [r14 + 0xe980]
mov rax, qword [r14 + 0x720]
sub rax, qword [r14 + 0x718]
sar rax, 3
cmp rcx, rax
jae 0x14014d7ff
mov rax, qword [r14 + 0x718]
mov r15, qword [rax + rcx*8]
mov rcx, r15
call qword [sym.imp.ModelManager.dll_public:_class_CModel____ptr64___cdecl_CModelManager::GetModel_void____ptr64]
mov rcx, rax
lea rdx, [rbp - 0x58]
call qword [sym.imp.ModelManager.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____cdecl_CModel::getModelName_void____ptr64]
nop
cmp qword [rax + 0x18], 8
jb 0x14014d820
mov rax, qword [rax]
mov rdx, rax
lea rcx, [rsp + 0x58]
call qword [sym.imp.mfc110u.dll_Ordinal_1494]
nop
cmp qword [rbp - 0x40], 8
jb 0x14014d840
mov rcx, qword [rbp - 0x58]
call qword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void____ptr64_]
lea rcx, [rsp + 0x60]
call qword [sym.imp.mfc110u.dll_Ordinal_296]
nop
mov r9, qword [r13 + 0x10]
mov r8d, dword [r13 + 0x18]
lea rdx, str.L_d__s
lea rcx, [rsp + 0x60]
call qword [sym.imp.mfc110u.dll_Ordinal_4595]
mov rdx, qword [r13 + 0x1c]
lea rcx, [rsp + 0x58]
call qword [sym.imp.mfc110u.dll_Ordinal_2848]
test eax, eax
je 0x14014d909
lea rax, [rsp + 0x70]
mov qword [rbp - 0x58], rax
lea rax, [rsp + 0x38]
mov qword [rbp - 0x80], rax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x40], rax
lea rdx, [r13 + 0x48]
lea rcx, [rsp + 0x70]
call qword [sym.imp.mfc110u.dll_Ordinal_280]
mov rsi, rax
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x38]
call qword [sym.imp.mfc110u.dll_Ordinal_280]
mov rdi, rax
lea r8, [r13 + 0x48]
lea rdx, [0x14026a5b4]
lea rcx, [rsp + 0x30]
call fcn.14005aa40
mov rbx, rax
lea rdx, [r13 + 0x1c]
lea rcx, [rbp - 0x68]
call qword [sym.imp.mfc110u.dll_Ordinal_280]
mov rcx, qword [0x14032d908]
add rcx, reloc.mfc110u.dll_Ordinal_2216
mov qword [rsp + 0x20], rsi
mov r9, rdi
mov r8, rbx
mov rdx, rax
call fcn.1400f46a0
mov rdi, qword [rbp - 0x18]
lea rcx, [rsp + 0x60]
call qword [sym.imp.mfc110u.dll_Ordinal_1027]
nop
lea rcx, [rsp + 0x58]
call qword [sym.imp.mfc110u.dll_Ordinal_1027]
nop
test r13, r13
je 0x14014d98c
cmp r13, rdi
je 0x14014d982
lea rbx, [r13 + 0x34]
nop
lea rcx, [rbx + 0x14]
call qword [sym.imp.mfc110u.dll_Ordinal_1027]
mov rcx, rbx
call qword [sym.imp.mfc110u.dll_Ordinal_1027]
lea rcx, [rbx - 0x10]
call qword [sym.imp.mfc110u.dll_Ordinal_1027]
lea rcx, [rbx - 0x18]
call qword [sym.imp.mfc110u.dll_Ordinal_1027]
lea rcx, [rbx - 0x24]
call qword [sym.imp.mfc110u.dll_Ordinal_1027]
lea rcx, [rbx - 0x2c]
call qword [sym.imp.mfc110u.dll_Ordinal_1027]
lea rcx, [rbx - 0x34]
call qword [sym.imp.mfc110u.dll_Ordinal_1027]
add rbx, 0x50
lea rax, [rbx - 0x34]
cmp rax, rdi
jne 0x14014d930
mov rcx, r13
call qword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void____ptr64_]
nop
test r12, r12
je 0x14014d9fb
mov rdi, qword [rbp - 0x30]
cmp r12, rdi
je 0x14014d9f2
lea rbx, [r12 + 0x34]
nop
lea rcx, [rbx + 0x14]
call qword [sym.imp.mfc110u.dll_Ordinal_1027]
mov rcx, rbx
call qword [sym.imp.mfc110u.dll_Ordinal_1027]
lea rcx, [rbx - 0x10]
call qword [sym.imp.mfc110u.dll_Ordinal_1027]
lea rcx, [rbx - 0x18]
call qword [sym.imp.mfc110u.dll_Ordinal_1027]
lea rcx, [rbx - 0x24]
call qword [sym.imp.mfc110u.dll_Ordinal_1027]
lea rcx, [rbx - 0x2c]
call qword [sym.imp.mfc110u.dll_Ordinal_1027]
lea rcx, [rbx - 0x34]
call qword [sym.imp.mfc110u.dll_Ordinal_1027]
add rbx, 0x50
lea rax, [rbx - 0x34]
cmp rax, rdi
jne 0x14014d9a0
mov rcx, r12
call qword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void____ptr64_]
lea rcx, [rbp + 0x218]
call qword [sym.imp.SQLDB.dll_public:_bool___cdecl_SQLDB::isDBConnction_void____ptr64]
cmp al, 1
jne 0x14014da19
lea rcx, [rbp + 0x218]
call qword [sym.imp.SQLDB.dll_public:_void___cdecl_SQLDB::DBDisconnect_void____ptr64]
lea rcx, [rbp + 0x358]
call qword [sym.imp.SQLDB.dll_public:_bool___cdecl_SQLDB::isDBConnction_void____ptr64]
cmp al, 1
jne 0x14014da38
lea rcx, [rbp + 0x358]
call qword [sym.imp.SQLDB.dll_public:_void___cdecl_SQLDB::DBDisconnect_void____ptr64]
nop
lea rcx, [rbp - 0x70]
call qword [sym.imp.mfc110u.dll_Ordinal_1027]
nop
lea rcx, [rsp + 0x68]
call qword [sym.imp.mfc110u.dll_Ordinal_1027]
nop
lea rcx, [rbp + 0x20]
call fcn.140071dc0
xor edx, edx
mov rcx, qword [r14 + 0x150]
call qword [sym.imp.GLViewer_2DEngine.dll_public:_void___cdecl_CGLViewer_2DEngine::ShowViewer_bool____ptr64]
lea rcx, [r14 + reloc.mfc110u.dll_Ordinal_2216]
mov edx, 5
call qword [sym.imp.mfc110u.dll_Ordinal_13685]
nop
jmp 0x14014ddf9
cmp ebx, 3
jne 0x14014dacb
cmp word [0x14034e684], r15w
jbe 0x14014ddf9
xor edx, edx
mov rcx, qword [r14 + 0x150]
call qword [sym.imp.GLViewer_2DEngine.dll_public:_void___cdecl_CGLViewer_2DEngine::ShowViewer_bool____ptr64]
mov byte [r14 + 0xdf88], 1
lea rcx, [r14 + reloc.mfc110u.dll_Ordinal_2216]
lea edx, [rbx + 2]
call qword [sym.imp.mfc110u.dll_Ordinal_13685]
mov rcx, qword [r14 + 0x150]
call qword [sym.imp.GLViewer_2DEngine.dll_public:_void___cdecl_CGLViewer_2DEngine::Draw_void____ptr64]
jmp 0x14014ddf9
cmp ebx, 4
jne 0x14014dbfe
cmp byte [0x14034e612], 1
jne 0x14014ddf9
mov dl, 1
mov rcx, qword [r14 + 0x150]
call qword [sym.imp.GLViewer_2DEngine.dll_public:_void___cdecl_CGLViewer_2DEngine::ShowViewer_bool____ptr64]
lea rcx, [r14 + reloc.mfc110u.dll_Ordinal_2216]
xor edx, edx
call qword [sym.imp.mfc110u.dll_Ordinal_13685]
lea rcx, [r14 + 0xe520]
xor edx, edx
call qword [sym.imp.mfc110u.dll_Ordinal_13685]
cmp byte [0x14034e718], r15b
jne 0x14014ddf9
xor r9d, r9d
mov edx, 0x46000000
mov r8d, 0x80000000
mov rcx, qword [0x14032d948]
call qword [sym.imp.mfc110u.dll_Ordinal_8321]
mov rax, qword [0x14032d8f0]
test rax, rax
je 0x14014db46
mov r15, qword [rax + 0x40]
mov rdx, r15
mov rcx, qword [0x14032d948]
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_SetParent]
mov rcx, rax
call qword [sym.imp.mfc110u.dll_Ordinal_4665]
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov edi, eax
mov ecx, 1
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov ebx, eax
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0xb]
mov rcx, qword [0x14032d908]
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_SendMessageW]
lea ecx, [rbx - 0x50]
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], ecx
mov r9d, edi
xor r8d, r8d
xor edx, edx
mov rcx, qword [0x14032d948]
call qword [sym.imp.mfc110u.dll_Ordinal_8360]
xor r9d, r9d
lea edx, [r9 + 0xb]
lea r8d, [r9 + 1]
mov rcx, qword [0x14032d908]
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_SendMessageW]
xor edx, edx
lea r8d, [rdx + 1]
mov rcx, qword [0x14032d948]
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_InvalidateRect]
mov rcx, qword [0x14032d948]
call qword [sym.imp.mfc110u.dll_Ordinal_13020]
jmp 0x14014ddf9
cmp ebx, 5
jne 0x14014ddf9
lea rcx, [r14 + reloc.mfc110u.dll_Ordinal_2216]
xor edx, edx
call qword [sym.imp.mfc110u.dll_Ordinal_13685]
lea rbx, [r14 + 0xe520]
mov edx, 5
mov rcx, rbx
call qword [sym.imp.mfc110u.dll_Ordinal_13685]
test rbx, rbx
je 0x14014ddf9
cmp qword [rbx + 0x40], r15
je 0x14014ddf9
mov qword [rbp - 0x58], r15
mov qword [rbp - 0x50], r15
lea rdx, [rbp - 0x58]
mov rcx, qword [r14 + 0xe560]
call qword [sym.imp.USER32.dll_GetClientRect]
mov qword [rbp - 0x60], r15
lea rsi, vtable.CRgn.0
mov qword [rbp - 0x68], rsi
mov r9d, dword [rbp - 0x4c]
mov r8d, dword [rbp - 0x50]
mov edx, dword [rbp - 0x54]
mov ecx, dword [rbp - 0x58]
call qword [sym.imp.GDI32.dll_CreateRectRgn]
mov rdx, rax
lea rcx, [rbp - 0x68]
call qword [sym.imp.mfc110u.dll_Ordinal_2421]
mov edi, dword [rbp - 0x50]
mov ecx, edi
mov r8d, dword [rbp - 0x58]
sub ecx, r8d
mov eax, 0x55555556
imul ecx
mov r11d, edx
shr r11d, 0x1f
add r11d, edx
lea ebx, [r11 + r8]
mov r9d, dword [rbp - 0x4c]
mov ecx, r9d
mov r10d, dword [rbp - 0x54]
sub ecx, r10d
mov eax, 0x55555556
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + r10]
sub edi, r11d
sub r9d, edx
mov qword [rsp + 0x78], r15
mov qword [rsp + 0x70], rsi
mov r8d, edi
mov edx, eax
mov ecx, ebx
call qword [sym.imp.GDI32.dll_CreateRectRgn]
mov rdx, rax
lea rcx, [rsp + 0x70]
call qword [sym.imp.mfc110u.dll_Ordinal_2421]
mov r9d, 3
mov r8, qword [rsp + 0x78]
mov rcx, qword [rbp - 0x60]
mov rdx, rcx
call qword [sym.imp.GDI32.dll_CombineRgn]
mov r8d, 1
mov rdx, qword [rbp - 0x60]
mov rcx, qword [r14 + 0xe560]
call qword [sym.imp.USER32.dll_SetWindowRgn]
mov qword [rbp - 0x80], r15
mov qword [rbp - 0x78], r15
lea rdx, [rbp - 0x80]
mov rcx, qword [r14 + 0x40]
call qword [sym.imp.USER32.dll_GetClientRect]
mov edx, 0xfffffffe
mov r8d, edx
lea rcx, [rbp - 0x80]
call qword [sym.imp.USER32.dll_InflateRect]
mov r10d, dword [rbp - 0x7c]
add r10d, 0x20
mov dword [rbp - 0x7c], r10d
mov r11d, dword [rbp - 0x78]
mov ecx, r11d
mov r8d, dword [rbp - 0x80]
sub ecx, r8d
mov eax, 0x55555556
imul ecx
mov r9d, edx
shr r9d, 0x1f
add r9d, edx
lea ecx, [r9 + r8]
mov dword [rsp + 0x40], ecx
mov r8d, dword [rbp - 0x74]
mov ecx, r8d
sub ecx, r10d
mov eax, 0x55555556
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + r10]
mov dword [rsp + 0x44], eax
sub r11d, r9d
mov dword [rsp + 0x48], r11d
sub r8d, edx
mov dword [rsp + 0x4c], r8d
movzx eax, r8w
movzx r8d, word [rsp + 0x44]
sub ax, r8w
movzx r9d, r11w
movzx edx, word [rsp + 0x40]
sub r9w, dx
mov word [rsp + 0x20], ax
mov rcx, qword [r14 + 0x150]
call qword [sym.imp.GLViewer_2DEngine.dll_public:_void___cdecl_CGLViewer_2DEngine::ResizeViewer_short_int__short_int__short_int__short_int____ptr64]
nop
mov qword [rsp + 0x70], rsi
lea rcx, [rsp + 0x70]
call fcn.140019860
nop
mov qword [rbp - 0x68], rsi
lea rcx, [rbp - 0x68]
call fcn.140019860
nop
lea rcx, [rbp - 8]
call qword [sym.imp.mfc110u.dll_Ordinal_1027]
mov rcx, qword [rbp + 0xc00]
xor rcx, rsp
call fcn.1401e3980
lea r11, [rsp + 0xd10]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret