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

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x2d8
mov rax, qword [0x1401288b0]
xor rax, rsp
mov qword [rsp + 0x2c0], rax
mov dword [rsp + 0x48], 0
cmp qword [rsp + 0x320], 0
jbe 0x140022ac0
mov rax, qword [rsp + 0x318]
movsx eax, byte [rax]
cmp eax, 0x2b
je 0x140022ab2
mov rax, qword [rsp + 0x318]
movsx eax, byte [rax]
cmp eax, 0x2d
jne 0x140022ac0
mov qword [rsp + 0xb0], 1
jmp 0x140022acc
mov qword [rsp + 0xb0], 0
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0x28], rax
mov rcx, qword [rsp + 0x308]
call fcn.1400035a0
and eax, 0xe00
cmp eax, 0x800
jne 0x140022b66
mov rax, qword [rsp + 0x28]
add rax, 2
cmp rax, qword [rsp + 0x320]
ja 0x140022b66
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x318]
add rcx, rax
mov rax, rcx
movsx eax, byte [rax]
cmp eax, 0x30
jne 0x140022b66
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x318]
add rcx, rax
mov rax, rcx
movsx eax, byte [rax + 1]
cmp eax, 0x78
je 0x140022b58
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x318]
add rcx, rax
mov rax, rcx
movsx eax, byte [rax + 1]
cmp eax, 0x58
jne 0x140022b66
mov rax, qword [rsp + 0x28]
add rax, 2
mov qword [rsp + 0x28], rax
lea rdx, [rsp + 0x1c0]
mov rcx, qword [rsp + 0x308]
call fcn.1400035d0
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0xc0], rax
mov rcx, qword [rsp + 0xc0]
call fcn.14000d2d0
mov qword [rsp + 0xd0], rax
lea rcx, [rsp + 0x1c0]
call fcn.140002f40
lea rax, [rsp + 0x280]
mov qword [rsp + 0xc8], rax
movzx edx, byte [rsp + 0x38]
mov rcx, qword [rsp + 0xc8]
call fcn.14000e800
nop
mov r8, qword [rsp + 0x320]
xor edx, edx
lea rcx, [rsp + 0x280]
call fcn.140025780
nop
xor edx, edx
lea rcx, [rsp + 0x280]
call fcn.14000abf0
mov rcx, qword [rsp + 0x320]
mov rdx, qword [rsp + 0x318]
add rdx, rcx
mov rcx, rdx
mov r9, rax
mov r8, rcx
mov rdx, qword [rsp + 0x318]
mov rcx, qword [rsp + 0xd0]
call fcn.140010e30
lea rdx, [rsp + 0x1d0]
mov rcx, qword [rsp + 0x308]
call fcn.1400035d0
mov qword [rsp + 0xd8], rax
mov rax, qword [rsp + 0xd8]
mov qword [rsp + 0xe0], rax
mov rcx, qword [rsp + 0xe0]
call fcn.140025980
mov qword [rsp + 0x50], rax
lea rcx, [rsp + 0x1d0]
call fcn.140002f40
mov rax, qword [rsp + 0x50]
mov rax, qword [rax]
mov rax, qword [rax + 0x28]
mov qword [rsp + 0xe8], rax
lea rdx, [rsp + 0x2a0]
mov rcx, qword [rsp + 0x50]
call qword [rsp + 0xe8]
mov eax, dword [rsp + 0x48]
or eax, 1
mov dword [rsp + 0x48], eax
lea rax, [rsp + 0x2a0]
mov rcx, rax
call fcn.14000abe0
xor ecx, ecx
imul rcx, rcx, 1
add rax, rcx
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
movsx eax, byte [rax]
cmp eax, 0x7f
je 0x140022dac
mov rax, qword [rsp + 0x30]
movsx eax, byte [rax]
test eax, eax
jle 0x140022dac
mov rax, qword [rsp + 0x50]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x50]
call qword [rax + 0x20]
mov byte [rsp + 0x20], al
mov rax, qword [rsp + 0x30]
movsx eax, byte [rax]
cmp eax, 0x7f
je 0x140022dac
mov rax, qword [rsp + 0x30]
movsx eax, byte [rax]
test eax, eax
jle 0x140022dac
mov rax, qword [rsp + 0x30]
movsx rax, byte [rax]
mov rcx, qword [rsp + 0x28]
mov rdx, qword [rsp + 0x320]
sub rdx, rcx
mov rcx, rdx
cmp rax, rcx
jae 0x140022dac
mov rax, qword [rsp + 0x30]
movsx rax, byte [rax]
mov rcx, qword [rsp + 0x320]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x320], rax
movzx r9d, byte [rsp + 0x20]
mov r8d, 1
mov rdx, qword [rsp + 0x320]
lea rcx, [rsp + 0x280]
call fcn.140024830
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rsp + 0x30]
movsx eax, byte [rcx + rax]
test eax, eax
jle 0x140022da7
mov rax, qword [rsp + 0x30]
inc rax
mov qword [rsp + 0x30], rax
jmp 0x140022d02
lea rcx, [rsp + 0x280]
call fcn.14000abd0
mov qword [rsp + 0x320], rax
mov rcx, qword [rsp + 0x308]
call fcn.1400035b0
test rax, rax
jle 0x140022dea
mov rcx, qword [rsp + 0x308]
call fcn.1400035b0
cmp rax, qword [rsp + 0x320]
ja 0x140022df5
mov qword [rsp + 0x40], 0
jmp 0x140022e0f
mov rcx, qword [rsp + 0x308]
call fcn.1400035b0
sub rax, qword [rsp + 0x320]
mov qword [rsp + 0x40], rax
mov rcx, qword [rsp + 0x308]
call fcn.1400035a0
and eax, 0x1c0
mov dword [rsp + 0x3c], eax
cmp dword [rsp + 0x3c], 0x40
je 0x140022fd5
cmp dword [rsp + 0x3c], 0x100
je 0x140022fd5
lea rax, [rsp + 0x150]
mov rdi, rax
mov rsi, qword [rsp + 0x300]
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x58], rax
jmp 0x140022e71
mov rax, qword [rsp + 0x58]
dec rax
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
jbe 0x140022ea0
lea rax, [rsp + 0x150]
mov qword [rsp + 0xf0], rax
movzx edx, byte [rsp + 0x310]
mov rcx, qword [rsp + 0xf0]
call fcn.1400247c0
jmp 0x140022e64
lea rax, [rsp + 0x1e0]
lea rcx, [rsp + 0x150]
mov rdi, rax
mov rsi, rcx
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x1e0]
mov rdi, qword [rsp + 0x300]
mov rsi, rax
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
mov qword [rsp + 0x40], 0
xor edx, edx
lea rcx, [rsp + 0x280]
call fcn.14000abf0
mov qword [rsp + 0xf8], rax
lea rax, [rsp + 0x1f0]
mov rdi, rax
mov rsi, qword [rsp + 0x300]
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x160]
lea rcx, [rsp + 0x1f0]
mov rdi, rax
mov rsi, rcx
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0xf8]
mov qword [rsp + 0x68], rax
jmp 0x140022f61
mov rax, qword [rsp + 0x60]
dec rax
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x68]
inc rax
mov qword [rsp + 0x68], rax
cmp qword [rsp + 0x60], 0
jbe 0x140022f99
mov rax, qword [rsp + 0x68]
movzx eax, byte [rax]
mov byte [rsp + 0x21], al
lea rax, [rsp + 0x160]
mov qword [rsp + 0x100], rax
movzx edx, byte [rsp + 0x21]
mov rcx, qword [rsp + 0x100]
call fcn.1400247c0
jmp 0x140022f47
lea rax, [rsp + 0x200]
lea rcx, [rsp + 0x160]
mov rdi, rax
mov rsi, rcx
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x200]
mov rdi, qword [rsp + 0x300]
mov rsi, rax
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
jmp 0x14002328e
cmp dword [rsp + 0x3c], 0x100
jne 0x140023186
xor edx, edx
lea rcx, [rsp + 0x280]
call fcn.14000abf0
mov qword [rsp + 0x108], rax
lea rax, [rsp + 0x210]
mov rdi, rax
mov rsi, qword [rsp + 0x300]
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x170]
lea rcx, [rsp + 0x210]
mov rdi, rax
mov rsi, rcx
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x108]
mov qword [rsp + 0x78], rax
jmp 0x140023064
mov rax, qword [rsp + 0x70]
dec rax
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x78]
inc rax
mov qword [rsp + 0x78], rax
cmp qword [rsp + 0x70], 0
jbe 0x14002309c
mov rax, qword [rsp + 0x78]
movzx eax, byte [rax]
mov byte [rsp + 0x22], al
lea rax, [rsp + 0x170]
mov qword [rsp + 0x110], rax
movzx edx, byte [rsp + 0x22]
mov rcx, qword [rsp + 0x110]
call fcn.1400247c0
jmp 0x14002304a
lea rax, [rsp + 0x220]
lea rcx, [rsp + 0x170]
mov rdi, rax
mov rsi, rcx
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x220]
mov rdi, qword [rsp + 0x300]
mov rsi, rax
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x180]
mov rdi, rax
mov rsi, qword [rsp + 0x300]
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x80], rax
jmp 0x14002310f
mov rax, qword [rsp + 0x80]
dec rax
mov qword [rsp + 0x80], rax
cmp qword [rsp + 0x80], 0
jbe 0x140023141
lea rax, [rsp + 0x180]
mov qword [rsp + 0x118], rax
movzx edx, byte [rsp + 0x310]
mov rcx, qword [rsp + 0x118]
call fcn.1400247c0
jmp 0x1400230fc
lea rax, [rsp + 0x230]
lea rcx, [rsp + 0x180]
mov rdi, rax
mov rsi, rcx
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x230]
mov rdi, qword [rsp + 0x300]
mov rsi, rax
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
mov qword [rsp + 0x40], 0
jmp 0x14002328e
xor edx, edx
lea rcx, [rsp + 0x280]
call fcn.14000abf0
mov qword [rsp + 0x120], rax
lea rax, [rsp + 0x240]
mov rdi, rax
mov rsi, qword [rsp + 0x300]
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x190]
lea rcx, [rsp + 0x240]
mov rdi, rax
mov rsi, rcx
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x120]
mov qword [rsp + 0x90], rax
jmp 0x140023219
mov rax, qword [rsp + 0x88]
dec rax
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x90]
inc rax
mov qword [rsp + 0x90], rax
cmp qword [rsp + 0x88], 0
jbe 0x140023257
mov rax, qword [rsp + 0x90]
movzx eax, byte [rax]
mov byte [rsp + 0x23], al
lea rax, [rsp + 0x190]
mov qword [rsp + 0x128], rax
movzx edx, byte [rsp + 0x23]
mov rcx, qword [rsp + 0x128]
call fcn.1400247c0
jmp 0x1400231f3
lea rax, [rsp + 0x250]
lea rcx, [rsp + 0x190]
mov rdi, rax
mov rsi, rcx
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x250]
mov rdi, qword [rsp + 0x300]
mov rsi, rax
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
mov rdx, qword [rsp + 0x28]
lea rcx, [rsp + 0x280]
call fcn.14000abf0
mov qword [rsp + 0x130], rax
lea rax, [rsp + 0x260]
mov rdi, rax
mov rsi, qword [rsp + 0x300]
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x1a0]
lea rcx, [rsp + 0x260]
mov rdi, rax
mov rsi, rcx
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x320]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x130]
mov qword [rsp + 0xa0], rax
jmp 0x140023332
mov rax, qword [rsp + 0x98]
dec rax
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0xa0]
inc rax
mov qword [rsp + 0xa0], rax
cmp qword [rsp + 0x98], 0
jbe 0x140023370
mov rax, qword [rsp + 0xa0]
movzx eax, byte [rax]
mov byte [rsp + 0x24], al
lea rax, [rsp + 0x1a0]
mov qword [rsp + 0x138], rax
movzx edx, byte [rsp + 0x24]
mov rcx, qword [rsp + 0x138]
call fcn.1400247c0
jmp 0x14002330c
lea rax, [rsp + 0x270]
lea rcx, [rsp + 0x1a0]
mov rdi, rax
mov rsi, rcx
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x270]
mov rdi, qword [rsp + 0x300]
mov rsi, rax
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
xor edx, edx
mov rcx, qword [rsp + 0x308]
call fcn.1400035c0
lea rax, [rsp + 0x1b0]
mov rdi, rax
mov rsi, qword [rsp + 0x300]
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0xa8], rax
jmp 0x1400233f2
mov rax, qword [rsp + 0xa8]
dec rax
mov qword [rsp + 0xa8], rax
cmp qword [rsp + 0xa8], 0
jbe 0x140023424
lea rax, [rsp + 0x1b0]
mov qword [rsp + 0x140], rax
movzx edx, byte [rsp + 0x310]
mov rcx, qword [rsp + 0x140]
call fcn.1400247c0
jmp 0x1400233df
lea rax, [rsp + 0x1b0]
mov rdi, qword [rsp + 0x2f8]
mov rsi, rax
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
lea rcx, [rsp + 0x2a0]
call fcn.140005bd0
nop
lea rcx, [rsp + 0x280]
call fcn.140005bd0
mov rax, qword [rsp + 0x2f8]
mov rcx, qword [rsp + 0x2c0]
xor rcx, rsp
call fcn.1400a67b0
add rsp, 0x2d8
pop rdi
pop rsi
ret