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

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x88
mov rcx, qword [rsp + 0x90]
call fcn.140040da0
mov dword [rsp + 0x20], 5
mov rax, qword [rsp + 0x90]
mov eax, dword [rax + 0x14]
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x24]
sub eax, 0x2d
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0xc
ja case.0x140041398.46
movsxd rax, dword [rsp + 0x24]
lea rcx, [0x140000000]
mov eax, dword [rcx + rax*4 + 0x41aa0]
add rax, rcx
jmp rax
mov rax, qword [rsp + 0x90]
mov edx, dword [rax + 0x14]
mov rcx, qword [rsp + 0x90]
call fcn.14003ab80
nop
jmp 0x14004141e
mov rax, qword [rsp + 0x90]
mov edx, dword [rax + 0x14]
mov rcx, qword [rsp + 0x90]
call fcn.14003ab80
nop
jmp 0x1400414be
mov rax, qword [rsp + 0x90]
mov edx, dword [rax + 0x14]
mov rcx, qword [rsp + 0x90]
call fcn.14003ab80
nop
jmp 0x140041539
xor eax, eax
test eax, eax
jne 0x14004141e
mov r8d, 0x20be
lea rdx, str.C:UsersBronTZxxxDocumentsBTZXXX_CSCS2_Externaljson.h
lea rcx, [0x140100a88]
call sub.api_ms_win_crt_runtime_l1_1_0.dll__wassert
xor eax, eax
mov dword [rsp + 0x20], 6
mov rcx, qword [rsp + 0x90]
call fcn.14003cd30
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x28]
sub eax, 0x30
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x28], 9
ja case.default.0x14004145f
movsxd rax, dword [rsp + 0x28]
lea rcx, [0x140000000]
mov eax, dword [rcx + rax*4 + 0x41ad4]
add rax, rcx
jmp rax
mov rax, qword [rsp + 0x90]
mov edx, dword [rax + 0x14]
mov rcx, qword [rsp + 0x90]
call fcn.14003ab80
nop
jmp 0x1400414be
mov rax, qword [rsp + 0x90]
mov edx, dword [rax + 0x14]
mov rcx, qword [rsp + 0x90]
call fcn.14003ab80
nop
jmp 0x140041539
mov rax, qword [rsp + 0x90]
lea rcx, str.invalid_number__expected_digit_after__
mov qword [rax + 0x70], rcx
mov eax, 0xe
jmp 0x140041a95
mov rcx, qword [rsp + 0x90]
call fcn.14003cd30
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 0x2e
je 0x1400414e6
cmp dword [rsp + 0x44], 0x45
je 0x14004150c
cmp dword [rsp + 0x44], 0x65
je 0x14004150c
jmp 0x14004152f
mov rax, qword [rsp + 0x90]
mov edx, dword [rax + 0x90]
mov rcx, qword [rsp + 0x90]
call fcn.14003ab80
nop
jmp 0x1400415e4
mov rax, qword [rsp + 0x90]
mov edx, dword [rax + 0x14]
mov rcx, qword [rsp + 0x90]
call fcn.14003ab80
nop
jmp 0x1400416e6
jmp case.default.0x140041834
mov rcx, qword [rsp + 0x90]
call fcn.14003cd30
mov dword [rsp + 0x2c], eax
mov eax, dword [rsp + 0x2c]
sub eax, 0x2e
mov dword [rsp + 0x2c], eax
cmp dword [rsp + 0x2c], 0x37
ja case.0x14004157a.47
movsxd rax, dword [rsp + 0x2c]
lea rcx, [0x140000000]
movzx eax, byte [rcx + rax + 0x41b34]
mov eax, dword [rcx + rax*4 + 0x41afc]
add rax, rcx
jmp rax
mov rax, qword [rsp + 0x90]
mov edx, dword [rax + 0x14]
mov rcx, qword [rsp + 0x90]
call fcn.14003ab80
nop
jmp 0x140041539
mov rax, qword [rsp + 0x90]
mov edx, dword [rax + 0x90]
mov rcx, qword [rsp + 0x90]
call fcn.14003ab80
nop
jmp 0x1400415e4
mov rax, qword [rsp + 0x90]
mov edx, dword [rax + 0x14]
mov rcx, qword [rsp + 0x90]
call fcn.14003ab80
nop
jmp 0x1400416e6
jmp case.default.0x140041834
mov dword [rsp + 0x20], 7
mov rcx, qword [rsp + 0x90]
call fcn.14003cd30
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x30]
sub eax, 0x30
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 9
ja case.default.0x140041625
movsxd rax, dword [rsp + 0x30]
lea rcx, [0x140000000]
mov eax, dword [rcx + rax*4 + 0x41b6c]
add rax, rcx
jmp rax
mov rax, qword [rsp + 0x90]
mov edx, dword [rax + 0x14]
mov rcx, qword [rsp + 0x90]
call fcn.14003ab80
nop
jmp 0x140041661
mov rax, qword [rsp + 0x90]
lea rcx, str.invalid_number__expected_digit_after_.
mov qword [rax + 0x70], rcx
mov eax, 0xe
jmp 0x140041a95
mov rcx, qword [rsp + 0x90]
call fcn.14003cd30
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 0x34]
sub eax, 0x30
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0x35
ja case.0x1400416a2.58
movsxd rax, dword [rsp + 0x34]
lea rcx, [0x140000000]
movzx eax, byte [rcx + rax + 0x41bc8]
mov eax, dword [rcx + rax*4 + 0x41b94]
add rax, rcx
jmp rax
mov rax, qword [rsp + 0x90]
mov edx, dword [rax + 0x14]
mov rcx, qword [rsp + 0x90]
call fcn.14003ab80
nop
jmp 0x140041661
mov rax, qword [rsp + 0x90]
mov edx, dword [rax + 0x14]
mov rcx, qword [rsp + 0x90]
call fcn.14003ab80
nop
jmp 0x1400416e6
jmp case.default.0x140041834
mov dword [rsp + 0x20], 7
mov rcx, qword [rsp + 0x90]
call fcn.14003cd30
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x38]
sub eax, 0x2b
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 0xe
ja case.0x140041727.44
movsxd rax, dword [rsp + 0x38]
lea rcx, [0x140000000]
mov eax, dword [rcx + rax*4 + 0x41c00]
add rax, rcx
jmp rax
mov rax, qword [rsp + 0x90]
mov edx, dword [rax + 0x14]
mov rcx, qword [rsp + 0x90]
call fcn.14003ab80
nop
jmp 0x140041786
mov rax, qword [rsp + 0x90]
mov edx, dword [rax + 0x14]
mov rcx, qword [rsp + 0x90]
call fcn.14003ab80
nop
jmp 0x1400417fb
mov rax, qword [rsp + 0x90]
lea rcx, str.invalid_number__expected______or_digit_after_exponent
mov qword [rax + 0x70], rcx
mov eax, 0xe
jmp 0x140041a95
mov rcx, qword [rsp + 0x90]
call fcn.14003cd30
mov dword [rsp + 0x3c], eax
mov eax, dword [rsp + 0x3c]
sub eax, 0x30
mov dword [rsp + 0x3c], eax
cmp dword [rsp + 0x3c], 9
ja case.default.0x1400417bf
movsxd rax, dword [rsp + 0x3c]
lea rcx, [0x140000000]
mov eax, dword [rcx + rax*4 + 0x41c3c]
add rax, rcx
jmp rax
mov rax, qword [rsp + 0x90]
mov edx, dword [rax + 0x14]
mov rcx, qword [rsp + 0x90]
call fcn.14003ab80
nop
jmp 0x1400417fb
mov rax, qword [rsp + 0x90]
lea rcx, str.invalid_number__expected_digit_after_exponent_sign
mov qword [rax + 0x70], rcx
mov eax, 0xe
jmp 0x140041a95
mov rcx, qword [rsp + 0x90]
call fcn.14003cd30
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x40]
sub eax, 0x30
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 9
ja case.default.0x140041834
movsxd rax, dword [rsp + 0x40]
lea rcx, [0x140000000]
mov eax, dword [rcx + rax*4 + 0x41c64]
add rax, rcx
jmp rax
mov rax, qword [rsp + 0x90]
mov edx, dword [rax + 0x14]
mov rcx, qword [rsp + 0x90]
call fcn.14003ab80
nop
jmp 0x1400417fb
mov rcx, qword [rsp + 0x90]
call fcn.140043bd0
mov qword [rsp + 0x48], 0
call sub.api_ms_win_crt_runtime_l1_1_0.dll__errno
mov dword [rax], 0
cmp dword [rsp + 0x20], 5
jne 0x140041943
mov rax, qword [rsp + 0x90]
add rax, 0x50
mov rcx, rax
call fcn.140004f70
mov r8d, 0xa
lea rdx, [rsp + 0x48]
mov rcx, rax
call sub.api_ms_win_crt_convert_l1_1_0.dll_strtoull
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x90]
add rax, 0x50
mov rcx, rax
call fcn.140004f70
mov qword [rsp + 0x60], rax
mov rcx, qword [rsp + 0x90]
add rcx, 0x50
call fcn.140005130
mov rcx, qword [rsp + 0x60]
add rcx, rax
mov rax, rcx
cmp qword [rsp + 0x48], rax
je 0x140041900
mov r8d, 0x21b5
lea rdx, str.C:UsersBronTZxxxDocumentsBTZXXX_CSCS2_Externaljson.h
lea rcx, str.endptr__token_buffer.data____token_buffer.size__
call sub.api_ms_win_crt_runtime_l1_1_0.dll__wassert
xor eax, eax
call sub.api_ms_win_crt_runtime_l1_1_0.dll__errno
cmp dword [rax], 0
jne 0x14004193e
mov rax, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x50]
mov qword [rax + 0x80], rcx
mov rax, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x50]
cmp qword [rax + 0x80], rcx
jne 0x14004193e
mov eax, 5
jmp 0x140041a95
jmp 0x140041a09
cmp dword [rsp + 0x20], 6
jne 0x140041a09
mov rax, qword [rsp + 0x90]
add rax, 0x50
mov rcx, rax
call fcn.140004f70
mov r8d, 0xa
lea rdx, [rsp + 0x48]
mov rcx, rax
call sub.api_ms_win_crt_convert_l1_1_0.dll_strtoll
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x90]
add rax, 0x50
mov rcx, rax
call fcn.140004f70
mov qword [rsp + 0x68], rax
mov rcx, qword [rsp + 0x90]
add rcx, 0x50
call fcn.140005130
mov rcx, qword [rsp + 0x68]
add rcx, rax
mov rax, rcx
cmp qword [rsp + 0x48], rax
je 0x1400419d1
mov r8d, 0x21c5
lea rdx, str.C:UsersBronTZxxxDocumentsBTZXXX_CSCS2_Externaljson.h
lea rcx, str.endptr__token_buffer.data____token_buffer.size__
call sub.api_ms_win_crt_runtime_l1_1_0.dll__wassert
xor eax, eax
call sub.api_ms_win_crt_runtime_l1_1_0.dll__errno
cmp dword [rax], 0
jne 0x140041a09
mov rax, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x58]
mov qword [rax + 0x78], rcx
mov rax, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x58]
cmp qword [rax + 0x78], rcx
jne 0x140041a09
mov eax, 6
jmp 0x140041a95
mov rax, qword [rsp + 0x90]
add rax, 0x50
mov rcx, rax
call fcn.140004f70
mov rcx, qword [rsp + 0x90]
add rcx, 0x88
lea r8, [rsp + 0x48]
mov rdx, rax
call fcn.140043950
mov rax, qword [rsp + 0x90]
add rax, 0x50
mov rcx, rax
call fcn.140004f70
mov qword [rsp + 0x70], rax
mov rcx, qword [rsp + 0x90]
add rcx, 0x50
call fcn.140005130
mov rcx, qword [rsp + 0x70]
add rcx, rax
mov rax, rcx
cmp qword [rsp + 0x48], rax
je 0x140041a90
mov r8d, 0x21d6
lea rdx, str.C:UsersBronTZxxxDocumentsBTZXXX_CSCS2_Externaljson.h
lea rcx, str.endptr__token_buffer.data____token_buffer.size__
call sub.api_ms_win_crt_runtime_l1_1_0.dll__wassert
xor eax, eax
mov eax, 7
add rsp, 0x88
ret