Function at 0x1801a3850
Capabilities:
Convert ip address from string

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xb8]
sub rsp, 0x1b8
mov rax, qword [0x180290300]
xor rax, rsp
mov qword [rbp + 0xa0], rax
mov rdi, qword [rbp + 0x128]
mov rax, qword [rbp + 0x130]
movsxd r14, dword [rbp + 0x120]
mov qword [rbp - 0x80], rax
movabs rax, 0x6e776f6e6b6e75
mov rbx, qword [rdi + 0x18]
mov rsi, qword [rdi + 0xd38]
mov qword [rsp + 0x38], r8
mov r8d, 0xf8
mov qword [rbp - 0x78], rdx
xor edx, edx
mov qword [rsp + 0x70], rcx
lea rcx, [rbp - 0x58]
mov qword [rbp - 0x60], rax
mov dword [rsp + 0x40], r9d
mov dword [rsp + 0x68], r14d
call sub.VCRUNTIME140.dll_memset
mov edx, dword [rbx + 0x104]
mov r8, 0xffffffffffffffff
mov rax, qword [rbx + r14*8 + 0x1e8]
cmp edx, 5
mov r10, qword [rsp + 0x38]
mov r13, r8
sete byte [rsp + 0x31]
mov qword [rsp + 0x60], rax
mov dword [rsp + 0x78], edx
inc r13
cmp byte [r10 + r13], 0
jne 0x1801a3906
mov r15d, dword [rdi + 0x21c]
lea r9, [0x180000000]
xor r14d, r14d
mov qword [rsp + 0x58], r14
mov eax, dword [rbx]
mov byte [rsp + 0x30], r14b
lea r12d, [r14 + 0xa]
cmp eax, 1
jl 0x1801a3941
mov ecx, eax
cmp eax, 0x11
jl 0x1801a3a78
mov r9, qword [rbp - 0x80]
mov ecx, eax
cmp byte [r9], r14b
jne 0x1801a3a71
cmp eax, 1
je 0x1801a3a71
mov dword [rbx], 1
cmp byte [rbx + 0x3cc], r14b
je 0x1801a3983
mov r9d, dword [rsp + 0x40]
lea rdx, str.SOCKS5:_connecting_to_HTTP_proxy__s_port__d
mov r8, r10
mov rcx, rdi
call fcn.1801907c0
mov edx, dword [rsp + 0x78]
cmp edx, 5
je 0x1801a39a8
cmp r13, 0xff
jbe 0x1801a39a8
mov r8, r13
lea rdx, str.SOCKS5:_server_resolving_disabled_for_hostnames_of_length___255__actual_len_zu_
mov rcx, rdi
call fcn.1801907c0
mov byte [rsp + 0x31], 1
test r15d, 0xfffffffa
je 0x1801a39c3
mov r8d, r15d
lea rdx, str.warning:_unsupported_value_passed_to_CURLOPT_SOCKS5_AUTH:__lu
mov rcx, rdi
call fcn.1801907c0
test r15b, 1
mov byte [rsi], 5
mov rax, r14
mov byte [rsi + 2], r14b
cmovne rax, qword [rsp + 0x70]
mov ecx, 3
bt r15d, 2
mov qword [rsp + 0x70], rax
setb byte [rsp + 0x30]
bt r15d, 2
jae 0x1801a39fb
mov byte [rsi + 3], 1
mov ecx, 4
test rax, rax
je 0x1801a3a08
mov eax, ecx
inc ecx
mov byte [rax + rsi], 2
mov rdx, qword [rsp + 0x60]
lea eax, [rcx - 2]
mov byte [rsi + 1], al
mov r8, rsi
lea rax, [rsp + 0x48]
mov r15d, ecx
mov r9d, ecx
mov rcx, rdi
mov qword [rsp + 0x20], rax
call fcn.180190d90
test eax, eax
je 0x1801a3a3b
cmp eax, 0x51
jne 0x1801a3b18
mov rcx, qword [rsp + 0x48]
mov rax, qword [rdi + 0x18]
cmp rcx, r15
je 0x1801a3a93
cmp dword [rax], 2
je 0x1801a3a59
mov dword [rax], 2
mov rcx, qword [rsp + 0x48]
sub r15, rcx
mov qword [rbx + 8], r15
mov rcx, qword [rsp + 0x48]
add rcx, rsi
mov qword [rbx + 0x10], rcx
jmp 0x1801a43f7
lea r9, [0x180000000]
dec ecx
cmp ecx, 0xf
ja case.0x1801a3a91.5
movsxd rax, ecx
mov ecx, dword [r9 + rax*4 + 0x1a441c]
add rcx, r9
jmp rcx
cmp dword [rax], 4
je case.0x1801a3a91.3
mov dword [rax], 4
mov qword [rbx + 8], 2
mov qword [rbx + 0x10], rsi
mov r8, qword [rbx + 8]
lea r9, [rsp + 0x50]
mov rdx, qword [rbx + 0x10]
mov rcx, qword [rsp + 0x60]
call fcn.1801908e0
mov rcx, qword [rsp + 0x50]
test eax, eax
je 0x1801a3b58
cmp eax, 0x51
je 0x1801a3b76
lea rdx, str.Unable_to_receive_initial_SOCKS5_response.
mov rcx, rdi
call fcn.180190650
mov eax, reloc.WS2_32.dll_ntohs
jmp 0x1801a43f9
mov r9, qword [rbx + 8]
lea rax, [rsp + 0x48]
mov r8, qword [rbx + 0x10]
mov rcx, rdi
mov rdx, qword [rsp + 0x60]
mov qword [rsp + 0x20], rax
call fcn.180190d90
test eax, eax
je 0x1801a3b31
cmp eax, 0x51
je 0x1801a3b31
lea rdx, str.Unable_to_send_initial_SOCKS5_request.
mov rcx, rdi
call fcn.180190650
mov eax, 0x1d
jmp 0x1801a43f9
mov rax, qword [rbx + 8]
mov rcx, qword [rsp + 0x48]
cmp rcx, rax
je case.0x1801a3a91.3
sub rax, rcx
mov qword [rbx + 8], rax
mov rax, qword [rsp + 0x48]
add qword [rbx + 0x10], rax
jmp 0x1801a43f7
test rcx, rcx
jne 0x1801a3b76
lea rdx, str.Connection_to_proxy_closed
mov rcx, rdi
call fcn.180190650
mov eax, 3
jmp 0x1801a43f9
mov rax, qword [rbx + 8]
cmp rcx, rax
je 0x1801a3b94
sub rax, rcx
mov qword [rbx + 8], rax
mov rax, qword [rsp + 0x50]
add qword [rbx + 0x10], rax
jmp 0x1801a43f7
cmp byte [rsi], 5
je 0x1801a3bb2
lea rdx, str.Received_invalid_version_in_initial_SOCKS5_response.
mov rcx, rdi
call fcn.180190650
mov eax, 2
jmp 0x1801a43f9
movzx eax, byte [rsi + 1]
test al, al
je 0x1801a3e38
cmp al, 2
jne 0x1801a3c19
mov rax, qword [rdi + 0x18]
mov r8, 0xffffffffffffffff
cmp dword [rax], 6
je case.0x1801a3a91.6
mov dword [rax], 6
mov rax, qword [rsp + 0x70]
test rax, rax
je 0x1801a3cab
mov rcx, qword [rbp - 0x78]
test rcx, rcx
je 0x1801a3cab
mov r14, r8
inc r14
cmp byte [rax + r14], 0
jne 0x1801a3bf6
mov r15, r8
inc r15
cmp byte [rcx + r15], 0
jne 0x1801a3c03
mov byte [rsi], 1
mov byte [rsi + 1], r14b
jmp 0x1801a3cb8
cmp al, 1
jne 0x1801a3c75
cmp byte [rsp + 0x30], r14b
je 0x1801a3c5c
mov rdx, qword [rdi + 0x18]
cmp dword [rdx], 5
je 0x1801a3c33
mov dword [rdx], 5
mov ecx, dword [rsp + 0x68]
mov rdx, rdi
call fcn.1801c79d0
test eax, eax
je 0x1801a3c92
lea rdx, str.Unable_to_negotiate_SOCKS5_GSS_API_context.
mov rcx, rdi
call fcn.180190650
mov eax, 4
jmp 0x1801a43f9
lea rdx, str.SOCKS5_GSSAPI_per_message_authentication_is_not_supported.
mov rcx, rdi
call fcn.180190650
mov eax, 5
jmp 0x1801a43f9
cmp al, 0xff
jne 0x1801a3c92
lea rdx, str.No_authentication_method_was_acceptable.
mov rcx, rdi
call fcn.180190650
mov eax, ntohs
jmp 0x1801a43f9
lea rdx, str.Undocumented_SOCKS5_mode_attempted_to_be_used_by_server.
mov rcx, rdi
call fcn.180190650
mov eax, 0x20
jmp 0x1801a43f9
mov word [rsi], 1
mov r15, r14
test rax, rax
je 0x1801a3cee
test r14, r14
je 0x1801a3cee
cmp r14, 0xff
jb 0x1801a3cdf
lea rdx, str.Excessive_user_name_length_for_proxy_auth
mov rcx, rdi
call fcn.180190650
mov eax, ntohs
jmp 0x1801a43f9
lea rcx, [rsi + 2]
mov r8, r14
mov rdx, rax
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rbp - 0x78]
mov byte [r14 + rsi + 2], r15b
add r14, 3
test rax, rax
je 0x1801a3d34
test r15, r15
je 0x1801a3d34
cmp r15, 0xff
jbe 0x1801a3d25
lea rdx, str.Excessive_password_length_for_proxy_auth
mov rcx, rdi
call fcn.180190650
mov rax, r12
jmp 0x1801a43f9
lea rcx, [r14 + rsi]
mov r8, r15
mov rdx, rax
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rdi + 0x18]
add r14, r15
cmp dword [rax], 7
je 0x1801a3d46
mov dword [rax], 7
mov qword [rbx + 8], r14
mov qword [rbx + 0x10], rsi
mov r9, qword [rbx + 8]
lea rax, [rsp + 0x48]
mov r8, qword [rbx + 0x10]
mov rcx, rdi
mov rdx, qword [rsp + 0x60]
mov qword [rsp + 0x20], rax
call fcn.180190d90
test eax, eax
je 0x1801a3d8f
cmp eax, 0x51
je 0x1801a3d8f
lea rdx, str.Failed_to_send_SOCKS5_sub_negotiation_request.
mov rcx, rdi
call fcn.180190650
mov eax, 0x1c
jmp 0x1801a43f9
mov rax, qword [rbx + 8]
mov rcx, qword [rsp + 0x48]
cmp rax, rcx
jne 0x1801a3b43
mov qword [rbx + 0x10], rsi
mov qword [rbx + 8], 2
mov rax, qword [rdi + 0x18]
cmp dword [rax], 8
je case.0x1801a3a91.8
mov dword [rax], 8
mov r8, qword [rbx + 8]
lea r9, [rsp + 0x50]
mov rdx, qword [rbx + 0x10]
mov rcx, qword [rsp + 0x60]
call fcn.1801908e0
mov rcx, qword [rsp + 0x50]
test eax, eax
je 0x1801a3dfa
cmp eax, 0x51
je 0x1801a3e03
lea rdx, str.Unable_to_receive_SOCKS5_sub_negotiation_response.
mov rcx, rdi
call fcn.180190650
mov eax, reloc.WS2_32.dll_ntohl
jmp 0x1801a43f9
test rcx, rcx
je 0x1801a43af
mov rax, qword [rbx + 8]
cmp rcx, rax
jne 0x1801a3b7f
movzx eax, byte [rsi + 1]
test al, al
je 0x1801a3e38
movzx r8d, byte [rsi]
lea rdx, str.User_was_rejected_by_the_SOCKS5_server___d__d_.
mov r9d, eax
mov rcx, rdi
call fcn.180190650
mov eax, 0x21
jmp 0x1801a43f9
mov rax, qword [rdi + 0x18]
mov r10, qword [rsp + 0x38]
cmp dword [rax], 9
je case.0x1801a3a91.9
mov dword [rax], 9
cmp byte [rsp + 0x31], 0
je 0x1801a3eb0
mov r13d, dword [rsp + 0x40]
lea rax, [rsp + 0x58]
mov r8d, r13d
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov rdx, r10
mov rcx, rdi
call fcn.18019bb10
cmp eax, 0xffffffff
je 0x1801a40c7
mov rcx, qword [rdi + 0x18]
cmp eax, 1
jne 0x1801a3e96
cmp dword [rcx], r12d
je 0x1801a43f7
mov dword [rcx], r12d
jmp 0x1801a43f7
cmp dword [rcx], 0xb
mov r10, qword [rsp + 0x38]
je 0x1801a3ea6
mov dword [rcx], ntohs
mov r14, qword [rsp + 0x58]
jmp 0x1801a3f36
mov word [rsi], 0x105
mov byte [rsi + 2], 0
jmp 0x1801a40e9
mov r13d, dword [rsp + 0x40]
mov rdx, r10
mov r8d, r13d
mov rcx, rdi
call fcn.18019b230
mov qword [rsp + 0x58], rax
test rax, rax
je 0x1801a3f07
mov r8, qword [rsp + 0x38]
lea rdx, str.SOCKS5:_hostname__s_found
mov rcx, rdi
mov qword [rdi + 0xe78], rax
mov byte [rdi + 0xe98], 1
call fcn.1801907c0
mov r14, qword [rsp + 0x58]
test r14, r14
jne 0x1801a3f2a
lea rdx, [rsp + 0x58]
mov rcx, rdi
call fcn.18019bf80
mov r14, qword [rsp + 0x58]
test r14, r14
jne 0x1801a3f2a
neg eax
sbb eax, eax
and eax, 0x1b
jmp 0x1801a43f9
mov r10, qword [rsp + 0x38]
jmp 0x1801a3f36
mov r13d, dword [rsp + 0x40]
test r14, r14
je 0x1801a40b5
mov r15, qword [r14]
test r15, r15
je 0x1801a40b5
mov r14d, 0x100
lea rdx, [rbp - 0x60]
mov r8d, r14d
mov rcx, r15
call fcn.18019bad0
lea rcx, [rbp - 0x60]
mov rax, 0xffffffffffffffff
nop dword [rax + rax]
inc rax
cmp byte [rcx + rax], 0
jne 0x1801a3f70
sub r14, rax
lea rcx, [rbp - 0x60]
add rcx, rax
lea r8, [0x1801fa64c]
mov rdx, r14
mov r9d, r13d
call fcn.1801a4720
mov word [rsi], 0x105
mov r14d, 3
mov byte [rsi + 2], 0
mov eax, dword [r15 + 4]
cmp eax, 2
jne 0x1801a3fef
mov byte [rsi + 3], 1
lea r8, [rbp - 0x60]
mov rcx, qword [r15 + 0x20]
lea rdx, str.SOCKS5_connect_to_IPv4__s__locally_resolved_
mov r14d, 8
movzx eax, byte [rcx + 4]
mov byte [rsi + 4], al
movzx eax, byte [rcx + 5]
mov byte [rsi + 5], al
movzx eax, byte [rcx + 6]
mov byte [rsi + 6], al
movzx eax, byte [rcx + 7]
mov rcx, rdi
mov byte [rsi + 7], al
call fcn.1801907c0
jmp 0x1801a409e
cmp eax, 0x17
jne 0x1801a408b
mov byte [rsi + 3], 4
lea r8, [rbp - 0x60]
mov rcx, qword [r15 + 0x20]
lea rdx, str.SOCKS5_connect_to_IPv6__s__locally_resolved_
mov r14d, reloc.WS2_32.dll_sendto
movzx eax, byte [rcx + 8]
mov byte [rsi + 4], al
movzx eax, byte [rcx + 9]
mov byte [rsi + 5], al
movzx eax, byte [rcx + 0xa]
mov byte [rsi + 6], al
movzx eax, byte [rcx + 0xb]
mov byte [rsi + 7], al
movzx eax, byte [rcx + 0xc]
mov byte [rsi + 8], al
movzx eax, byte [rcx + 0xd]
mov byte [rsi + 9], al
movzx eax, byte [rcx + 0xe]
mov byte [rsi + 0xa], al
movzx eax, byte [rcx + 0xf]
mov byte [rsi + 0xb], al
movzx eax, byte [rcx + 0x10]
mov byte [rsi + 0xc], al
movzx eax, byte [rcx + 0x11]
mov byte [rsi + 0xd], al
movzx eax, byte [rcx + 0x12]
mov byte [rsi + 0xe], al
movzx eax, byte [rcx + 0x13]
mov byte [rsi + 0xf], al
movzx eax, byte [rcx + 0x14]
mov byte [rsi + 0x10], al
movzx eax, byte [rcx + 0x15]
mov byte [rsi + 0x11], al
movzx eax, byte [rcx + 0x16]
mov byte [rsi + 0x12], al
movzx eax, byte [rcx + 0x17]
mov rcx, rdi
mov byte [rsi + 0x13], al
call fcn.1801907c0
jmp 0x1801a409e
lea r8, [rbp - 0x60]
mov rcx, rdi
lea rdx, str.SOCKS5_connection_to__s_not_supported
call fcn.180190650
mov rdx, qword [rsp + 0x58]
mov rcx, rdi
call fcn.18019bff0
mov r15, qword [rsp + 0x38]
jmp 0x1801a4187
mov r8, r10
lea rdx, str.Failed_to_resolve___s__for_SOCKS5_connect.
mov rcx, rdi
call fcn.180190650
mov eax, 0x1b
jmp 0x1801a43f9
mov byte [rsi + 2], r14b
mov r14d, 3
mov word [rsi], 0x105
cmp edx, 5
je case.0x1801a3a91.13
cmp byte [rbx + 0x3d8], 0
mov rdx, r10
je 0x1801a4124
lea r8, [rbp - 0x78]
mov ecx, reloc.WS2_32.dll_socket
call qword [sym.imp.WS2_32.dll_inet_pton]
cmp eax, 1
jne 0x1801a43a3
movups xmm0, xmmword [rbp - 0x78]
mov r15, qword [rsp + 0x38]
lea r14d, [rax + 0x13]
mov byte [rsi + 3], 4
movups xmmword [rsi + 4], xmm0
jmp 0x1801a416b
lea r8, [rsp + 0x68]
mov ecx, 2
call qword [sym.imp.WS2_32.dll_inet_pton]
mov r15, qword [rsp + 0x38]
cmp eax, 1
jne 0x1801a4150
mov byte [rsi + 3], al
mov r14d, 8
mov eax, dword [rsp + 0x68]
mov dword [rsi + 4], eax
jmp 0x1801a416b
mov byte [rsi + 3], 3
lea rcx, [rsi + 5]
mov r8, r13
mov byte [rsi + 4], r13b
mov rdx, r15
call sub.VCRUNTIME140.dll_memcpy
lea r14, [r13 + 5]
mov r9d, dword [rsp + 0x40]
lea rdx, str.SOCKS5_connect_to__s:_d__remotely_resolved_
mov r8, r15
mov rcx, rdi
call fcn.1801907c0
jmp 0x1801a4187
mov r15, r10
mov ecx, dword [rsp + 0x40]
mov eax, ecx
sar eax, 8
mov byte [r14 + rsi], al
mov byte [r14 + rsi + 1], cl
cmp dword [rbx + 0x828], 0
jne 0x1801a421e
lea rax, [r14 + 2]
mov qword [rbx + 0x10], rsi
mov qword [rbx + 8], rax
mov rax, qword [rdi + 0x18]
cmp dword [rax], 0xe
je 0x1801a41c2
mov dword [rax], reloc.WS2_32.dll_ntohl
jmp 0x1801a41c2
mov r15, r10
mov r9, qword [rbx + 8]
lea rax, [rsp + 0x48]
mov r8, qword [rbx + 0x10]
mov rcx, rdi
mov rdx, qword [rsp + 0x60]
mov qword [rsp + 0x20], rax
call fcn.180190d90
test eax, eax
je 0x1801a4203
cmp eax, 0x51
je 0x1801a4203
lea rdx, str.Failed_to_send_SOCKS5_connect_request.
mov rcx, rdi
call fcn.180190650
mov eax, 0x1e
jmp 0x1801a43f9
mov rax, qword [rbx + 8]
mov rcx, qword [rsp + 0x48]
cmp rax, rcx
jne 0x1801a3b43
cmp dword [rbx + 0x828], 0
je 0x1801a4237
lea rdx, str.SOCKS5_GSS_API_protection_not_yet_implemented.
mov rcx, rdi
call fcn.180190650
mov eax, 6
jmp 0x1801a43f9
mov qword [rbx + 8], r12
mov qword [rbx + 0x10], rsi
mov rax, qword [rdi + 0x18]
cmp dword [rax], 0xf
je 0x1801a4253
mov dword [rax], reloc.WS2_32.dll_ntohs
jmp 0x1801a4253
mov r15, r10
mov r8, qword [rbx + 8]
lea r9, [rsp + 0x50]
mov rdx, qword [rbx + 0x10]
mov rcx, qword [rsp + 0x60]
call fcn.1801908e0
mov rcx, qword [rsp + 0x50]
test eax, eax
je 0x1801a4291
cmp eax, 0x51
je 0x1801a429a
lea rdx, str.Failed_to_receive_SOCKS5_connect_request_ack.
mov rcx, rdi
call fcn.180190650
mov eax, reloc.WS2_32.dll_recv
jmp 0x1801a43f9
test rcx, rcx
je 0x1801a43af
mov rax, qword [rbx + 8]
cmp rcx, rax
jne 0x1801a3b7f
cmp byte [rsi], 5
je 0x1801a42c5
lea rdx, str.SOCKS5_reply_has_wrong_version__version_should_be_5.
mov rcx, rdi
call fcn.180190650
mov eax, 2
jmp 0x1801a43f9
movzx eax, byte [rsi + 1]
test al, al
je 0x1801a4303
mov r9d, eax
lea rdx, str.Cant_complete_SOCKS5_connection_to__s.___d_
mov r8, r15
mov rcx, rdi
mov esi, 0x19
mov ebx, eax
call fcn.180190650
cmp ebx, 9
jae 0x1801a42fc
lea rcx, [0x180000000]
mov esi, dword [rcx + rbx*4 + 0x1f9e70]
mov eax, esi
jmp 0x1801a43f9
movzx eax, byte [rsi + 3]
cmp al, 3
jne 0x1801a4316
movzx r12d, byte [rsi + 4]
add r12, 7
jmp 0x1801a4326
cmp al, 4
jne 0x1801a4322
mov r12d, socket
jmp 0x1801a4326
cmp al, 1
jne 0x1801a4394
cmp dword [rbx + 0x828], 0
jne case.0x1801a3a91.16
cmp r12, 0xa
jbe 0x1801a43d2
lea rax, [r12 - 0xa]
mov qword [rbx + 8], rax
lea rax, [rsi + 0xa]
mov qword [rbx + 0x10], rax
mov rax, qword [rdi + 0x18]
cmp dword [rax], 0x10
je case.0x1801a3a91.16
mov dword [rax], reloc.WS2_32.dll_recv
mov r8, qword [rbx + 8]
lea r9, [rsp + 0x50]
mov rdx, qword [rbx + 0x10]
mov rcx, qword [rsp + 0x60]
call fcn.1801908e0
mov rcx, qword [rsp + 0x50]
test eax, eax
je 0x1801a43aa
cmp eax, 0x51
je 0x1801a43c5
lea rdx, str.Failed_to_receive_SOCKS5_connect_request_ack.
mov rcx, rdi
call fcn.180190650
mov eax, reloc.WS2_32.dll_listen
jmp 0x1801a43f9
lea rdx, str.SOCKS5_reply_has_wrong_address_type.
mov rcx, rdi
call fcn.180190650
mov eax, 1
jmp 0x1801a43f9
test rcx, rcx
jne 0x1801a43c5
lea rdx, str.connection_to_proxy_closed
mov rcx, rdi
call fcn.180190650
mov eax, 3
jmp 0x1801a43f9
mov rax, qword [rbx + 8]
cmp rcx, rax
jne 0x1801a3b7f
mov rax, qword [rdi + 0x18]
cmp dword [rax], 0x11
je case.0x1801a3a91.5
mov dword [rax], reloc.WS2_32.dll_recvfrom
lea rdx, str.SOCKS5_request_granted.
mov rcx, rdi
call fcn.1801907c0
mov rax, qword [rbp - 0x80]
mov byte [rax], 1
xor eax, eax
mov rcx, qword [rbp + 0xa0]
xor rcx, rsp
call fcn.1801d7330
add rsp, 0x1b8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret