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

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0x138
mov rax, qword [0x140250340]
xor rax, rsp
mov qword [rsp + 0x120], rax
mov dword [rsp + 0x20], 0
jmp 0x14002fae0
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0xf
ja 0x14002fb1c
mov eax, dword [rsp + 0x20]
shl rax, 1
mov qword [rsp + 0x98], rax
cmp qword [rsp + 0x98], 0x20
jae 0x14002fb03
jmp 0x14002fb08
call fcn.1401ea7c0
xor eax, eax
mov rcx, qword [rsp + 0x98]
mov word [rsp + rcx + 0xa8], ax
jmp 0x14002fad6
mov dword [rsp + 0x24], 0
jmp 0x14002fb30
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x24]
cmp rax, qword [rsp + 0x150]
jae 0x14002fb73
mov eax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x148]
movzx eax, word [rcx + rax*2]
movzx eax, word [rsp + rax*2 + 0xa8]
inc ax
mov ecx, dword [rsp + 0x24]
mov rdx, qword [rsp + 0x148]
movzx ecx, word [rdx + rcx*2]
mov word [rsp + rcx*2 + 0xa8], ax
jmp 0x14002fb26
mov rax, qword [rsp + 0x160]
mov eax, dword [rax]
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x30], setsockopt
jmp 0x14002fb95
mov eax, dword [rsp + 0x30]
dec eax
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 1
jb 0x14002fbb0
mov eax, dword [rsp + 0x30]
movzx eax, word [rsp + rax*2 + 0xa8]
test eax, eax
je 0x14002fbae
jmp 0x14002fbb0
jmp 0x14002fb8b
mov eax, dword [rsp + 0x30]
cmp dword [rsp + 0x38], eax
jbe 0x14002fbc2
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x30], 0
jne 0x14002fc43
mov byte [rsp + 0x28], 0x40
mov byte [rsp + 0x29], 1
xor eax, eax
mov word [rsp + 0x2a], ax
mov rax, qword [rsp + 0x158]
mov rax, qword [rax]
mov ecx, dword [rsp + 0x28]
mov dword [rax], ecx
mov rax, qword [rsp + 0x158]
mov rax, qword [rax]
add rax, 4
mov rcx, qword [rsp + 0x158]
mov qword [rcx], rax
mov rax, qword [rsp + 0x158]
mov rax, qword [rax]
mov ecx, dword [rsp + 0x28]
mov dword [rax], ecx
mov rax, qword [rsp + 0x158]
mov rax, qword [rax]
add rax, 4
mov rcx, qword [rsp + 0x158]
mov qword [rcx], rax
mov rax, qword [rsp + 0x160]
mov dword [rax], 1
jmp 0x140030391
mov dword [rsp + 0x3c], 1
jmp 0x14002fc57
mov eax, dword [rsp + 0x3c]
inc eax
mov dword [rsp + 0x3c], eax
mov eax, dword [rsp + 0x30]
cmp dword [rsp + 0x3c], eax
jae 0x14002fc75
mov eax, dword [rsp + 0x3c]
movzx eax, word [rsp + rax*2 + 0xa8]
test eax, eax
je 0x14002fc73
jmp 0x14002fc75
jmp 0x14002fc4d
mov eax, dword [rsp + 0x3c]
cmp dword [rsp + 0x38], eax
jae 0x14002fc87
mov eax, dword [rsp + 0x3c]
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x2c], 1
mov dword [rsp + 0x20], 1
jmp 0x14002fca3
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0xf
ja 0x14002fd0b
mov eax, dword [rsp + 0x2c]
shl eax, 1
mov dword [rsp + 0x2c], eax
mov eax, dword [rsp + 0x20]
movzx eax, word [rsp + rax*2 + 0xa8]
mov ecx, dword [rsp + 0x2c]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x2c], eax
cmp dword [rsp + 0x2c], 0
jge 0x14002fd09
xor r8d, r8d
mov edx, select
lea rcx, [rsp + 0x100]
call fcn.140067120
lea r8, str.D:_vcpkg_vcpkginstalledx64_windowsinclude_boost_beastzlibdetailinflate_stream.ipp
lea rdx, [rsp + 0x100]
mov rcx, qword [rsp + 0x170]
call fcn.140010540
jmp 0x140030391
jmp 0x14002fc99
cmp dword [rsp + 0x2c], 0
jle 0x14002fd59
cmp dword [rsp + 0x140], 0
je 0x14002fd23
cmp dword [rsp + 0x30], 1
je 0x14002fd59
xor r8d, r8d
mov edx, select
lea rcx, [rsp + 0xe8]
call fcn.140067120
lea r8, str.D:_vcpkg_vcpkginstalledx64_windowsinclude_boost_beastzlibdetailinflate_stream.ipp
lea rdx, [rsp + 0xe8]
mov rcx, qword [rsp + 0x170]
call fcn.140010540
jmp 0x140030391
mov qword [rsp + 0xa0], 2
cmp qword [rsp + 0xa0], 0x20
jae 0x14002fd72
jmp 0x14002fd77
call fcn.1401ea7c0
xor eax, eax
mov rcx, qword [rsp + 0xa0]
mov word [rsp + rcx + 0xc8], ax
mov dword [rsp + 0x20], 1
jmp 0x14002fd9d
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0xf
jae 0x14002fdd0
mov eax, dword [rsp + 0x20]
movzx eax, word [rsp + rax*2 + 0xc8]
mov ecx, dword [rsp + 0x20]
movzx ecx, word [rsp + rcx*2 + 0xa8]
add eax, ecx
mov ecx, dword [rsp + 0x20]
inc ecx
mov ecx, ecx
mov word [rsp + rcx*2 + 0xc8], ax
jmp 0x14002fd93
mov dword [rsp + 0x24], 0
jmp 0x14002fde4
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x24]
cmp rax, qword [rsp + 0x150]
jae 0x14002fe67
mov eax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x148]
movzx eax, word [rcx + rax*2]
test eax, eax
je 0x14002fe62
mov eax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x148]
movzx eax, word [rcx + rax*2]
movzx eax, word [rsp + rax*2 + 0xc8]
mov rcx, qword [rsp + 0x168]
movzx edx, word [rsp + 0x24]
mov word [rcx + rax*2], dx
mov eax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x148]
movzx eax, word [rcx + rax*2]
movzx eax, word [rsp + rax*2 + 0xc8]
inc ax
mov ecx, dword [rsp + 0x24]
mov rdx, qword [rsp + 0x148]
movzx ecx, word [rdx + rcx*2]
mov word [rsp + rcx*2 + 0xc8], ax
jmp 0x14002fdda
mov eax, dword [rsp + 0x140]
mov dword [rsp + 0x60], eax
cmp dword [rsp + 0x60], 0
je 0x14002fe82
cmp dword [rsp + 0x60], 1
je 0x14002fea6
jmp 0x14002fecb
mov rax, qword [rsp + 0x168]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x90], rax
mov dword [rsp + 0x50], setsockopt
jmp 0x14002feee
lea rax, [0x140228c78]
mov qword [rsp + 0x90], rax
lea rax, [0x14022b558]
mov qword [rsp + 0x70], rax
mov dword [rsp + 0x50], 0x101
jmp 0x14002feee
lea rax, [0x140228ed0]
mov qword [rsp + 0x90], rax
lea rax, [0x14022b040]
mov qword [rsp + 0x70], rax
mov dword [rsp + 0x50], 0
mov dword [rsp + 0x34], 0
mov dword [rsp + 0x24], 0
mov eax, dword [rsp + 0x3c]
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x158]
mov rax, qword [rax]
mov qword [rsp + 0x68], rax
mov eax, dword [rsp + 0x38]
mov dword [rsp + 0x40], eax
mov dword [rsp + 0x44], 0
mov dword [rsp + 0x5c], 0xffffffff
mov eax, dword [rsp + 0x38]
mov ecx, 1
mov dword [rsp + 0x78], ecx
movzx ecx, al
mov eax, dword [rsp + 0x78]
shl eax, cl
mov dword [rsp + 0x4c], eax
mov eax, dword [rsp + 0x4c]
dec eax
mov dword [rsp + 0x64], eax
cmp dword [rsp + 0x140], 1
jne 0x14002ff66
cmp dword [rsp + 0x4c], 0x354
ja 0x14002ff7a
cmp dword [rsp + 0x140], 2
jne 0x14002ff8c
cmp dword [rsp + 0x4c], 0x250
jbe 0x14002ff8c
lea rcx, [rsp + 0x118]
call fcn.1400303b0
jmp 0x140030391
mov eax, dword [rsp + 0x44]
mov ecx, dword [rsp + 0x20]
sub ecx, eax
mov eax, ecx
mov byte [rsp + 0x29], al
mov eax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x168]
movzx eax, word [rcx + rax*2]
inc eax
cmp eax, dword [rsp + 0x50]
jae 0x14002ffd0
mov byte [rsp + 0x28], 0
mov eax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x168]
movzx eax, word [rcx + rax*2]
mov word [rsp + 0x2a], ax
jmp 0x14003003e
mov eax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x168]
movzx eax, word [rcx + rax*2]
cmp eax, dword [rsp + 0x50]
jb 0x140030032
mov eax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x168]
movzx eax, word [rcx + rax*2]
sub eax, dword [rsp + 0x50]
mov eax, eax
mov rcx, qword [rsp + 0x70]
movzx eax, byte [rcx + rax*2]
mov byte [rsp + 0x28], al
mov eax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x168]
movzx eax, word [rcx + rax*2]
sub eax, dword [rsp + 0x50]
mov eax, eax
mov rcx, qword [rsp + 0x90]
movzx eax, word [rcx + rax*2]
mov word [rsp + 0x2a], ax
jmp 0x14003003e
mov byte [rsp + 0x28], 0x60
xor eax, eax
mov word [rsp + 0x2a], ax
mov eax, dword [rsp + 0x44]
mov ecx, dword [rsp + 0x20]
sub ecx, eax
mov eax, ecx
mov ecx, 1
mov dword [rsp + 0x7c], ecx
movzx ecx, al
mov eax, dword [rsp + 0x7c]
shl eax, cl
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x40]
mov ecx, 1
mov dword [rsp + 0x80], ecx
movzx ecx, al
mov eax, dword [rsp + 0x80]
shl eax, cl
mov dword [rsp + 0x58], eax
mov eax, dword [rsp + 0x58]
mov dword [rsp + 0x3c], eax
mov eax, dword [rsp + 0x48]
mov ecx, dword [rsp + 0x58]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x58], eax
mov eax, dword [rsp + 0x44]
movzx ecx, al
mov eax, dword [rsp + 0x34]
shr eax, cl
add eax, dword [rsp + 0x58]
mov eax, eax
mov rcx, qword [rsp + 0x68]
mov edx, dword [rsp + 0x28]
mov dword [rcx + rax*4], edx
cmp dword [rsp + 0x58], 0
jne 0x140030088
mov eax, dword [rsp + 0x20]
dec eax
mov ecx, 1
mov dword [rsp + 0x84], ecx
movzx ecx, al
mov eax, dword [rsp + 0x84]
shl eax, cl
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x48]
mov ecx, dword [rsp + 0x34]
and ecx, eax
mov eax, ecx
test eax, eax
je 0x1400300fc
mov eax, dword [rsp + 0x48]
shr eax, 1
mov dword [rsp + 0x48], eax
jmp 0x1400300e0
cmp dword [rsp + 0x48], 0
je 0x140030127
mov eax, dword [rsp + 0x48]
dec eax
mov ecx, dword [rsp + 0x34]
and ecx, eax
mov eax, ecx
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 0x48]
mov ecx, dword [rsp + 0x34]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x34], eax
jmp 0x14003012f
mov dword [rsp + 0x34], 0
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x20]
movzx eax, word [rsp + rax*2 + 0xa8]
dec ax
mov word [rsp + 0x54], ax
mov eax, dword [rsp + 0x20]
movzx ecx, word [rsp + 0x54]
mov word [rsp + rax*2 + 0xa8], cx
movzx eax, word [rsp + 0x54]
test eax, eax
jne 0x140030196
mov eax, dword [rsp + 0x30]
cmp dword [rsp + 0x20], eax
jne 0x140030176
jmp 0x140030332
mov eax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x168]
movzx eax, word [rcx + rax*2]
mov rcx, qword [rsp + 0x148]
movzx eax, word [rcx + rax*2]
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x38]
cmp dword [rsp + 0x20], eax
jbe 0x14003032d
mov eax, dword [rsp + 0x64]
mov ecx, dword [rsp + 0x34]
and ecx, eax
mov eax, ecx
cmp eax, dword [rsp + 0x5c]
je 0x14003032d
cmp dword [rsp + 0x44], 0
jne 0x1400301c9
mov eax, dword [rsp + 0x38]
mov dword [rsp + 0x44], eax
mov eax, dword [rsp + 0x3c]
mov rcx, qword [rsp + 0x68]
lea rax, [rcx + rax*4]
mov qword [rsp + 0x68], rax
mov eax, dword [rsp + 0x44]
mov ecx, dword [rsp + 0x20]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x40]
mov ecx, 1
mov dword [rsp + 0x88], ecx
movzx ecx, al
mov eax, dword [rsp + 0x88]
shl eax, cl
mov dword [rsp + 0x2c], eax
mov eax, dword [rsp + 0x44]
mov ecx, dword [rsp + 0x40]
add ecx, eax
mov eax, ecx
cmp eax, dword [rsp + 0x30]
jae 0x14003025e
mov eax, dword [rsp + 0x44]
mov ecx, dword [rsp + 0x40]
add ecx, eax
mov eax, ecx
mov eax, eax
movzx eax, word [rsp + rax*2 + 0xa8]
mov ecx, dword [rsp + 0x2c]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x2c], eax
cmp dword [rsp + 0x2c], 0
jg 0x140030248
jmp 0x14003025e
mov eax, dword [rsp + 0x40]
inc eax
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x2c]
shl eax, 1
mov dword [rsp + 0x2c], eax
jmp 0x14003020b
mov eax, dword [rsp + 0x40]
mov ecx, 1
mov dword [rsp + 0x8c], ecx
movzx ecx, al
mov eax, dword [rsp + 0x8c]
shl eax, cl
mov ecx, dword [rsp + 0x4c]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x4c], eax
cmp dword [rsp + 0x140], 1
jne 0x14003029a
cmp dword [rsp + 0x4c], 0x354
ja 0x1400302ae
cmp dword [rsp + 0x140], 2
jne 0x1400302c0
cmp dword [rsp + 0x4c], 0x250
jbe 0x1400302c0
lea rcx, [rsp + 0x118]
call fcn.1400303b0
jmp 0x140030391
mov eax, dword [rsp + 0x64]
mov ecx, dword [rsp + 0x34]
and ecx, eax
mov eax, ecx
mov dword [rsp + 0x5c], eax
mov eax, dword [rsp + 0x5c]
mov rcx, qword [rsp + 0x158]
mov rcx, qword [rcx]
movzx edx, byte [rsp + 0x40]
mov byte [rcx + rax*4], dl
mov eax, dword [rsp + 0x5c]
mov rcx, qword [rsp + 0x158]
mov rcx, qword [rcx]
movzx edx, byte [rsp + 0x38]
mov byte [rcx + rax*4 + 1], dl
mov rax, qword [rsp + 0x158]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x68]
sub rcx, rax
mov rax, rcx
sar rax, 2
mov ecx, dword [rsp + 0x5c]
mov rdx, qword [rsp + 0x158]
mov rdx, qword [rdx]
mov word [rdx + rcx*4 + 2], ax
jmp 0x14002ff8c
cmp dword [rsp + 0x34], 0
je 0x140030365
mov byte [rsp + 0x28], 0x40
mov eax, dword [rsp + 0x44]
mov ecx, dword [rsp + 0x20]
sub ecx, eax
mov eax, ecx
mov byte [rsp + 0x29], al
xor eax, eax
mov word [rsp + 0x2a], ax
mov eax, dword [rsp + 0x34]
mov rcx, qword [rsp + 0x68]
mov edx, dword [rsp + 0x28]
mov dword [rcx + rax*4], edx
mov eax, dword [rsp + 0x4c]
mov rcx, qword [rsp + 0x158]
mov rcx, qword [rcx]
lea rax, [rcx + rax*4]
mov rcx, qword [rsp + 0x158]
mov qword [rcx], rax
mov rax, qword [rsp + 0x160]
mov ecx, dword [rsp + 0x38]
mov dword [rax], ecx
mov rcx, qword [rsp + 0x120]
xor rcx, rsp
call fcn.1401ea170
add rsp, 0x138
ret