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

Disassembly:
push r14
mov eax, 0x2310
call fcn.1402837f0
sub rsp, rax
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rsp + 0x2328], rbx
mov qword [rsp + 0x2330], rsi
mov qword [rsp + 0x2338], rdi
mov rax, qword [0x1403ad830]
xor rax, rsp
mov qword [rsp + 0x2300], rax
mov rbx, rcx
cmp byte [rcx + 0x7bc], 0
jne 0x140102a8a
mov byte [rcx + 0x7bc], 1
call fcn.1401037b0
xor edi, edi
mov qword [rsp + 0x30], rdi
lea rdx, [rsp + 0xf0]
mov rcx, rbx
call fcn.140101e40
nop
call sub.KERNEL32.dll_GetTickCount
mov r14d, eax
mov dword [rsp + 0x38], eax
lea ecx, [rdi + 0x50]
call fcn.14028314c
mov rbx, rax
test rax, rax
je 0x140102b09
lea rax, vtable.otl_conn.0
mov qword [rbx + 8], rax
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], rdi
mov qword [rbx + 0x20], rdi
mov dword [rbx + 0x28], edi
mov dword [rbx + 0x2c], 0x7ff8
mov byte [rbx + 0x30], dil
mov dword [rbx + 0x34], 1
mov dword [rbx + 0x38], 0x7ff8
mov qword [rbx + 0x3c], 1
lea rax, vtable.otl_connect.0
mov qword [rbx], rax
mov qword [rbx + 0x48], rdi
jmp 0x140102b0c
mov rbx, rdi
mov qword [rsp + 0x30], rbx
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0xf0]
call fcn.140022ea0
mov rsi, rax
cmp qword [rax + 0x18], 0x10
jb 0x140102b30
mov rsi, qword [rax]
cmp dword [rbx + 0x40], 0
jne 0x140102d37
mov rcx, qword [rbx + 0x48]
test rcx, rcx
je 0x140102b4c
call fcn.140283144
mov qword [rbx + 0x48], rdi
xor r8d, r8d
mov rdx, rsi
mov rcx, rbx
call fcn.140106680
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 0x10
jb 0x140102b98
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140102b93
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140102d6e
call fcn.140283144
cmp dword [rbx + 0x40], 0
je 0x140102bd5
mov edx, 0x66
lea r9d, [rdx - 0x6a]
lea r8d, [rdx - 0x65]
mov rcx, qword [rbx + 0x18]
call sub.ODBC32.dll_SQLSetConnectAttrW
movsx ecx, ax
mov dword [rbx + 0x28], ecx
cmp ecx, 1
setbe dil
mov dword [rbx + 0x3c], edi
test edi, edi
jne 0x140102bd5
call fcn.140263f48
test al, al
je 0x140102d74
call sub.KERNEL32.dll_GetTickCount
mov edi, eax
lea rdx, [0x1402d3f40]
lea rcx, [rsp + 0xa0]
call fcn.14001c950
nop
sub edi, r14d
mov edx, edi
lea rcx, [rsp + 0x78]
call fcn.14001c660
nop
lea rdx, str.rlogon_take_time
lea rcx, [rsp + 0x50]
call fcn.14001c950
nop
call fcn.140005320
mov r9d, 0x619
lea r8, str.e:worksuniaccess_unimon_blowsnow_sourcehotldbmgr.cpp
mov edx, 3
mov rcx, rax
call fcn.140004df0
mov rdi, rax
movzx eax, byte [rax + 0x28]
lea rsi, [rdi + 8]
test al, al
je 0x140102c91
lea rdx, [rsp + 0x58]
cmp qword [rsp + 0x70], 8
cmovae rdx, qword [rsp + 0x58]
mov r8, qword [rsp + 0x68]
mov rcx, rsi
call fcn.140004ac0
movzx eax, byte [rdi + 0x28]
test al, al
je 0x140102c91
lea rdx, [rsp + 0x80]
cmp qword [rsp + 0x98], 8
cmovae rdx, qword [rsp + 0x80]
mov r8, qword [rsp + 0x90]
mov rcx, rsi
call fcn.140004ac0
cmp byte [rdi + 0x28], 0
je 0x140102cc1
lea rdx, [rsp + 0xa8]
cmp qword [rsp + 0xc0], 8
cmovae rdx, qword [rsp + 0xa8]
mov r8, qword [rsp + 0xb8]
mov rcx, rsi
call fcn.140004ac0
call fcn.140005320
mov rdx, rdi
mov rcx, rax
call fcn.1400054f0
nop
lea rcx, [rsp + 0x50]
call fcn.14001d440
nop
lea rcx, [rsp + 0x78]
call fcn.14001d440
nop
lea rcx, [rsp + 0xa0]
call fcn.14001d440
nop
jmp 0x140102cfd
lea rcx, [rsp + 0xf0]
call fcn.14001d440
mov rax, rbx
mov rcx, qword [rsp + 0x2300]
xor rcx, rsp
call fcn.140283120
lea r11, [rsp + 0x2310]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret
mov qword [rsp + 0x20], rdi
xor r9d, r9d
mov r8d, 0x7d1f
lea rdx, str.otl_connect_is_already_connected
lea rcx, [rsp + 0x140]
call fcn.1400fa9c0
lea rdx, [0x14039f030]
lea rcx, [rsp + 0x140]
call fcn.140284ef8
nop
call fcn.140287d84
int3
xor r8d, r8d
lea rdx, [rbx + 8]
lea rcx, [rsp + 0x1220]
call fcn.1400fa810
lea rdx, [0x14039f030]
lea rcx, [rsp + 0x1220]
call fcn.140284ef8
int3