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

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xc8
mov rdi, qword [rcx + 0x10]
xor r10d, r10d
xor r14b, r14b
movsxd r9, dword [rdi + 0x98]
mov rbp, r8
mov rsi, rdx
mov r12, rcx
mov qword [rsp + 0x50], r10
mov dword [rsp + 0x58], r10d
mov dword [rsp + 0x48], r10d
mov qword [rsp + 0x80], rdi
mov dword [rsp + 0x5c], r9d
cmp dword [rdi + 0x9c], r9d
jg 0x140139dc1
lea edx, [r10 + 0x11]
xor r9d, r9d
xor r8d, r8d
mov rcx, rdi
mov dword [rsp + 0x20], r10d
call fcn.14015d860
xor r10d, r10d
mov dword [rsp + 0x5c], eax
jmp 0x140139de8
lea rcx, [r9 + r9*2]
lea eax, [r9 + 1]
mov dword [rdi + 0x98], eax
mov rax, qword [rdi + 0x90]
mov qword [rax + rcx*8], reloc.OLEAUT32.dll_SafeArrayGetElemsize
mov qword [rax + rcx*8 + 8], r10
mov qword [rax + rcx*8 + 0x10], r10
mov r8, qword [rsp + 0x130]
mov rbx, qword [rsi + 0x20]
movsxd rax, dword [rsi + 0x14]
imul rax, rax, 0x38
mov rdx, qword [r8 + 0x58]
mov rcx, qword [rbp + 0x20]
add rax, rbx
mov r13d, r10d
mov dword [rsp + 0x110], r10d
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x70], rcx
mov qword [rsp + 0x40], rdx
mov r15, r10
mov r8d, 3
movabs r11, 0x8000000000000000
cmp rbx, rax
jae 0x14013a03c
lea rax, [fcn.140141140]
lea rcx, [0x1401b5fd0]
nop dword [rax + rax]
test byte [rbx + 0x12], 2
mov rsi, qword [rbx]
jne 0x140139ee5
test byte [rbp + 0x3c], 8
je 0x140139e69
test byte [rsi + 4], 1
je 0x140139ee5
mov qword [rsp + 0x98], rax
mov eax, dword [rbp + 0x44]
mov word [rsp + 0xb4], r8w
mov qword [rsp + 0xa0], rcx
mov dword [rsp + 0xb8], eax
test rsi, rsi
je 0x140139ec8
lea rcx, [rsp + 0x90]
mov rdx, rsi
call fcn.1401e5240
cmp word [rsp + 0xb4], 0
je 0x140139ee0
xor r10d, r10d
test rsi, rsi
je 0x140139ec8
mov rcx, qword [r12]
xor r9d, r9d
xor r8d, r8d
mov rdx, rsi
call fcn.140140460
jmp 0x140139ecb
mov rax, r10
mov rdx, qword [rsp + 0x50]
mov r8, rax
mov rcx, r12
call fcn.14018c7b0
mov qword [rsp + 0x50], rax
mov rdx, qword [rsp + 0x40]
mov eax, dword [rbp + 0x44]
cmp dword [rbx + 0x1c], eax
jne 0x14013a006
movzx ecx, word [rbx + 0x14]
test cl, 0x82
je 0x14013a006
test byte [rbp + 0x3c], 8
je 0x140139f15
mov rax, qword [rbx]
test byte [rax + 4], 1
jne 0x140139f15
test cl, cl
js 0x14013a006
mov rax, qword [rsp + 0x128]
test qword [rbx + 0x28], rax
jne 0x14013a006
movsxd rax, dword [rbx + 0x20]
test eax, eax
js 0x14013a006
lea rdx, [rax + rax*2]
mov rax, qword [rbp + 0x20]
mov rcx, qword [rax + 8]
movzx esi, byte [rcx + rdx*8 + 0xc]
mov rcx, qword [rbx]
call fcn.140139520
cmp al, 0x42
jl 0x140139f6e
jne 0x140139f5d
xor eax, eax
cmp sil, 0x42
sete al
jmp 0x140139f66
xor eax, eax
cmp sil, 0x43
setge al
test eax, eax
je 0x14013a001
movsxd rcx, dword [rbx + 0x20]
cmp ecx, 0x40
jl 0x140139f83
movabs rsi, 0x8000000000000000
jmp 0x140139f8b
mov esi, 1
shl rsi, cl
test r14b, r14b
jne 0x140139fb8
mov rax, qword [rsp + 0x70]
lea rcx, [rcx + rcx*2]
lea rdx, str.automatic_index_on__s__s_
mov r9, qword [rax + 8]
mov r8, qword [rax]
mov r9, qword [r9 + rcx*8]
mov ecx, 0x11c
call fcn.1401138b0
mov r14b, 1
mov rdx, qword [rsp + 0x40]
test r15, rsi
jne 0x14013a006
mov rcx, qword [r12]
lea ebp, [r13 + 1]
mov r8d, ebp
call fcn.1401e8910
test eax, eax
jne 0x14013ab5e
mov rdx, qword [rsp + 0x40]
movsxd rcx, r13d
mov dword [rsp + 0x110], ebp
mov rax, qword [rdx + 0x48]
mov r13d, ebp
mov rbp, qword [rsp + 0x120]
mov qword [rax + rcx*8], rbx
or r15, rsi
jmp 0x14013a006
mov rdx, qword [rsp + 0x40]
add rbx, 0x38
mov r10d, 0
lea rax, [fcn.140141140]
lea r8d, [r10 + 3]
lea rcx, [0x1401b5fd0]
cmp rbx, qword [rsp + 0x78]
jb 0x140139e50
mov rcx, qword [rsp + 0x70]
movabs r11, 0x8000000000000000
mov word [rdx + 0x3c], r13w
mov word [rdx + 0x18], r13w
mov dword [rdx + 0x38], 0x4241
movzx edx, word [rcx + 0x36]
mov r8, qword [rbp + 0x58]
not r15
or r15, r11
mov eax, IsNetDrive
mov ecx, r10d
and r15, r8
mov qword [rsp + 0x88], r15
cmp ax, dx
jge 0x14013a07c
mov r9d, eax
mov dword [rsp + 0x60], eax
jmp 0x14013a090
movsx r9d, dx
mov dword [rsp + 0x60], r9d
test r9d, r9d
jle 0x14013a0aa
nop word [rax + rax]
mov eax, ecx
bt r15, rax
jae 0x14013a09b
inc r13d
inc ecx
cmp ecx, r9d
jl 0x14013a090
mov dword [rsp + 0x110], r13d
test r11, r8
je 0x14013a0c1
movsx eax, dx
add r13d, 0xffffffc1
add r13d, eax
mov dword [rsp + 0x110], r13d
mov rcx, qword [r12]
lea esi, [r13 + 1]
movsx rbp, si
movsx r14d, si
lea eax, [r14 + rbp]
lea edx, [rax*2 + 9]
lea eax, [rbp*8 + 7]
and eax, 0xfffffff8
add edx, ebp
add eax, 0x70
and edx, 0xfffffff8
add eax, edx
movsxd rbx, eax
test rcx, rcx
je 0x14013a105
mov rdx, rbx
call fcn.140188bc0
mov r15, rax
jmp 0x14013a161
lea rax, [rbx - 1]
cmp rax, 0x7ffffefe
ja 0x14013a15e
cmp dword [0x1404b2470], 0
je 0x14013a151
mov rcx, qword [0x140539bb8]
test rcx, rcx
je 0x14013a12c
call qword [0x1404b24f0]
lea rdx, [rsp + 0x68]
mov ecx, ebx
call fcn.140164f90
mov rcx, qword [0x140539bb8]
test rcx, rcx
je 0x14013a14a
call qword [0x1404b2500]
mov r15, qword [rsp + 0x68]
jmp 0x14013a161
mov ecx, ebx
call qword [0x1404b2490]
mov r15, rax
jmp 0x14013a161
mov r15, r10
test r15, r15
je 0x14013ab5e
mov r8, rbx
xor edx, edx
mov rcx, r15
call sub.msvcrt.dll_memset
mov r11, qword [rsp + 0x70]
mov word [r15 + 0x60], si
dec si
lea rdx, [r15 + 0x70]
lea rax, [rbp*8 + 7]
and rax, 0xfffffffffffffff8
mov qword [r15 + 0x40], rdx
mov word [r15 + 0x5e], si
add rdx, rax
lea eax, [r14 + 1]
mov r14, qword [rsp + 0x118]
movsxd rcx, eax
mov qword [r15 + 0x10], rdx
xor r10d, r10d
lea rax, [rdx + rcx*2]
mov r13d, r10d
lea rbx, [0x14024daa8]
mov qword [r15 + 8], rax
lea rax, [rax + rbp*2]
mov qword [r15 + 0x38], rax
mov rax, qword [rsp + 0x40]
mov qword [rax + 0x20], r15
lea rax, str.auto_index
mov qword [r15 + 0x18], r11
mov qword [r15], rax
mov rsi, qword [r14 + 0x20]
cmp rsi, qword [rsp + 0x78]
jae 0x14013a392
mov r8, qword [rsp + 0x120]
mov ebp, r10d
mov r14d, r10d
mov edi, r10d
nop word [rax + rax]
mov eax, dword [r8 + 0x44]
cmp dword [rsi + 0x1c], eax
jne 0x14013a36e
movzx ecx, word [rsi + 0x14]
test cl, 0x82
je 0x14013a36e
test byte [r8 + 0x3c], 8
je 0x14013a242
mov rax, qword [rsi]
test byte [rax + 4], 1
jne 0x14013a242
test cl, cl
js 0x14013a36e
mov rax, qword [rsp + 0x128]
test qword [rsi + 0x28], rax
jne 0x14013a36e
movsxd rax, dword [rsi + 0x20]
test eax, eax
js 0x14013a36e
lea rdx, [rax + rax*2]
mov rax, qword [r8 + 0x20]
mov rcx, qword [rax + 8]
movzx ebx, byte [rcx + rdx*8 + 0xc]
mov rcx, qword [rsi]
call fcn.140139520
cmp al, 0x42
jl 0x14013a2a1
jne 0x14013a28d
xor r10d, r10d
cmp bl, 0x42
mov eax, r10d
sete al
jmp 0x14013a299
xor r10d, r10d
cmp bl, 0x43
mov eax, r10d
setge al
test eax, eax
je 0x14013a353
mov ecx, dword [rsi + 0x20]
cmp ecx, 0x40
jl 0x14013a2b5
movabs rax, 0x8000000000000000
jmp 0x14013a2bd
mov eax, 1
shl rax, cl
test rdi, rax
jne 0x14013a35c
mov rdx, qword [rsi]
mov rcx, qword [r15 + 8]
or rdi, rax
movzx eax, word [rsi + 0x20]
mov word [r14 + rcx], ax
test dword [rdx + 4], 0x200
je 0x14013a2ec
mov rbx, qword [rdx + 0x10]
mov rdx, qword [rdx + 0x18]
jmp 0x14013a2f4
mov rbx, qword [rdx + 0x18]
mov rdx, qword [rdx + 0x10]
test dword [rdx + 4], 0x100
jne 0x14013a31b
test rbx, rbx
je 0x14013a30b
test dword [rbx + 4], 0x100
jne 0x14013a318
mov rcx, r12
call fcn.140190290
test rax, rax
jne 0x14013a328
mov rdx, rbx
mov rcx, r12
call fcn.140190290
test rax, rax
je 0x14013a334
mov rcx, qword [rax]
lea rbx, [0x14024daa8]
jmp 0x14013a33e
lea rbx, [0x14024daa8]
mov rcx, rbx
mov rax, qword [r15 + 0x40]
inc r13d
add r14, 2
mov qword [rax + rbp], rcx
add rbp, 8
jmp 0x14013a363
lea rbx, [0x14024daa8]
jmp 0x14013a366
lea rbx, [0x14024daa8]
xor r10d, r10d
mov r8, qword [rsp + 0x120]
add rsi, 0x38
cmp rsi, qword [rsp + 0x78]
jb 0x14013a210
mov rdi, qword [rsp + 0x80]
mov r11, qword [rsp + 0x70]
mov r14, qword [rsp + 0x118]
mov r9d, dword [rsp + 0x60]
mov ecx, r10d
test r9d, r9d
jle 0x14013a3e6
mov r10, qword [rsp + 0x88]
movsxd rax, r13d
lea rdx, [rax*8]
lea r8, [rax + rax]
mov eax, ecx
bt r10, rax
jae 0x14013a3dc
mov rax, qword [r15 + 8]
inc r13d
add r8, 2
mov word [r8 + rax - 2], cx
mov rax, qword [r15 + 0x40]
add rdx, 8
mov qword [rdx + rax - 8], rbx
inc ecx
cmp ecx, r9d
jl 0x14013a3b6
xor r10d, r10d
mov rax, qword [rsp + 0x120]
movabs rcx, 0x8000000000000000
test qword [rax + 0x58], rcx
je 0x14013a44a
mov r8d, IsNetDrive
cmp r8w, word [r11 + 0x36]
jge 0x14013a44a
movsxd rax, r13d
lea rcx, [rax*8]
lea rdx, [rax + rax]
nop word [rax + rax]
mov rax, qword [r15 + 8]
inc r13d
lea rdx, [rdx + 2]
mov word [rdx + rax - 2], r8w
mov rax, qword [r15 + 0x40]
inc r8d
mov qword [rcx + rax], rbx
movsx eax, word [r11 + 0x36]
lea rcx, [rcx + 8]
cmp r8d, eax
jl 0x14013a420
mov rax, qword [r15 + 8]
mov rsi, qword [rsp + 0x130]
or edx, 0xffffffff
movsxd rcx, r13d
mov word [rax + rcx*2], dx
mov rax, qword [r15 + 0x40]
mov edx, dword [rsp + 0x110]
mov qword [rax + rcx*8], rbx
mov eax, dword [r12 + 0x34]
mov dword [rsi + 8], eax
inc dword [r12 + 0x34]
movsxd rcx, dword [rdi + 0x98]
mov r8d, dword [rsi + 8]
inc edx
cmp dword [rdi + 0x9c], ecx
jg 0x14013a4a8
mov r9d, edx
mov rcx, rdi
mov edx, reloc.WS2_32.dll_WSAStartup
mov dword [rsp + 0x20], r10d
call fcn.14015d860
jmp 0x14013a4d6
lea eax, [rcx + 1]
lea rcx, [rcx + rcx*2]
mov dword [rdi + 0x98], eax
mov rax, qword [rdi + 0x90]
mov dword [rax + rcx*8], reloc.WS2_32.dll_WSAStartup
mov dword [rax + rcx*8 + 4], r8d
mov dword [rax + rcx*8 + 8], edx
mov dword [rax + rcx*8 + 0xc], r10d
mov qword [rax + rcx*8 + 0x10], r10
mov rbx, qword [r12 + 0x10]
mov rdx, r15
mov rcx, r12
call fcn.1401a3700
mov rdx, rax
test rax, rax
je 0x14013a525
mov rcx, qword [rbx]
cmp byte [rcx + 0x67], 0
je 0x14013a506
mov r8, rax
mov edx, 0xfffffff7
call fcn.140145c20
jmp 0x14013a525
mov eax, dword [rbx + 0x98]
dec eax
cdqe
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 0x90]
mov byte [rax + rcx*8 + 1], 0xf7
mov qword [rax + rcx*8 + 0x10], rdx
mov rax, qword [r12]
test dword [rax + 0x60], 0x80000
jne 0x14013a56a
mov edx, dword [r12 + 0x38]
inc edx
mov dword [r12 + 0x38], edx
mov dword [rsi + 0x34], edx
movsxd rcx, dword [rdi + 0x98]
cmp dword [rdi + 0x9c], ecx
jg 0x14013a5be
xor eax, eax
mov r9d, edx
mov r8d, 0x2710
lea edx, [rax + 0x4c]
mov rcx, rdi
mov dword [rsp + 0x20], eax
call fcn.14015d860
xor r9d, r9d
movzx eax, byte [rsi + 0x38]
imul rbp, rax, 0x70
mov rax, qword [r14]
add rbp, qword [rax + 8]
test byte [rbp + 0x48], 0x10
je 0x14013a6c7
movsxd r8, dword [rdi + 0x98]
mov esi, dword [rbp + 0x3c]
mov dword [rsp + 0x48], r8d
cmp dword [rdi + 0x9c], r8d
jg 0x14013a5f7
mov dword [rsp + 0x20], r9d
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x47]
mov rcx, rdi
call fcn.14015d860
xor r9d, r9d
mov dword [rsp + 0x48], eax
jmp 0x14013a622
lea eax, [rcx + 1]
lea rcx, [rcx + rcx*2]
xor r9d, r9d
mov dword [rdi + 0x98], eax
mov rax, qword [rdi + 0x90]
mov dword [rax + rcx*8], 0x4c
mov dword [rax + rcx*8 + 4], 0x2710
mov dword [rax + rcx*8 + 8], edx
mov dword [rax + rcx*8 + 0xc], r9d
mov qword [rax + rcx*8 + 0x10], r9
jmp 0x14013a56d
lea rcx, [r8 + r8*2]
lea eax, [r8 + 1]
mov dword [rdi + 0x98], eax
mov rax, qword [rdi + 0x90]
mov qword [rax + rcx*8], SQLBindParameter
mov qword [rax + rcx*8 + 8], 0
mov qword [rax + rcx*8 + 0x10], r9
movsxd rcx, dword [rdi + 0x98]
mov edx, dword [rbp + 0x38]
cmp dword [rdi + 0x9c], ecx
jg 0x14013a64f
xor r9d, r9d
mov dword [rsp + 0x20], edx
mov r8d, esi
lea edx, [r9 + 0xd]
mov rcx, rdi
call fcn.14015d860
xor r9d, r9d
jmp 0x14013a67c
lea eax, [rcx + 1]
lea rcx, [rcx + rcx*2]
mov dword [rdi + 0x98], eax
mov rax, qword [rdi + 0x90]
mov dword [rax + rcx*8], reloc.ODBC32.dll_SQLFetch
mov dword [rax + rcx*8 + 4], esi
mov dword [rax + rcx*8 + 8], r9d
mov dword [rax + rcx*8 + 0xc], edx
mov qword [rax + rcx*8 + 0x10], r9
movsxd rbx, dword [rdi + 0x98]
cmp dword [rdi + 0x9c], ebx
jg 0x14013a6a6
mov dword [rsp + 0x20], r9d
xor r9d, r9d
mov r8d, esi
lea edx, [r9 + 0xe]
mov rcx, rdi
call fcn.14015d860
mov ebx, eax
jmp 0x14013a721
lea eax, [rbx + 1]
lea rcx, [rbx + rbx*2]
mov dword [rdi + 0x98], eax
mov rax, qword [rdi + 0x90]
mov dword [rax + rcx*8], SafeArrayGetLBound
mov dword [rax + rcx*8 + 4], esi
jmp 0x14013a713
movsxd rbx, dword [rdi + 0x98]
mov edx, dword [rsi + 4]
cmp dword [rdi + 0x9c], ebx
jg 0x14013a6f4
mov dword [rsp + 0x20], r9d
xor r9d, r9d
mov r8d, edx
lea edx, [r9 + 0x26]
mov rcx, rdi
call fcn.14015d860
mov ebx, eax
jmp 0x14013a721
lea eax, [rbx + 1]
lea rcx, [rbx + rbx*2]
mov dword [rdi + 0x98], eax
mov rax, qword [rdi + 0x90]
mov dword [rax + rcx*8], SQLGetData
mov dword [rax + rcx*8 + 4], edx
mov qword [rax + rcx*8 + 0x10], r9
mov qword [rax + rcx*8 + 8], 0
mov rax, qword [rsp + 0x50]
mov ecx, reloc.WS2_32.dll_recv
test rax, rax
je 0x14013a75b
dec dword [r12 + 0x44]
mov r8d, dword [r12 + 0x44]
mov r9d, ecx
mov rdx, rax
mov rcx, r12
mov dword [rsp + 0x58], r8d
call fcn.140190d90
mov rsi, qword [rsp + 0x40]
or dword [rsi + 0x38], 0x20000
jmp 0x14013a760
mov rsi, qword [rsp + 0x40]
movzx eax, byte [r12 + 0x1f]
test al, al
jne 0x14013a776
inc dword [r12 + 0x38]
mov r14d, dword [r12 + 0x38]
jmp 0x14013a788
dec al
movzx eax, al
mov byte [r12 + 0x1f], al
mov r14d, dword [r12 + rax*4 + 0xd8]
mov r8, qword [rsp + 0x130]
xor eax, eax
mov r9d, r14d
mov r8d, dword [r8 + 4]
mov dword [rsp + 0x38], eax
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rax
mov rdx, r15
mov rcx, r12
mov dword [rsp + 0x20], eax
call fcn.14019e990
mov r9, qword [rsp + 0x130]
mov r8d, dword [r9 + 0x34]
mov r15d, eax
test r8d, r8d
je 0x14013a853
movsxd rdx, dword [rdi + 0x98]
movzx esi, word [rsi + 0x18]
cmp dword [rdi + 0x9c], edx
jg 0x14013a801
xor r9d, r9d
mov edx, 0xb2
mov rcx, rdi
mov dword [rsp + 0x20], eax
call fcn.14015d860
mov r9, qword [rsp + 0x130]
mov edx, eax
jmp 0x14013a833
lea rcx, [rdx + rdx*2]
lea eax, [rdx + 1]
xor r10d, r10d
mov dword [rdi + 0x98], eax
mov rax, qword [rdi + 0x90]
mov dword [rax + rcx*8], 0xb2
mov dword [rax + rcx*8 + 4], r8d
mov dword [rax + rcx*8 + 8], r10d
mov dword [rax + rcx*8 + 0xc], r15d
mov qword [rax + rcx*8 + 0x10], r10
mov rax, qword [rdi]
cmp byte [rax + 0x67], 0
jne 0x14013a853
movsxd rax, edx
lea rcx, [rax + rax*2]
mov rax, qword [rdi + 0x90]
mov byte [rax + rcx*8 + 1], 0xfd
mov dword [rax + rcx*8 + 0x10], esi
movsxd rcx, dword [rdi + 0x98]
mov edx, dword [r9 + 8]
cmp dword [rdi + 0x9c], ecx
jg 0x14013a881
xor eax, eax
mov r8d, edx
mov r9d, r14d
mov edx, SQLDriverConnectW
mov rcx, rdi
mov dword [rsp + 0x20], eax
call fcn.14015d860
jmp 0x14013a8b2
lea eax, [rcx + 1]
lea rcx, [rcx + rcx*2]
xor r8d, r8d
mov dword [rdi + 0x98], eax
mov rax, qword [rdi + 0x90]
mov dword [rax + rcx*8], SQLDriverConnectW
mov dword [rax + rcx*8 + 4], edx
mov dword [rax + rcx*8 + 8], r14d
mov dword [rax + rcx*8 + 0xc], r8d
mov qword [rax + rcx*8 + 0x10], r8
movsxd rax, dword [rdi + 0x98]
test eax, eax
jle 0x14013a8d2
lea rcx, [rax + rax*2]
mov rax, qword [rdi + 0x90]
mov edx, reloc.WS2_32.dll_recv
mov word [rax + rcx*8 - 0x16], dx
cmp qword [rsp + 0x50], 0
je 0x14013a909
mov rcx, qword [rdi + 0x18]
mov edx, dword [rsp + 0x58]
mov eax, dword [rcx + 0x48]
not edx
add eax, dword [rcx + 0x44]
jns 0x14013a8f9
mov r8d, edx
mov rdx, rdi
call fcn.140174110
jmp 0x14013a909
mov rcx, qword [rcx + 0x50]
mov eax, dword [rdi + 0x98]
movsxd rdx, edx
mov dword [rcx + rdx*4], eax
test byte [rbp + 0x48], 0x10
lea rsi, [0x140539bf8]
je 0x14013aa5b
mov ecx, dword [rsp + 0x48]
test ecx, ecx
jns 0x14013a92a
mov ecx, dword [rdi + 0x98]
dec ecx
mov rax, qword [rdi]
cmp byte [rax + 0x67], 0
je 0x14013a938
mov rcx, rsi
jmp 0x14013a94a
movsxd rax, ecx
lea rcx, [rax + rax*2]
mov rax, qword [rdi + 0x90]
lea rcx, [rax + rcx*8]
lea eax, [r15 + r13]
mov dword [rcx + 8], eax
mov rax, qword [rsp + 0x130]
mov r11d, dword [rbp + 0x40]
mov rdx, qword [r12 + 0x10]
mov r10d, dword [rax + 8]
mov r9d, dword [rax + 4]
mov ecx, ebx
test ebx, ebx
jns 0x14013a978
mov ecx, dword [rdx + 0x98]
dec ecx
mov rax, qword [rdx]
cmp byte [rax + 0x67], 0
je 0x14013a986
mov r8, rsi
jmp 0x14013a998
movsxd rax, ecx
lea rcx, [rax + rax*2]
mov rax, qword [rdx + 0x90]
lea r8, [rax + rcx*8]
mov rax, qword [r12]
mov ecx, dword [rdx + 0x98]
cmp byte [rax + 0x67], 0
jne 0x14013a9f8
cmp ebx, ecx
jge 0x14013a9f8
sub ecx, ebx
lea rdx, [r8 + 0xc]
xor edi, edi
mov r8d, ecx
cmp dword [rdx - 8], r9d
jne 0x14013a9e7
movzx eax, byte [rdx - 0xc]
cmp al, 0x5d
jne 0x14013a9db
mov ecx, dword [rdx - 4]
mov eax, dword [rdx]
mov byte [rdx - 0xc], 0x4f
add ecx, r11d
mov dword [rdx - 4], eax
mov dword [rdx], edi
mov dword [rdx - 8], ecx
jmp 0x14013a9e7
cmp al, 0x86
jne 0x14013a9e7
mov byte [rdx - 0xc], 0x7d
mov dword [rdx - 8], r10d
add rdx, 0x18
dec r8
jne 0x14013a9b7
mov rdi, qword [rsp + 0x80]
movsxd rcx, dword [rdi + 0x98]
cmp dword [rdi + 0x9c], ecx
jg 0x14013aa27
xor eax, eax
mov r9d, ebx
xor r8d, r8d
lea edx, [rax + 0xb]
mov rcx, rdi
mov dword [rsp + 0x20], eax
call fcn.14015d860
and dword [rbp + 0x48], 0xffffffef
jmp 0x14013aae0
lea eax, [rcx + 1]
lea rcx, [rcx + rcx*2]
xor edx, edx
mov dword [rdi + 0x98], eax
mov rax, qword [rdi + 0x90]
mov qword [rax + rcx*8], reloc.WS2_32.dll_inet_addr
mov dword [rax + rcx*8 + 8], ebx
mov dword [rax + rcx*8 + 0xc], edx
mov qword [rax + rcx*8 + 0x10], rdx
and dword [rbp + 0x48], 0xffffffef
jmp 0x14013aae0
mov r8, qword [rsp + 0x130]
movsxd rcx, dword [rdi + 0x98]
lea edx, [rbx + 1]
mov r8d, dword [r8 + 4]
cmp dword [rdi + 0x9c], ecx
jg 0x14013aa8f
xor eax, eax
mov r9d, edx
mov rcx, rdi
lea edx, [rax + 5]
mov dword [rsp + 0x20], eax
call fcn.14015d860
jmp 0x14013aac0
lea eax, [rcx + 1]
lea rcx, [rcx + rcx*2]
xor r9d, r9d
mov dword [rdi + 0x98], eax
mov rax, qword [rdi + 0x90]
mov dword [rax + rcx*8], 5
mov dword [rax + rcx*8 + 4], r8d
mov dword [rax + rcx*8 + 8], edx
mov dword [rax + rcx*8 + 0xc], r9d
mov qword [rax + rcx*8 + 0x10], r9
movsxd rax, dword [rdi + 0x98]
test eax, eax
jle 0x14013aae0
lea rcx, [rax + rax*2]
mov rax, qword [rdi + 0x90]
mov edx, 3
mov word [rax + rcx*8 - 0x16], dx
mov edx, dword [rdi + 0x98]
test ebx, ebx
jns 0x14013aaed
lea ebx, [rdx - 1]
mov rax, qword [rdi]
cmp byte [rax + 0x67], 0
je 0x14013aafb
mov rax, rsi
jmp 0x14013ab0d
movsxd rax, ebx
lea rcx, [rax + rax*2]
mov rax, qword [rdi + 0x90]
lea rax, [rax + rcx*8]
mov dword [rax + 8], edx
test r14d, r14d
je 0x14013ab2f
movzx eax, byte [r12 + 0x1f]
cmp al, 8
jae 0x14013ab2f
movzx eax, al
mov dword [r12 + rax*4 + 0xd8], r14d
inc byte [r12 + 0x1f]
mov ecx, dword [rsp + 0x5c]
mov edx, dword [rdi + 0x98]
test ecx, ecx
jns 0x14013ab40
lea ecx, [rdx - 1]
mov rax, qword [rdi]
cmp byte [rax + 0x67], 0
jne 0x14013ab5b
movsxd rax, ecx
lea rcx, [rax + rax*2]
mov rax, qword [rdi + 0x90]
lea rsi, [rax + rcx*8]
mov dword [rsi + 8], edx
mov rax, qword [rsp + 0x50]
test rax, rax
je 0x14013ab74
mov rcx, qword [r12]
mov rdx, rax
call fcn.140190970
add rsp, 0xc8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret