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

Disassembly:
lea r12, [rsp - 0x238]
cmp r12, qword [r14 + 0x10]
jbe 0x4aa2e7
push rbp
mov rbp, rsp
sub rsp, 0x2b0
mov byte [rsp + 0x2e8], r8b
mov qword [rsp + 0x2e0], rsi
mov qword [rsp + 0x2d8], rdi
mov qword [rsp + 0x2d0], rcx
mov qword [rsp + 0x2c8], rbx
mov qword [rsp + 0x2c0], rax
call sym.golang.org_x_sys_windows.UTF16FromString
test rdi, rdi
je 0x4a9740
xor eax, eax
jmp 0x4a974d
test rbx, rbx
jbe 0x4aa2dc
xor edi, edi
xor esi, esi
mov qword [rsp + 0xd8], rax
mov rbx, rsi
mov rax, rdi
nop dword [rax + rax]
call sym.github.com_Enelg52_Backpack_runpe.CheckErr
movups xmmword [rsp + 0x1a8], xmm15
mov rax, qword [rsp + 0x2c0]
mov rbx, qword [rsp + 0x2c8]
nop
call sym.runtime.convTstring
lea rcx, [0x004b5ea0]
mov qword [rsp + 0x1a8], rcx
mov qword [rsp + 0x1b0], rax
movzx edx, byte [rsp + 0x2e8]
movzx edx, dl
mov qword [rsp + 0xa0], rdx
mov rbx, qword [0x00ff6ea8]
lea rax, [0x00f65148]
mov edi, 0x19
lea rsi, [rsp + 0x1a8]
mov r8d, 1
mov r9, r8
lea rcx, [0x004d505f]
call sym.fmt.Fprintf
movups xmmword [rsp + 0x248], xmm15
lea rdi, [rsp + 0x250]
lea rdi, [rdi - 0x20]
nop word [rax + rax]
nop dword [rax]
mov qword [rsp - 0x10], rbp
lea rbp, [rsp - 0x10]
call fcn.0046158b
mov rbp, qword [rbp]
mov qword [rsp + 0xb0], 0
movups xmmword [rsp + 0xb8], xmm15
lea rcx, [rsp + 0xb0]
mov qword [rsp], rcx
mov rcx, qword [rsp + 0xa0]
test rcx, rcx
mov r8d, 4
mov ecx, 0x14
cmovne r8d, ecx
mov rax, qword [rsp + 0xd8]
xor ebx, ebx
xor ecx, ecx
mov rdi, rcx
xor esi, esi
mov r9, rbx
mov r10, rbx
lea r11, [rsp + 0x248]
call sym.golang.org_x_sys_windows.CreateProcess
call sym.github.com_Enelg52_Backpack_runpe.CheckErr
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0x60], rax
mov rcx, qword [rsp + 0xb8]
mov qword [rsp + 0x58], rcx
movups xmmword [rsp + 0x1f8], xmm15
movups xmmword [rsp + 0x208], xmm15
call sym.runtime.convT64
lea rcx, [0x004b5de0]
mov qword [rsp + 0x1f8], rcx
mov qword [rsp + 0x200], rax
mov rax, qword [rsp + 0x58]
call sym.runtime.convT64
lea rcx, [0x004b5de0]
mov qword [rsp + 0x208], rcx
mov qword [rsp + 0x210], rax
mov rbx, qword [0x00ff6ea8]
lea rax, [0x00f65148]
mov edi, 0x2d
lea rsi, [rsp + 0x1f8]
mov r8d, 2
mov r9, r8
lea rcx, [0x004d9cfc]
call sym.fmt.Fprintf
movups xmmword [rsp + 0x198], xmm15
mov rax, qword [rsp + 0x58]
nop
call sym.runtime.convT64
lea rcx, [0x004b5de0]
mov qword [rsp + 0x198], rcx
mov qword [rsp + 0x1a0], rax
mov rbx, qword [0x00ff6ea8]
lea rax, [0x00f65148]
lea rcx, [0x004d7735]
mov edi, 0x21
lea rsi, [rsp + 0x198]
mov r8d, 1
mov r9, r8
call sym.fmt.Fprintf
mov rax, qword [rsp + 0x58]
call sym.github.com_Enelg52_Backpack_runpe.getThreadContext
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x100], rax
mov qword [rsp + 0x70], rcx
mov rax, rdi
mov rbx, rsi
call sym.github.com_Enelg52_Backpack_runpe.CheckErr
mov rcx, qword [rsp + 0x68]
nop dword [rax + rax]
cmp rcx, 0x88
jb 0x4aa2d2
lea rdx, [rcx - 0x88]
cmp rdx, 7
jbe 0x4aa2c5
mov rcx, qword [rsp + 0x70]
lea rdx, [rcx - 0x88]
neg rdx
sar rdx, 0x3f
and edx, 0x88
mov rbx, qword [rsp + 0x100]
mov rax, qword [rbx + rdx]
mov qword [rsp + 0xa0], rax
movups xmmword [rsp + 0x188], xmm15
call sym.runtime.convT64
lea rcx, [0x004b62a0]
mov qword [rsp + 0x188], rcx
mov qword [rsp + 0x190], rax
mov rdx, qword [rsp + 0xa0]
add rdx, 0x10
mov qword [rsp + 0xa0], rdx
mov rbx, qword [0x00ff6ea8]
lea rax, [0x00f65148]
mov edi, 0x1c
lea rsi, [rsp + 0x188]
mov r8d, 1
mov r9, r8
lea rcx, [0x004d5ffc]
call sym.fmt.Fprintf
mov rax, qword [rsp + 0x60]
mov rbx, qword [rsp + 0xa0]
call sym.github.com_Enelg52_Backpack_runpe.readProcessMemoryAsAddr
mov qword [rsp + 0x78], rax
mov qword [rsp + 0xf8], rcx
mov qword [rsp + 0x110], rbx
mov rax, rbx
mov rbx, rcx
call sym.github.com_Enelg52_Backpack_runpe.CheckErr
movups xmmword [rsp + 0x178], xmm15
mov rax, qword [rsp + 0x78]
call sym.runtime.convT64
lea rcx, [0x004b6160]
mov qword [rsp + 0x178], rcx
mov qword [rsp + 0x180], rax
mov rbx, qword [0x00ff6ea8]
lea rax, [0x00f65148]
mov edi, 0x40
lea rsi, [rsp + 0x178]
mov r8d, 1
mov r9, r8
lea rcx, [0x004db37a]
nop dword [rax + rax]
call sym.fmt.Fprintf
mov rbx, qword [0x00ff6ea8]
nop
lea rax, [0x00f65148]
lea rcx, [0x004d5ab6]
mov edi, 0x1b
xor esi, esi
xor r8d, r8d
mov r9, r8
call sym.fmt.Fprintf
nop
lea rax, [0x004c2be0]
call sym.runtime.newobject
mov rcx, qword [rsp + 0x2d8]
mov qword [rax + 8], rcx
mov rdx, qword [rsp + 0x2e0]
mov qword [rax + 0x10], rdx
cmp dword [0x0104a690], 0
jne 0x4a9b45
mov rsi, qword [rsp + 0x2d0]
jmp 0x4a9b55
call sym.runtime.gcWriteBarrier1
mov rsi, qword [rsp + 0x2d0]
mov qword [r11], rsi
mov qword [rsp + 0xd0], rax
mov qword [rax], rsi
mov qword [rax + 0x18], 0
mov qword [rax + 0x20], 0xffffffffffffffff
mov rbx, qword [rsp + 0xf8]
mov rax, qword [rsp + 0x110]
call sym.github.com_Enelg52_Backpack_runpe.CheckErr
lea rax, [0x00f65128]
mov rbx, qword [rsp + 0xd0]
call sym.debug_pe.NewFile
mov qword [rsp + 0xf0], rax
mov rbx, qword [0x00ff6ea8]
nop
lea rcx, [0x004d9d29]
mov edi, 0x2d
xor esi, esi
xor r8d, r8d
mov r9, r8
lea rax, [0x00f65148]
call sym.fmt.Fprintf
lea rcx, [0x004b2c20]
mov rdx, qword [rsp + 0xf0]
cmp qword [rdx + 0x18], rcx
jne 0x4a9be4
mov rcx, qword [rdx + 0x20]
jmp 0x4a9c0e
mov rbx, qword [0x00ff6ea8]
nop
lea rax, [0x00f65148]
lea rcx, [0x004d5ad1]
mov edi, 0x1b
xor esi, esi
xor r8d, r8d
mov r9, r8
call sym.fmt.Fprintf
xor ecx, ecx
mov qword [rsp + 0xe8], rcx
movups xmmword [rsp + 0x168], xmm15
mov rax, qword [rcx + 0x18]
call sym.runtime.convT64
lea rcx, [0x004b62a0]
mov qword [rsp + 0x168], rcx
mov qword [rsp + 0x170], rax
mov rbx, qword [0x00ff6ea8]
lea rax, [0x00f65148]
mov edi, 0x3e
lea rsi, [rsp + 0x168]
mov r8d, 1
mov r9, r8
lea rcx, [0x004db205]
call sym.fmt.Fprintf
movups xmmword [rsp + 0x158], xmm15
mov rax, qword [rsp + 0x78]
nop dword [rax]
call sym.runtime.convT64
lea rcx, [0x004b6160]
mov qword [rsp + 0x158], rcx
mov qword [rsp + 0x160], rax
mov rbx, qword [0x00ff6ea8]
lea rax, [0x00f65148]
mov edi, 0x21
lea rsi, [rsp + 0x158]
mov r8d, 1
mov r9, r8
lea rcx, [0x004d7756]
call sym.fmt.Fprintf
mov rax, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x78]
call sym.github.com_Enelg52_Backpack_runpe.ntUnmapViewOfSection
nop dword [rax + rax]
call sym.github.com_Enelg52_Backpack_runpe.CheckErr
movups xmmword [rsp + 0x1d8], xmm15
movups xmmword [rsp + 0x1e8], xmm15
mov rax, qword [rsp + 0x78]
nop dword [rax]
call sym.runtime.convT64
lea rcx, [0x004b6160]
mov qword [rsp + 0x1d8], rcx
mov qword [rsp + 0x1e0], rax
mov rdx, qword [rsp + 0xe8]
mov eax, dword [rdx + 0x38]
call sym.runtime.convT32
lea rcx, [0x004b61a0]
mov qword [rsp + 0x1e8], rcx
mov qword [rsp + 0x1f0], rax
mov rbx, qword [0x00ff6ea8]
lea rax, [0x00f65148]
mov edi, 0x32
lea rsi, [rsp + 0x1d8]
mov r8d, 2
mov r9, r8
lea rcx, [0x004da887]
call sym.fmt.Fprintf
mov rcx, qword [rsp + 0xe8]
mov edx, dword [rcx + 0x38]
mov rax, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x78]
mov edi, 0x3000
mov esi, 0x40
mov ecx, edx
call sym.github.com_Enelg52_Backpack_runpe.virtualAllocEx
mov qword [rsp + 0x98], rax
mov rax, rbx
mov rbx, rcx
call sym.github.com_Enelg52_Backpack_runpe.CheckErr
movups xmmword [rsp + 0x148], xmm15
mov rax, qword [rsp + 0x98]
nop dword [rax]
call sym.runtime.convT64
lea rcx, [0x004b6160]
mov qword [rsp + 0x148], rcx
mov qword [rsp + 0x150], rax
mov rbx, qword [0x00ff6ea8]
lea rax, [0x00f65148]
mov edi, 0x18
lea rsi, [rsp + 0x148]
mov r8d, 1
mov r9, r8
lea rcx, [0x004d4baf]
call sym.fmt.Fprintf
movups xmmword [rsp + 0x1b8], xmm15
movups xmmword [rsp + 0x1c8], xmm15
mov rax, qword [rsp + 0x98]
call sym.runtime.convT64
lea rcx, [0x004b6160]
mov qword [rsp + 0x1b8], rcx
mov qword [rsp + 0x1c0], rax
mov rdx, qword [rsp + 0xe8]
mov eax, dword [rdx + 0x3c]
call sym.runtime.convT32
lea rcx, [0x004b61a0]
mov qword [rsp + 0x1c8], rcx
mov qword [rsp + 0x1d0], rax
mov rbx, qword [0x00ff6ea8]
lea rax, [0x00f65148]
mov edi, 0x35
lea rsi, [rsp + 0x1b8]
mov r8d, 2
mov r9, r8
lea rcx, [0x004dacb9]
call sym.fmt.Fprintf
mov rcx, qword [rsp + 0xe8]
mov r8d, dword [rcx + 0x3c]
mov rax, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x98]
mov rdi, qword [rsp + 0x2d8]
mov rsi, qword [rsp + 0x2e0]
mov rcx, qword [rsp + 0x2d0]
call sym.github.com_Enelg52_Backpack_runpe.writeProcessMemory
call sym.github.com_Enelg52_Backpack_runpe.CheckErr
mov rcx, qword [rsp + 0xf0]
mov rdx, qword [rcx + 0x28]
mov qword [rsp + 0x108], rdx
mov rcx, qword [rcx + 0x30]
mov qword [rsp + 0x90], rcx
xor eax, eax
jmp 0x4aa082
mov qword [rsp + 0x88], rax
mov rcx, qword [rdx + rax*8]
mov qword [rsp + 0xe0], rcx
movups xmmword [rsp + 0x218], xmm15
movups xmmword [rsp + 0x228], xmm15
movups xmmword [rsp + 0x238], xmm15
mov rsi, qword [rcx]
mov rbx, qword [rcx + 8]
mov rax, rsi
call sym.runtime.convTstring
lea rcx, [0x004b5ea0]
mov qword [rsp + 0x218], rcx
mov qword [rsp + 0x220], rax
mov rdx, qword [rsp + 0xe0]
mov esi, dword [rdx + 0x14]
mov rdi, qword [rsp + 0x98]
lea rax, [rdi + rsi]
call sym.runtime.convT64
lea rcx, [0x004b6160]
mov qword [rsp + 0x228], rcx
mov qword [rsp + 0x230], rax
mov rdx, qword [rsp + 0xe0]
mov eax, dword [rdx + 0x18]
call sym.runtime.convT32
lea rcx, [0x004b61a0]
mov qword [rsp + 0x238], rcx
mov qword [rsp + 0x240], rax
mov rbx, qword [0x00ff6ea8]
mov rdx, qword [rsp + 0x88]
inc rdx
mov qword [rsp + 0x88], rdx
lea rax, [0x00f65148]
mov edi, 0x33
lea rsi, [rsp + 0x218]
mov r8d, 3
mov r9, r8
lea rcx, [0x004da9b3]
call sym.fmt.Fprintf
mov rcx, qword [rsp + 0xe0]
mov rbx, qword [rcx + 0x58]
mov edx, dword [rcx + 0x18]
nop
lea rax, [0x00f65168]
xor edi, edi
mov rcx, rdx
call sym.internal_saferio.ReadDataAt
mov qword [rsp + 0xc8], rax
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x50], rcx
mov rax, rdi
mov rbx, rsi
call sym.github.com_Enelg52_Backpack_runpe.CheckErr
mov rcx, qword [rsp + 0xe0]
mov edx, dword [rcx + 0x14]
mov rsi, qword [rsp + 0x98]
lea rbx, [rsi + rdx]
mov r8d, dword [rcx + 0x18]
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0xc8]
mov rdi, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
nop dword [rax]
call sym.github.com_Enelg52_Backpack_runpe.writeProcessMemory
call sym.github.com_Enelg52_Backpack_runpe.CheckErr
mov rcx, qword [rsp + 0x90]
mov rdx, qword [rsp + 0x108]
mov rax, qword [rsp + 0x88]
cmp rax, rcx
jl 0x4a9efb
mov rdx, qword [rsp + 0x68]
lea r10, [rdx - 0x80]
mov qword [rsp + 0x80], r10
mov rbx, qword [0x00ff6ea8]
nop
lea rax, [0x00f65148]
lea rcx, [0x004d7777]
mov edi, 0x21
xor esi, esi
xor r8d, r8d
mov r9, r8
nop
call sym.fmt.Fprintf
mov rdx, qword [rsp + 0xe8]
mov rax, qword [rdx + 0x18]
mov r10, qword [rsp + 0x98]
sub rax, r10
movups xmmword [rsp + 0x138], xmm15
call sym.runtime.convT64
lea rdx, [0x004b60e0]
mov qword [rsp + 0x138], rdx
mov qword [rsp + 0x140], rax
mov rbx, qword [0x00ff6ea8]
lea rax, [0x00f65148]
lea rcx, [0x004d5078]
mov edi, 0x19
lea rsi, [rsp + 0x138]
mov r8d, 1
mov r9, r8
call sym.fmt.Fprintf
movups xmmword [rsp + 0x128], xmm15
mov rax, qword [rsp + 0x98]
call sym.runtime.convT64
lea rdx, [0x004b6160]
mov qword [rsp + 0x128], rdx
mov qword [rsp + 0x130], rax
mov rbx, qword [0x00ff6ea8]
lea rax, [0x00f65148]
lea rcx, [0x004d8224]
mov edi, 0x24
lea rsi, [rsp + 0x128]
mov r8d, 1
mov r9, r8
call sym.fmt.Fprintf
mov qword [rsp + 0xa8], 0
nop
mov rdx, qword [rsp + 0x98]
mov qword [rsp + 0xa8], rdx
mov rax, qword [rsp + 0x60]
mov rbx, qword [rsp + 0xa0]
lea rcx, [rsp + 0xa8]
mov edi, 8
mov rsi, rdi
mov r8d, 8
call sym.github.com_Enelg52_Backpack_runpe.writeProcessMemory
call sym.github.com_Enelg52_Backpack_runpe.CheckErr
mov rdx, qword [rsp + 0xe8]
mov r10d, dword [rdx + 0x10]
mov r11, qword [rsp + 0x98]
add r10, r11
mov rcx, qword [rsp + 0x80]
nop word [rax + rax]
cmp rcx, 7
jbe 0x4aa2b9
mov rcx, qword [rsp + 0x100]
mov qword [rcx + 0x80], r10
movups xmmword [rsp + 0x118], xmm15
mov edx, dword [rdx + 0x10]
lea rax, [r11 + rdx]
call sym.runtime.convT64
lea rcx, [0x004b62a0]
mov qword [rsp + 0x118], rcx
mov qword [rsp + 0x120], rax
mov rbx, qword [0x00ff6ea8]
lea rax, [0x00f65148]
lea rcx, [0x004d86ef]
mov edi, 0x25
lea rsi, [rsp + 0x118]
mov r8d, 1
mov r9, r8
call sym.fmt.Fprintf
mov rax, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x100]
mov rcx, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x70]
call sym.github.com_Enelg52_Backpack_runpe.setThreadContext
call sym.github.com_Enelg52_Backpack_runpe.CheckErr
mov rax, qword [rsp + 0x58]
nop dword [rax + rax]
call sym.github.com_Enelg52_Backpack_runpe.resumeThread
mov rax, rbx
mov rbx, rcx
call sym.github.com_Enelg52_Backpack_runpe.CheckErr
add rsp, 0x2b0
pop rbp
ret
mov eax, 7
nop
call sym.runtime.panicIndex
mov eax, 7
mov rcx, rdx
call sym.runtime.panicIndex
mov eax, 0x88
call sym.runtime.panicSliceB
xor eax, eax
mov rcx, rax
call sym.runtime.panicIndex
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
mov qword [rsp + 0x28], rsi
mov byte [rsp + 0x30], r8b
call sym.runtime.morestack_noctxt.abi0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x28]
movzx r8d, byte [rsp + 0x30]
jmp sym.github.com_Enelg52_Backpack_runpe.Inject