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

Disassembly:
mov qword [rsp + 0x18], r8
mov byte [rsp + 0x10], dl
mov qword [rsp + 8], rcx
sub rsp, 0x2a8
mov rax, qword [0x140298e80]
xor rax, rsp
mov qword [rsp + 0x298], rax
mov rcx, qword [rsp + 0x2c0]
call fcn.1400504e0
movzx eax, al
test eax, eax
jne 0x1400516bc
mov rax, qword [rsp + 0x2c0]
add rax, 8
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x2c0]
movzx edx, byte [rax]
mov rcx, qword [rsp + 0x48]
call fcn.14004c330
mov rax, qword [rsp + 0x2c0]
mov byte [rax], 8
mov rax, qword [rsp + 0x2b0]
mov eax, dword [rax + 0x48]
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x24]
dec eax
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0xd
ja case.0x1400516f6.10
movsxd rax, dword [rsp + 0x24]
lea rcx, [0x140000000]
mov eax, dword [rcx + rax*4 + 0x523e4]
add rax, rcx
jmp rax
movzx eax, byte [rsp + 0x2b8]
test eax, eax
je 0x1400517cf
mov rax, qword [rsp + 0x2b0]
add rax, 8
mov rcx, rax
call fcn.140025a90
movzx eax, al
test eax, eax
je 0x140051780
mov rax, qword [rsp + 0x2b0]
add rax, 8
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x2b0]
mov eax, dword [rax]
mov dword [rsp + 0x3c], eax
mov rax, qword [rsp + 0x2b0]
mov eax, dword [rax]
inc eax
mov dword [rsp + 0x38], eax
mov rax, qword [rsp + 0x2b0]
mov ecx, dword [rsp + 0x38]
mov dword [rax], ecx
mov r9, qword [rsp + 0x2c0]
xor r8d, r8d
mov edx, dword [rsp + 0x3c]
mov rcx, qword [rsp + 0x50]
call fcn.14002e4c0
mov byte [rsp + 0x2b8], al
mov rax, qword [rsp + 0x2b0]
add rax, 8
mov rcx, rax
call fcn.140025a90
movzx eax, al
test eax, eax
je 0x1400517a7
movzx eax, byte [rsp + 0x2b8]
test eax, eax
je 0x1400517cf
mov rax, qword [rsp + 0x2c0]
mov byte [rax], 1
mov dl, 1
lea rcx, [rsp + 0x58]
call fcn.140024610
mov rax, qword [rsp + 0x2c0]
mov rcx, qword [rsp + 0x58]
mov qword [rax + 8], rcx
mov rcx, qword [rsp + 0x2b0]
call fcn.14004f130
mov rax, qword [rsp + 0x2b0]
cmp dword [rax + 0x48], 0xb
jne 0x1400518a2
movzx eax, byte [rsp + 0x2b8]
test eax, eax
je 0x14005189d
mov rax, qword [rsp + 0x2b0]
add rax, 8
mov rcx, rax
call fcn.140025a90
movzx eax, al
test eax, eax
je 0x14005189d
mov rax, qword [rsp + 0x2b0]
add rax, 8
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x2b0]
mov eax, dword [rax]
dec eax
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x2b0]
mov ecx, dword [rsp + 0x28]
mov dword [rax], ecx
mov r9, qword [rsp + 0x2c0]
mov r8b, 1
mov edx, dword [rsp + 0x28]
mov rcx, qword [rsp + 0x60]
call fcn.14002e4c0
movzx eax, al
test eax, eax
jne 0x14005189d
mov rax, qword [rsp + 0x2c0]
add rax, 8
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x2c0]
movzx edx, byte [rax]
mov rcx, qword [rsp + 0x68]
call fcn.14004c330
mov rax, qword [rsp + 0x2c0]
mov byte [rax], 8
jmp 0x14005235c
lea rcx, [rsp + 0x268]
call fcn.14000e340
nop
xor edx, edx
lea rcx, [rsp + 0x248]
call fcn.140022cf0
nop
xor eax, eax
cmp eax, 1
je 0x140051b6a
mov edx, 4
mov rcx, qword [rsp + 0x2b0]
call fcn.14004e6e0
movzx eax, al
test eax, eax
jne 0x140051904
lea rcx, [rsp + 0x248]
call fcn.140024e40
nop
lea rcx, [rsp + 0x268]
call fcn.14000fe40
jmp 0x1400523cb
mov rax, qword [rsp + 0x2b0]
add rax, 0x50
mov qword [rsp + 0x70], rax
lea rdx, [rsp + 0x170]
mov rcx, qword [rsp + 0x70]
call fcn.140050990
mov qword [rsp + 0x78], rax
mov rdx, qword [rsp + 0x78]
lea rcx, [rsp + 0x268]
call fcn.140025460
lea rcx, [rsp + 0x170]
call fcn.14000fe40
mov byte [rsp + 0x20], 0
movzx eax, byte [rsp + 0x2b8]
test eax, eax
je 0x1400519db
mov rax, qword [rsp + 0x2b0]
add rax, 8
mov rcx, rax
call fcn.140025a90
movzx eax, al
test eax, eax
je 0x1400519d6
lea rdx, [rsp + 0x268]
lea rcx, [rsp + 0x288]
call fcn.14001cee0
nop
mov rax, qword [rsp + 0x2b0]
add rax, 8
mov qword [rsp + 0x80], rax
lea r9, [rsp + 0x288]
mov r8b, 4
mov rax, qword [rsp + 0x2b0]
mov edx, dword [rax]
mov rcx, qword [rsp + 0x80]
call fcn.14002e4c0
mov byte [rsp + 0x20], al
lea rcx, [rsp + 0x288]
call fcn.140024e40
jmp 0x1400519db
mov byte [rsp + 0x20], 1
mov rcx, qword [rsp + 0x2b0]
call fcn.14004f130
mov edx, ntohs
mov rcx, qword [rsp + 0x2b0]
call fcn.14004e6e0
movzx eax, al
test eax, eax
jne 0x140051a21
lea rcx, [rsp + 0x248]
call fcn.140024e40
nop
lea rcx, [rsp + 0x268]
call fcn.14000fe40
jmp 0x1400523cb
mov rcx, qword [rsp + 0x2b0]
call fcn.14004f130
movzx edx, byte [rsp + 0x248]
lea rcx, [rsp + 0x250]
call fcn.14004c330
mov byte [rsp + 0x248], 8
lea r8, [rsp + 0x248]
movzx edx, byte [rsp + 0x2b8]
mov rcx, qword [rsp + 0x2b0]
call fcn.140051650
mov rax, qword [rsp + 0x2b0]
movzx eax, byte [rax + 0xd0]
test eax, eax
je 0x140051a9b
lea rcx, [rsp + 0x248]
call fcn.140024e40
nop
lea rcx, [rsp + 0x268]
call fcn.14000fe40
jmp 0x1400523cb
movzx eax, byte [rsp + 0x2b8]
test eax, eax
je 0x140051afd
movzx eax, byte [rsp + 0x20]
test eax, eax
je 0x140051afd
lea rcx, [rsp + 0x248]
call fcn.1400504e0
movzx eax, al
test eax, eax
jne 0x140051afd
mov rax, qword [rsp + 0x2c0]
mov rax, qword [rax + 8]
mov qword [rsp + 0x88], rax
lea r9, [rsp + 0x248]
lea r8, [rsp + 0x268]
lea rdx, [rsp + 0x160]
mov rcx, qword [rsp + 0x88]
call fcn.1400218a0
mov rcx, qword [rsp + 0x2b0]
call fcn.14004f130
mov rax, qword [rsp + 0x2b0]
cmp dword [rax + 0x48], 0xd
jne 0x140051b2a
mov rcx, qword [rsp + 0x2b0]
call fcn.14004f130
jmp 0x1400518c0
mov edx, reloc.WS2_32.dll_inet_addr
mov rcx, qword [rsp + 0x2b0]
call fcn.14004e6e0
movzx eax, al
test eax, eax
jne 0x140051b63
lea rcx, [rsp + 0x248]
call fcn.140024e40
nop
lea rcx, [rsp + 0x268]
call fcn.14000fe40
jmp 0x1400523cb
jmp 0x140051b6a
movzx eax, byte [rsp + 0x2b8]
test eax, eax
je 0x140051c25
mov rax, qword [rsp + 0x2b0]
add rax, 8
mov rcx, rax
call fcn.140025a90
movzx eax, al
test eax, eax
je 0x140051c25
mov rax, qword [rsp + 0x2b0]
add rax, 8
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x2b0]
mov eax, dword [rax]
dec eax
mov dword [rsp + 0x2c], eax
mov rax, qword [rsp + 0x2b0]
mov ecx, dword [rsp + 0x2c]
mov dword [rax], ecx
mov r9, qword [rsp + 0x2c0]
mov r8b, 1
mov edx, dword [rsp + 0x2c]
mov rcx, qword [rsp + 0x90]
call fcn.14002e4c0
movzx eax, al
test eax, eax
jne 0x140051c25
mov rax, qword [rsp + 0x2c0]
add rax, 8
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x2c0]
movzx edx, byte [rax]
mov rcx, qword [rsp + 0x98]
call fcn.14004c330
mov rax, qword [rsp + 0x2c0]
mov byte [rax], 8
lea rcx, [rsp + 0x248]
call fcn.140024e40
nop
lea rcx, [rsp + 0x268]
call fcn.14000fe40
jmp 0x14005235c
movzx eax, byte [rsp + 0x2b8]
test eax, eax
je 0x140051d43
mov rax, qword [rsp + 0x2b0]
add rax, 8
mov rcx, rax
call fcn.140025a90
movzx eax, al
test eax, eax
je 0x140051cee
mov rax, qword [rsp + 0x2b0]
add rax, 8
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0x2b0]
mov eax, dword [rax]
mov dword [rsp + 0x44], eax
mov rax, qword [rsp + 0x2b0]
mov eax, dword [rax]
inc eax
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0x2b0]
mov ecx, dword [rsp + 0x40]
mov dword [rax], ecx
mov r9, qword [rsp + 0x2c0]
mov r8b, 2
mov edx, dword [rsp + 0x44]
mov rcx, qword [rsp + 0xa0]
call fcn.14002e4c0
mov byte [rsp + 0x2b8], al
mov rax, qword [rsp + 0x2b0]
add rax, 8
mov rcx, rax
call fcn.140025a90
movzx eax, al
test eax, eax
je 0x140051d15
movzx eax, byte [rsp + 0x2b8]
test eax, eax
je 0x140051d43
mov rax, qword [rsp + 0x2c0]
mov byte [rax], 2
mov dl, 2
lea rcx, [rsp + 0xa8]
call fcn.140024610
mov rax, qword [rsp + 0x2c0]
mov rcx, qword [rsp + 0xa8]
mov qword [rax + 8], rcx
mov rcx, qword [rsp + 0x2b0]
call fcn.14004f130
mov rax, qword [rsp + 0x2b0]
cmp dword [rax + 0x48], 0xa
jne 0x140051e12
mov rax, qword [rsp + 0x2b0]
add rax, 8
mov rcx, rax
call fcn.140025a90
movzx eax, al
test eax, eax
je 0x140051e0d
mov rax, qword [rsp + 0x2b0]
add rax, 8
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0x2b0]
mov eax, dword [rax]
dec eax
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x2b0]
mov ecx, dword [rsp + 0x30]
mov dword [rax], ecx
mov r9, qword [rsp + 0x2c0]
mov r8b, 3
mov edx, dword [rsp + 0x30]
mov rcx, qword [rsp + 0xb0]
call fcn.14002e4c0
movzx eax, al
test eax, eax
jne 0x140051e0d
mov rax, qword [rsp + 0x2c0]
add rax, 8
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + 0x2c0]
movzx edx, byte [rax]
mov rcx, qword [rsp + 0xb8]
call fcn.14004c330
mov rax, qword [rsp + 0x2c0]
mov byte [rax], 8
jmp 0x14005235c
xor edx, edx
lea rcx, [rsp + 0x258]
call fcn.140022cf0
nop
xor eax, eax
cmp eax, 1
je 0x140051f34
movzx edx, byte [rsp + 0x258]
lea rcx, [rsp + 0x260]
call fcn.14004c330
mov byte [rsp + 0x258], 8
lea r8, [rsp + 0x258]
movzx edx, byte [rsp + 0x2b8]
mov rcx, qword [rsp + 0x2b0]
call fcn.140051650
mov rax, qword [rsp + 0x2b0]
movzx eax, byte [rax + 0xd0]
test eax, eax
je 0x140051e8c
lea rcx, [rsp + 0x258]
call fcn.140024e40
jmp 0x1400523cb
movzx eax, byte [rsp + 0x2b8]
test eax, eax
je 0x140051ed5
lea rcx, [rsp + 0x258]
call fcn.1400504e0
movzx eax, al
test eax, eax
jne 0x140051ed5
mov rax, qword [rsp + 0x2c0]
mov rax, qword [rax + 8]
mov qword [rsp + 0xc0], rax
lea rdx, [rsp + 0x258]
mov rcx, qword [rsp + 0xc0]
call fcn.140052790
mov rcx, qword [rsp + 0x2b0]
call fcn.14004f130
mov rax, qword [rsp + 0x2b0]
cmp dword [rax + 0x48], 0xd
jne 0x140051f02
mov rcx, qword [rsp + 0x2b0]
call fcn.14004f130
jmp 0x140051e22
mov edx, 0xa
mov rcx, qword [rsp + 0x2b0]
call fcn.14004e6e0
movzx eax, al
test eax, eax
jne 0x140051f2d
lea rcx, [rsp + 0x258]
call fcn.140024e40
jmp 0x1400523cb
jmp 0x140051f34
movzx eax, byte [rsp + 0x2b8]
test eax, eax
je 0x140051fef
mov rax, qword [rsp + 0x2b0]
add rax, 8
mov rcx, rax
call fcn.140025a90
movzx eax, al
test eax, eax
je 0x140051fef
mov rax, qword [rsp + 0x2b0]
add rax, 8
mov qword [rsp + 0xc8], rax
mov rax, qword [rsp + 0x2b0]
mov eax, dword [rax]
dec eax
mov dword [rsp + 0x34], eax
mov rax, qword [rsp + 0x2b0]
mov ecx, dword [rsp + 0x34]
mov dword [rax], ecx
mov r9, qword [rsp + 0x2c0]
mov r8b, 3
mov edx, dword [rsp + 0x34]
mov rcx, qword [rsp + 0xc8]
call fcn.14002e4c0
movzx eax, al
test eax, eax
jne 0x140051fef
mov rax, qword [rsp + 0x2c0]
add rax, 8
mov qword [rsp + 0xd0], rax
mov rax, qword [rsp + 0x2c0]
movzx edx, byte [rax]
mov rcx, qword [rsp + 0xd0]
call fcn.14004c330
mov rax, qword [rsp + 0x2c0]
mov byte [rax], 8
lea rcx, [rsp + 0x258]
call fcn.140024e40
jmp 0x14005235c
mov rax, qword [rsp + 0x2c0]
mov byte [rax], 0
jmp 0x14005235c
mov rax, qword [rsp + 0x2c0]
mov byte [rax], 3
mov rax, qword [rsp + 0x2b0]
add rax, 0x50
mov qword [rsp + 0xd8], rax
lea rdx, [rsp + 0x190]
mov rcx, qword [rsp + 0xd8]
call fcn.140050990
mov qword [rsp + 0xe0], rax
mov rax, qword [rsp + 0xe0]
mov qword [rsp + 0xe8], rax
mov rdx, qword [rsp + 0xe8]
lea rcx, [rsp + 0xf0]
call fcn.140024590
mov rax, qword [rsp + 0x2c0]
mov rcx, qword [rsp + 0xf0]
mov qword [rax + 8], rcx
lea rcx, [rsp + 0x190]
call fcn.14000fe40
jmp 0x14005235c
mov rax, qword [rsp + 0x2c0]
mov byte [rax], 4
mov dl, 1
lea rcx, [rsp + 0xf8]
call fcn.1400229e0
mov rax, qword [rsp + 0x2c0]
mov rcx, qword [rsp + 0xf8]
mov qword [rax + 8], rcx
jmp 0x14005235c
mov rax, qword [rsp + 0x2c0]
mov byte [rax], 4
xor edx, edx
lea rcx, [rsp + 0x100]
call fcn.1400229e0
mov rax, qword [rsp + 0x2c0]
mov rcx, qword [rsp + 0x100]
mov qword [rax + 8], rcx
jmp 0x14005235c
mov rax, qword [rsp + 0x2c0]
mov byte [rax], 6
mov rax, qword [rsp + 0x2b0]
add rax, 0x50
mov rcx, rax
call fcn.14004f110
mov rdx, rax
lea rcx, [rsp + 0x108]
call fcn.140007140
mov rax, qword [rsp + 0x2c0]
mov rcx, qword [rsp + 0x108]
mov qword [rax + 8], rcx
jmp 0x14005235c
mov rax, qword [rsp + 0x2c0]
mov byte [rax], 5
mov rax, qword [rsp + 0x2b0]
add rax, 0x50
mov rcx, rax
call fcn.14004f100
mov rdx, rax
lea rcx, [rsp + 0x110]
call fcn.140007140
mov rax, qword [rsp + 0x2c0]
mov rcx, qword [rsp + 0x110]
mov qword [rax + 8], rcx
jmp 0x14005235c
mov rax, qword [rsp + 0x2c0]
mov byte [rax], 7
mov rax, qword [rsp + 0x2b0]
add rax, 0x50
mov rcx, rax
call fcn.14004f0f0
movaps xmm1, xmm0
lea rcx, [rsp + 0x118]
call fcn.1400245f0
mov rax, qword [rsp + 0x2c0]
mov rcx, qword [rsp + 0x118]
mov qword [rax + 8], rcx
mov rax, qword [rsp + 0x2c0]
movsd xmm0, qword [rax + 8]
call fcn.1400221b0
movzx eax, al
test eax, eax
jne 0x140052322
mov rax, qword [rsp + 0x2b0]
movzx eax, byte [rax + 0xd8]
test eax, eax
je 0x140052313
mov rax, qword [rsp + 0x2b0]
add rax, 0x50
mov qword [rsp + 0x120], rax
lea rdx, [rsp + 0x1f0]
mov rcx, qword [rsp + 0x120]
call fcn.14004f170
mov qword [rsp + 0x128], rax
mov rax, qword [rsp + 0x128]
mov qword [rsp + 0x130], rax
mov r8, qword [rsp + 0x130]
lea rdx, str.number_overflow_parsing_
lea rcx, [rsp + 0x1d0]
call fcn.14001d910
mov qword [rsp + 0x138], rax
mov rax, qword [rsp + 0x138]
mov qword [rsp + 0x140], rax
lea r8, [0x1401e8210]
mov rdx, qword [rsp + 0x140]
lea rcx, [rsp + 0x1b0]
call fcn.14001d8c0
mov qword [rsp + 0x148], rax
mov rax, qword [rsp + 0x148]
mov qword [rsp + 0x150], rax
mov r8, qword [rsp + 0x150]
mov edx, 0x196
lea rcx, [rsp + 0x210]
call fcn.14004a690
lea rdx, [0x140277be8]
lea rcx, [rsp + 0x210]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
lea rcx, [rsp + 0x1b0]
call fcn.14000fe40
lea rcx, [rsp + 0x1d0]
call fcn.14000fe40
lea rcx, [rsp + 0x1f0]
call fcn.14000fe40
nop
xor edx, edx
mov rcx, qword [rsp + 0x2b0]
call fcn.14004e6e0
jmp 0x14005235c
xor edx, edx
mov rcx, qword [rsp + 0x2b0]
call fcn.14004e6e0
movzx eax, al
test eax, eax
jne 0x14005233f
jmp 0x1400523cb
jmp 0x14005235c
mov edx, reloc.WS2_32.dll_recv
mov rcx, qword [rsp + 0x2b0]
call fcn.14004e6e0
movzx eax, al
test eax, eax
jne 0x14005235c
jmp 0x1400523cb
movzx eax, byte [rsp + 0x2b8]
test eax, eax
je 0x1400523cb
mov rax, qword [rsp + 0x2b0]
add rax, 8
mov rcx, rax
call fcn.140025a90
movzx eax, al
test eax, eax
je 0x1400523cb
mov rax, qword [rsp + 0x2b0]
add rax, 8
mov qword [rsp + 0x158], rax
mov r9, qword [rsp + 0x2c0]
mov r8b, 5
mov rax, qword [rsp + 0x2b0]
mov edx, dword [rax]
mov rcx, qword [rsp + 0x158]
call fcn.14002e4c0
movzx eax, al
test eax, eax
jne 0x1400523cb
mov rax, qword [rsp + 0x2c0]
mov byte [rax], 8
mov rcx, qword [rsp + 0x298]
xor rcx, rsp
call fcn.1401dae20
add rsp, 0x2a8
ret