Function at 0x140089a80
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], rsi
mov qword [rsp + 0x18], r8
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov rax, qword [0x14012f698]
xor ebp, ebp
mov r15d, r9d
mov r12, rdx
mov rdi, rcx
mov r13d, ebp
cmp rax, 0xffffffffffffffff
jne 0x140089acf
lea rdx, str.FLEXLM_DIAGNOSTICS
call fcn.14005ea30
mov qword [0x14012f698], rax
mov rsi, qword [rsp + 0x98]
test rax, rax
je 0x140089bd9
cmp byte [rax], 0x33
jl 0x140089bd9
mov rax, qword [rdi + 0xf8]
test byte [rax + 0x1144], 4
je 0x140089bd9
mov rcx, qword [0x14013a7c0]
lea r9, [rsi + 0x248]
lea r8, [rsi + 2]
lea rdx, str.Checkout_succeeded:__s__s_n
call fcn.14003ec94
movsxd rax, dword [rsi + 0x270]
mov r8, qword [rdi + 0x128]
mov r8, qword [r8 + rax*8]
mov rcx, qword [0x14013a7c0]
lea rdx, str._tLicense_file:__s_n
call fcn.14003ec94
mov rax, qword [rdi + 0xf0]
cmp dword [rax + 0x14], ebp
jl 0x140089bb3
mov rax, qword [rsi + 0x260]
test rax, rax
je 0x140089bb3
cmp byte [rax], bpl
je 0x140089bb3
mov rcx, qword [0x14013a7c0]
lea rdx, str._tLicense_Server:
call fcn.14003ec94
mov rax, qword [rsi + 0x260]
mov r8d, dword [rax + 0x41c]
cmp r8d, 0xffffffff
je 0x140089b97
mov rcx, qword [0x14013a7c0]
lea rdx, [0x14010fccc]
call fcn.14003ec94
mov r8, qword [rsi + 0x260]
mov rcx, qword [0x14013a7c0]
lea rdx, [0x140105e28]
call fcn.14003ec94
jmp 0x140089bc6
mov rcx, qword [0x14013a7c0]
lea rdx, str._tNo_server_used
call fcn.14003ec94
mov rcx, qword [0x14013a7c0]
lea rdx, [0x1400fd7c0]
call fcn.14003ec94
mov r9d, 1
xor r8d, r8d
mov rdx, r12
mov rcx, rdi
call fcn.14008a3b0
mov r14d, dword [rsp + 0xb0]
mov rbx, rax
test rax, rax
je 0x140089e64
lea rcx, [rax + 0x708]
call fcn.140091400
movzx edx, word [rbx + 0x2e0]
movzx eax, dx
and ax, 1
jne 0x140089c23
cmp dx, 4
jne 0x140089c53
cmp byte [rbx + 8], bpl
je 0x140089eb5
cmp r14d, 5
jne 0x140089eb5
test ax, ax
je 0x140089eb5
mov rax, qword [rdi + 0xf0]
mov ecx, dword [rax + 0x1c]
cmp dword [rbx + 0x3c], ecx
jne 0x140089eb5
cmp dword [rsp + 0xa8], 0xffffffdd
jne 0x140089c6b
mov eax, 4
mov word [rbx + 0x2e0], ax
jmp 0x140089c76
and dx, 2
mov word [rbx + 0x2e0], dx
movzx eax, word [rbx + 0x2e0]
test al, 2
jne 0x140089cb3
test al, 8
jne 0x140089cb3
movzx eax, byte [rsi + 0x3ab]
xor al, 1
je 0x140089cb3
cmp r14d, 4
jne 0x140089cb3
inc dword [rbx + 0x700]
mov eax, dword [rsi + 0x41c]
add dword [rbx + 0x704], eax
mov eax, dword [rsi + 0x41c]
add dword [rbx + 0x34], eax
jmp 0x140089cdc
movzx eax, byte [rsi + 0x3ab]
xor al, 1
je 0x140089cd2
cmp r14d, 5
jne 0x140089cd2
mov eax, dword [rsi + 0x41c]
mov dword [rbx + 0x70c], eax
jmp 0x140089cdc
cmp dword [rbx + 0x34], r15d
jge 0x140089cdc
mov dword [rbx + 0x34], r15d
mov r12, qword [rsp + 0x80]
lea rdx, [rbx + 0x27]
mov rcx, rdi
mov r8, r12
call fcn.14006dca0
test eax, eax
jns 0x140089d0a
xor r9d, r9d
lea rcx, [rbx + 0x27]
mov rdx, r12
lea r8d, [r9 + 0xa]
call fcn.14002aca0
test byte [rsi + 0x3ab], 1
je 0x140089d2d
mov rcx, qword [rbx + 0x2e8]
movzx eax, byte [rcx + 0x3ab]
test al, 1
jne 0x140089d2d
or al, 1
mov byte [rcx + 0x3ab], al
movzx eax, byte [rsi + 0x3ab]
xor al, 1
je 0x140089db3
mov qword [rbx + 0x2e8], rsi
cmp byte [rsi + 0x2b4], 1
jne 0x140089db3
mov r14, qword [rbx + 0x2f0]
test r14, r14
je 0x140089d7f
mov rdx, qword [r14]
test rdx, rdx
je 0x140089d7f
lea r8, [rsi + 0x248]
add rdx, 0x248
mov rcx, rdi
call fcn.14006da00
test eax, eax
jne 0x140089db3
mov r14, qword [r14 + 8]
test r14, r14
jne 0x140089d54
mov edx, reloc.WS2_32.dll_recv
mov rcx, rdi
call fcn.140064770
mov rcx, rax
test rax, rax
je 0x140089e26
mov rax, qword [rbx + 0x2f0]
mov qword [rcx], rsi
mov qword [rcx + 8], rax
inc dword [rbx + 0x2f8]
mov qword [rbx + 0x2f0], rcx
mov r13d, 1
cmp qword [rdi + 0x188], rbp
jne 0x140089dfd
mov rax, qword [rdi + 0xf8]
mov ecx, dword [rax + 0x14]
test ecx, ecx
jle 0x140089dfd
mov edx, dword [rax + 0x1c]
imul r8d, ecx, 0x3e8
lea r9, [0x14008aeb0]
mov dword [rsp + 0x28], r8d
mov rcx, rdi
mov dword [rsp + 0x20], 1
call fcn.1400a2a50
mov qword [rdi + 0x188], rax
test r13d, r13d
sete bpl
mov eax, ebp
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x88]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
test rdi, rdi
je 0x140089e5c
xor r9d, r9d
mov qword [rsp + 0x30], rbp
mov r8d, 0x3974
lea edx, [r9 - 0x28]
mov rcx, rdi
mov dword [rsp + 0x28], 0xff
mov dword [rdi + 0x88], 0xffffffd8
mov qword [rsp + 0x20], rbp
call fcn.14006b500
mov eax, dword [rdi + 0x88]
jmp 0x140089e06
mov rbx, qword [rdi + 0x1a0]
mov rdx, rbp
test rbx, rbx
je 0x140089e84
cmp byte [rbx + 8], bpl
je 0x140089e9b
mov rdx, rbx
mov rbx, qword [rbx]
test rbx, rbx
jne 0x140089e73
mov rcx, rdi
call fcn.1400915f0
mov rbx, rax
test rbx, rbx
jne 0x140089eb5
xor eax, eax
jmp 0x140089e06
lea rcx, [rbx + 0x700]
call fcn.1400913f0
lea rcx, [rbx + 0x708]
call fcn.1400913f0
jmp 0x140089e8f
inc dword [rdi + 0x190]
lea rcx, [rbx + 8]
mov r8d, 0x1f
mov rdx, r12
call fcn.140065fe0
mov rdx, qword [rsp + 0xb8]
lea rcx, [rbx + 0x2fc]
xor r8d, r8d
call fcn.14002a840
mov rdx, qword [rsp + 0x80]
lea rcx, [rbx + 0x27]
mov r8d, reloc.WS2_32.dll_inet_addr
call fcn.140065fe0
mov rax, qword [rdi + 0x260]
test dword [rax + 0x20a0], 0x100
je 0x140089f18
mov dword [rbx + 0x710], 1
mov edx, dword [rsp + 0xa8]
cmp edx, 0xffffffdd
je 0x140089f5d
movzx eax, byte [rsi + 0x3ab]
xor al, 1
je 0x140089f5d
cmp r14d, 4
jne 0x140089f5d
mov eax, dword [rsi + 0x41c]
test eax, eax
cmovg r15d, eax
mov dword [rbx + 0x34], r15d
mov eax, dword [rsi + 0x41c]
mov dword [rbx + 0x700], 1
mov dword [rbx + 0x704], eax
jmp 0x140089f95
movzx eax, byte [rsi + 0x3ab]
xor al, 1
je 0x140089f91
cmp r14d, 5
jne 0x140089f91
mov rax, qword [rdi + 0xf0]
mov ecx, dword [rax + 0x1c]
cmp dword [rbx + 0x3c], ecx
je 0x140089f83
mov dword [rbx + 0x708], ebp
mov eax, dword [rsi + 0x41c]
mov dword [rbx + 0x70c], eax
jmp 0x140089f95
mov dword [rbx + 0x34], r15d
cmp edx, 0xffffffdd
jne 0x140089fa8
mov eax, 4
mov word [rbx + 0x2e0], ax
jmp 0x140089faf
mov word [rbx + 0x2e0], bp
mov rcx, qword [rsp + 0x90]
movzx eax, word [rcx]
mov word [rbx + 0x40], ax
mov eax, dword [rcx + 4]
mov dword [rbx + 0x44], eax
mov eax, dword [rcx + 8]
mov dword [rbx + 0x48], eax
mov eax, dword [rcx + 0xc]
mov dword [rbx + 0x4c], eax
mov eax, dword [rcx + 0x10]
mov dword [rbx + 0x50], eax
mov eax, dword [rcx + 0x14]
mov dword [rbx + 0x54], eax
mov eax, dword [rcx + 0x18]
mov dword [rbx + 0x58], eax
mov rax, qword [rdi + 0xf0]
mov ecx, dword [rax + 0x14]
mov dword [rbx + 0x38], ecx
mov rax, qword [rdi + 0xf0]
mov ecx, dword [rax + 0x1c]
movzx eax, word [rsp + 0xa0]
mov qword [rbx + 0x2e8], rsi
mov word [rbx + 0x2e2], ax
mov dword [rbx + 0x3c], ecx
cmp byte [rsi + 0x2b4], 1
jne 0x140089db9
cmp qword [rbx + 0x2f0], rbp
je 0x14008a037
lea rdx, [rsi + 2]
mov r8, rbx
mov rcx, rdi
call fcn.140091410
mov edx, reloc.WS2_32.dll_recv
mov rcx, rdi
call fcn.140064770
mov qword [rbx + 0x2f0], rax
test rax, rax
je 0x14008a06d
mov qword [rax], rsi
mov rax, qword [rbx + 0x2f0]
mov qword [rax + 8], rbp
mov dword [rbx + 0x2f8], 1
jmp 0x140089db9
xor r9d, r9d
mov qword [rsp + 0x30], rbp
mov r8d, 0x3975
lea edx, [r9 - 0x28]
mov rcx, rdi
mov dword [rsp + 0x28], 0xff
mov dword [rdi + 0x88], 0xffffffd8
mov qword [rsp + 0x20], rbp
call fcn.14006b500
mov eax, dword [rdi + 0x88]
jmp 0x140089e06