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

Disassembly:
mov r11, rsp
push rbp
push rsi
push rdi
push r12
push r14
lea rbp, [r11 - 0x918]
sub rsp, 0x9f0
mov rax, qword [0x1403ddfb8]
xor rax, rsp
mov qword [rbp + 0x8d0], rax
mov rsi, rcx
mov qword [r11 - 0x30], r13
xor ecx, ecx
mov qword [r11 - 0x38], r15
or r14d, 0xffffffff
mov qword [rsp + 0x30], r8
mov r15, rdx
mov dword [rsp + 0x2c], ecx
mov rdi, qword [rsi]
mov r13d, dword [rdi + 0x80]
cmp dword [rdi + 0xc8], ecx
jne 0x1401b727e
mov dword [rdi + 0x170], ecx
mov dword [rsi + 0x18], ecx
lea rax, [rsp + 0x60]
mov qword [rsp + 0x50], rax
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x60], ecx
lea rax, [rbp + 0x8a8]
mov qword [rbp + 0x8c0], rax
mov rcx, r15
mov qword [rsi + 0x138], r15
mov qword [rsp + 0x58], rsi
mov rax, qword [rdi + 0x138]
mov qword [rsi + 0xb0], rax
mov qword [rdi + 0x138], rsi
mov qword [rsp + 0xa38], rbx
call fcn.1401a8710
sub r13d, eax
mov r12d, eax
js 0x1401b74bb
nop
mov ebx, dword [rsp + 0x20]
cmp ebx, 0xa1
jl 0x1401b7468
mov eax, dword [rdi + 0x170]
test eax, eax
jne 0x1401b7597
mov eax, dword [rsp + 0x20]
cmp eax, 0xb3
jne 0x1401b7314
movsxd rax, r12d
add r15, rax
jmp 0x1401b74a2
cmp byte [r15], 0
jne 0x1401b7340
cmp r14d, 1
jne 0x1401b732a
xor ebx, ebx
xor r12d, r12d
jmp 0x1401b7464
test r14d, r14d
je 0x1401b74c2
mov ebx, 1
xor r12d, r12d
jmp 0x1401b7464
cmp eax, 0xa1
jne 0x1401b735b
lea rcx, [r15 + 6]
call fcn.140161830
mov ebx, eax
mov dword [rsp + 0x20], eax
jmp 0x1401b7468
cmp eax, 0xa2
jne 0x1401b73e0
cmp r14d, 0x17
jne 0x1401b745f
lea rbx, [r15 + 4]
lea rdx, [rsp + 0x24]
mov rcx, rbx
call fcn.1401a8710
movsxd rcx, eax
add rbx, rcx
movsxd rcx, dword [rsp + 0x24]
cmp ecx, 0xb3
je 0x1401b7370
cmp ecx, 0x3b
je 0x1401b73ce
lea eax, [rcx - 0x73]
cmp eax, 0x2f
ja 0x1401b73ad
movabs rdx, 0xc00000000003
bt rdx, rax
jb 0x1401b73ce
lea rdx, [0x1402f9f20]
cmp word [rdx + rcx*2], 0x3b
je 0x1401b73ce
cmp ecx, 0x16
jne 0x1401b745f
mov ebx, reloc.OLEAUT32.dll_RegisterTypeLib
jmp 0x1401b7464
mov dword [rsp + 0x24], 0x3b
mov ebx, reloc.OLEAUT32.dll_RegisterTypeLib
jmp 0x1401b7464
cmp eax, 0xa3
jne 0x1401b757d
cmp r14d, 0x17
jne 0x1401b745f
lea rbx, [r15 + 6]
nop word [rax + rax]
lea rdx, [rsp + 0x28]
mov rcx, rbx
call fcn.1401a8710
movsxd rcx, eax
add rbx, rcx
movsxd rcx, dword [rsp + 0x28]
cmp ecx, 0xb3
je 0x1401b7400
cmp ecx, 0x3b
je 0x1401b7457
lea eax, [rcx - 0x73]
cmp eax, 0x2f
ja 0x1401b743d
movabs rdx, 0xc00000000003
bt rdx, rax
jb 0x1401b7457
lea rdx, [0x1402f9f20]
cmp word [rdx + rcx*2], 0x3b
je 0x1401b7457
cmp ecx, 0x16
jne 0x1401b745f
mov ebx, 0xa3
jmp 0x1401b7464
mov dword [rsp + 0x28], 0x3b
mov ebx, 0x3b
mov dword [rsp + 0x20], ebx
mov qword [rsi + 0x100], r15
lea r8, [rsp + 0x40]
mov dword [rsi + 0x108], r12d
lea rcx, [rsp + 0x50]
movups xmm0, xmmword [rsi + 0x100]
mov edx, ebx
movaps xmmword [rsp + 0x40], xmm0
call fcn.1401b0a30
movsxd rax, r12d
mov r14d, ebx
add r15, rax
cmp dword [rsi + 0x18], 0
jne 0x1401b74c2
lea rdx, [rsp + 0x20]
mov rcx, r15
call fcn.1401a8710
sub r13d, eax
mov r12d, eax
jns 0x1401b72e0
mov dword [rsi + 0x18], reloc.WS2_32.dll_select
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x60]
mov r13, qword [rsp + 0x9e8]
cmp rcx, rax
jbe 0x1401b750d
nop dword [rax]
mov rax, rcx
sub rcx, 0x18
mov qword [rsp + 0x50], rcx
lea rcx, [rsp + 0x50]
movzx edx, word [rax + 2]
lea r8, [rax + 8]
call fcn.1401ef2a0
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x60]
cmp rcx, rax
ja 0x1401b74e0
cmp byte [rdi + 0x61], 0
je 0x1401b751a
mov dword [rsi + 0x18], 7
mov ecx, dword [rsi + 0x18]
test ecx, ecx
je 0x1401b7548
cmp ecx, 0x65
je 0x1401b7548
cmp qword [rsi + 8], 0
jne 0x1401b7548
call fcn.14019c160
mov r8, rax
lea rdx, [0x1402fbc40]
mov rcx, rdi
call fcn.1401ad640
mov qword [rsi + 8], rax
mov r8, qword [rsi + 8]
test r8, r8
je 0x1401b75a3
mov rax, qword [rsp + 0x30]
lea rdx, str._s_in___s_
mov qword [rax], r8
mov r9, qword [rsi + 0x138]
mov ecx, dword [rsi + 0x18]
call fcn.14014bd30
xor r12d, r12d
mov qword [rsi + 8], r12
lea r14d, [r12 + 1]
jmp 0x1401b75ab
mov r9, r15
lea rdx, str.unrecognized_token:___.s_
mov r8d, r12d
mov rcx, rsi
call fcn.14019c240
jmp 0x1401b74c2
mov dword [rsi + 0x18], 9
jmp 0x1401b74c2
mov r14d, dword [rsp + 0x2c]
xor r12d, r12d
mov rcx, qword [rsi + 0x10]
mov qword [rsi + 0x138], r15
mov r15, qword [rsp + 0x9e0]
test rcx, rcx
je 0x1401b75dc
cmp dword [rsi + 0x30], 0
jle 0x1401b75dc
cmp byte [rsi + 0x1e], 0
jne 0x1401b7659
call fcn.1401c28b0
mov qword [rsi + 0x10], r12
cmp byte [rsi + 0x1e], 0
jne 0x1401b7659
mov rcx, qword [rsi + 0x90]
test rcx, rcx
je 0x1401b764b
cmp qword [rdi + 0x2d8], 0
je 0x1401b7605
mov rdx, rcx
mov rcx, rdi
call fcn.14017c3b0
jmp 0x1401b764b
cmp rcx, qword [rdi + 0x1c8]
jae 0x1401b7646
cmp rcx, qword [rdi + 0x1b8]
jb 0x1401b762a
mov rax, qword [rdi + 0x1b0]
mov qword [rcx], rax
mov qword [rdi + 0x1b0], rcx
jmp 0x1401b764b
cmp rcx, qword [rdi + 0x1c0]
jb 0x1401b7646
mov rax, qword [rdi + 0x1a0]
mov qword [rcx], rax
mov qword [rdi + 0x1a0], rcx
jmp 0x1401b764b
call fcn.140158210
mov qword [rsi + 0x90], r12
mov dword [rsi + 0x88], r12d
mov rcx, qword [rsi + 0x170]
call fcn.140158210
cmp byte [rsi + 0x114], 0
jne 0x1401b7692
mov rdx, qword [rsi + 0x140]
test rdx, rdx
je 0x1401b7692
cmp qword [rdi + 0x2d8], 0
jne 0x1401b768a
add dword [rdx + 0x3c], 0xffffffff
jne 0x1401b7692
mov rcx, rdi
call fcn.14016d650
cmp byte [rsi + 0x114], 2
jae 0x1401b76aa
mov rdx, qword [rsi + 0x150]
mov rcx, rdi
call fcn.14019ace0
mov rdx, qword [rsi + 0x190]
test rdx, rdx
je 0x1401b76be
mov rcx, rdi
call fcn.1401d9500
mov rcx, qword [rsi + 0x128]
test rcx, rcx
je 0x1401b7727
cmp qword [rdi + 0x2d8], 0
je 0x1401b76e1
mov rdx, rcx
mov rcx, rdi
call fcn.14017c3b0
jmp 0x1401b7727
cmp rcx, qword [rdi + 0x1c8]
jae 0x1401b7722
cmp rcx, qword [rdi + 0x1b8]
jb 0x1401b7706
mov rax, qword [rdi + 0x1b0]
mov qword [rcx], rax
mov qword [rdi + 0x1b0], rcx
jmp 0x1401b7727
cmp rcx, qword [rdi + 0x1c0]
jb 0x1401b7722
mov rax, qword [rdi + 0x1a0]
mov qword [rcx], rax
mov qword [rdi + 0x1a0], rcx
jmp 0x1401b7727
call fcn.140158210
cmp qword [rsi + 0x98], 0
je 0x1401b780d
mov rbx, qword [rsi + 0x98]
mov rax, qword [rbx]
mov qword [rsi + 0x98], rax
cmp qword [rdi + 0x2d8], 0
je 0x1401b7760
mov rdx, rbx
mov rcx, rdi
call fcn.14017c3b0
jmp 0x1401b77ff
cmp rbx, qword [rdi + 0x1c8]
jae 0x1401b77a4
cmp rbx, qword [rdi + 0x1b8]
jb 0x1401b7788
mov rax, qword [rdi + 0x1b0]
mov qword [rbx], rax
mov qword [rdi + 0x1b0], rbx
jmp 0x1401b77ff
cmp rbx, qword [rdi + 0x1c0]
jb 0x1401b77a4
mov rax, qword [rdi + 0x1a0]
mov qword [rbx], rax
mov qword [rdi + 0x1a0], rbx
jmp 0x1401b77ff
cmp dword [reloc.WS2_32.dll_accept], 0
je 0x1401b77f6
mov rcx, qword [0x1403efcd8]
test rcx, rcx
je 0x1401b77bf
call qword [0x1403dd1a0]
mov rcx, rbx
call qword [0x1403dd158]
dec qword [0x1403efe48]
movsxd rcx, eax
sub qword [0x1403efe00], rcx
mov rcx, rbx
call qword [0x1403dd148]
mov rcx, qword [0x1403efcd8]
test rcx, rcx
je 0x1401b77ff
call qword [0x1403dd1b0]
jmp 0x1401b77ff
mov rcx, rbx
call qword [0x1403dd148]
cmp qword [rsi + 0x98], 0
jne 0x1401b7735
cmp qword [rsi + 0x178], 0
mov rbx, qword [rsp + 0xa38]
je 0x1401b7854
nop
mov rdx, qword [rsi + 0x178]
mov rax, qword [rdx + 0x78]
mov qword [rsi + 0x178], rax
cmp qword [rdi + 0x2d8], 0
jne 0x1401b7842
add dword [rdx + 0x3c], 0xffffffff
jne 0x1401b784a
mov rcx, rdi
call fcn.14016d650
cmp qword [rsi + 0x178], 0
jne 0x1401b7820
mov rcx, qword [rsi + 0xb0]
mov eax, r14d
mov qword [rdi + 0x138], rcx
mov qword [rsi + 0xb0], r12
mov rcx, qword [rbp + 0x8d0]
xor rcx, rsp
call fcn.14026d870
add rsp, 0x9f0
pop r14
pop r12
pop rdi
pop rsi
pop rbp
ret