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

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 8], rcx
push rbx
push rdi
push r13
push r14
push r15
sub rsp, 0x40
mov rbx, qword [rcx + 0x10]
mov edi, r9d
mov r15d, r8d
mov r13, rdx
mov r14, rcx
test rbx, rbx
jne 0x1400fad29
cmp qword [rcx + 0xa0], rbx
jne 0x1400fad21
mov rax, qword [rcx]
test byte [rax + 0x5c], 8
jne 0x1400fad21
mov byte [rcx + 0x23], 1
call fcn.140087850
mov rbx, rax
test r13, r13
je 0x1400fb5a8
mov qword [rsp + 0x78], rbp
mov qword [rsp + 0x38], rsi
lea r9, [0x14012ec7c]
mov qword [rsp + 0x30], r12
xor ebp, ebp
nop word [rax + rax]
mov rax, qword [r13 + 0x40]
mov esi, dword [rax + 4]
mov rax, qword [r13 + 0x60]
mov rcx, qword [rax + 0x20]
test rcx, rcx
je 0x1400fad66
mov ebp, dword [rcx]
test r15d, r15d
js 0x1400faecf
xor r9d, r9d
mov edi, r9d
test ebp, ebp
jle 0x1400fae0a
mov r14d, dword [rsp + 0x90]
nop word [rax + rax]
mov eax, dword [r13 + 0x6c]
movsxd rcx, dword [rbx + 0xb8]
lea r8d, [rdi + rax]
mov rax, qword [rbx + 0x18]
cmp dword [rax + 0x3c], ecx
jg 0x1400fadc8
lea eax, [rdi + r14]
mov r9d, r8d
mov edx, 0x5a
mov r8d, r15d
mov rcx, rbx
mov dword [rsp + 0x20], eax
call fcn.140087c10
xor r9d, r9d
jmp 0x1400fadff
lea rdx, [rcx + rcx*2]
lea eax, [rcx + 1]
mov rcx, qword [rbx + 0x68]
mov dword [rbx + 0xb8], eax
lea eax, [rdi + r14]
mov byte [rcx + rdx*8], 0x5a
mov word [rcx + rdx*8 + 2], r9w
mov dword [rcx + rdx*8 + 4], r15d
mov dword [rcx + rdx*8 + 8], r8d
mov dword [rcx + rdx*8 + 0xc], eax
mov qword [rcx + rdx*8 + 0x10], r9
mov byte [rcx + rdx*8 + 1], 0
inc edi
cmp edi, ebp
jl 0x1400fad90
mov r14, qword [rsp + 0x70]
bt esi, 0x11
mov eax, dword [rsp + 0x90]
mov r12d, eax
jae 0x1400faedd
test ebp, ebp
jne 0x1400fae3f
mov r12d, dword [rsp + 0x98]
mov edi, dword [rsp + 0x88]
inc ebp
lea r9, [0x14012ec7c]
jmp 0x1400faeeb
movsxd rcx, dword [rbx + 0xb8]
lea edx, [rbp + rax]
mov rax, qword [rbx + 0x18]
cmp dword [rax + 0x3c], ecx
jg 0x1400fae82
mov r8d, dword [rsp + 0x98]
mov dword [rsp + 0x20], r9d
mov r9d, edx
mov edx, 0x4f
mov rcx, rbx
call fcn.140087c10
mov edi, dword [rsp + 0x88]
inc ebp
lea r9, [0x14012ec7c]
jmp 0x1400faeeb
mov r8d, dword [rsp + 0x98]
mov edi, dword [rsp + 0x88]
lea eax, [rcx + 1]
mov dword [rbx + 0xb8], eax
mov rax, qword [rbx + 0x68]
lea rcx, [rcx + rcx*2]
mov word [rax + rcx*8 + 2], r9w
mov dword [rax + rcx*8 + 0xc], r9d
mov qword [rax + rcx*8 + 0x10], r9
lea r9, [0x14012ec7c]
mov byte [rax + rcx*8], 0x4f
mov dword [rax + rcx*8 + 4], r8d
mov dword [rax + rcx*8 + 8], edx
mov byte [rax + rcx*8 + 1], 0
inc ebp
jmp 0x1400faeeb
mov r12d, dword [rsp + 0x90]
add r12d, dword [r13 + 0x6c]
jmp 0x1400faeeb
mov edi, dword [rsp + 0x88]
lea r9, [0x14012ec7c]
mov rax, qword [r13 + 0x40]
bt dword [rax + 4], 0xc
jae 0x1400fb260
cmp byte [r13 + 0x19], 0x57
je 0x1400fb260
mov rax, qword [rbx + 0x18]
movsxd rdi, dword [rbx + 0xb8]
cmp dword [rax + 0x3c], edi
jg 0x1400faf30
xor ebp, ebp
xor r9d, r9d
mov r8d, r12d
lea edx, [rbp + 0x32]
mov rcx, rbx
mov dword [rsp + 0x20], ebp
call fcn.140087c10
mov edi, eax
jmp 0x1400faf63
lea rcx, [rdi + rdi*2]
xor ebp, ebp
lea eax, [rdi + 1]
mov dword [rbx + 0xb8], eax
mov rax, qword [rbx + 0x68]
mov byte [rax + rcx*8], 0x32
mov word [rax + rcx*8 + 2], bp
mov dword [rax + rcx*8 + 4], r12d
mov dword [rax + rcx*8 + 8], ebp
mov dword [rax + rcx*8 + 0xc], ebp
mov qword [rax + rcx*8 + 0x10], rbp
mov byte [rax + rcx*8 + 1], bpl
cmp dword [rsp + 0x88], 0
jne 0x1400fb107
mov edx, dword [r13 + 0x58]
mov rax, qword [rbx + 0x18]
movsxd rcx, dword [rbx + 0xb8]
inc edx
cmp dword [rax + 0x3c], ecx
jg 0x1400fafa2
mov r9d, 1
mov r8d, edx
mov rcx, rbx
lea edx, [r9 + 0x52]
mov dword [rsp + 0x20], ebp
call fcn.140087c10
jmp 0x1400fafd6
lea eax, [rcx + 1]
lea rcx, [rcx + rcx*2]
mov dword [rbx + 0xb8], eax
mov rax, qword [rbx + 0x68]
mov byte [rax + rcx*8], 0x53
mov word [rax + rcx*8 + 2], bp
mov dword [rax + rcx*8 + 4], edx
mov dword [rax + rcx*8 + 8], 1
mov dword [rax + rcx*8 + 0xc], ebp
mov qword [rax + rcx*8 + 0x10], rbp
mov byte [rax + rcx*8 + 1], 0
mov rax, qword [rbx + 0x18]
movsxd rcx, dword [rbx + 0xb8]
mov edx, dword [r13 + 0x58]
cmp dword [rax + 0x3c], ecx
jg 0x1400fb003
mov r9d, edx
mov r8d, r12d
mov rcx, rbx
mov edx, 0x4f
mov dword [rsp + 0x20], ebp
call fcn.140087c10
jmp 0x1400fb034
lea eax, [rcx + 1]
lea rcx, [rcx + rcx*2]
mov dword [rbx + 0xb8], eax
mov rax, qword [rbx + 0x68]
mov byte [rax + rcx*8], 0x4f
mov word [rax + rcx*8 + 2], bp
mov dword [rax + rcx*8 + 4], r12d
mov dword [rax + rcx*8 + 8], edx
mov dword [rax + rcx*8 + 0xc], ebp
mov qword [rax + rcx*8 + 0x10], rbp
mov byte [rax + rcx*8 + 1], 0
mov rax, qword [rbx + 0x18]
mov edx, dword [r13 + 0x58]
movsxd rcx, dword [rbx + 0xb8]
cmp dword [rax + 0x3c], ecx
lea r8d, [rdx + 2]
jg 0x1400fb068
mov r9d, 2
mov dword [rsp + 0x20], r8d
mov r8d, edx
lea edx, [r9 + 0x64]
mov rcx, rbx
call fcn.140087c10
jmp 0x1400fb09d
lea eax, [rcx + 1]
lea rcx, [rcx + rcx*2]
mov dword [rbx + 0xb8], eax
mov rax, qword [rbx + 0x68]
mov byte [rax + rcx*8], 0x66
mov word [rax + rcx*8 + 2], bp
mov dword [rax + rcx*8 + 4], edx
mov dword [rax + rcx*8 + 8], 2
mov dword [rax + rcx*8 + 0xc], r8d
mov qword [rax + rcx*8 + 0x10], rbp
mov byte [rax + rcx*8 + 1], 0
mov edx, dword [r13 + 0x58]
mov rax, qword [rbx + 0x18]
movsxd rcx, dword [rbx + 0xb8]
mov r8d, dword [r13 + 0x54]
add edx, 2
cmp dword [rax + 0x3c], ecx
jg 0x1400fb0d1
mov r9d, edx
mov rcx, rbx
mov edx, 0x85
mov dword [rsp + 0x20], ebp
call fcn.140087c10
jmp 0x1400fb216
lea eax, [rcx + 1]
lea rcx, [rcx + rcx*2]
mov dword [rbx + 0xb8], eax
mov rax, qword [rbx + 0x68]
mov byte [rax + rcx*8], 0x85
mov word [rax + rcx*8 + 2], bp
mov dword [rax + rcx*8 + 4], r8d
mov dword [rax + rcx*8 + 8], edx
mov dword [rax + rcx*8 + 0xc], ebp
mov qword [rax + rcx*8 + 0x10], rbp
mov byte [rax + rcx*8 + 1], 0
jmp 0x1400fb216
mov rax, qword [rbx + 0x18]
movsxd rdx, dword [rbx + 0xb8]
mov r8d, dword [r13 + 0x54]
cmp dword [rax + 0x3c], edx
jg 0x1400fb133
xor r9d, r9d
mov rcx, rbx
mov dword [rsp + 0x20], r12d
lea edx, [r9 + 0x18]
call fcn.140087c10
mov edx, eax
jmp 0x1400fb165
lea rcx, [rdx + rdx*2]
lea eax, [rdx + 1]
mov dword [rbx + 0xb8], eax
mov rax, qword [rbx + 0x68]
mov byte [rax + rcx*8], 0x18
mov word [rax + rcx*8 + 2], bp
mov dword [rax + rcx*8 + 4], r8d
mov dword [rax + rcx*8 + 8], ebp
mov dword [rax + rcx*8 + 0xc], r12d
mov qword [rax + rcx*8 + 0x10], rbp
mov byte [rax + rcx*8 + 1], 0
mov rax, qword [rbx]
cmp byte [rax + 0x61], 0
jne 0x1400fb186
movsxd rax, edx
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 0x68]
mov byte [rax + rcx*8 + 1], 0xfd
mov dword [rax + rcx*8 + 0x10], 1
mov rax, qword [rbx + 0x18]
movsxd rcx, dword [rbx + 0xb8]
mov edx, dword [r13 + 0x54]
cmp dword [rax + 0x3c], ecx
jg 0x1400fb1b2
xor r9d, r9d
mov r8d, edx
mov rcx, rbx
lea edx, [r9 + 0x7c]
mov dword [rsp + 0x20], ebp
call fcn.140087c10
jmp 0x1400fb1e2
lea eax, [rcx + 1]
lea rcx, [rcx + rcx*2]
mov dword [rbx + 0xb8], eax
mov rax, qword [rbx + 0x68]
mov byte [rax + rcx*8], 0x7c
mov word [rax + rcx*8 + 2], bp
mov dword [rax + rcx*8 + 4], edx
mov dword [rax + rcx*8 + 8], ebp
mov dword [rax + rcx*8 + 0xc], ebp
mov qword [rax + rcx*8 + 0x10], rbp
mov byte [rax + rcx*8 + 1], 0
mov edx, dword [rbx + 0xb8]
lea ecx, [rdx - 2]
test ecx, ecx
jns 0x1400fb1f2
lea ecx, [rdx - 1]
mov rax, qword [rbx]
cmp byte [rax + 0x61], 0
je 0x1400fb204
lea rax, [0x14018a908]
jmp 0x1400fb213
movsxd rax, ecx
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 0x68]
lea rax, [rax + rcx*8]
mov dword [rax + 8], edx
mov edx, dword [rbx + 0xb8]
test edi, edi
jns 0x1400fb223
lea edi, [rdx - 1]
mov rax, qword [rbx]
cmp byte [rax + 0x61], 0
je 0x1400fb242
mov edi, dword [rsp + 0x88]
lea rax, [0x14018a908]
mov dword [rax + 8], edx
jmp 0x1400fb585
movsxd rax, edi
mov edi, dword [rsp + 0x88]
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 0x68]
lea rax, [rax + rcx*8]
mov dword [rax + 8], edx
jmp 0x1400fb585
mov edx, dword [r13 + 0x58]
test edx, edx
je 0x1400fb2d4
mov rax, qword [rbx + 0x18]
movsxd rcx, dword [rbx + 0xb8]
sub edx, edi
inc edx
cmp dword [rax + 0x3c], ecx
jg 0x1400fb299
xor ebp, ebp
mov r8d, edx
mov rcx, rbx
lea r9d, [rbp + 1]
lea edx, [rbp + 0x53]
mov dword [rsp + 0x20], ebp
call fcn.140087c10
jmp 0x1400fb585
xor ebp, ebp
lea eax, [rcx + 1]
lea rcx, [rcx + rcx*2]
mov dword [rbx + 0xb8], eax
mov rax, qword [rbx + 0x68]
mov byte [rax + rcx*8], 0x53
mov word [rax + rcx*8 + 2], bp
mov dword [rax + rcx*8 + 4], edx
mov dword [rax + rcx*8 + 8], 1
mov dword [rax + rcx*8 + 0xc], ebp
mov qword [rax + rcx*8 + 0x10], rbp
mov byte [rax + rcx*8 + 1], bpl
jmp 0x1400fb585
mov rax, qword [rax + 0x38]
lea rcx, str.lead
cmp rax, rcx
je 0x1400fb583
cmp rax, r9
je 0x1400fb57f
xor edx, edx
mov esi, edx
cmp qword [r13 + 0x38], rdx
je 0x1400fb3d0
test r15d, r15d
jle 0x1400fb349
movzx eax, byte [r14 + 0x1f]
test al, al
jne 0x1400fb317
inc dword [r14 + 0x38]
mov edi, dword [r14 + 0x38]
jmp 0x1400fb328
dec al
movzx eax, al
mov byte [r14 + 0x1f], al
mov edi, dword [r14 + rax*4 + 0xc4]
mov eax, dword [r13 + 0x6c]
mov r8d, r15d
mov edx, 0x5a
lea r9d, [rbp + rax]
mov rcx, rbx
mov dword [rsp + 0x20], edi
call fcn.140087c80
xor edx, edx
jmp 0x1400fb34d
lea edi, [r12 + rbp]
mov rax, qword [rbx + 0x18]
movsxd rsi, dword [rbx + 0xb8]
cmp dword [rax + 0x3c], esi
jg 0x1400fb37b
xor r9d, r9d
mov r8d, edi
mov rcx, rbx
lea edx, [r9 + 0x14]
mov dword [rsp + 0x20], 1
call fcn.140087c10
mov esi, eax
jmp 0x1400fb3af
lea rcx, [rsi + rsi*2]
lea eax, [rsi + 1]
mov dword [rbx + 0xb8], eax
mov rax, qword [rbx + 0x68]
mov byte [rax + rcx*8], socket
mov word [rax + rcx*8 + 2], dx
mov dword [rax + rcx*8 + 4], edi
mov dword [rax + rcx*8 + 8], edx
mov dword [rax + rcx*8 + 0xc], 1
mov qword [rax + rcx*8 + 0x10], rdx
mov byte [rax + rcx*8 + 1], 0
test r15d, r15d
jle 0x1400fb3d0
test edi, edi
je 0x1400fb3d0
movzx eax, byte [r14 + 0x1f]
cmp al, 8
jae 0x1400fb3d0
movzx eax, al
mov dword [r14 + rax*4 + 0xc4], edi
inc byte [r14 + 0x1f]
mov rax, qword [r13 + 0x40]
test byte [rax + 4], 0x20
je 0x1400fb4c0
mov rax, qword [r13 + 0x60]
mov rcx, qword [rax + 0x20]
mov rdx, qword [rcx + 8]
mov rcx, r14
call fcn.1400a1100
mov rdi, rax
test rax, rax
jne 0x1400fb401
mov rax, qword [r14]
mov rdi, qword [rax + 0x10]
mov rax, qword [rbx + 0x18]
movsxd rdx, dword [rbx + 0xb8]
cmp dword [rax + 0x3c], edx
jg 0x1400fb42f
xor r9d, r9d
xor r8d, r8d
mov rcx, rbx
lea edx, [r9 + 0x52]
mov dword [rsp + 0x20], 0
call fcn.140087c10
mov edx, eax
jmp 0x1400fb466
lea rcx, [rdx + rdx*2]
xor r8d, r8d
lea eax, [rdx + 1]
mov dword [rbx + 0xb8], eax
mov rax, qword [rbx + 0x68]
mov byte [rax + rcx*8], 0x52
mov word [rax + rcx*8 + 2], r8w
mov dword [rax + rcx*8 + 4], r8d
mov dword [rax + rcx*8 + 8], r8d
mov dword [rax + rcx*8 + 0xc], r8d
mov qword [rax + rcx*8 + 0x10], r8
mov byte [rax + rcx*8 + 1], r8b
mov rcx, qword [rbx]
cmp byte [rcx + 0x61], 0
je 0x1400fb47e
mov r8, rdi
mov edx, 0xfffffffe
call fcn.1400889a0
jmp 0x1400fb4c0
test edx, edx
jns 0x1400fb48a
mov edx, dword [rbx + 0xb8]
dec edx
movsxd rax, edx
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 0x68]
cmp byte [rax + rcx*8 + 1], 0
lea rdx, [rax + rcx*8]
je 0x1400fb4b3
mov r9d, 0xfffffffe
mov r8, rdi
mov rcx, rbx
call fcn.140088ba0
jmp 0x1400fb4c0
test rdi, rdi
je 0x1400fb4c0
mov qword [rdx + 0x10], rdi
mov byte [rdx + 1], 0xfe
mov edi, dword [rsp + 0x88]
mov r9d, r12d
mov rcx, rbx
mov eax, edi
mov r8d, edi
neg eax
mov eax, dword [r13 + 0x4c]
sbb edx, edx
mov dword [rsp + 0x20], eax
add edx, 0x9b
call fcn.140087c80
mov rcx, qword [rbx]
mov r11, qword [r13 + 0x40]
cmp byte [rcx + 0x61], 0
je 0x1400fb505
mov r8, r11
mov edx, 0xfffffff8
call fcn.1400889a0
jmp 0x1400fb521
mov eax, dword [rbx + 0xb8]
dec eax
cdqe
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 0x68]
mov byte [rax + rcx*8 + 1], 0xf8
mov qword [rax + rcx*8 + 0x10], r11
movsxd rax, dword [rbx + 0xb8]
test eax, eax
jle 0x1400fb53d
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 0x68]
movzx edx, bpl
mov word [rax + rcx*8 - 0x16], dx
test esi, esi
je 0x1400fb57b
mov edx, dword [rbx + 0xb8]
test esi, esi
jns 0x1400fb54e
lea esi, [rdx - 1]
mov rax, qword [rbx]
cmp byte [rax + 0x61], 0
je 0x1400fb565
lea rax, [0x14018a908]
xor ebp, ebp
mov dword [rax + 8], edx
jmp 0x1400fb585
movsxd rax, esi
xor ebp, ebp
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 0x68]
lea rax, [rax + rcx*8]
mov dword [rax + 8], edx
jmp 0x1400fb585
xor ebp, ebp
jmp 0x1400fb585
xor ebp, ebp
jmp 0x1400fb585
xor ebp, ebp
mov r13, qword [r13 + 0x30]
lea r9, [0x14012ec7c]
test r13, r13
jne 0x1400fad50
mov r12, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop r13
pop rdi
pop rbx
ret