Function at 0x1400a1040
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 0x14008fc03
cmp byte [rsi + 0x139], 0
je 0x14008fc03
lea edi, [rbx + 0x82]
jmp 0x14008fc06
lea edi, [rbx + 0x1c]
mov rcx, rsi
call fcn.14007a440
test eax, eax
jne 0x14008fc20
mov rcx, rsi
mov edx, edi
call fcn.14007d450
test eax, eax
je 0x14008fc2d
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 0x14008fc6a
cmp byte [rax], 0
je 0x14008fc6a
cmp byte [rsi + 0x4e4], 0
je 0x14008fc6a
cmp byte [rsi + 0x4e3], 0x10
jne 0x14008fc84
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.140087870
mov word [r14 + 0x19], 0xfffe
mov byte [r14 + 0x1b], bpl
mov eax, 0xfffffe8f
test r15, r15
je 0x14008fc20
test bpl, bpl
je 0x14008fc20
lea rcx, [r14 + 0x1c]
mov rdx, r15
mov r8, rbx
call fcn.1400d0700
cmp byte [rsi + 0xa89], 0
je 0x14008fd3f
mov rax, qword [rsi + 0xa78]
test rax, rax
je 0x14008fd3f
cmp byte [rsi + 0x4c8], 1
je 0x14008fd48
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 0x14008fdc4
cmp byte [rsi + 0x139], 0
je 0x14008fdc4
add ebx, 0xf
mov rcx, rbx
call fcn.140046490
test rax, rax
je 0x14008fdde
mov r15, rax
lea rdx, [r14 + 0xd]
mov rcx, rax
mov r8, rbx
call fcn.1400d0700
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.14007d5a0
mov edi, eax
mov rcx, r15
call fcn.1400464b0
mov eax, edi
test edi, edi
js 0x14008fc20
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.14007dda0
mov eax, 0xffffff83
jmp 0x14008fc20
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 [0x1400ffa80]
xor rax, rsp
mov qword [rsp + 0x228], rax
test r8b, r8b
je 0x1400a10e0
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 0x1400a11cc
lea rcx, [rsp + 0xd2]
mov r8d, 0x156
xor edx, edx
call fcn.1400d0da0
mov r8d, dword [rdi + 0x30]
mov word [rsp + 0xd0], r8w
test r8b, 1
jne 0x1400a11cc
and r8d, 0xfffe
cmp r8d, 0x12c
jbe 0x1400a113c
mov ebx, 0xfffffeb8
jmp 0x1400a11cc
test byte [rdi + 0x9c], 1
jne 0x1400a1109
lea r8, [rdi + 0x7c]
mov rcx, rsi
mov rdx, rdi
call fcn.1400a1850
mov ebx, eax
test eax, eax
jne 0x1400a11e0
or byte [rdi + 0x9c], 1
add rdi, 0x7c
mov rcx, qword [rsp + 0x228]
xor rcx, rsp
call fcn.1400a2150
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 0x14008fbd0
lea rcx, [rsp + 0xd4]
mov rdx, qword [rdi + 0x38]
call fcn.1400d0700
mov r9, qword [rsi + 0xa8]
lea rcx, [rsp + 0x88]
mov edx, 0x2b
mov r8, rsi
call fcn.14003d780
mov ebx, eax
test eax, eax
jne 0x1400a11cc
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.14003e000
mov ebx, eax
test eax, eax
jne 0x1400a11cc
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.1400a0fb0
mov ebx, eax
test eax, eax
je 0x1400a1204
mov rdx, qword [rsi + 0xa8]
mov rcx, qword [rsp + 0x88]
call fcn.14003d6a0
mov rcx, qword [rsp + 0x228]
xor rcx, rsp
call fcn.1400a2150
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 0x1400a125d
mov ecx, dword [rsp + 0x78]
cmp ecx, 2
jb 0x1400a10d6
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 0x1400a11cc
and r8d, 1
jne 0x1400a11cc
add rdx, 2
mov word [rsp + 0xd2], ax
lea rcx, [rsp + 0x200]
mov r8d, eax
call fcn.1400d0700
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.1400a0fb0
mov ebx, eax
test eax, eax
jne 0x1400a11cc
mov r15d, dword [rsp + 0x74]
test r15d, r15d
je 0x1400a12c5
movzx r8d, word [rsp + 0x78]
mov rdx, qword [rsp + 0x80]
mov qword [rsp + 0x20], r14
mov rcx, rsi
mov r9b, 1
call fcn.14003d830
mov ebx, eax
test eax, eax
jne 0x1400a11cc
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.1400a0fb0
mov ebx, eax
test eax, eax
jne 0x1400a11cc
cmp dword [rsp + 0x74], 0
je 0x1400a137c
movzx r8d, word [rsp + 0x78]
mov rdx, qword [rsp + 0x80]
lea r9, [rsp + 0x88]
mov rcx, rsi
call fcn.14003ec10
mov ebx, eax
test eax, eax
jne 0x1400a11cc
test ebp, ebp
je 0x1400a137c
test r15d, r15d
je 0x1400a137c
mov r9, qword [rsp + 0x88]
lea rdx, [rsp + 0xd0]
lea r8, [rsp + 0x50]
mov rcx, rsi
call fcn.14008e3b0
mov ebx, 0xfffffeca
test eax, eax
js 0x1400a11cc
cmp dword [rsp + 0x60], 0
je 0x1400a1386
lea rdx, [rsp + 0x88]
mov rcx, rsi
call fcn.14003f8d0
mov ebx, eax
test eax, eax
jne 0x1400a11cc
jmp 0x1400a139f
mov ebx, 0xfffffeca
jmp 0x1400a11cc
mov r8, qword [rsi + 0xa8]
lea rcx, [rsp + 0x88]
mov edx, 0x33
call fcn.14003fe90
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.14009f250
mov ebx, eax
test eax, eax
jne 0x1400a11cc
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.14009a300
mov ebx, eax
test eax, eax
jne 0x1400a11cc
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.1400938f0
mov ebx, eax
test eax, eax
jne 0x1400a11cc
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.1400d0700
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.1400954b0
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 0x1400a11cc