Function at 0x180144170
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, [0x1805d54d5]
call fcn.18025a230
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.0x1801441dc.2
movsxd rax, dword [rsp + 0xe8]
lea rcx, [0x180000000]
mov eax, dword [rcx + rax*4 + 0x144854]
add rax, rcx
jmp rax
mov eax, dword [rsp + 0x158]
jmp 0x18014484a
mov eax, dword [rsp + 0x148]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x148], 7
je 0x180144209
cmp dword [rsp + 0x148], 0xb
jne 0x180144213
mov dword [rsp + 0x20], 8
jmp 0x180144225
cmp dword [rsp + 0x148], 0xd
jne 0x180144225
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.1800adee0
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.1800adee0
mov dword [rax], 0
cmp dword [rsp + 0x158], 3
jne 0x180144295
mov rcx, qword [rsp + 0x168]
call fcn.1800bd840
mov byte [rsp + 0x100], al
jmp 0x1801442a9
mov rcx, qword [rsp + 0x168]
call fcn.1800bd770
mov byte [rsp + 0x100], al
movzx eax, byte [rsp + 0x100]
mov byte [rsp + 0x24], al
movzx eax, byte [rsp + 0x24]
test eax, eax
jne 0x18014432a
mov rcx, qword [rsp + 0x140]
call fcn.1800bad00
movzx eax, al
test eax, eax
jne 0x1801442d4
jmp 0x1801442f6
lea rdx, str.rapidjson_assert_fail
lea rcx, [rsp + 0x40]
call fcn.18002f910
lea rdx, [0x180560778]
lea rcx, [rsp + 0x40]
call fcn.18025d6f0
mov rcx, qword [rsp + 0x160]
call fcn.180146330
mov r8, rax
mov edx, reloc.WS2_32.dll_recv
mov rcx, qword [rsp + 0x140]
call fcn.1800bd310
xor eax, eax
test eax, eax
jne 0x1801442be
mov eax, 1
jmp 0x18014484a
mov rcx, qword [rsp + 0x160]
call fcn.180146240
mov eax, dword [rsp + 0x158]
jmp 0x18014484a
mov r9b, 1
mov r8, qword [rsp + 0x168]
mov rdx, qword [rsp + 0x160]
mov rcx, qword [rsp + 0x140]
call fcn.180142650
mov rcx, qword [rsp + 0x140]
call fcn.1800bad00
movzx eax, al
test eax, eax
je 0x180144383
mov eax, 1
jmp 0x18014484a
mov eax, dword [rsp + 0x158]
jmp 0x18014484a
cmp dword [rsp + 0x150], 5
jne 0x18014439b
jmp 0x1801443bd
lea rdx, str.rapidjson_assert_fail
lea rcx, [rsp + 0x58]
call fcn.18002f910
lea rdx, [0x180560778]
lea rcx, [rsp + 0x58]
call fcn.18025d6f0
mov rcx, qword [rsp + 0x160]
call fcn.180146240
mov eax, dword [rsp + 0x158]
jmp 0x18014484a
mov r8, qword [rsp + 0x168]
mov rdx, qword [rsp + 0x160]
mov rcx, qword [rsp + 0x140]
call fcn.180143920
mov rcx, qword [rsp + 0x140]
call fcn.1800bad00
movzx eax, al
test eax, eax
je 0x180144411
mov eax, 1
jmp 0x18014484a
mov eax, dword [rsp + 0x158]
jmp 0x18014484a
mov r8, qword [rsp + 0x168]
mov rdx, qword [rsp + 0x160]
mov rcx, qword [rsp + 0x140]
call fcn.180143920
mov rcx, qword [rsp + 0x140]
call fcn.1800bad00
movzx eax, al
test eax, eax
je 0x180144458
mov eax, 1
jmp 0x18014484a
mov eax, dword [rsp + 0x158]
jmp 0x18014484a
mov rcx, qword [rsp + 0x160]
call fcn.180146240
mov rax, qword [rsp + 0x140]
mov rcx, rax
call fcn.1800af670
mov eax, dword [rax]
inc eax
mov dword [rsp + 0x104], eax
mov rax, qword [rsp + 0x140]
mov rcx, rax
call fcn.1800af670
mov ecx, dword [rsp + 0x104]
mov dword [rax], ecx
mov eax, dword [rsp + 0x158]
jmp 0x18014484a
xor eax, eax
cmp eax, 1
je 0x18014452c
cmp dword [rsp + 0x148], 0xc
jne 0x18014452c
mov rcx, qword [rsp + 0x140]
call fcn.1800bad00
movzx eax, al
test eax, eax
jne 0x1801444d8
jmp 0x1801444fa
lea rdx, str.rapidjson_assert_fail
lea rcx, [rsp + 0x70]
call fcn.18002f910
lea rdx, [0x180560778]
lea rcx, [rsp + 0x70]
call fcn.18025d6f0
mov rcx, qword [rsp + 0x160]
call fcn.180146330
mov r8, rax
mov edx, 4
mov rcx, qword [rsp + 0x140]
call fcn.1800bd310
xor eax, eax
test eax, eax
jne 0x1801444c2
mov eax, 1
jmp 0x18014484a
mov rax, qword [rsp + 0x140]
mov qword [rsp + 0x108], rax
mov edx, 1
mov rcx, qword [rsp + 0x108]
call fcn.1800adc60
mov eax, dword [rax]
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x148], 5
jne 0x180144568
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.1800adc60
mov eax, dword [rax]
mov dword [rsp + 0x2c], eax
cmp dword [rsp + 0x2c], 2
jne 0x18014459f
mov dword [rsp + 0x2c], 0
mov edx, dword [rsp + 0x28]
mov rcx, qword [rsp + 0x168]
call fcn.1800b9b80
mov byte [rsp + 0x30], al
movzx eax, byte [rsp + 0x30]
test eax, eax
jne 0x18014462f
mov rcx, qword [rsp + 0x140]
call fcn.1800bad00
movzx eax, al
test eax, eax
jne 0x1801445d3
jmp 0x1801445fb
lea rdx, str.rapidjson_assert_fail
lea rcx, [rsp + 0x88]
call fcn.18002f910
lea rdx, [0x180560778]
lea rcx, [rsp + 0x88]
call fcn.18025d6f0
mov rcx, qword [rsp + 0x160]
call fcn.180146330
mov r8, rax
mov edx, reloc.WS2_32.dll_recv
mov rcx, qword [rsp + 0x140]
call fcn.1800bd310
xor eax, eax
test eax, eax
jne 0x1801445bd
mov eax, 1
jmp 0x18014484a
mov rcx, qword [rsp + 0x160]
call fcn.180146240
mov eax, dword [rsp + 0x2c]
jmp 0x18014484a
xor eax, eax
cmp eax, 1
je 0x1801446c6
cmp dword [rsp + 0x148], 0xb
jne 0x1801446c6
mov rcx, qword [rsp + 0x140]
call fcn.1800bad00
movzx eax, al
test eax, eax
jne 0x18014466c
jmp 0x180144694
lea rdx, str.rapidjson_assert_fail
lea rcx, [rsp + 0xa0]
call fcn.18002f910
lea rdx, [0x180560778]
lea rcx, [rsp + 0xa0]
call fcn.18025d6f0
mov rcx, qword [rsp + 0x160]
call fcn.180146330
mov r8, rax
mov edx, 3
mov rcx, qword [rsp + 0x140]
call fcn.1800bd310
xor eax, eax
test eax, eax
jne 0x180144656
mov eax, 1
jmp 0x18014484a
mov rax, qword [rsp + 0x140]
mov qword [rsp + 0x118], rax
mov edx, 1
mov rcx, qword [rsp + 0x118]
call fcn.1800adc60
mov eax, dword [rax]
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x148], 8
jne 0x180144702
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.1800adc60
mov eax, dword [rax]
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 2
jne 0x180144739
mov dword [rsp + 0x38], 0
mov edx, dword [rsp + 0x34]
mov rcx, qword [rsp + 0x168]
call fcn.1800b9940
mov byte [rsp + 0x3c], al
movzx eax, byte [rsp + 0x3c]
test eax, eax
jne 0x1801447c9
mov rcx, qword [rsp + 0x140]
call fcn.1800bad00
movzx eax, al
test eax, eax
jne 0x18014476d
jmp 0x180144795
lea rdx, str.rapidjson_assert_fail
lea rcx, [rsp + 0xb8]
call fcn.18002f910
lea rdx, [0x180560778]
lea rcx, [rsp + 0xb8]
call fcn.18025d6f0
mov rcx, qword [rsp + 0x160]
call fcn.180146330
mov r8, rax
mov edx, reloc.WS2_32.dll_recv
mov rcx, qword [rsp + 0x140]
call fcn.1800bd310
xor eax, eax
test eax, eax
jne 0x180144757
mov eax, 1
jmp 0x18014484a
mov rcx, qword [rsp + 0x160]
call fcn.180146240
mov eax, dword [rsp + 0x38]
jmp 0x18014484a
cmp dword [rsp + 0x158], 0xa
jne 0x1801447e8
jmp 0x180144810
lea rdx, str.rapidjson_assert_fail
lea rcx, [rsp + 0xd0]
call fcn.18002f910
lea rdx, [0x180560778]
lea rcx, [rsp + 0xd0]
call fcn.18025d6f0
mov r8, qword [rsp + 0x168]
mov rdx, qword [rsp + 0x160]
mov rcx, qword [rsp + 0x140]
call fcn.180143920
mov rcx, qword [rsp + 0x140]
call fcn.1800bad00
movzx eax, al
test eax, eax
je 0x180144848
mov eax, 1
jmp 0x18014484a
xor eax, eax
add rsp, 0x130
pop rdi
ret