Function at 0x1400423b0
Capabilities:
Link many functions at runtime

Disassembly:
push rbx
push rbp
push r12
push r13
push r14
push r15
sub rsp, 0xc68
mov rax, qword [0x14012bc80]
xor rax, rsp
mov qword [rsp + 0xc50], rax
xor ebp, ebp
mov rbx, r8
mov r14, rdx
mov qword [rsp + 0x40], rdx
mov r13, rcx
mov word [rsp + 0x30], bp
mov r15d, ebp
mov r12d, ebp
test rcx, rcx
je 0x14004295c
mov rcx, rbx
call fcn.140042e50
test ax, ax
je 0x14004297c
lea rcx, str.FLEXID_LIBRARY_PATH
mov qword [rsp + 0xcb8], rsi
mov qword [rsp + 0xc60], rdi
call fcn.140044d6c
mov rdi, rax
test rax, rax
je 0x140042591
lea rcx, [rsp + 0x852]
xor edx, edx
mov r8d, 0x3fa
mov word [rsp + 0x850], bp
call fcn.14000cbf0
lea rcx, [rsp + 0x652]
xor edx, edx
mov r8d, 0x1fc
mov word [rsp + 0x650], bp
call fcn.14000cbf0
mov qword [rsp + 0x38], rbp
or rax, 0xffffffffffffffff
inc rax
cmp word [rdi + rax*2], bp
jne 0x140042474
cmp rax, 0xff
jbe 0x1400424de
test rbx, rbx
je 0x1400424aa
mov rax, qword [rbx + 0x10]
test rax, rax
je 0x1400424aa
mov r9d, 0x1c8
lea r8, str.The__FLEXID_LIBRARY_PATH__path_for_Wibu_exceeded_the_max_limit_of_255_characters_
mov edx, reloc.WS2_32.dll_inet_addr
mov rcx, qword [rbx]
call rax
xor eax, eax
mov rsi, qword [rsp + 0xcb8]
mov rdi, qword [rsp + 0xc60]
mov rcx, qword [rsp + 0xc50]
xor rcx, rsp
call fcn.14000c9f0
add rsp, 0xc68
pop r15
pop r14
pop r13
pop r12
pop rbp
pop rbx
ret
lea rcx, [rsp + 0x650]
sub rcx, 2
nop word [rax + rax]
cmp word [rcx + 2], bp
lea rcx, [rcx + 2]
jne 0x1400424f0
xor edx, edx
nop dword [rax]
movzx eax, word [rdi + rdx*2]
lea rdx, [rdx + 1]
mov word [rcx + rdx*2 - 2], ax
test ax, ax
jne 0x140042500
lea r8, [rsp + 0x38]
lea rdx, [0x14011a7a4]
lea rcx, [rsp + 0x650]
call fcn.14000f250
test rax, rax
je 0x1400425a6
lea rdi, str.wkwin64.dll
nop word [rax + rax]
lea r8, str._ls_ls
lea rcx, [rsp + 0x850]
mov r9, rax
mov edx, 0xff
mov qword [rsp + 0x20], rdi
call fcn.140044920
lea rcx, [rsp + 0x850]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
lea r8, [rsp + 0x38]
lea rdx, [0x14011a7a4]
xor ecx, ecx
mov rsi, rax
call fcn.14000f250
test rsi, rsi
jne 0x1400425ff
test rax, rax
jne 0x140042540
jmp 0x1400425a6
lea rcx, str.WKWIN64.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
jne 0x1400425ff
cmp dword [0x14013eb00], ebp
je 0x1400425d2
test rbx, rbx
je 0x1400424aa
mov rax, qword [rbx + 8]
test rax, rax
je 0x1400425d2
mov rcx, qword [rbx]
xor r8d, r8d
mov r9d, 0x210
lea edx, [r8 + 9]
call rax
test rbx, rbx
je 0x1400424aa
mov rax, qword [rbx + 0x10]
test rax, rax
je 0x1400424aa
mov r9d, 0x212
lea r8, str.WIBU_DLL_not_found_
mov edx, 7
jmp 0x1400424a5
lea rdx, str.WkbGetLastError
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.WkbGetVersion3
mov rcx, rsi
mov qword [0x14013eb08], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.WkbEnumPorts2
mov rcx, rsi
mov qword [0x14013eb60], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.WkbListPort2
mov rcx, rsi
mov qword [0x14013eb80], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.WkbQueryStatus2
mov rcx, rsi
mov qword [0x14013eb88], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.WkbListBox2
mov rcx, rsi
mov qword [0x14013eb90], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.WkbOpen2
mov rcx, rsi
mov qword [0x14013eb98], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.WkbCrypt2
mov rcx, rsi
mov qword [0x14013eb68], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.WkbClose2
mov rcx, rsi
mov qword [0x14013eb70], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp qword [0x14013eb08], rbp
mov qword [0x14013eb78], rax
je 0x140042905
cmp qword [0x14013eb60], rbp
je 0x140042905
cmp qword [0x14013eb80], rbp
je 0x140042905
cmp qword [0x14013eb88], rbp
je 0x140042905
cmp qword [0x14013eb90], rbp
je 0x140042905
cmp qword [0x14013eb98], rbp
je 0x140042905
cmp qword [0x14013eb68], rbp
je 0x140042905
cmp qword [0x14013eb70], rbp
je 0x140042905
test rax, rax
je 0x140042905
lea rcx, [0x14013eb10]
mov rdx, rbx
call fcn.140042d30
test ax, ax
jne 0x1400427b1
cmp dword [0x14013eb00], ebp
je 0x140042784
test rbx, rbx
je 0x1400424aa
mov rax, qword [rbx + 0x10]
test rax, rax
je 0x140042784
mov rcx, qword [rbx]
lea r8, str.WIBU_driver_validation_failed._n
mov r9d, 0x26f
mov edx, 2
call rax
test rbx, rbx
je 0x1400424aa
mov rax, qword [rbx + 0x10]
test rax, rax
je 0x1400424aa
mov r9d, 0x2af
lea r8, str.WIBU_dongle_not_attached._n
mov edx, 5
jmp 0x1400424a5
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x450]
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x250]
call fcn.140042990
test eax, eax
je 0x140042784
movzx eax, word [rsp + 0x30]
test ax, ax
je 0x1400428a7
movzx ebp, ax
mov ecx, 1
lea ebx, [rbp*8 + 8]
imul eax, ebp, 0xff
add eax, ebx
movsxd rdx, eax
call fcn.140022b68
mov r12, rax
test rax, rax
je 0x1400428a5
movsxd rdi, ebx
add rdi, rax
test ebp, ebp
jle 0x14004287d
mov r14, rax
xor ebx, ebx
nop dword [rax]
cmp dword [rsp + rbx + 0x50], 0x3d4ce
jne 0x140042868
mov r8d, dword [rsp + rbx + 0x450]
lea rcx, [0x14013eb10]
mov edx, 0x3d4ce
call fcn.140042b20
test eax, eax
je 0x140042868
mov r8d, dword [rsp + rbx + 0x250]
lea rdx, str._.8x
mov rcx, rdi
call fcn.14000ca3c
mov qword [r14], rdi
inc r15d
add r14, 8
add rdi, 0xff
add rbx, 4
dec rbp
jne 0x140042820
test r15d, r15d
jne 0x14004288c
mov rcx, r12
call fcn.1400108e4
xor ebp, ebp
mov r12d, ebp
jmp 0x14004288e
xor ebp, ebp
mov ecx, dword [0x14013eb40]
test ecx, ecx
je 0x14004289e
call qword [0x14013eb78]
mov r14, qword [rsp + 0x40]
jmp 0x1400428a7
xor ebp, ebp
test rsi, rsi
je 0x1400428f4
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov qword [0x14013eb08], rbp
mov qword [0x14013eb60], rbp
mov qword [0x14013eb80], rbp
mov qword [0x14013eb88], rbp
mov qword [0x14013eb90], rbp
mov qword [0x14013eb98], rbp
mov qword [0x14013eb68], rbp
mov qword [0x14013eb70], rbp
mov qword [0x14013eb78], rbp
mov dword [r14], r15d
mov eax, 1
mov qword [r13], r12
jmp 0x1400424ac
test rbx, rbx
je 0x140042945
mov rax, qword [rbx + 8]
test rax, rax
je 0x140042925
mov rcx, qword [rbx]
xor r8d, r8d
mov r9d, 0x257
lea edx, [r8 + 9]
call rax
mov rax, qword [rbx + 0x10]
test rax, rax
je 0x140042945
mov rcx, qword [rbx]
lea r8, str.Invalid_or_corrupt_WIBU_dongle_driver_detected._nPlease_re_install_WIBU_dongle_driver_n
mov r9d, 0x258
mov edx, 1
call rax
test rsi, rsi
je 0x1400424aa
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x1400424aa
test rbx, rbx
je 0x14004297c
mov rax, qword [r8 + 8]
test rax, rax
je 0x14004297c
mov rcx, qword [rbx]
xor r8d, r8d
mov r9d, 0x2b7
lea edx, [r8 + 1]
call rax
xor eax, eax
jmp 0x1400424bc