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

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
push r12
push r13
sub rsp, 0x58
mov r10, qword [rcx + 8]
mov r12, rcx
mov qword [rax + 0x20], rbx
mov qword [rax - 0x18], rbp
mov qword [rax - 0x20], rsi
mov qword [rax - 0x28], rdi
mov qword [rax - 0x30], r14
mov qword [rax - 0x38], r15
mov rax, qword [rcx]
mov rcx, rax
mov qword [rsp + 0x80], rax
mov qword [rsp + 0x78], r10
mov r14, qword [rax + 0x10]
mov r13, qword [rax]
call fcn.140059d20
movzx r15d, byte [r12 + 0x39]
xor r9d, r9d
sub r15, 1
js 0x1400a472a
mov rdi, qword [rsp + 0x70]
lea rax, [r15 + r15*4]
imul r12, r15, 0x78
shl rax, 4
add rdi, 0x354
add r12, 0x50
add r12, r10
add rdi, rax
nop dword [rax]
nop word [rax + rax]
mov eax, dword [rdi + 4]
mov rbp, qword [rdi + 0x2c]
not eax
mov r8, qword [r14 + 0x30]
test eax, eax
js 0x1400a4457
mov rdx, qword [r8 + 0x80]
test rdx, rdx
je 0x1400a4457
movsxd rcx, eax
mov eax, dword [r14 + 0x3c]
mov dword [rdx + rcx*4], eax
mov eax, dword [r14 + 0x3c]
dec eax
mov dword [r8 + 0x64], eax
movzx ecx, byte [rdi + 0x11]
cmp cl, 0x9a
je 0x1400a44a0
movzx eax, byte [rdi + 0x12]
mov edx, ecx
mov r9d, dword [rdi + 0x18]
mov rcx, r14
mov r8d, dword [rdi + 0x14]
mov dword [rsp + 0x20], eax
call fcn.14003f920
mov rdx, qword [r14 + 8]
xor r9d, r9d
test rdx, rdx
je 0x1400a44a0
movsxd rax, dword [r14 + 0x3c]
lea rcx, [rax + rax*2]
movzx eax, byte [rdi + 0x13]
mov byte [rdx + rcx*8 - 0x15], al
test dword [rbp + 0x28], 0x800
je 0x1400a45ca
cmp dword [rdi + 0x1c], 0
jle 0x1400a45ca
mov eax, dword [rdi - 4]
mov r8, qword [r14 + 0x30]
not eax
test eax, eax
js 0x1400a44da
mov rdx, qword [r8 + 0x80]
test rdx, rdx
je 0x1400a44da
movsxd rcx, eax
mov eax, dword [r14 + 0x3c]
mov dword [rdx + rcx*4], eax
mov eax, dword [r14 + 0x3c]
dec eax
mov dword [r8 + 0x64], eax
mov esi, dword [rdi + 0x1c]
lea eax, [rsi - 1]
movsxd rcx, eax
mov rax, qword [rdi + 0x24]
lea rdx, [rcx + rcx*2]
lea rbx, [rax + rdx*4]
test esi, esi
jle 0x1400a4574
nop dword [rax]
mov eax, dword [rbx + 4]
mov edx, dword [r14 + 0x3c]
inc eax
cmp edx, eax
jbe 0x1400a4519
lea rcx, [rax + rax*2]
mov rax, qword [r14 + 8]
mov dword [rax + rcx*8 + 8], edx
mov ecx, dword [r14 + 0x3c]
mov rax, qword [r14 + 0x30]
dec ecx
mov dword [rsp + 0x20], r9d
mov dword [rax + 0x64], ecx
mov rcx, r14
movzx edx, byte [rbx + 8]
mov r9d, dword [rbx + 4]
mov r8d, dword [rbx]
call fcn.14003f920
mov eax, dword [rbx + 4]
mov edx, dword [r14 + 0x3c]
dec eax
cmp edx, eax
jbe 0x1400a4557
lea rcx, [rax + rax*2]
mov rax, qword [r14 + 8]
mov dword [rax + rcx*8 + 8], edx
mov ecx, dword [r14 + 0x3c]
dec esi
mov rax, qword [r14 + 0x30]
dec ecx
sub rbx, 0xc
mov r9d, 0
mov dword [rax + 0x64], ecx
test esi, esi
jg 0x1400a4500
mov rcx, qword [rdi + 0x24]
test rcx, rcx
je 0x1400a45ca
test r13, r13
je 0x1400a45c5
cmp qword [r13 + 0x320], 0
je 0x1400a4599
mov rdx, rcx
mov rcx, r13
call fcn.14001c990
jmp 0x1400a45ca
cmp rcx, qword [r13 + 0x168]
jb 0x1400a45c5
cmp rcx, qword [r13 + 0x170]
jae 0x1400a45c5
mov rax, qword [r13 + 0x160]
mov qword [rcx], rax
dec dword [r13 + 0x14c]
mov qword [r13 + 0x160], rcx
jmp 0x1400a45ca
call fcn.14001c8f0
mov eax, dword [rdi - 8]
mov r8, qword [r14 + 0x30]
not eax
test eax, eax
js 0x1400a45ed
mov rdx, qword [r8 + 0x80]
test rdx, rdx
je 0x1400a45ed
movsxd rcx, eax
mov eax, dword [r14 + 0x3c]
mov dword [rdx + rcx*4], eax
mov eax, dword [r14 + 0x3c]
xor esi, esi
dec eax
mov dword [r8 + 0x64], eax
mov r9d, dword [rdi]
test r9d, r9d
je 0x1400a465e
xor r8d, r8d
mov dword [rsp + 0x20], esi
mov edx, reloc.WS2_32.dll_recv
mov rcx, r14
call fcn.14003f920
mov eax, dword [rdi]
mov edx, dword [r14 + 0x3c]
cmp edx, eax
jbe 0x1400a462b
lea rcx, [rax + rax*2]
mov rax, qword [r14 + 8]
mov dword [rax + rcx*8 + 8], edx
mov rax, qword [r14 + 0x30]
mov ecx, dword [r14 + 0x3c]
dec ecx
mov dword [rax + 0x64], ecx
mov eax, dword [rdi]
mov edx, dword [r14 + 0x3c]
sub eax, 2
cmp edx, eax
jbe 0x1400a4651
lea rcx, [rax + rax*2]
mov rax, qword [r14 + 8]
mov dword [rax + rcx*8 + 8], edx
mov ecx, dword [r14 + 0x3c]
mov rax, qword [r14 + 0x30]
dec ecx
mov dword [rax + 0x64], ecx
mov r8d, dword [rdi - 0x14]
test r8d, r8d
je 0x1400a4708
xor r9d, r9d
mov dword [rsp + 0x20], esi
mov edx, 0x89
mov rcx, r14
call fcn.14003f920
test byte [rbp + 0x28], 0x40
mov ebx, eax
jne 0x1400a469f
mov r8d, dword [r12]
xor r9d, r9d
mov edx, 0x68
mov dword [rsp + 0x20], esi
mov rcx, r14
call fcn.14003f920
test dword [rbp + 0x28], 0x200
je 0x1400a46c0
mov r8d, dword [rdi - 0xc]
xor r9d, r9d
mov edx, 0x68
mov dword [rsp + 0x20], esi
mov rcx, r14
call fcn.14003f920
cmp byte [rdi + 0x11], 0x12
jne 0x1400a46cc
mov r8d, dword [rdi + 0x14]
jmp 0x1400a46cf
mov r8d, esi
mov r9d, dword [rdi + 8]
mov edx, esi
sete dl
mov dword [rsp + 0x20], esi
add edx, 0x10
mov rcx, r14
call fcn.14003f920
mov edx, dword [r14 + 0x3c]
cmp edx, ebx
jbe 0x1400a46fb
mov rax, qword [r14 + 8]
lea rcx, [rbx + rbx*2]
mov dword [rax + rcx*8 + 8], edx
mov ecx, dword [r14 + 0x3c]
mov rax, qword [r14 + 0x30]
dec ecx
mov dword [rax + 0x64], ecx
sub rdi, 0x50
sub r12, 0x78
sub r15, 1
mov r9d, 0
jns 0x1400a4430
mov r12, qword [rsp + 0x70]
mov r10, qword [rsp + 0x78]
mov eax, dword [r12 + 0x44]
mov r8, qword [r14 + 0x30]
not eax
test eax, eax
js 0x1400a474f
mov rdx, qword [r8 + 0x80]
test rdx, rdx
je 0x1400a474f
movsxd rcx, eax
mov eax, dword [r14 + 0x3c]
mov dword [rdx + rcx*4], eax
mov eax, dword [r14 + 0x3c]
mov r15d, r9d
dec eax
mov dword [r8 + 0x64], eax
cmp byte [r12 + 0x39], 0
jbe 0x1400a49c4
lea rsi, [r12 + 0x380]
movzx eax, byte [rsi - 0x1c]
mov rdi, qword [rsi]
imul rcx, rax, 0x78
add r10, rcx
test byte [r10 + 0x48], 4
mov rbp, qword [r10 + 0x28]
je 0x1400a4822
cmp byte [r13 + 0x50], 0
jne 0x1400a4822
mov rax, qword [r14]
mov edx, dword [r14 + 0x3c]
mov r8d, dword [rsi - 0x20]
cmp byte [rax + 0x50], 0
je 0x1400a47b2
lea rcx, [0x1401823f0]
jmp 0x1400a47ca
lea eax, [rdx - 1]
test r8d, r8d
cmovns eax, r8d
cdqe
lea rcx, [rax + rax*2]
mov rax, qword [r14 + 8]
lea rcx, [rax + rcx*8]
cmp r8d, edx
jge 0x1400a49a9
add rcx, 4
sub edx, r8d
nop word [rax + rax]
mov eax, dword [rsi - 0x3c]
cmp dword [rcx], eax
jne 0x1400a4813
movzx eax, byte [rcx - 4]
cmp al, 0x2f
jne 0x1400a4804
mov byte [rcx - 4], 0x21
mov eax, dword [r10 + 0x40]
add eax, dword [rcx + 4]
mov dword [rcx], eax
mov eax, dword [rcx + 8]
mov dword [rcx + 4], eax
jmp 0x1400a480f
cmp al, 0x67
jne 0x1400a4813
mov byte [rcx - 4], 0x1c
mov dword [rcx], r9d
mov dword [rcx + 8], r9d
add rcx, 0x18
sub rdx, 1
jne 0x1400a47e0
jmp 0x1400a49a9
test byte [rbp + 0x48], 2
jne 0x1400a4891
cmp qword [rbp + 0x18], 0
jne 0x1400a4891
test byte [r12 + 0x32], 0x10
jne 0x1400a4891
cmp byte [r12 + 0x36], 0
mov ebx, dword [rdi + 0x28]
jne 0x1400a4863
test bl, 0x40
jne 0x1400a4863
mov r8d, dword [r10 + 0x50]
mov edx, 0x3d
mov dword [rsp + 0x20], r9d
mov rcx, r14
xor r9d, r9d
call fcn.14003f920
xor r9d, r9d
and ebx, 0x4300
cmp ebx, 0x200
jne 0x1400a4891
mov r8d, dword [rsi - 0x38]
cmp r8d, dword [r12 + 0x50]
je 0x1400a4891
mov dword [rsp + 0x20], r9d
mov edx, 0x3d
xor r9d, r9d
mov rcx, r14
call fcn.14003f920
mov eax, dword [rdi + 0x28]
test eax, 0x240
je 0x1400a48a1
mov rbx, qword [rdi + 0x20]
jmp 0x1400a48af
bt eax, 0xd
jae 0x1400a49a6
mov rbx, qword [rsi - 0x10]
test rbx, rbx
je 0x1400a49a6
cmp byte [r13 + 0x50], 0
jne 0x1400a49a6
mov rax, qword [r14]
mov edx, dword [r14 + 0x3c]
mov r8d, dword [rsi - 0x20]
cmp byte [rax + 0x50], 0
je 0x1400a48dd
lea rax, [0x1401823f0]
jmp 0x1400a48f5
lea eax, [rdx - 1]
test r8d, r8d
cmovns eax, r8d
cdqe
lea rcx, [rax + rax*2]
mov rax, qword [r14 + 8]
lea rax, [rax + rcx*8]
cmp r8d, edx
jge 0x1400a49a6
sub edx, r8d
lea r9, [rax + 4]
mov r11d, edx
mov r12d, 0xffffffff
nop
mov eax, dword [rsi - 0x3c]
cmp dword [r9], eax
jne 0x1400a4993
movzx eax, byte [r9 - 4]
cmp al, 0x2f
jne 0x1400a4984
test byte [rbp + 0x48], 0x20
movsxd r10, dword [r9 + 4]
je 0x1400a4951
mov rax, qword [rbp + 0x10]
test rax, rax
je 0x1400a4948
mov ecx, dword [rax + 0x64]
and cl, 3
cmp cl, 2
je 0x1400a4948
mov rax, qword [rax + 0x28]
test rax, rax
jne 0x1400a4934
mov rcx, qword [rax + 8]
movsx r10d, word [rcx + r10*2]
movzx edx, word [rbx + 0x60]
xor ecx, ecx
test edx, edx
je 0x1400a4970
mov r8, qword [rbx + 8]
nop
movsxd rax, ecx
cmp r10w, word [r8 + rax*2]
je 0x1400a4974
inc ecx
cmp ecx, edx
jl 0x1400a4960
movzx ecx, r12w
movsx eax, cx
test eax, eax
js 0x1400a4993
mov dword [r9 + 4], eax
mov eax, dword [rsi - 0x38]
jmp 0x1400a4990
cmp al, 0x67
jne 0x1400a4993
mov eax, dword [rsi - 0x38]
mov byte [r9 - 4], 0x70
mov dword [r9], eax
add r9, 0x18
sub r11, 1
jne 0x1400a4910
mov r12, qword [rsp + 0x70]
xor r9d, r9d
movzx eax, byte [r12 + 0x39]
inc r15d
mov r10, qword [rsp + 0x78]
add rsi, 0x50
cmp r15d, eax
jl 0x1400a4770
mov rcx, qword [rsp + 0x80]
mov eax, dword [r12 + 0x48]
mov dword [rcx + 0x1d8], eax
lea rcx, [r12 + 0x158]
call fcn.140099e30
mov rcx, qword [r12 + 0x20]
mov r15, qword [rsp + 0x30]
mov r14, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x88]
test rcx, rcx
je 0x1400a4a2e
nop
mov rax, qword [rcx + 0x38]
mov rdx, rcx
mov rcx, r13
mov qword [r12 + 0x20], rax
call fcn.1400a0040
mov rcx, qword [r12 + 0x20]
test rcx, rcx
jne 0x1400a4a10
test r13, r13
je 0x1400a4a84
cmp qword [r13 + 0x320], 0
je 0x1400a4a50
mov rdx, r12
mov rcx, r13
add rsp, 0x58
pop r13
pop r12
jmp fcn.14001c990
cmp r12, qword [r13 + 0x168]
jb 0x1400a4a84
cmp r12, qword [r13 + 0x170]
jae 0x1400a4a84
mov rax, qword [r13 + 0x160]
mov qword [r12], rax
dec dword [r13 + 0x14c]
mov qword [r13 + 0x160], r12
add rsp, 0x58
pop r13
pop r12
ret
mov rcx, r12
add rsp, 0x58
pop r13
pop r12
jmp fcn.14001c8f0