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

Disassembly:
mov dword [rsp + 0x20], r9d
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x130
lea rcx, [0x1805ee196]
call fcn.1802680d0
nop
mov eax, dword [rsp + 0x158]
mov dword [rsp + 0xe8], eax
mov eax, dword [rsp + 0xe8]
dec eax
mov dword [rsp + 0xe8], eax
cmp dword [rsp + 0xe8], 0xc
ja case.0x1800afb9d.2
movsxd rax, dword [rsp + 0xe8]
lea rcx, [0x180000000]
mov eax, dword [rcx + rax*4 + 0xb0224]
add rax, rcx
jmp rax
mov eax, dword [rsp + 0x158]
jmp 0x1800b021b
mov eax, dword [rsp + 0x148]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x148], 7
je 0x1800afbca
cmp dword [rsp + 0x148], 0xb
jne 0x1800afbd4
mov dword [rsp + 0x20], 8
jmp 0x1800afbe6
cmp dword [rsp + 0x148], 0xd
jne 0x1800afbe6
mov dword [rsp + 0x20], 5
mov rax, qword [rsp + 0x140]
mov qword [rsp + 0xf0], rax
mov edx, 1
mov rcx, qword [rsp + 0xf0]
call fcn.1800ae170
mov ecx, dword [rsp + 0x20]
mov dword [rax], ecx
mov rax, qword [rsp + 0x140]
mov qword [rsp + 0xf8], rax
mov edx, 1
mov rcx, qword [rsp + 0xf8]
call fcn.1800ae170
mov dword [rax], 0
cmp dword [rsp + 0x158], 3
jne 0x1800afc56
mov rcx, qword [rsp + 0x168]
call fcn.1800bdbd0
mov byte [rsp + 0x100], al
jmp 0x1800afc6a
mov rcx, qword [rsp + 0x168]
call fcn.1800bdaf0
mov byte [rsp + 0x100], al
movzx eax, byte [rsp + 0x100]
mov byte [rsp + 0x24], al
movzx eax, byte [rsp + 0x24]
test eax, eax
jne 0x1800afced
mov rcx, qword [rsp + 0x140]
call fcn.1800bb020
movzx eax, al
test eax, eax
jne 0x1800afc95
jmp 0x1800afcb8
lea rdx, str.rapidjson_assert_fail
lea rcx, [rsp + 0x40]
call fcn.18002fd40
lea rdx, [0x18057a348]
lea rcx, [rsp + 0x40]
call fcn.18026b710
nop
mov rcx, qword [rsp + 0x160]
call fcn.1800bdff0
mov r8, rax
mov edx, reloc.WS2_32.dll_recv
mov rcx, qword [rsp + 0x140]
call fcn.1800bd690
nop
xor eax, eax
test eax, eax
jne 0x1800afc7f
mov eax, 1
jmp 0x1800b021b
mov rcx, qword [rsp + 0x160]
call fcn.1800bdf40
mov eax, dword [rsp + 0x158]
jmp 0x1800b021b
mov r9b, 1
mov r8, qword [rsp + 0x168]
mov rdx, qword [rsp + 0x160]
mov rcx, qword [rsp + 0x140]
call fcn.1800ac8f0
nop
mov rcx, qword [rsp + 0x140]
call fcn.1800bb020
movzx eax, al
test eax, eax
je 0x1800afd47
mov eax, 1
jmp 0x1800b021b
mov eax, dword [rsp + 0x158]
jmp 0x1800b021b
cmp dword [rsp + 0x150], 5
jne 0x1800afd5f
jmp 0x1800afd82
lea rdx, str.rapidjson_assert_fail
lea rcx, [rsp + 0x58]
call fcn.18002fd40
lea rdx, [0x18057a348]
lea rcx, [rsp + 0x58]
call fcn.18026b710
nop
mov rcx, qword [rsp + 0x160]
call fcn.1800bdf40
mov eax, dword [rsp + 0x158]
jmp 0x1800b021b
mov r8, qword [rsp + 0x168]
mov rdx, qword [rsp + 0x160]
mov rcx, qword [rsp + 0x140]
call fcn.1800adce0
nop
mov rcx, qword [rsp + 0x140]
call fcn.1800bb020
movzx eax, al
test eax, eax
je 0x1800afdd7
mov eax, 1
jmp 0x1800b021b
mov eax, dword [rsp + 0x158]
jmp 0x1800b021b
mov r8, qword [rsp + 0x168]
mov rdx, qword [rsp + 0x160]
mov rcx, qword [rsp + 0x140]
call fcn.1800adce0
nop
mov rcx, qword [rsp + 0x140]
call fcn.1800bb020
movzx eax, al
test eax, eax
je 0x1800afe1f
mov eax, 1
jmp 0x1800b021b
mov eax, dword [rsp + 0x158]
jmp 0x1800b021b
mov rcx, qword [rsp + 0x160]
call fcn.1800bdf40
mov rax, qword [rsp + 0x140]
mov rcx, rax
call fcn.1800af950
mov eax, dword [rax]
inc eax
mov dword [rsp + 0x104], eax
mov rax, qword [rsp + 0x140]
mov rcx, rax
call fcn.1800af950
mov ecx, dword [rsp + 0x104]
mov dword [rax], ecx
mov eax, dword [rsp + 0x158]
jmp 0x1800b021b
xor eax, eax
cmp eax, 1
je 0x1800afef5
cmp dword [rsp + 0x148], 0xc
jne 0x1800afef5
mov rcx, qword [rsp + 0x140]
call fcn.1800bb020
movzx eax, al
test eax, eax
jne 0x1800afe9f
jmp 0x1800afec2
lea rdx, str.rapidjson_assert_fail
lea rcx, [rsp + 0x70]
call fcn.18002fd40
lea rdx, [0x18057a348]
lea rcx, [rsp + 0x70]
call fcn.18026b710
nop
mov rcx, qword [rsp + 0x160]
call fcn.1800bdff0
mov r8, rax
mov edx, 4
mov rcx, qword [rsp + 0x140]
call fcn.1800bd690
nop
xor eax, eax
test eax, eax
jne 0x1800afe89
mov eax, 1
jmp 0x1800b021b
mov rax, qword [rsp + 0x140]
mov qword [rsp + 0x108], rax
mov edx, 1
mov rcx, qword [rsp + 0x108]
call fcn.1800adef0
mov eax, dword [rax]
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x148], 5
jne 0x1800aff31
mov eax, dword [rsp + 0x28]
inc eax
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x140]
mov qword [rsp + 0x110], rax
mov edx, 1
mov rcx, qword [rsp + 0x110]
call fcn.1800adef0
mov eax, dword [rax]
mov dword [rsp + 0x2c], eax
cmp dword [rsp + 0x2c], 2
jne 0x1800aff68
mov dword [rsp + 0x2c], 0
mov edx, dword [rsp + 0x28]
mov rcx, qword [rsp + 0x168]
call fcn.1800b9e70
mov byte [rsp + 0x30], al
movzx eax, byte [rsp + 0x30]
test eax, eax
jne 0x1800afffa
mov rcx, qword [rsp + 0x140]
call fcn.1800bb020
movzx eax, al
test eax, eax
jne 0x1800aff9c
jmp 0x1800affc5
lea rdx, str.rapidjson_assert_fail
lea rcx, [rsp + 0x88]
call fcn.18002fd40
lea rdx, [0x18057a348]
lea rcx, [rsp + 0x88]
call fcn.18026b710
nop
mov rcx, qword [rsp + 0x160]
call fcn.1800bdff0
mov r8, rax
mov edx, reloc.WS2_32.dll_recv
mov rcx, qword [rsp + 0x140]
call fcn.1800bd690
nop
xor eax, eax
test eax, eax
jne 0x1800aff86
mov eax, 1
jmp 0x1800b021b
mov rcx, qword [rsp + 0x160]
call fcn.1800bdf40
mov eax, dword [rsp + 0x2c]
jmp 0x1800b021b
xor eax, eax
cmp eax, 1
je 0x1800b0093
cmp dword [rsp + 0x148], 0xb
jne 0x1800b0093
mov rcx, qword [rsp + 0x140]
call fcn.1800bb020
movzx eax, al
test eax, eax
jne 0x1800b0037
jmp 0x1800b0060
lea rdx, str.rapidjson_assert_fail
lea rcx, [rsp + 0xa0]
call fcn.18002fd40
lea rdx, [0x18057a348]
lea rcx, [rsp + 0xa0]
call fcn.18026b710
nop
mov rcx, qword [rsp + 0x160]
call fcn.1800bdff0
mov r8, rax
mov edx, 3
mov rcx, qword [rsp + 0x140]
call fcn.1800bd690
nop
xor eax, eax
test eax, eax
jne 0x1800b0021
mov eax, 1
jmp 0x1800b021b
mov rax, qword [rsp + 0x140]
mov qword [rsp + 0x118], rax
mov edx, 1
mov rcx, qword [rsp + 0x118]
call fcn.1800adef0
mov eax, dword [rax]
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x148], 8
jne 0x1800b00cf
mov eax, dword [rsp + 0x34]
inc eax
mov dword [rsp + 0x34], eax
mov rax, qword [rsp + 0x140]
mov qword [rsp + 0x120], rax
mov edx, 1
mov rcx, qword [rsp + 0x120]
call fcn.1800adef0
mov eax, dword [rax]
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 2
jne 0x1800b0106
mov dword [rsp + 0x38], 0
mov edx, dword [rsp + 0x34]
mov rcx, qword [rsp + 0x168]
call fcn.1800b9c30
mov byte [rsp + 0x3c], al
movzx eax, byte [rsp + 0x3c]
test eax, eax
jne 0x1800b0198
mov rcx, qword [rsp + 0x140]
call fcn.1800bb020
movzx eax, al
test eax, eax
jne 0x1800b013a
jmp 0x1800b0163
lea rdx, str.rapidjson_assert_fail
lea rcx, [rsp + 0xb8]
call fcn.18002fd40
lea rdx, [0x18057a348]
lea rcx, [rsp + 0xb8]
call fcn.18026b710
nop
mov rcx, qword [rsp + 0x160]
call fcn.1800bdff0
mov r8, rax
mov edx, reloc.WS2_32.dll_recv
mov rcx, qword [rsp + 0x140]
call fcn.1800bd690
nop
xor eax, eax
test eax, eax
jne 0x1800b0124
mov eax, 1
jmp 0x1800b021b
mov rcx, qword [rsp + 0x160]
call fcn.1800bdf40
mov eax, dword [rsp + 0x38]
jmp 0x1800b021b
cmp dword [rsp + 0x158], 0xa
jne 0x1800b01b7
jmp 0x1800b01e0
lea rdx, str.rapidjson_assert_fail
lea rcx, [rsp + 0xd0]
call fcn.18002fd40
lea rdx, [0x18057a348]
lea rcx, [rsp + 0xd0]
call fcn.18026b710
nop
mov r8, qword [rsp + 0x168]
mov rdx, qword [rsp + 0x160]
mov rcx, qword [rsp + 0x140]
call fcn.1800adce0
nop
mov rcx, qword [rsp + 0x140]
call fcn.1800bb020
movzx eax, al
test eax, eax
je 0x1800b0219
mov eax, 1
jmp 0x1800b021b
xor eax, eax
add rsp, 0x130
pop rdi
ret