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

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov rax, qword [0x18047d0c0]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rcx, qword [rsp + 0x80]
call fcn.180042410
mov dword [rsp + 0x20], 5
mov rax, qword [rsp + 0x80]
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.0x180040854.46
movsxd rax, dword [rsp + 0x24]
lea rcx, [0x180000000]
mov eax, dword [rcx + rax*4 + 0x40e34]
add rax, rcx
jmp rax
mov rax, qword [rsp + 0x80]
mov edx, dword [rax + 0x14]
mov rcx, qword [rsp + 0x80]
call fcn.180042260
nop
jmp case.0x180040854.46
mov rax, qword [rsp + 0x80]
mov edx, dword [rax + 0x14]
mov rcx, qword [rsp + 0x80]
call fcn.180042260
nop
jmp 0x180040959
mov rax, qword [rsp + 0x80]
mov edx, dword [rax + 0x14]
mov rcx, qword [rsp + 0x80]
call fcn.180042260
nop
jmp 0x1800409d4
mov dword [rsp + 0x20], 6
mov rcx, qword [rsp + 0x80]
call fcn.180042330
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.0x1800408fa
movsxd rax, dword [rsp + 0x28]
lea rcx, [0x180000000]
mov eax, dword [rcx + rax*4 + 0x40e68]
add rax, rcx
jmp rax
mov rax, qword [rsp + 0x80]
mov edx, dword [rax + 0x14]
mov rcx, qword [rsp + 0x80]
call fcn.180042260
nop
jmp 0x180040959
mov rax, qword [rsp + 0x80]
mov edx, dword [rax + 0x14]
mov rcx, qword [rsp + 0x80]
call fcn.180042260
nop
jmp 0x1800409d4
mov rax, qword [rsp + 0x80]
lea rcx, str.invalid_number__expected_digit_after__
mov qword [rax + 0x70], rcx
mov eax, reloc.WS2_32.dll_ntohl
jmp 0x180040e22
mov rcx, qword [rsp + 0x80]
call fcn.180042330
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 0x2e
je 0x180040981
cmp dword [rsp + 0x44], 0x45
je 0x1800409a7
cmp dword [rsp + 0x44], 0x65
je 0x1800409a7
jmp 0x1800409ca
mov rax, qword [rsp + 0x80]
mov edx, dword [rax + 0x90]
mov rcx, qword [rsp + 0x80]
call fcn.180042260
nop
jmp 0x180040a7f
mov rax, qword [rsp + 0x80]
mov edx, dword [rax + 0x14]
mov rcx, qword [rsp + 0x80]
call fcn.180042260
nop
jmp 0x180040b81
jmp case.default.0x180040ccf
mov rcx, qword [rsp + 0x80]
call fcn.180042330
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.0x180040a15.47
movsxd rax, dword [rsp + 0x2c]
lea rcx, [0x180000000]
movzx eax, byte [rcx + rax + 0x40ec8]
mov eax, dword [rcx + rax*4 + 0x40e90]
add rax, rcx
jmp rax
mov rax, qword [rsp + 0x80]
mov edx, dword [rax + 0x14]
mov rcx, qword [rsp + 0x80]
call fcn.180042260
nop
jmp 0x1800409d4
mov rax, qword [rsp + 0x80]
mov edx, dword [rax + 0x90]
mov rcx, qword [rsp + 0x80]
call fcn.180042260
nop
jmp 0x180040a7f
mov rax, qword [rsp + 0x80]
mov edx, dword [rax + 0x14]
mov rcx, qword [rsp + 0x80]
call fcn.180042260
nop
jmp 0x180040b81
jmp case.default.0x180040ccf
mov dword [rsp + 0x20], 7
mov rcx, qword [rsp + 0x80]
call fcn.180042330
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.0x180040ac0
movsxd rax, dword [rsp + 0x30]
lea rcx, [0x180000000]
mov eax, dword [rcx + rax*4 + 0x40f00]
add rax, rcx
jmp rax
mov rax, qword [rsp + 0x80]
mov edx, dword [rax + 0x14]
mov rcx, qword [rsp + 0x80]
call fcn.180042260
nop
jmp 0x180040afc
mov rax, qword [rsp + 0x80]
lea rcx, str.invalid_number__expected_digit_after_.
mov qword [rax + 0x70], rcx
mov eax, reloc.WS2_32.dll_ntohl
jmp 0x180040e22
mov rcx, qword [rsp + 0x80]
call fcn.180042330
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.0x180040b3d.58
movsxd rax, dword [rsp + 0x34]
lea rcx, [0x180000000]
movzx eax, byte [rcx + rax + 0x40f5c]
mov eax, dword [rcx + rax*4 + 0x40f28]
add rax, rcx
jmp rax
mov rax, qword [rsp + 0x80]
mov edx, dword [rax + 0x14]
mov rcx, qword [rsp + 0x80]
call fcn.180042260
nop
jmp 0x180040afc
mov rax, qword [rsp + 0x80]
mov edx, dword [rax + 0x14]
mov rcx, qword [rsp + 0x80]
call fcn.180042260
nop
jmp 0x180040b81
jmp case.default.0x180040ccf
mov dword [rsp + 0x20], 7
mov rcx, qword [rsp + 0x80]
call fcn.180042330
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.0x180040bc2.44
movsxd rax, dword [rsp + 0x38]
lea rcx, [0x180000000]
mov eax, dword [rcx + rax*4 + 0x40f94]
add rax, rcx
jmp rax
mov rax, qword [rsp + 0x80]
mov edx, dword [rax + 0x14]
mov rcx, qword [rsp + 0x80]
call fcn.180042260
nop
jmp 0x180040c21
mov rax, qword [rsp + 0x80]
mov edx, dword [rax + 0x14]
mov rcx, qword [rsp + 0x80]
call fcn.180042260
nop
jmp 0x180040c96
mov rax, qword [rsp + 0x80]
lea rcx, str.invalid_number__expected______or_digit_after_exponent
mov qword [rax + 0x70], rcx
mov eax, reloc.WS2_32.dll_ntohl
jmp 0x180040e22
mov rcx, qword [rsp + 0x80]
call fcn.180042330
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.0x180040c5a
movsxd rax, dword [rsp + 0x3c]
lea rcx, [0x180000000]
mov eax, dword [rcx + rax*4 + 0x40fd0]
add rax, rcx
jmp rax
mov rax, qword [rsp + 0x80]
mov edx, dword [rax + 0x14]
mov rcx, qword [rsp + 0x80]
call fcn.180042260
nop
jmp 0x180040c96
mov rax, qword [rsp + 0x80]
lea rcx, str.invalid_number__expected_digit_after_exponent_sign
mov qword [rax + 0x70], rcx
mov eax, reloc.WS2_32.dll_ntohl
jmp 0x180040e22
mov rcx, qword [rsp + 0x80]
call fcn.180042330
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.0x180040ccf
movsxd rax, dword [rsp + 0x40]
lea rcx, [0x180000000]
mov eax, dword [rcx + rax*4 + 0x40ff8]
add rax, rcx
jmp rax
mov rax, qword [rsp + 0x80]
mov edx, dword [rax + 0x14]
mov rcx, qword [rsp + 0x80]
call fcn.180042260
nop
jmp 0x180040c96
mov rcx, qword [rsp + 0x80]
call fcn.180042290
mov qword [rsp + 0x58], 0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov dword [rax], 0
cmp dword [rsp + 0x20], 5
jne 0x180040d83
mov rax, qword [rsp + 0x80]
add rax, 0x50
mov rcx, rax
call fcn.1800216a0
mov r8d, 0xa
lea rdx, [rsp + 0x58]
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_strtoull]
mov qword [rsp + 0x48], rax
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
cmp dword [rax], 0
jne 0x180040d81
mov rax, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x48]
mov qword [rax + 0x80], rcx
mov rax, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x48]
cmp qword [rax + 0x80], rcx
jne 0x180040d81
mov eax, 5
jmp 0x180040e22
jmp 0x180040ded
cmp dword [rsp + 0x20], 6
jne 0x180040ded
mov rax, qword [rsp + 0x80]
add rax, 0x50
mov rcx, rax
call fcn.1800216a0
mov r8d, 0xa
lea rdx, [rsp + 0x58]
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_strtoll]
mov qword [rsp + 0x50], rax
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
cmp dword [rax], 0
jne 0x180040ded
mov rax, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x50]
mov qword [rax + 0x78], rcx
mov rax, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x50]
cmp qword [rax + 0x78], rcx
jne 0x180040ded
mov eax, 6
jmp 0x180040e22
mov rax, qword [rsp + 0x80]
add rax, 0x50
mov rcx, rax
call fcn.1800216a0
mov rcx, qword [rsp + 0x80]
add rcx, 0x88
lea r8, [rsp + 0x58]
mov rdx, rax
call fcn.180042470
mov eax, 7
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1800c00c0
add rsp, 0x78
ret