Function at 0x140025790
Capabilities:
Reference sql statements

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x440]
sub rsp, 0x540
mov qword [rsp + 0x70], 0xfffffffffffffffe
mov qword [rsp + 0x590], rbx
mov rax, qword [0x140121ef0]
xor rax, rsp
mov qword [rbp + 0x430], rax
mov rdi, rdx
mov r13, rcx
lea rcx, [rsp + 0x58]
call qword [sym.imp.mfc110u.dll_Ordinal_296]
nop
lea rcx, [rsp + 0x50]
call qword [sym.imp.mfc110u.dll_Ordinal_296]
nop
lea rcx, [rsp + 0x68]
call qword [sym.imp.mfc110u.dll_Ordinal_296]
nop
or edx, 0xffffffff
lea rcx, [0x140121ff8]
call sub.mfc110u.dll_Ordinal_8024
cmp byte [0x140121fb8], 0
jne 0x14002581b
mov rcx, r13
call fcn.140023b00
mov esi, eax
jmp 0x14002581f
mov esi, dword [rsp + 0x40]
cmp qword [r13 + 0x228], 0
jne 0x14002583b
mov rcx, r13
call fcn.140022de0
mov rcx, r13
call fcn.140023b00
mov esi, eax
test esi, esi
jns 0x14002589d
lea rcx, [rsp + 0x40]
call qword [sym.imp.mfc110u.dll_Ordinal_296]
nop
mov r8d, esi
lea rdx, str.MLKDatabase_thread_Write_LicenseData___InitDataBase_failed_with_0x_.8X
lea rcx, [rsp + 0x40]
call qword [sym.imp.mfc110u.dll_Ordinal_4595]
mov rbx, qword [0x140122018]
lea rcx, [rsp + 0x40]
call qword [sym.imp.mfc110u.dll_Ordinal_1632]
mov r8, rax
mov edx, 1
lea rcx, [rbx + 0xc0]
call fcn.14006a5c0
lea rcx, [0x140121ff8]
call sub.mfc110u.dll_Ordinal_13890
nop
lea rcx, [rsp + 0x40]
jmp 0x140026b7c
cmp qword [rdi + 0x18], 8
jb 0x1400258a9
mov r8, qword [rdi]
jmp 0x1400258ac
mov r8, rdi
lea rcx, [r13 + 0x26c]
mov r9, qword [rdi + 0x10]
mov edx, Ordinal_265
call qword [sym.imp.MSVCR110.dll_wcsncpy_s]
lea rcx, [rsp + 0x60]
call qword [sym.imp.mfc110u.dll_Ordinal_296]
nop
cmp qword [rdi + 0x18], 8
jb 0x1400258da
mov r8, qword [rdi]
jmp 0x1400258dd
mov r8, rdi
lea rdx, str.SELECT__FROM_ClientPC_WHERE___ClientName___s__
lea rcx, [rsp + 0x60]
call qword [sym.imp.mfc110u.dll_Ordinal_4595]
lea rcx, [rsp + 0x60]
call qword [sym.imp.mfc110u.dll_Ordinal_1632]
lea r14, [r13 + 0x250]
lea r15, str.SELECT__FROM_ClientPC_WHERE___ClientName_____
mov rsi, r15
test rax, rax
cmovne rsi, rax
lea rdx, [r13 + 0x228]
lea rcx, [r14 + 0x2a8]
call fcn.14000eb00
xor r12d, r12d
test eax, eax
js 0x14002598f
mov qword [rsp + 0x40], r12
mov rcx, qword [r14 + 0x2a8]
mov rax, qword [rcx]
lea r8, [rsp + 0x40]
lea rdx, [0x1400d4ba8]
call qword [rax]
mov ebx, eax
test eax, eax
js 0x140025966
mov rcx, qword [rsp + 0x40]
mov rax, qword [rcx]
mov r8, rsi
lea rdx, [0x1400f2a30]
call qword [rax + gethostname]
mov ebx, eax
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x140025976
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
test ebx, ebx
js 0x14002598f
mov dword [rsp + 0x20], r12d
mov r9b, 1
xor r8d, r8d
xor edx, edx
mov rcx, r14
call fcn.140024730
mov r8b, 1
xor edx, edx
lea rcx, [r13 + 0x4d0]
call fcn.140024440
mov rbx, qword [r14 + 0x280]
test eax, eax
je 0x140025bd5
test rbx, rbx
je 0x1400259d6
mov rdx, rbx
mov rcx, r14
call fcn.140023230
mov rdx, rbx
mov rcx, r14
call fcn.140018300
lea rcx, [r14 + 0x280]
call fcn.140022a80
xor ebx, ebx
mov qword [rbp + 0x20], rbx
mov dword [rbp + 0x28], ebx
mov qword [rbp + 0x30], rbx
xor edx, edx
mov r8d, 0x264
lea rcx, [rbp + 0x38]
call sub.MSVCR110.dll_memset
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x2a0], xmm0
mov qword [rbp + 0x2c0], rbx
mov qword [rbp + 0x2b8], rbx
lea rax, [rbp + 0x20]
mov qword [rbp + 0x2b0], rax
mov dword [rbp - 0x78], 2
lea rax, str.ClientPC
mov qword [rbp - 0x70], rax
mov rcx, qword [r13 + 0x228]
mov eax, ebx
test rcx, rcx
setne al
lea rdx, [0x1400d4a98]
test eax, eax
je 0x140025acb
mov rax, qword [rcx]
lea r8, [rbp + 0x2a0]
mov qword [rsp + 0x38], r8
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rdx
xor r9d, r9d
lea r8, [rsp + 0x78]
xor edx, edx
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
test eax, eax
js 0x140025acb
mov rcx, qword [rbp + 0x2a0]
test rcx, rcx
je 0x140025acb
mov rax, qword [rcx]
lea r8, [rbp + 0x2a8]
lea rdx, [0x1400d7388]
call qword [rax]
mov rbx, qword [rbp + 0x2a0]
test rbx, rbx
je 0x140025ac9
lea rax, [rbp + 0x38]
mov qword [rbp + 0x30], rax
lea rcx, [rbp + 0x20]
call fcn.140022970
mov r9, rbx
mov edx, 2
mov r8d, 0x264
lea rcx, [rbp + 0x20]
call fcn.140022010
xor ebx, ebx
cmp qword [rdi + 0x18], 8
jb 0x140025ad7
mov r8, qword [rdi]
jmp 0x140025ada
mov r8, rdi
mov r9, qword [rdi + 0x10]
mov edx, Ordinal_265
lea rcx, [rbp + 0x3c]
call qword [sym.imp.MSVCR110.dll_wcsncpy_s]
lea r8, [rdi + 0x20]
cmp qword [r8 + 0x18], 8
jb 0x140025afb
mov r8, qword [r8]
mov r9, qword [rdi + 0x30]
mov edx, 0x29
lea rcx, [rbp + 0x246]
call qword [sym.imp.MSVCR110.dll_wcsncpy_s]
mov dword [rbp + 0x38], ebx
mov dword [rbp + 0x298], send
mov r8b, 1
xor edx, edx
lea rcx, [rbp + 0x2a0]
call fcn.140024230
mov rbx, qword [rbp + 0x2a0]
test rbx, rbx
je 0x140025b8f
mov rdx, rbx
lea rcx, [rbp + 0x20]
call fcn.140023230
mov rdx, rbx
lea rcx, [rbp + 0x20]
call fcn.140018300
lea rcx, [rbp + 0x2a0]
call fcn.140022a80
mov rbx, qword [rbp + 0x2a0]
test rbx, rbx
je 0x140025b8f
mov rdx, rbx
lea rcx, [rbp + 0x20]
call fcn.140023230
mov rdx, rbx
lea rcx, [rbp + 0x20]
call fcn.140018300
lea rcx, [rbp + 0x2a0]
call fcn.140022a80
lea rax, [rbp + 0x2a0]
mov qword [rsp + 0x48], rax
lea rcx, [rbp + 0x2a0]
call fcn.140022a80
mov rcx, qword [rbp + 0x2a8]
test rcx, rcx
je 0x140025bba
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
nop
mov rcx, qword [rbp + 0x2a0]
test rcx, rcx
je 0x140025efb
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
jmp 0x140025efb
test rbx, rbx
je 0x140025bfc
mov rdx, rbx
mov rcx, r14
call fcn.140023230
mov rdx, rbx
mov rcx, r14
call fcn.140018300
lea rcx, [r14 + 0x280]
call fcn.140022a80
xor ebx, ebx
mov qword [rbp + 0x20], rbx
mov dword [rbp + 0x28], ebx
mov qword [rbp + 0x30], rbx
xor edx, edx
mov r8d, 0x264
lea rcx, [rbp + 0x38]
call sub.MSVCR110.dll_memset
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x2a0], xmm0
mov qword [rbp + 0x2c0], rbx
mov qword [rbp + 0x2b8], rbx
lea rax, [rbp + 0x20]
mov qword [rbp + 0x2b0], rax
mov qword [rbp + 0x2c8], rbx
mov qword [rbp + 0x2d0], rbx
lea rbx, [rdi + 0x20]
cmp qword [rbx + 0x18], 8
jb 0x140025c5c
mov r8, qword [rbx]
jmp 0x140025c5f
mov r8, rbx
mov r9, qword [rdi + 0x30]
mov edx, 0x29
lea rcx, [rbp + 0x246]
call qword [sym.imp.MSVCR110.dll_wcsncpy_s]
mov dword [rbp + 0x298], send
cmp qword [rdi + 0x18], 8
jb 0x140025c8b
mov r9, qword [rdi]
jmp 0x140025c8e
mov r9, rdi
cmp qword [rbx + 0x18], 8
jb 0x140025c98
mov rbx, qword [rbx]
mov r8, rbx
lea rdx, str.UPDATE_ClientPC_SET_ClientIPAddr_s_WHERE_ClientName_s
lea rcx, [rsp + 0x50]
call qword [sym.imp.mfc110u.dll_Ordinal_4595]
lea r14, [r13 + 0x230]
lea rcx, [rsp + 0x50]
call qword [sym.imp.mfc110u.dll_Ordinal_1632]
mov rsi, r15
test rax, rax
cmovne rsi, rax
lea rdx, [r13 + 0x228]
lea rcx, [rbp + 0x2c8]
call fcn.14000eb00
test eax, eax
js 0x140025e37
mov qword [rsp + 0x40], 0
mov rcx, qword [rbp + 0x2c8]
mov rax, qword [rcx]
lea r8, [rsp + 0x40]
lea rdx, [0x1400d4ba8]
call qword [rax]
mov ebx, eax
test eax, eax
js 0x140025d22
mov rcx, qword [rsp + 0x40]
mov rax, qword [rcx]
mov r8, rsi
lea rdx, [0x1400f2a30]
call qword [rax + gethostname]
mov ebx, eax
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x140025d32
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
test ebx, ebx
js 0x140025e37
lea r9, [rsp + 0x78]
mov r8, qword [rbp + 0x2c8]
lea rdx, [rbp + 0x2d0]
lea rcx, [rbp + 0x20]
call fcn.140022290
test eax, eax
js 0x140025e37
mov qword [rbp - 0x80], 1
mov rax, qword [rbp + 0x2d0]
mov qword [rbp - 0x78], rax
test r14, r14
je 0x140025de3
mov qword [rsp + 0x40], 0
mov rcx, qword [rbp + 0x2c8]
mov rax, qword [rcx]
lea r8, [rsp + 0x40]
lea rdx, str.y:s_f
call qword [rax]
mov rcx, qword [rsp + 0x40]
test eax, eax
jns 0x140025db4
test rcx, rcx
je 0x140025e37
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
jmp 0x140025e37
mov rax, qword [rcx]
mov r8, r14
mov edx, 1
call qword [rax + 0x20]
mov rcx, qword [rsp + 0x40]
test eax, eax
jns 0x140025dd8
test rcx, rcx
je 0x140025e37
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
jmp 0x140025e37
test rcx, rcx
je 0x140025de3
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rbp + 0x2c8]
mov rax, qword [rcx]
lea rdx, [rbp + 0x2a0]
mov qword [rsp + 0x28], rdx
lea rdx, [rsp + 0x48]
mov qword [rsp + 0x20], rdx
lea r9, [rsp + 0x78]
lea r8, [0x1400d4a98]
xor edx, edx
call qword [rax + 0x20]
test eax, eax
js 0x140025e37
mov rcx, qword [rbp + 0x2a0]
test rcx, rcx
je 0x140025e68
mov rax, qword [rcx]
lea r8, [rbp + 0x2a8]
lea rdx, [0x1400d7388]
call qword [rax]
mov rbx, qword [rbp + 0x2a0]
test rbx, rbx
je 0x140025e68
mov rdx, rbx
lea rcx, [rbp + 0x20]
call fcn.140023230
mov rdx, rbx
lea rcx, [rbp + 0x20]
call fcn.140018300
lea rcx, [rbp + 0x2a0]
call fcn.140022a80
nop
lea rcx, [rbp + 0x2c8]
call fcn.1400183e0
mov rcx, qword [rbp + 0x2c8]
test rcx, rcx
je 0x140025e87
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
nop
mov rbx, qword [rbp + 0x2a0]
test rbx, rbx
je 0x140025eb7
mov rdx, rbx
lea rcx, [rbp + 0x20]
call fcn.140023230
mov rdx, rbx
lea rcx, [rbp + 0x20]
call fcn.140018300
lea rcx, [rbp + 0x2a0]
call fcn.140022a80
lea rax, [rbp + 0x2a0]
mov qword [rsp + 0x48], rax
lea rcx, [rbp + 0x2a0]
call fcn.140022a80
mov rcx, qword [rbp + 0x2a8]
test rcx, rcx
je 0x140025ee2
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
nop
mov rcx, qword [rbp + 0x2a0]
test rcx, rcx
je 0x140025ef4
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
lea r14, [r13 + 0x250]
lea rcx, [rsp + 0x60]
call qword [sym.imp.mfc110u.dll_Ordinal_1632]
mov rsi, r15
test rax, rax
cmovne rsi, rax
lea rdx, [r13 + 0x228]
lea rcx, [r14 + 0x2a8]
call fcn.14000eb00
mov ebx, eax
test eax, eax
js 0x140025f9e
mov qword [rsp + 0x40], 0
mov rcx, qword [r14 + 0x2a8]
mov rax, qword [rcx]
lea r8, [rsp + 0x40]
lea rdx, [0x1400d4ba8]
call qword [rax]
mov ebx, eax
test eax, eax
js 0x140025f67
mov rcx, qword [rsp + 0x40]
mov rax, qword [rcx]
mov r8, rsi
lea rdx, [0x1400f2a30]
call qword [rax + gethostname]
mov ebx, eax
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x140025f77
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
test ebx, ebx
js 0x140025f9e
mov dword [rsp + 0x20], 0
mov r9b, 1
xor r8d, r8d
xor edx, edx
lea r14, [r13 + 0x250]
mov rcx, r14
call fcn.140024730
mov ebx, eax
jmp 0x140025fa5
lea r14, [r13 + 0x250]
test ebx, ebx
je 0x140026068
mov rbx, qword [r14 + 0x280]
test rbx, rbx
je 0x140025fdb
mov rdx, rbx
mov rcx, r14
call fcn.140023230
mov rdx, rbx
mov rcx, r14
call fcn.140018300
lea rcx, [r14 + 0x280]
call fcn.140022a80
lea rcx, [rsp + 0x60]
call qword [sym.imp.mfc110u.dll_Ordinal_1632]
test rax, rax
cmovne r15, rax
lea rdx, [r13 + 0x228]
lea rcx, [r14 + 0x2a8]
call fcn.14000eb00
test eax, eax
js 0x140026068
xor esi, esi
mov qword [rsp + 0x40], rsi
mov rcx, qword [r14 + 0x2a8]
mov rax, qword [rcx]
lea r8, [rsp + 0x40]
lea rdx, [0x1400d4ba8]
call qword [rax]
mov ebx, eax
test eax, eax
js 0x140026040
mov rcx, qword [rsp + 0x40]
mov rax, qword [rcx]
mov r8, r15
lea rdx, [0x1400f2a30]
call qword [rax + gethostname]
mov ebx, eax
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x140026050
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
test ebx, ebx
js 0x140026068
mov dword [rsp + 0x20], esi
mov r9b, 1
xor r8d, r8d
xor edx, edx
mov rcx, r14
call fcn.140024730
mov r8b, 1
xor edx, edx
lea rcx, [r13 + 0x4d0]
call fcn.140024440
mov eax, dword [r13 + 0x268]
mov dword [rsp + 0x40], eax
mov dword [r13 + Ordinal_1322], 0
lea rsi, [rdi + 0x40]
cmp qword [rsi + 0x18], 8
jb 0x14002609f
mov r8, qword [rsi]
jmp 0x1400260a2
mov r8, rsi
lea rcx, [r13 + 0x524]
mov r9, qword [rdi + 0x50]
mov edx, reloc.WS2_32.dll_setsockopt
call qword [sym.imp.MSVCR110.dll_wcsncpy_s]
cmp qword [rsi + 0x18], 8
jb 0x1400260c4
mov r8, qword [rsi]
jmp 0x1400260c7
mov r8, rsi
lea rdx, str.SELECT__FROM_ShortName_WHERE___ShortNameTxt_s_
lea rcx, [rsp + 0x58]
call qword [sym.imp.mfc110u.dll_Ordinal_4595]
lea rcx, [rsp + 0x58]
call qword [sym.imp.mfc110u.dll_Ordinal_1632]
lea r12, [r13 + 0x508]
lea r14, str.SELECT__FROM_ShortName_WHERE___ShortNameTxt_____
test rax, rax
cmovne r14, rax
lea rdx, [r13 + 0x228]
lea rcx, [r12 + 0x78]
call fcn.14000eb00
mov ebx, eax
test eax, eax
js 0x1400261f1
mov qword [rsp + 0x48], 0
mov rcx, qword [r12 + 0x78]
mov rax, qword [rcx]
lea r8, [rsp + 0x48]
lea rdx, [0x1400d4ba8]
call qword [rax]
mov ebx, eax
test eax, eax
js 0x140026150
mov rcx, qword [rsp + 0x48]
mov rax, qword [rcx]
mov r8, r14
lea rdx, [0x1400f2a30]
call qword [rax + gethostname]
mov ebx, eax
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x140026160
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
test ebx, ebx
js 0x1400261f3
lea r9, [rsp + 0x78]
mov r8, qword [r12 + 0x78]
lea rdx, [r12 + 0x80]
mov rcx, r12
call fcn.140022720
mov ebx, eax
test eax, eax
js 0x1400261f1
mov qword [rbp - 0x80], 1
mov rax, qword [r12 + 0x80]
mov qword [rbp - 0x78], rax
lea r14, [r12 + 0x50]
mov rcx, qword [r12 + 0x78]
mov rax, qword [rcx]
mov qword [rsp + 0x28], r14
lea rdx, [rsp + 0x48]
mov qword [rsp + 0x20], rdx
lea r9, [rsp + 0x78]
lea r8, [0x1400d4a98]
xor edx, edx
call qword [rax + 0x20]
mov ebx, eax
test eax, eax
js 0x1400261f1
mov rcx, qword [r14]
test rcx, rcx
je 0x1400261e7
mov rax, qword [rcx]
lea r8, [r14 + 8]
lea rdx, [0x1400d7388]
call qword [rax]
mov rcx, r12
call fcn.1400217b0
mov ebx, eax
test ebx, ebx
je 0x14002632c
mov rbx, qword [r12 + 0x50]
test rbx, rbx
je 0x140026223
mov rdx, rbx
mov rcx, r12
call fcn.1400232f0
mov rdx, rbx
mov rcx, r12
call fcn.140018300
lea rcx, [r12 + 0x50]
call fcn.140022cd0
lea rcx, [rsp + 0x58]
call qword [sym.imp.mfc110u.dll_Ordinal_1632]
lea r15, str.SELECT__FROM_ShortName_WHERE___ShortNameTxt_____
test rax, rax
cmovne r15, rax
lea rdx, [r13 + 0x228]
lea rcx, [r12 + 0x78]
call fcn.14000eb00
test eax, eax
js 0x14002632c
mov qword [rsp + 0x48], 0
mov rcx, qword [r12 + 0x78]
mov rax, qword [rcx]
lea r8, [rsp + 0x48]
lea rdx, [0x1400d4ba8]
call qword [rax]
mov ebx, eax
test eax, eax
js 0x140026291
mov rcx, qword [rsp + 0x48]
mov rax, qword [rcx]
mov r8, r15
lea rdx, [0x1400f2a30]
call qword [rax + gethostname]
mov ebx, eax
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x1400262a1
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
test ebx, ebx
js 0x14002632c
lea r9, [rsp + 0x78]
mov r8, qword [r12 + 0x78]
lea rdx, [r12 + 0x80]
mov rcx, r12
call fcn.140022720
test eax, eax
js 0x14002632c
mov qword [rbp - 0x80], 1
mov rax, qword [r12 + 0x80]
mov qword [rbp - 0x78], rax
lea rbx, [r12 + 0x50]
mov rcx, qword [r12 + 0x78]
mov rax, qword [rcx]
mov qword [rsp + 0x28], rbx
lea rdx, [rsp + 0x48]
mov qword [rsp + 0x20], rdx
lea r9, [rsp + 0x78]
lea r8, [0x1400d4a98]
xor edx, edx
call qword [rax + 0x20]
test eax, eax
js 0x14002632c
mov rcx, qword [rbx]
test rcx, rcx
je 0x140026324
mov rax, qword [rcx]
lea r8, [rbx + 8]
lea rdx, [0x1400d7388]
call qword [rax]
mov rcx, r12
call fcn.1400217b0
mov r8b, 1
xor edx, edx
lea rcx, [r13 + 0x558]
call fcn.140024650
test eax, eax
je 0x140026562
mov rbx, qword [r12 + 0x50]
test rbx, rbx
je 0x14002636f
mov rdx, rbx
mov rcx, r12
call fcn.1400232f0
mov rdx, rbx
mov rcx, r12
call fcn.140018300
lea rcx, [r12 + 0x50]
call fcn.140022cd0
xor r8d, r8d
mov qword [rbp - 0x60], r8
mov dword [rbp - 0x58], r8d
mov qword [rbp - 0x50], r8
xor eax, eax
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x28], rax
mov qword [rbp - 0x20], rax
mov dword [rbp - 0x18], eax
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x10], xmm0
mov qword [rbp + 0x10], r8
mov qword [rbp + 8], r8
lea rax, [rbp - 0x60]
mov qword [rbp], rax
mov dword [rbp - 0x78], 2
lea rax, str.ShortName
mov qword [rbp - 0x70], rax
lea rbx, [r13 + 0x228]
mov rcx, qword [rbx]
mov eax, r8d
test rcx, rcx
setne al
test eax, eax
je 0x140026431
mov rax, qword [rcx]
lea rdx, [rbp - 0x10]
mov qword [rsp + 0x38], rdx
mov qword [rsp + 0x30], r8
mov dword [rsp + 0x28], r8d
lea rdx, [0x1400d4a98]
mov qword [rsp + 0x20], rdx
xor r9d, r9d
lea r8, [rsp + 0x78]
xor edx, edx
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
test eax, eax
js 0x140026431
mov rcx, qword [rbp - 0x10]
test rcx, rcx
je 0x140026428
mov rax, qword [rcx]
lea r8, [rbp - 8]
lea rdx, [0x1400d7388]
call qword [rax]
lea rcx, [rbp - 0x60]
call fcn.1400217b0
cmp qword [rsi + 0x18], 8
jb 0x14002643b
mov rsi, qword [rsi]
mov r9, qword [rdi + 0x50]
mov r8, rsi
mov edx, reloc.WS2_32.dll_setsockopt
lea rcx, [rbp - 0x44]
call qword [sym.imp.MSVCR110.dll_wcsncpy_s]
mov dword [rbp - 0x48], 1
mov dword [rbp - 0x18], send
mov r8b, 1
xor edx, edx
lea rcx, [rbp - 0x10]
call fcn.140024390
lea rcx, [rbp - 0x10]
call fcn.1400234c0
mov r14, qword [rbp - 0x10]
test r14, r14
je 0x1400264ff
xor esi, esi
mov eax, dword [rbp - 0x58]
test eax, eax
je 0x1400264ea
mov rbx, qword [rbp - 0x50]
test esi, esi
jne 0x1400264dd
test rbx, rbx
je 0x1400264dd
lea ecx, [rsi + 3]
xor r8d, r8d
mov rdx, rbx
call fcn.140010030
xor eax, eax
mov dword [rbx], eax
mov ecx, 0x82
xor r8d, r8d
lea rdx, [rbx + 4]
call fcn.140010030
xor eax, eax
mov qword [rbx + 4], rax
mov qword [rbx + 0xc], rax
mov qword [rbx + 0x14], rax
mov qword [rbx + 0x1c], rax
mov qword [rbx + 0x24], rax
mov word [rbx + 0x2c], ax
mov rbx, qword [rbp - 0x50]
mov eax, dword [rbp - 0x58]
inc esi
cmp esi, eax
jb 0x140026490
lea rbx, [r13 + 0x228]
mov rdx, r14
lea rcx, [rbp - 0x60]
call fcn.140018300
lea rcx, [rbp - 0x10]
call fcn.140022cd0
lea rcx, [rsp + 0x58]
call qword [sym.imp.mfc110u.dll_Ordinal_1632]
test rax, rax
lea r8, str.SELECT__FROM_ShortName_WHERE___ShortNameTxt_____
cmovne r8, rax
lea rcx, [r12 + 0x78]
lea r9, [0x1400f2a30]
mov rdx, rbx
call fcn.14000ea80
test eax, eax
js 0x140026548
mov dword [rsp + 0x20], 0
mov r9b, 1
xor r8d, r8d
xor edx, edx
mov rcx, r12
call fcn.1400248a0
mov r8b, 1
xor edx, edx
lea rcx, [r13 + 0x558]
call fcn.140024650
lea rcx, [rbp - 0x60]
call fcn.140021400
mov r14d, dword [r13 + 0x520]
mov r9d, r14d
mov r8d, dword [rsp + 0x40]
lea rdx, str.SELECT__FROM_License_WHERE___ClientID_d_AND_ShortNameID_d_
lea rcx, [rsp + 0x68]
call qword [sym.imp.mfc110u.dll_Ordinal_4595]
lea rcx, [rsp + 0x68]
call qword [sym.imp.mfc110u.dll_Ordinal_1632]
lea rbx, [r13 + 0x590]
lea r15, str.SELECT__FROM_License_WHERE___ClientID____and_ShortNameID_____
mov r8, r15
test rax, rax
cmovne r8, rax
lea rcx, [rbx + 0x400]
lea r9, [0x1400f2a30]
lea rdx, [r13 + 0x228]
call fcn.14000ea80
test eax, eax
js 0x1400265de
mov dword [rsp + 0x20], 0
mov r9b, 1
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call fcn.1400247d0
test eax, eax
je 0x14002664b
mov rdx, qword [rbx + 0x3d8]
test rdx, rdx
je 0x140026600
mov rcx, rbx
call fcn.140025710
lea rcx, [rbx + 0x3d8]
call fcn.140022b90
lea rcx, [rsp + 0x68]
call qword [sym.imp.mfc110u.dll_Ordinal_1632]
mov r8, r15
test rax, rax
cmovne r8, rax
lea rcx, [rbx + 0x400]
lea r9, [0x1400f2a30]
lea rdx, [r13 + 0x228]
call fcn.14000ea80
test eax, eax
js 0x14002664b
mov dword [rsp + 0x20], 0
mov r9b, 1
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call fcn.1400247d0
lea rcx, [r13 + 0x968]
mov r8b, 1
xor edx, edx
call fcn.140024520
mov rdx, qword [rbx + 0x3d8]
test eax, eax
je 0x14002693f
test rdx, rdx
je 0x140026684
mov rcx, rbx
call fcn.140025710
lea rcx, [rbx + 0x3d8]
call fcn.140022b90
xor esi, esi
mov qword [rbp + 0x20], rsi
mov dword [rbp + 0x28], esi
mov qword [rbp + 0x30], rsi
xor edx, edx
mov r8d, reloc.mfc110u.dll_Ordinal_956
lea rcx, [rbp + 0x38]
call sub.MSVCR110.dll_memset
mov qword [rbp + 0x3f8], rsi
mov qword [rbp + 0x400], rsi
mov qword [rbp + 0x418], rsi
mov qword [rbp + 0x410], rsi
lea rax, [rbp + 0x20]
mov qword [rbp + 0x408], rax
mov dword [rsp + 0x20], esi
xor r9d, r9d
lea r8, str.License
lea rdx, [r13 + 0x228]
lea rcx, [rbp + 0x20]
call fcn.140024950
mov eax, dword [rsp + 0x40]
mov dword [rbp + 0x38], eax
mov dword [rbp + 0x3c], r14d
mov eax, dword [rdi + 0x1e0]
mov dword [rbp + 0x3ec], eax
lea r8, [rdi + 0x60]
cmp qword [r8 + 0x18], 8
jb 0x14002670c
mov r8, qword [r8]
mov r9, qword [rdi + 0x70]
mov edx, reloc.WS2_32.dll_setsockopt
lea rcx, [rbp + 0x40]
call qword [sym.imp.MSVCR110.dll_wcsncpy_s]
lea r8, [rdi + 0x80]
cmp qword [r8 + 0x18], 8
jb 0x140026730
mov r8, qword [r8]
mov r9, qword [rdi + 0x90]
mov edx, 0x65
lea rcx, [rbp + 0x6a]
call qword [sym.imp.MSVCR110.dll_wcsncpy_s]
lea r8, [rdi + 0xa0]
cmp qword [r8 + 0x18], 8
jb 0x140026757
mov r8, qword [r8]
mov r9, qword [rdi + 0xb0]
mov edx, 0x29
lea rcx, [rbp + 0x134]
call qword [sym.imp.MSVCR110.dll_wcsncpy_s]
lea r8, [rdi + 0xc0]
cmp qword [r8 + 0x18], 8
jb 0x140026781
mov r8, qword [r8]
mov r9, qword [rdi + 0xd0]
mov edx, 6
lea rcx, [rbp + 0x186]
call qword [sym.imp.MSVCR110.dll_wcsncpy_s]
lea r8, [rdi + 0x160]
cmp qword [r8 + 0x18], 8
jb 0x1400267ab
mov r8, qword [r8]
mov r9, qword [rdi + 0x170]
mov edx, 0x41
lea rcx, [rbp + 0x192]
call qword [sym.imp.MSVCR110.dll_wcsncpy_s]
lea r8, [rdi + 0x180]
cmp qword [r8 + 0x18], 8
jb 0x1400267d5
mov r8, qword [r8]
mov r9, qword [rdi + 0x190]
mov edx, 0x41
lea rcx, [rbp + 0x214]
call qword [sym.imp.MSVCR110.dll_wcsncpy_s]
lea r8, [rdi + 0x1a0]
cmp qword [r8 + 0x18], 8
jb 0x1400267ff
mov r8, qword [r8]
mov r9, qword [rdi + 0x1b0]
mov edx, 0x41
lea rcx, [rbp + 0x296]
call qword [sym.imp.MSVCR110.dll_wcsncpy_s]
lea r8, [rdi + 0x1c0]
cmp qword [r8 + 0x18], 8
jb 0x140026829
mov r8, qword [r8]
mov r9, qword [rdi + 0x1d0]
mov edx, 0x41
lea rcx, [rbp + 0x318]
call qword [sym.imp.MSVCR110.dll_wcsncpy_s]
lea r14, [rdi + 0xe0]
cmp qword [r14 + 0x18], 8
jb 0x140026855
mov r8, qword [r14]
jmp 0x140026858
mov r8, r14
mov r9, qword [rdi + 0xf0]
mov edx, listen
lea rcx, [rbp + 0x39a]
call qword [sym.imp.MSVCR110.dll_wcsncpy_s]
lea rsi, [rdi + 0x100]
cmp qword [rsi + 0x18], 8
jb 0x140026884
mov r8, qword [rsi]
jmp 0x140026887
mov r8, rsi
mov r9, qword [rdi + 0x110]
mov edx, 9
lea rcx, [rbp + 0x3b0]
call qword [sym.imp.MSVCR110.dll_wcsncpy_s]
cmp qword [r14 + 0x18], 8
jb 0x1400268aa
mov r14, qword [r14]
mov r9, qword [rdi + 0xf0]
mov r8, r14
mov edx, listen
lea rcx, [rbp + 0x3c2]
call qword [sym.imp.MSVCR110.dll_wcsncpy_s]
cmp qword [rsi + 0x18], 8
jb 0x1400268d0
mov rsi, qword [rsi]
mov r9, qword [rdi + 0x110]
mov r8, rsi
mov edx, 9
lea rcx, [rbp + 0x3d8]
call qword [sym.imp.MSVCR110.dll_wcsncpy_s]
mov dword [rbp + 0x3f0], send
mov r8b, 1
xor edx, edx
lea rcx, [rbp + 0x3f8]
call fcn.1400242e0
mov rdx, qword [rbp + 0x3f8]
test rdx, rdx
je 0x140026928
lea rcx, [rbp + 0x20]
call fcn.140025710
lea rcx, [rbp + 0x3f8]
call fcn.140022b90
lea rcx, [rbp + 0x20]
call fcn.1400215b0
lea rdi, [r13 + 0x228]
xor esi, esi
jmp 0x140026ab4
test rdx, rdx
je 0x140026958
mov rcx, rbx
call fcn.140025710
lea rcx, [rbx + 0x3d8]
call fcn.140022b90
xor esi, esi
mov qword [rbp + 0x20], rsi
mov dword [rbp + 0x28], esi
mov qword [rbp + 0x30], rsi
xor edx, edx
mov r8d, reloc.mfc110u.dll_Ordinal_956
lea rcx, [rbp + 0x38]
call sub.MSVCR110.dll_memset
mov qword [rbp + 0x3f8], rsi
mov qword [rbp + 0x400], rsi
mov qword [rbp + 0x418], rsi
mov qword [rbp + 0x410], rsi
lea rax, [rbp + 0x20]
mov qword [rbp + 0x408], rax
mov qword [rbp + 0x420], rsi
mov qword [rbp + 0x428], rsi
lea r9, [rdi + 0x140]
cmp qword [r9 + 0x18], 8
jb 0x1400269bc
mov r9, qword [r9]
lea r8, [rdi + 0x120]
cmp qword [r8 + 0x18], 8
jb 0x1400269cd
mov r8, qword [r8]
mov dword [rsp + 0x28], r14d
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x20], eax
lea rdx, str.UPDATE_License_SET_LastReportDate_s___LastReportTime_s_WHERE_ClientID_d_AND_ShortNameID_d
lea rcx, [rsp + 0x50]
call qword [sym.imp.mfc110u.dll_Ordinal_4595]
lea rcx, [rsp + 0x50]
call qword [sym.imp.mfc110u.dll_Ordinal_1632]
mov r8, r15
test rax, rax
cmovne r8, rax
lea r9, [0x1400f2a30]
lea rdi, [r13 + 0x228]
mov rdx, rdi
lea rcx, [rbp + 0x420]
call fcn.14000ea80
test eax, eax
js 0x140026a3e
lea rdx, [r13 + 0x230]
mov dword [rsp + 0x20], esi
xor r9d, r9d
xor r8d, r8d
lea rcx, [rbp + 0x20]
call fcn.1400247d0
test eax, eax
je 0x140026a89
lea rcx, [rsp + 0x50]
call qword [sym.imp.mfc110u.dll_Ordinal_1632]
mov r8, r15
test rax, rax
cmovne r8, rax
lea r9, [0x1400f2a30]
mov rdx, rdi
lea rcx, [rbp + 0x420]
call fcn.14000ea80
test eax, eax
js 0x140026a89
lea rdx, [r13 + 0x230]
mov dword [rsp + 0x20], esi
xor r9d, r9d
xor r8d, r8d
lea rcx, [rbp + 0x20]
call fcn.1400247d0
mov rdx, qword [rbp + 0x3f8]
test rdx, rdx
je 0x140026aab
lea rcx, [rbp + 0x20]
call fcn.140025710
lea rcx, [rbp + 0x3f8]
call fcn.140022b90
nop
lea rcx, [rbp + 0x20]
call fcn.1400214d0
lea rcx, [rsp + 0x68]
call qword [sym.imp.mfc110u.dll_Ordinal_1632]
test rax, rax
cmovne r15, rax
lea rcx, [rbx + 0x400]
lea r9, [0x1400f2a30]
mov r8, r15
mov rdx, rdi
call fcn.14000ea80
test eax, eax
js 0x140026af7
mov dword [rsp + 0x20], esi
mov r9b, 1
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call fcn.1400247d0
mov r8b, 1
xor edx, edx
lea rcx, [r13 + 0x968]
call fcn.140024520
mov esi, eax
lea rcx, [r13 + 0x250]
call fcn.1400229e0
lea rcx, [r13 + 0x4f8]
call fcn.1400183e0
mov rcx, r12
call fcn.140022a30
lea rcx, [r13 + 0x580]
call fcn.1400183e0
mov rdx, qword [rbx + 0x3d8]
test rdx, rdx
je 0x140026b56
mov rcx, rbx
call fcn.140025710
lea rcx, [rbx + 0x3d8]
call fcn.140022b90
lea rcx, [r13 + 0x990]
call fcn.1400183e0
mov rcx, r13
call fcn.140022de0
lea rcx, [0x140121ff8]
call sub.mfc110u.dll_Ordinal_13890
nop
lea rcx, [rsp + 0x60]
call qword [sym.imp.mfc110u.dll_Ordinal_1027]
nop
lea rcx, [rsp + 0x68]
call qword [sym.imp.mfc110u.dll_Ordinal_1027]
nop
lea rcx, [rsp + 0x50]
call qword [sym.imp.mfc110u.dll_Ordinal_1027]
nop
lea rcx, [rsp + 0x58]
call qword [sym.imp.mfc110u.dll_Ordinal_1027]
mov eax, esi
mov rcx, qword [rbp + 0x430]
xor rcx, rsp
call fcn.1400bb310
mov rbx, qword [rsp + 0x590]
add rsp, 0x540
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret