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

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x58
mov ebp, r8d
mov r15, rdx
mov rsi, rcx
movzx ebx, r8b
cmp byte [rcx + 0x4c8], 0
je 0x14008edb3
cmp byte [rsi + 0x139], 0
je 0x14008edb3
lea edi, [rbx + 0x82]
jmp 0x14008edb6
lea edi, [rbx + 0x1c]
mov rcx, rsi
call fcn.1400795f0
test eax, eax
jne 0x14008edd0
mov rcx, rsi
mov edx, edi
call fcn.14007c600
test eax, eax
je 0x14008eddd
add rsp, 0x58
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
lea edx, [rbx + 3]
mov eax, dword [rsi + 0x19c]
add rax, qword [rsi + 0x190]
mov r14d, dword [rsi + 0x198]
add r14, rax
mov rax, qword [rsi + 0x1660]
test rax, rax
je 0x14008ee1a
cmp byte [rax], 0
je 0x14008ee1a
cmp byte [rsi + 0x4e4], 0
je 0x14008ee1a
cmp byte [rsi + 0x4e3], 0x10
jne 0x14008ee34
movzx eax, word [rsi + 0x472]
mov word [rsi + 0x4ae], ax
mov eax, dword [rsi + 0x474]
mov dword [rsi + 0x4b0], eax
mov rcx, r14
mov r8b, 3
mov r9, rsi
call fcn.140086a20
mov word [r14 + 0x19], 0xfffe
mov byte [r14 + 0x1b], bpl
mov eax, 0xfffffe8f
test r15, r15
je 0x14008edd0
test bpl, bpl
je 0x14008edd0
lea rcx, [r14 + 0x1c]
mov rdx, r15
mov r8, rbx
call fcn.1400d0cd0
cmp byte [rsi + 0xa89], 0
je 0x14008eeef
mov rax, qword [rsi + 0xa78]
test rax, rax
je 0x14008eeef
cmp byte [rsi + 0x4c8], 1
je 0x14008eef8
movzx ecx, byte [rsi + 0x309]
mov r8d, ecx
shl r8d, 4
or r8d, ecx
and r8d, 0xf0f
movzx edx, byte [rsi + 0x308]
mov ecx, edx
and ecx, 0xf
shl ecx, 8
add ecx, r8d
shl edx, 0xc
and edx, 0xf0000
or edx, ecx
mov rcx, qword [rsi + 0xa80]
mov r8d, edi
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], r8
mov ecx, 1
mov r8d, 0x16
mov r9, r14
call rax
cmp byte [rsi + 0x4c8], 0
je 0x14008ef74
cmp byte [rsi + 0x139], 0
je 0x14008ef74
add ebx, 0xf
mov rcx, rbx
call fcn.140045640
test rax, rax
je 0x14008ef8e
mov r15, rax
lea rdx, [r14 + 0xd]
mov rcx, rax
mov r8, rbx
call fcn.1400d0cd0
mov dword [rsp + 0x20], ebx
mov dword [rsp + 0x48], 0
mov dword [rsp + 0x40], 0
mov dword [rsp + 0x38], 0
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x16
mov rcx, rsi
mov rdx, r14
mov r8d, edi
mov r9, r15
call fcn.14007c750
mov edi, eax
mov rcx, r15
call fcn.140045660
mov eax, edi
test edi, edi
js 0x14008edd0
add dword [rsi + 0x198], edi
mov rcx, rsi
add rsp, 0x58
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
jmp fcn.14007cf50
mov eax, 0xffffff83
jmp 0x14008edd0
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x230
mov rdi, rdx
mov rsi, rcx
mov rax, qword [0x1400fe980]
xor rax, rsp
mov qword [rsp + 0x228], rax
test r8b, r8b
je 0x1400a0290
mov qword [rsp + 0x88], 0
xorps xmm0, xmm0
movaps xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], 0
mov ebx, 0xfffffe57
cmp dword [rdi + 0x10], 0x20
ja 0x1400a037c
lea rcx, [rsp + 0xd2]
mov r8d, 0x156
xor edx, edx
call fcn.1400d1370
mov r8d, dword [rdi + 0x30]
mov word [rsp + 0xd0], r8w
test r8b, 1
jne 0x1400a037c
and r8d, 0xfffe
cmp r8d, 0x12c
jbe 0x1400a02ec
mov ebx, 0xfffffeb8
jmp 0x1400a037c
test byte [rdi + 0x9c], 1
jne 0x1400a02b9
lea r8, [rdi + 0x7c]
mov rcx, rsi
mov rdx, rdi
call fcn.1400a0a00
mov ebx, eax
test eax, eax
jne 0x1400a0390
or byte [rdi + 0x9c], 1
add rdi, 0x7c
mov rcx, qword [rsp + 0x228]
xor rcx, rsp
call fcn.1400a11a0
mov rcx, rsi
mov rdx, rdi
mov r8b, 0x20
add rsp, 0x230
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
jmp 0x14008ed80
lea rcx, [rsp + 0xd4]
mov rdx, qword [rdi + 0x38]
call fcn.1400d0cd0
mov r9, qword [rsi + 0xa8]
lea rcx, [rsp + 0x88]
mov edx, 0x2b
mov r8, rsi
call fcn.14003c930
mov ebx, eax
test eax, eax
jne 0x1400a037c
mov rax, qword [rsp + 0x88]
mov byte [rax + 0x14], 1
mov r8, qword [rsi + 0xa8]
mov rcx, qword [rsi + 0x1650]
lea r14, [rsp + 0x88]
mov rdx, r14
call fcn.14003d1b0
mov ebx, eax
test eax, eax
jne 0x1400a037c
movups xmm0, xmmword [rdi + 0x50]
movaps xmmword [rsp + 0x90], xmm0
lea rcx, [rsp + 0x78]
lea r8, [rsp + 0x90]
lea r9, [rsp + 0x74]
mov dx, recv
call fcn.1400a0160
mov ebx, eax
test eax, eax
je 0x1400a03b4
mov rdx, qword [rsi + 0xa8]
mov rcx, qword [rsp + 0x88]
call fcn.14003c850
mov rcx, qword [rsp + 0x228]
xor rcx, rsp
call fcn.1400a11a0
mov eax, ebx
add rsp, 0x230
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
mov ebp, dword [rsp + 0x74]
test ebp, ebp
je 0x1400a040d
mov ecx, dword [rsp + 0x78]
cmp ecx, 2
jb 0x1400a0286
mov rdx, qword [rsp + 0x80]
movzx eax, byte [rdx]
shl eax, 8
movzx r8d, byte [rdx + 1]
or eax, r8d
add ecx, 0xfffffffe
mov ebx, 0xfffffeb8
cmp eax, ecx
jne 0x1400a037c
and r8d, 1
jne 0x1400a037c
add rdx, 2
mov word [rsp + 0xd2], ax
lea rcx, [rsp + 0x200]
mov r8d, eax
call fcn.1400d0cd0
lea r12, [rdi + 0x50]
movups xmm0, xmmword [r12]
movaps xmmword [rsp + 0x90], xmm0
lea rcx, [rsp + 0x78]
lea r8, [rsp + 0x90]
lea r9, [rsp + 0x74]
mov dx, 0xa
call fcn.1400a0160
mov ebx, eax
test eax, eax
jne 0x1400a037c
mov r15d, dword [rsp + 0x74]
test r15d, r15d
je 0x1400a0475
movzx r8d, word [rsp + 0x78]
mov rdx, qword [rsp + 0x80]
mov qword [rsp + 0x20], r14
mov rcx, rsi
mov r9b, 1
call fcn.14003c9e0
mov ebx, eax
test eax, eax
jne 0x1400a037c
movups xmm0, xmmword [r12]
movaps xmmword [rsp + 0x90], xmm0
lea rcx, [rsp + 0x78]
lea r8, [rsp + 0x90]
lea r9, [rsp + 0x74]
mov dx, 0x33
call fcn.1400a0160
mov ebx, eax
test eax, eax
jne 0x1400a037c
cmp dword [rsp + 0x74], 0
je 0x1400a052c
movzx r8d, word [rsp + 0x78]
mov rdx, qword [rsp + 0x80]
lea r9, [rsp + 0x88]
mov rcx, rsi
call fcn.14003ddc0
mov ebx, eax
test eax, eax
jne 0x1400a037c
test ebp, ebp
je 0x1400a052c
test r15d, r15d
je 0x1400a052c
mov r9, qword [rsp + 0x88]
lea rdx, [rsp + 0xd0]
lea r8, [rsp + 0x50]
mov rcx, rsi
call fcn.14008d560
mov ebx, 0xfffffeca
test eax, eax
js 0x1400a037c
cmp dword [rsp + 0x60], 0
je 0x1400a0536
lea rdx, [rsp + 0x88]
mov rcx, rsi
call fcn.14003ea80
mov ebx, eax
test eax, eax
jne 0x1400a037c
jmp 0x1400a054f
mov ebx, 0xfffffeca
jmp 0x1400a037c
mov r8, qword [rsi + 0xa8]
lea rcx, [rsp + 0x88]
mov edx, 0x33
call fcn.14003f040
movzx edx, byte [rsp + 0x50]
movzx r8d, byte [rsp + 0x51]
mov qword [rsp + 0x20], 0
lea r14, [rsp + 0x40]
xor ecx, ecx
mov r9, r14
call fcn.14009e400
mov ebx, eax
test eax, eax
jne 0x1400a037c
mov eax, dword [rdi + 0x78]
mov r9, qword [rdi + 0x70]
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], eax
lea rdx, [rsp + 0x90]
lea r8, [rsp + 0x3c]
mov rcx, rsi
call fcn.1400994b0
mov ebx, eax
test eax, eax
jne 0x1400a037c
movzx eax, byte [rsp + 0x50]
movzx ecx, byte [rsp + 0x51]
movzx r8d, word [rsp + 0x3c]
mov byte [rsp + 0x28], cl
mov byte [rsp + 0x20], al
lea rdx, [rsp + 0x90]
lea r9, [rsp + 0x88]
mov rcx, rsi
call fcn.140092aa0
mov ebx, eax
test eax, eax
jne 0x1400a037c
mov r14, qword [rsi + 0x1650]
or byte [rsi + 0x4d6], 7
mov rcx, qword [rsi + 0x2b8]
add rcx, 0x44
mov rdx, qword [rdi + 0x18]
mov r8d, dword [rdi + 0x10]
call fcn.1400d0cd0
movzx eax, byte [rdi + 0x10]
mov rcx, qword [rsi + 0x2b8]
mov byte [rcx + 0x64], al
movzx eax, byte [rsp + 0x50]
mov byte [rsi + 0x4dd], al
movzx eax, byte [rsp + 0x51]
mov byte [rsi + 0x4de], al
mov rax, qword [rsp + 0x88]
mov qword [rsi + 0x1650], rax
mov rcx, rsi
mov dl, 6
call fcn.140094660
mov ebx, eax
mov rax, qword [rsi + 0x1650]
mov qword [rsp + 0x88], rax
mov rax, qword [rsi + 0x2b8]
mov byte [rax + 0x64], 0
mov word [rsi + 0x4dd], 0
mov qword [rsi + 0x1650], r14
and byte [rsi + 0x4d6], 0xf8
jmp 0x1400a037c