Function at 0x140030670
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
sub rsp, 0x78
mov eax, dword [rsp + 0x98]
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x24]
dec eax
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0xc
ja case.0x1400306bd.2
movsxd rax, dword [rsp + 0x24]
lea rcx, [0x140000000]
mov eax, dword [rcx + rax*4 + 0x30cac]
add rax, rcx
jmp rax
mov eax, dword [rsp + 0x98]
jmp 0x140030ca5
mov eax, dword [rsp + 0x88]
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x88], 7
je 0x1400306ea
cmp dword [rsp + 0x88], 0xb
jne 0x1400306f4
mov dword [rsp + 0x28], 8
jmp 0x140030706
cmp dword [rsp + 0x88], 0xd
jne 0x140030706
mov dword [rsp + 0x28], 5
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x40], rax
mov edx, 1
mov rcx, qword [rsp + 0x40]
call fcn.140034590
mov ecx, dword [rsp + 0x28]
mov dword [rax], ecx
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x48], rax
mov edx, 1
mov rcx, qword [rsp + 0x48]
call fcn.140034590
mov dword [rax], 0
cmp dword [rsp + 0x98], 3
jne 0x140030767
mov rcx, qword [rsp + 0xa8]
call fcn.140033990
mov byte [rsp + 0x20], al
jmp 0x140030778
mov rcx, qword [rsp + 0xa8]
call fcn.140033880
mov byte [rsp + 0x20], al
movzx eax, byte [rsp + 0x20]
mov byte [rsp + 0x21], al
movzx eax, byte [rsp + 0x21]
test eax, eax
jne 0x1400307ee
mov rcx, qword [rsp + 0x80]
call fcn.14002fff0
movzx eax, al
test eax, eax
je 0x1400307ba
mov r8d, 0x7e4
lea rdx, str.C:UsersX_GAMERDesktopSilentDiscordSDK_src_rapidjson_reader.h
lea rcx, str._HasParseError__
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
xor eax, eax
mov rcx, qword [rsp + 0xa0]
call fcn.140030010
mov r8, rax
mov edx, reloc.WS2_32.dll_recv
mov rcx, qword [rsp + 0x80]
call fcn.14002ffb0
xor eax, eax
test eax, eax
jne 0x14003078a
mov eax, 1
jmp 0x140030ca5
mov rcx, qword [rsp + 0xa0]
call fcn.140030630
mov eax, dword [rsp + 0x98]
jmp 0x140030ca5
mov r9b, 1
mov r8, qword [rsp + 0xa8]
mov rdx, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x80]
call fcn.140031660
mov rcx, qword [rsp + 0x80]
call fcn.14002fff0
movzx eax, al
test eax, eax
je 0x140030847
mov eax, 1
jmp 0x140030ca5
mov eax, dword [rsp + 0x98]
jmp 0x140030ca5
cmp dword [rsp + 0x90], 5
je 0x140030879
mov r8d, 0x7f5
lea rdx, str.C:UsersX_GAMERDesktopSilentDiscordSDK_src_rapidjson_reader.h
lea rcx, str.token__ColonToken
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
xor eax, eax
mov rcx, qword [rsp + 0xa0]
call fcn.140030630
mov eax, dword [rsp + 0x98]
jmp 0x140030ca5
mov r8, qword [rsp + 0xa8]
mov rdx, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x80]
call fcn.140030450
mov rcx, qword [rsp + 0x80]
call fcn.14002fff0
movzx eax, al
test eax, eax
je 0x1400308cd
mov eax, 1
jmp 0x140030ca5
mov eax, dword [rsp + 0x98]
jmp 0x140030ca5
mov r8, qword [rsp + 0xa8]
mov rdx, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x80]
call fcn.140030450
mov rcx, qword [rsp + 0x80]
call fcn.14002fff0
movzx eax, al
test eax, eax
je 0x140030914
mov eax, 1
jmp 0x140030ca5
mov eax, dword [rsp + 0x98]
jmp 0x140030ca5
mov rcx, qword [rsp + 0xa0]
call fcn.140030630
mov rax, qword [rsp + 0x80]
mov rcx, rax
call fcn.1400345d0
mov eax, dword [rax]
inc eax
mov dword [rsp + 0x3c], eax
mov rax, qword [rsp + 0x80]
mov rcx, rax
call fcn.1400345d0
mov ecx, dword [rsp + 0x3c]
mov dword [rax], ecx
mov eax, dword [rsp + 0x98]
jmp 0x140030ca5
xor eax, eax
cmp eax, 1
je 0x1400309da
cmp dword [rsp + 0x88], 0xc
jne 0x1400309da
mov rcx, qword [rsp + 0x80]
call fcn.14002fff0
movzx eax, al
test eax, eax
je 0x1400309a8
mov r8d, 0x814
lea rdx, str.C:UsersX_GAMERDesktopSilentDiscordSDK_src_rapidjson_reader.h
lea rcx, str._HasParseError__
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
xor eax, eax
mov rcx, qword [rsp + 0xa0]
call fcn.140030010
mov r8, rax
mov edx, 4
mov rcx, qword [rsp + 0x80]
call fcn.14002ffb0
xor eax, eax
test eax, eax
jne 0x140030978
mov eax, 1
jmp 0x140030ca5
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x50], rax
mov edx, 1
mov rcx, qword [rsp + 0x50]
call fcn.140034620
mov eax, dword [rax]
mov dword [rsp + 0x2c], eax
cmp dword [rsp + 0x88], 5
jne 0x140030a10
mov eax, dword [rsp + 0x2c]
inc eax
mov dword [rsp + 0x2c], eax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x58], rax
mov edx, 1
mov rcx, qword [rsp + 0x58]
call fcn.140034620
mov eax, dword [rax]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 2
jne 0x140030a41
mov dword [rsp + 0x30], 0
mov edx, dword [rsp + 0x2c]
mov rcx, qword [rsp + 0xa8]
call fcn.1400338d0
mov byte [rsp + 0x22], al
movzx eax, byte [rsp + 0x22]
test eax, eax
jne 0x140030ac3
mov rcx, qword [rsp + 0x80]
call fcn.14002fff0
movzx eax, al
test eax, eax
je 0x140030a8f
mov r8d, 0x825
lea rdx, str.C:UsersX_GAMERDesktopSilentDiscordSDK_src_rapidjson_reader.h
lea rcx, str._HasParseError__
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
xor eax, eax
mov rcx, qword [rsp + 0xa0]
call fcn.140030010
mov r8, rax
mov edx, reloc.WS2_32.dll_recv
mov rcx, qword [rsp + 0x80]
call fcn.14002ffb0
xor eax, eax
test eax, eax
jne 0x140030a5f
mov eax, 1
jmp 0x140030ca5
mov rcx, qword [rsp + 0xa0]
call fcn.140030630
mov eax, dword [rsp + 0x30]
jmp 0x140030ca5
xor eax, eax
cmp eax, 1
je 0x140030b4c
cmp dword [rsp + 0x88], 0xb
jne 0x140030b4c
mov rcx, qword [rsp + 0x80]
call fcn.14002fff0
movzx eax, al
test eax, eax
je 0x140030b1a
mov r8d, 0x832
lea rdx, str.C:UsersX_GAMERDesktopSilentDiscordSDK_src_rapidjson_reader.h
lea rcx, str._HasParseError__
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
xor eax, eax
mov rcx, qword [rsp + 0xa0]
call fcn.140030010
mov r8, rax
mov edx, 3
mov rcx, qword [rsp + 0x80]
call fcn.14002ffb0
xor eax, eax
test eax, eax
jne 0x140030aea
mov eax, 1
jmp 0x140030ca5
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x60], rax
mov edx, 1
mov rcx, qword [rsp + 0x60]
call fcn.140034620
mov eax, dword [rax]
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x88], 8
jne 0x140030b82
mov eax, dword [rsp + 0x34]
inc eax
mov dword [rsp + 0x34], eax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x68], rax
mov edx, 1
mov rcx, qword [rsp + 0x68]
call fcn.140034620
mov eax, dword [rax]
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 2
jne 0x140030bb3
mov dword [rsp + 0x38], 0
mov edx, dword [rsp + 0x34]
mov rcx, qword [rsp + 0xa8]
call fcn.140033800
mov byte [rsp + 0x23], al
movzx eax, byte [rsp + 0x23]
test eax, eax
jne 0x140030c32
mov rcx, qword [rsp + 0x80]
call fcn.14002fff0
movzx eax, al
test eax, eax
je 0x140030c01
mov r8d, 0x843
lea rdx, str.C:UsersX_GAMERDesktopSilentDiscordSDK_src_rapidjson_reader.h
lea rcx, str._HasParseError__
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
xor eax, eax
mov rcx, qword [rsp + 0xa0]
call fcn.140030010
mov r8, rax
mov edx, reloc.WS2_32.dll_recv
mov rcx, qword [rsp + 0x80]
call fcn.14002ffb0
xor eax, eax
test eax, eax
jne 0x140030bd1
mov eax, 1
jmp 0x140030ca5
mov rcx, qword [rsp + 0xa0]
call fcn.140030630
mov eax, dword [rsp + 0x38]
jmp 0x140030ca5
cmp dword [rsp + 0x98], 0xa
je 0x140030c6b
mov r8d, 0x857
lea rdx, str.C:UsersX_GAMERDesktopSilentDiscordSDK_src_rapidjson_reader.h
lea rcx, str.dst__IterativeParsingValueState
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
xor eax, eax
mov r8, qword [rsp + 0xa8]
mov rdx, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x80]
call fcn.140030450
mov rcx, qword [rsp + 0x80]
call fcn.14002fff0
movzx eax, al
test eax, eax
je 0x140030ca3
mov eax, 1
jmp 0x140030ca5
xor eax, eax
add rsp, 0x78
ret