Function at 0x10029c0b4
Capabilities:
Allocate or change rwx memory
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xb0
mov rax, qword [0x1004c4740]
xor rax, rsp
mov qword [rsp + 0xa8], rax
mov rbp, qword [rcx + 0x10]
mov eax, dword [0x1002f8888]
mov r14d, 0xfffffff
mov r15d, 0x269ec3
mov qword [rsp + 0x78], rdx
mov r13d, 0x8000
lea r11, [0x100000000]
mov edx, dword [rbp + 1]
and rdx, r14
mov qword [rsp + 0x98], rcx
lea rsi, [rax + rdx - 1]
mov rcx, rax
mov rax, rsi
xor edx, edx
div rcx
mov eax, dword [0x1002f8888]
sub rsi, rdx
mov r10d, dword [0x1002a02b4]
mov eax, dword [0x1002f8888]
mov eax, dword [0x1002a02b4]
test eax, eax
je 0x10029c1d4
xor r8d, r8d
xor eax, eax
mov edi, dword [0x1002a02b4]
dec edi
inc rdi
mov r9, rdi
je 0x10029c18e
mov rcx, qword [0x1004c43a0]
imul rcx, rcx, 0x343fd
shl rax, 0x10
shr r9, 0x10
add rcx, r15
mov rdx, rcx
shr rdx, 0x10
movzx edx, dx
or rax, rdx
test r9, r9
jne 0x10029c163
mov qword [0x1004c43a0], rcx
xor edx, edx
div rdi
test r10, r10
je 0x10029c1c9
inc r8
mov eax, 0x3bd7
mov ecx, 0xffffc428
lock cmpxchg dword [r11 + rdx*4 + 0x4c5a60], ecx
je 0x10029c443
lea rax, [rdx + 1]
xor edx, edx
mov ecx, dword [0x1002a02b4]
div rcx
cmp r8, r10
jb 0x10029c198
xor ebx, ebx
test rbx, rbx
jne 0x10029c2f7
call qword [sym.imp.KERNEL32.dll_GetLastError]
xor edi, edi
mov r12d, eax
mov rcx, qword [0x1004c4380]
inc rdi
mov r8, rcx
xor eax, eax
mov r9, rcx
test rcx, rcx
je 0x10029c228
mov rcx, qword [0x1004c43a0]
imul rcx, rcx, 0x343fd
shl rax, 0x10
shr r9, 0x10
add rcx, r15
mov rdx, rcx
shr rdx, 0x10
movzx edx, dx
or rax, rdx
test r9, r9
jne 0x10029c1fd
mov qword [0x1004c43a0], rcx
mov r9d, 0x40
xor edx, edx
div r8
mov rcx, rdx
mov r8d, 0x3000
mov rdx, rsi
shl rcx, 0x10
add rcx, qword [0x1004c4308]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
test rax, rax
mov rbx, rax
je 0x10029c290
and qword [rsp + 0x28], 0
mov rcx, rax
mov rdx, rax
lea r9, [0x100435424]
and qword [rsp + 0x20], 0
mov r8d, esi
or rcx, 3
call qword [sym.imp.ntdll.dll_RtlInstallFunctionTableCallback]
test al, al
jne 0x10029c2a4
xor edx, edx
mov r8d, r13d
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_Sleep]
cmp rdi, 0x11
jb 0x10029c1df
xor ebx, ebx
cmp rbx, 0x10000
jb 0x10029c2b2
test bl, 3
je 0x10029c2d4
test rbx, rbx
je 0x10029c2d2
mov rcx, rbx
or rcx, 3
call qword [sym.imp.ntdll.dll_RtlDeleteFunctionTable]
mov rcx, rbx
mov r8d, r13d
xor edx, edx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
xor ebx, ebx
mov ecx, r12d
call qword [sym.imp.KERNEL32.dll_SetLastError]
test rbx, rbx
lea r11, [0x100000000]
je 0x10029c12c
mov rcx, rsi
xor eax, eax
mov rdi, rbx
rep stosb byte [rdi], al
mov eax, 0x94628189
lea r13, [0x100000000]
mov r12d, dword [rbp + 1]
mov rax, r12
mov r8d, dword [0x1002f8888]
and r12, r14
mov qword [rsp + 0x90], r12
shr rax, 0x1d
sub r8, r12
lea rbp, [rax + rbp + 9]
mov qword [rsp + 0x88], rbp
mov esi, ebp
xor eax, eax
sub esi, r13d
mov dword [rsp + 0x60], esi
inc r8
mov rdi, r8
je 0x10029c375
mov rcx, qword [0x1004c43a0]
imul rcx, rcx, 0x343fd
shl rax, 0x10
shr rdi, 0x10
add rcx, r15
mov rdx, rcx
shr rdx, 0x10
movzx edx, dx
or rax, rdx
test rdi, rdi
jne 0x10029c34a
mov qword [0x1004c43a0], rcx
xor edx, edx
div r8
mov ecx, esi
add rbx, rdx
mov rdx, r12
mov qword [rsp + 0x70], rbx
mov r8, rbx
mov eax, 0xfbff62d3
xor dil, dil
mov rdx, qword [r12 + rbp]
mov qword [rsp + 0x68], rdx
lea rcx, [rsp + 0x68]
mov eax, 0xc24f981b
mov rax, qword [0x1000487b8]
mov rcx, r13
mov r10, qword [rsp + 0x68]
mov r11, 0xfffffffffffff000
mov r9d, dword [rsp + 0x6c]
and qword [rsp + 0x38], 0
and r10, r14
and r9, r14
add r10, r13
mov r14d, 4
sub rcx, rax
mov qword [rsp + 0x50], rcx
jne 0x10029c45a
xor r8d, r8d
test r9, r9
je 0x10029c727
mov edx, dword [rsp + 0x38]
mov ecx, dword [rsp + 0x3c]
mov r11d, 0xe373700e
movzx eax, byte [r8 + r10]
inc r8
sub eax, 0x1c8c8ff2
add edx, eax
add eax, ecx
imul rax, r11
mov qword [rsp + 0x48], rax
mov ecx, dword [rsp + 0x48]
shr rax, 0x20
add ecx, eax
imul ecx, ecx, 0xe373700e
ror ecx, 0x11
imul ecx, ecx, 0xe373700e
ror ecx, 0x11
add edx, ecx
cmp r8, r9
jb 0x10029c3f9
mov dword [rsp + 0x3c], ecx
mov dword [rsp + 0x38], edx
jmp 0x10029c727
mov ecx, dword [0x1002f8888]
imul rcx, rdx
lea rbx, [rcx + r11 + 0x454000]
jmp 0x10029c1cb
movsxd rcx, dword [0x10000003c]
mov r8d, dword [rcx + r13 + 0xb0]
lea rax, [r10 + r9]
add r8, r13
mov ecx, dword [rcx + r13 + 0xb4]
mov qword [rsp + 0x80], rax
mov eax, r10d
sub eax, r13d
mov ebx, eax
mov r13d, eax
add rax, r9
and rbx, r11
mov r15, rax
and r15, r11
sub r13, rbx
sub rax, r15
add rcx, r8
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x40], rax
jmp 0x10029c4bb
mov eax, dword [r8]
cmp rax, rbx
jae 0x10029c4c0
mov eax, dword [r8 + 4]
add r8, rax
cmp r8, rcx
jne 0x10029c4ac
xor r11d, r11d
cmp r8, rcx
je 0x10029c4ff
mov eax, dword [r8]
cmp rax, rbx
jne 0x10029c4ff
mov ecx, dword [r8 + 4]
sub rcx, 8
shr rcx, 1
je 0x10029c4fa
lea rdx, [r8 + 8]
movzx eax, word [rdx]
and eax, 0xfff
cmp rax, r13
jae 0x10029c4fa
inc r11
add rdx, 2
cmp r11, rcx
jne 0x10029c4e1
mov rcx, qword [rsp + 0x48]
mov r12, qword [rsp + 0x50]
mov edx, dword [rsp + 0x3c]
lea rbp, [0x100000000]
mov r13d, 0xe373700e
mov r9d, dword [rsp + 0x38]
cmp r8, rcx
je 0x10029c6ae
mov eax, dword [r8]
cmp rax, r15
ja 0x10029c6ae
mov edi, dword [r8 + 4]
lea rax, [rdi - 8]
shr rax, 1
cmp r11, rax
jne 0x10029c55c
add r8, rdi
cmp r8, rcx
je 0x10029c6ae
mov eax, dword [r8]
cmp rax, r15
ja 0x10029c6ae
xor r11d, r11d
jmp 0x10029c52f
mov eax, dword [r8]
cmp rax, r15
jne 0x10029c57a
movzx eax, word [r8 + r11*2 + 8]
and eax, 0xfff
cmp rax, qword [rsp + 0x40]
jae 0x10029c6ae
mov rax, r11
mov edi, 0xf000
inc r11
test word [r8 + rax*2 + 8], di
je 0x10029c51a
movzx ecx, word [r8 + rax*2 + 8]
xor esi, esi
mov ebx, ecx
and ebx, 0xfff
add ebx, dword [r8]
add rbx, rbp
mov rax, rbx
sub rax, r10
je 0x10029c5f6
mov rdi, rax
movzx eax, byte [r10 + rsi]
inc rsi
sub eax, 0x1c8c8ff2
add r9d, eax
add eax, edx
imul rax, r13
mov qword [rsp + 0x58], rax
mov edx, dword [rsp + 0x58]
shr rax, 0x20
add edx, eax
imul edx, edx, 0xe373700e
ror edx, 0x11
imul edx, edx, 0xe373700e
ror edx, 0x11
add r9d, edx
cmp rsi, rdi
jb 0x10029c5ae
mov dword [rsp + 0x3c], edx
mov dword [rsp + 0x38], r9d
shr ecx, 0xc
cmp ecx, 3
mov rax, qword [rbx]
mov qword [rsp + 0x58], rax
je 0x10029c614
sub ecx, 0xa
neg ecx
sbb r10d, r10d
add r10d, 3
jmp 0x10029c61a
mov r10d, 2
mov r13, r12
neg r13
sub r10d, 2
je 0x10029c641
cmp r10d, 1
je 0x10029c632
or rcx, 0xffffffffffffffff
jmp 0x10029c649
add rax, r13
mov qword [rsp + 0x58], rax
mov ecx, 8
jmp 0x10029c649
mov rcx, r14
add dword [rsp + 0x58], r13d
mov r13d, 0xe373700e
xor r10d, r10d
test rcx, rcx
je 0x10029c6a0
movzx eax, byte [rsp + r10 + 0x58]
inc r10
sub eax, 0x1c8c8ff2
add r9d, eax
add eax, edx
imul rax, r13
mov qword [rsp + 0x50], rax
shr rax, 0x20
mov edx, dword [rsp + 0x50]
add edx, eax
imul edx, edx, 0xe373700e
ror edx, 0x11
imul edx, edx, 0xe373700e
ror edx, 0x11
add r9d, edx
cmp r10, rcx
jb 0x10029c657
mov dword [rsp + 0x3c], edx
mov dword [rsp + 0x38], r9d
lea r10, [rcx + rbx]
mov rcx, qword [rsp + 0x48]
jmp 0x10029c51a
mov r8, qword [rsp + 0x80]
mov rbp, qword [rsp + 0x88]
mov r12, qword [rsp + 0x90]
xor ecx, ecx
mov esi, dword [rsp + 0x60]
mov dil, cl
sub r8, r10
je 0x10029c722
movzx eax, byte [rcx + r10]
inc rcx
sub eax, 0x1c8c8ff2
add r9d, eax
add eax, edx
imul rax, r13
mov qword [rsp + 0x80], rax
mov edx, dword [rsp + 0x80]
shr rax, 0x20
add edx, eax
imul edx, edx, 0xe373700e
ror edx, 0x11
imul edx, edx, 0xe373700e
ror edx, 0x11
add r9d, edx
cmp rcx, r8
jb 0x10029c6d4
mov dword [rsp + 0x3c], edx
mov dword [rsp + 0x38], r9d
mov rbx, qword [rsp + 0x70]
xor ecx, ecx
mov rax, rcx
inc rcx
and eax, 7
cmp rcx, 8
mov al, byte [rsp + rax + 0x38]
mov byte [rsp + rcx + 0x9f], al
jb 0x10029c729
mov eax, 0xe7e4da6b
mov rax, qword [rsp + 0xa0]
mov r13, r12
and r13d, 7
mov r10, rbx
mov r15, rbp
mov qword [rsp + 0x48], rbx
je 0x10029cbfe
mov ebx, esi
xor r8d, r8d
mov dword [rsp + 0x50], r8d
not ebx
xor r11d, r11d
xor r10d, r10d
test r13d, r13d
mov dword [rsp + 0x40], r11d
jle 0x10029c7bd
lea r9d, [r8 + 0x38]
movzx edx, byte [r15]
cmp r10d, r14d
jge 0x10029c79c
lea ecx, [r9 - 0x20]
shl edx, cl
or r11d, edx
jmp 0x10029c7a4
mov ecx, r9d
shl edx, cl
or r8d, edx
inc r10d
inc r15
sub r9d, 8
cmp r10d, r13d
jl 0x10029c788
mov dword [rsp + 0x40], r11d
mov dword [rsp + 0x50], r8d
movzx r11d, word [rsp + 0xa4]
mov ecx, esi
movzx r10d, word [rsp + 0xa6]
sub ecx, r10d
xor ecx, eax
movzx r8d, word [rsp + 0xa2]
movzx r9d, ax
xor ebx, ecx
mov esi, ebx
mov ecx, ebx
xor ecx, r10d
ror esi, 0xc
imul ecx, r11d
xor esi, ecx
xor esi, dword [rsp + 0x60]
mov edx, esi
xor edx, r11d
mov ecx, esi
rol edx, 2
rol ecx, 9
imul edx, r8d
sub edx, ecx
xor ebx, edx
mov ecx, ebx
mov edx, ebx
xor edx, r8d
rol edx, 7
ror ecx, 4
imul edx, r9d
xor ecx, edx
xor esi, ecx
mov edx, esi
mov ecx, esi
xor edx, r8d
shr ecx, 7
imul edx, r10d
add edx, ecx
xor ebx, edx
mov edx, eax
mov ecx, dword [rsp + 0xa4]
xor edx, ebx
sub ecx, edx
xor esi, ecx
mov edx, esi
xor edx, r11d
mov ecx, esi
shr ecx, 6
rol edx, 4
imul edx, r8d
add edx, ecx
xor ebx, edx
mov edx, dword [rsp + 0xa4]
mov ecx, ebx
xor edx, ebx
ror edx, 0xa
rol ecx, 8
imul edx, r9d
add ecx, edx
xor esi, ecx
mov ecx, esi
mov edx, esi
sub edx, eax
rol edx, 2
ror ecx, 9
imul edx, r10d
xor ecx, edx
xor ebx, ecx
mov edx, ebx
ror edx, 2
mov ecx, ebx
xor ecx, r9d
imul ecx, r11d
add edx, ecx
xor esi, edx
mov ecx, esi
mov edx, esi
sub edx, r11d
shr ecx, 4
imul edx, r8d
sub edx, ecx
mov r11d, dword [rsp + 0x50]
xor ebx, edx
mov ecx, ebx
mov edx, dword [rsp + 0xa4]
xor edx, ebx
xor ebx, r11d
rol edx, 0xd
mov r8d, ebx
ror ecx, 5
imul edx, r9d
sub edx, ecx
xor r9d, r9d
xor edx, dword [rsp + 0x40]
xor esi, edx
mov edx, esi
test r13d, r13d
jle 0x10029c90d
mov rcx, qword [rsp + 0x48]
cmp r9d, r14d
jge 0x10029c8f3
rol edx, 8
mov byte [rcx], dl
inc rcx
xor dil, dl
jmp 0x10029c900
rol r8d, 8
mov byte [rcx], r8b
inc rcx
xor dil, r8b
inc r9d
cmp r9d, r13d
jl 0x10029c8e1
mov qword [rsp + 0x48], rcx
lea ecx, [r13 - 4]
test ecx, ecx
jle 0x10029cbe6
sub r14d, ecx
shl r14d, 3
mov ecx, r14d
shr ebx, cl
shl ebx, cl
mov r14d, dword [rsp + 0x40]
mov r10, qword [rsp + 0x48]
mov r13, r12
shr r13, 3
test r13, r13
je 0x10029cb2e
movzx edx, word [rsp + 0xa6]
movzx r12d, word [rsp + 0xa4]
movzx ebp, word [rsp + 0xa2]
movzx ecx, ax
mov dword [rsp + 0x50], edx
mov dword [rsp + 0x40], ecx
movzx r8d, byte [r15 + 4]
movzx ecx, byte [r15]
movzx r9d, byte [r15 + 1]
shl ecx, 8
shl r8d, 8
add r15, 8
or r9d, ecx
movzx ecx, byte [r15 - 6]
shl r9d, 8
or r9d, ecx
movzx ecx, byte [r15 - 5]
shl r9d, 8
or r9d, ecx
movzx ecx, byte [r15 - 3]
or r8d, ecx
movzx ecx, byte [r15 - 2]
xor esi, r9d
shl r8d, 8
or r8d, ecx
shl r8d, 8
movzx ecx, byte [r15 - 1]
or r8d, ecx
mov ecx, esi
sub ecx, edx
xor ecx, eax
xor ecx, r8d
xor ebx, ecx
mov edx, ebx
mov ecx, ebx
xor ecx, dword [rsp + 0x50]
ror edx, 0xc
imul ecx, r12d
xor edx, ecx
xor esi, edx
mov edx, esi
xor edx, r12d
mov ecx, esi
rol edx, 2
rol ecx, 9
imul edx, ebp
sub edx, ecx
xor ebx, edx
mov ecx, ebx
mov edx, ebx
xor edx, ebp
rol edx, 7
ror ecx, 4
imul edx, dword [rsp + 0x40]
xor ecx, edx
xor esi, ecx
movzx ecx, word [rsp + 0xa6]
mov edx, esi
xor edx, ebp
imul edx, ecx
mov ecx, esi
shr ecx, 7
add edx, ecx
mov ecx, dword [rsp + 0xa4]
xor ebx, edx
mov edx, eax
xor edx, ebx
sub ecx, edx
xor esi, ecx
mov edx, esi
xor edx, r12d
mov ecx, esi
shr ecx, 6
rol edx, 4
imul edx, ebp
add edx, ecx
xor ebx, edx
mov edx, dword [rsp + 0xa4]
xor edx, ebx
mov ecx, ebx
ror edx, 0xa
rol ecx, 8
imul edx, dword [rsp + 0x40]
add ecx, edx
xor esi, ecx
mov edx, esi
mov ecx, esi
sub edx, eax
rol edx, 2
ror ecx, 9
imul edx, dword [rsp + 0x50]
xor ecx, edx
xor ebx, ecx
mov edx, ebx
mov ecx, ebx
xor ecx, dword [rsp + 0x40]
ror edx, 2
imul ecx, r12d
add edx, ecx
xor esi, edx
mov edx, esi
sub edx, r12d
mov ecx, esi
shr ecx, 4
imul edx, ebp
sub edx, ecx
xor ebx, edx
mov ecx, ebx
mov edx, dword [rsp + 0xa4]
xor edx, ebx
xor ebx, r11d
mov byte [r10 + 7], bl
mov r11d, r8d
rol edx, 0xd
ror ecx, 5
imul edx, dword [rsp + 0x40]
sub edx, ecx
xor edx, r14d
mov r14d, r9d
xor esi, edx
movzx edx, word [rsp + 0xa6]
xor dil, sil
mov byte [r10 + 3], sil
ror esi, 8
xor dil, bl
mov byte [r10 + 2], sil
ror ebx, 8
mov byte [r10 + 6], bl
xor dil, sil
ror esi, 8
mov byte [r10 + 1], sil
xor dil, bl
ror ebx, 8
xor dil, sil
mov byte [r10 + 5], bl
ror esi, 8
mov byte [r10], sil
xor dil, bl
ror ebx, 8
mov byte [r10 + 4], bl
add r10, 8
mov cl, bl
xor cl, sil
xor dil, cl
ror esi, 8
ror ebx, 8
sub r13, 1
jne 0x10029c965
mov rbp, qword [rsp + 0x88]
mov r12, qword [rsp + 0x90]
cmp dil, byte [r12 + rbp + 8]
je 0x10029cc26
call fcn.100058248
lea r13, [0x1001094ec]
mov r11, rax
mov rbx, qword [rsp + 0x98]
mov qword [rbx + 0x10], r13
mov rax, 0xfffffffffffff000
mov r10d, 0xffff
lea r8, [rbx + 0x18]
and r8, 0xfffffffffffffff8
and r11, rax
mov rcx, qword [0x1004c43a0]
lea r9, [r8 + 0xfff]
and r9, rax
xor edi, edi
imul rcx, rcx, 0x343fd
shl rdi, 0x10
shr r10, 0x10
add rcx, 0x269ec3
mov rax, rcx
shr rax, 0x10
movzx edx, ax
or rdi, rdx
test r10, r10
jne 0x10029cb7f
mov qword [0x1004c43a0], rcx
movabs rax, 0x8000800080008001
mul rdi
shr rdx, 0xf
imul rdx, rdx, 0xffff
sub rdi, rdx
mov rax, qword [rsp + 0x78]
inc rdi
mov qword [rax + 0x98], r11
mov qword [rax + 0xb0], rdi
mov qword [rsp + 0x78], r10
jmp 0x10029cc1c
xor ebx, ebx
test ecx, ecx
jns 0x10029c927
neg ecx
shl ecx, 3
shr esi, cl
shl esi, cl
jmp 0x10029c927
mov r14d, esi
xor ebx, ebx
mov r11d, esi
xor esi, esi
not r11d
jmp 0x10029c931
mov rax, qword [rsp + 0x78]
mov qword [r8], rax
add r8, 8
cmp r8, r9
jb 0x10029cc10
jmp 0x10029cd3b
lea r14, [0x100000000]
mov r13, qword [rsp + 0x70]
mov rax, qword [0x1000487b8]
mov rbx, rbp
sub rbx, r13
mov rsi, r14
sub rsi, rax
jne 0x10029cc50
test rbx, rbx
je 0x10029cd28
xor edi, edi
mov rcx, qword [0x1001d1e58]
lea r8d, [rcx - 1]
lea r15, [0x100000000]
mov r11, r13
sub r11, rbp
sub ebp, r14d
add r12d, ebp
test r8d, r8d
js 0x10029cca5
lea eax, [r8 + rdi]
cdq
sub eax, edx
sar eax, 1
movsxd rdx, eax
mov r9d, dword [r15 + rdx*4 + 0x1d1e5c]
and r9d, 0xfffffff
cmp ebp, r9d
jae 0x10029cc9b
lea r8d, [rax - 1]
jmp 0x10029cca0
jbe 0x10029ccaa
lea edi, [rax + 1]
cmp r8d, edi
jge 0x10029cc75
movsxd r10, edi
jmp 0x10029cd21
movsxd r10, eax
jmp 0x10029cd21
mov edx, dword [r15 + r10*4 + 0x1d1e5c]
mov eax, edx
and eax, 0xfffffff
cmp eax, r12d
jae 0x10029cd28
mov r8, rdx
mov edi, edx
sar edx, 0x1e
shl edi, 2
and r8d, 0xfffffff
and edx, 3
sar edi, 0x1e
add r8, r14
xor r9d, r9d
and edi, 3
sub edi, 1
je 0x10029ccfd
sub edi, 1
je 0x10029ccf8
cmp edi, 1
jne 0x10029cd03
mov r9, rsi
jmp 0x10029cd03
mov r9, rbx
jmp 0x10029cd03
mov r9, rsi
sub r9, rbx
sub edx, 2
je 0x10029cd13
cmp edx, 1
jne 0x10029cd1e
add qword [r8 + r11], r9
jmp 0x10029cd17
add dword [r8 + r11], r9d
mov rcx, qword [0x1001d1e58]
inc r10
mov eax, ecx
cmp r10, rax
jb 0x10029ccaf
mov eax, dword [0x1002f8888]
mov eax, 0xe0d81b12
mov rbx, qword [rsp + 0x98]
mov qword [rbx + 0x10], r13
mov rcx, qword [rsp + 0xa8]
xor rcx, rsp
call fcn.10027d5f4
mov rbx, qword [rsp + 0x100]
add rsp, 0xb0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret