Function at 0x1401273c6
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x3a8
movaps xmmword [rsp + 0x390], xmm6
mov rax, qword [0x1401c6028]
xor rax, rsp
mov qword [rsp + 0x388], rax
cmp qword [rcx + 0x18], 0
je 0x1401274d8
mov rsi, rcx
lea rax, [rsp + 0x128]
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov qword [rax - 8], rax
lea rbp, [rcx + 8]
mov r12, qword [rcx + 0x10]
cmp r12, rbp
je 0x1401274df
xor r15d, r15d
lea rdi, [rsp + 0x120]
lea rbx, [rsp + 0x258]
lea rcx, [r12 + 0x10]
call fcn.140127eb6
test al, al
je 0x1401274b5
lea r14, [r12 + 0x18]
mov rcx, rdi
mov rdx, r14
call fcn.1400fea5e
test rax, rax
jne 0x140127489
movzx eax, byte [r12 + 0x2f]
test al, al
jns 0x140127469
mov rax, qword [r12 + 0x20]
lea rax, [rax*2 + 0x23]
and rax, 0xfffffffffffffff8
add r15, rax
mov rcx, rdi
mov rdx, rbx
mov r8, r14
mov r9, r14
call fcn.140126c4e
movzx eax, byte [r12 + 0x47]
test al, al
jns 0x140127498
mov rax, qword [r12 + 0x38]
movzx ecx, byte [r12 + 0x5f]
test cl, cl
jns 0x1401274a7
mov rcx, qword [r12 + 0x50]
add rax, rcx
add rax, 0x21
and rax, 0xfffffffffffffff8
add r15, rax
mov r12, qword [r12 + 8]
cmp r12, rbp
jne 0x140127437
mov rdx, qword [rsp + 0x128]
lea rdi, [r15 + 0x10]
test r15, r15
cmove rdi, r15
jmp 0x1401274e3
xor ebp, ebp
jmp 0x140127e4e
xor edx, edx
xor edi, edi
lea r14, [rsp + 0x120]
mov rcx, r14
call fcn.1400ebee0
mov rcx, rdi
call fcn.140150ddc
mov r13, rax
movabs rbx, 0xaaaaaaaaaaaaaaaa
test rdi, rdi
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x68], rbp
je 0x1401278a4
cmp byte [rsi + 0x20], 0
je 0x140127533
mov rax, qword [rsi]
test rax, rax
je 0x140127ea2
mov rax, qword [rax + 0x40]
jmp 0x140127535
xor eax, eax
lea r12, [r13 + 0x10]
mov qword [rsp + 0x58], r13
mov qword [r13 + 8], rax
lea r13, [rdi - 0x10]
mov rax, qword [rsp + 0x60]
mov r15, qword [rax + 0x10]
movaps xmm6, xmmword [0x1401990c0]
mov qword [rsp + 0x50], r12
xor eax, eax
mov qword [rsp + 0x70], rax
cmp r15, rbp
je 0x140127891
lea rcx, [r15 + 0x10]
call fcn.140127eb6
test al, al
jne 0x14012757e
mov r15, qword [r15 + 8]
jmp 0x140127562
mov qword [rsp + 0x78], rdi
lea rdi, [r15 + 0x18]
mov qword [rsp + 0x130], rbx
movaps xmmword [rsp + 0x120], xmm6
mov al, byte [r15 + 0x2f]
test al, al
js 0x1401275b8
mov rcx, qword [rdi + 0x10]
mov qword [rsp + 0x130], rcx
movups xmm0, xmmword [rdi]
movaps xmmword [rsp + 0x120], xmm0
jmp 0x1401275cc
mov rdx, qword [r15 + 0x18]
mov r8, qword [r15 + 0x20]
mov rcx, r14
call fcn.140050dce
mov al, byte [r15 + 0x2f]
test al, al
jns 0x1401275d6
mov rax, qword [r15 + 0x20]
jmp 0x1401275d9
movzx eax, al
lea rax, [rax*2 + 0x23]
and rax, 0xfffffffffffffff8
mov rbx, r13
sub rbx, rax
jae 0x1401275f4
xor esi, esi
jmp 0x140127844
cmp dword [r15 + 0x10], 3
sete byte [r12 + 0x18]
mov qword [r12], rax
mov qword [rsp + 0x48], rax
mov qword [r12 + 8], rax
mov qword [r12 + 0x10], 0
movzx r8d, byte [r15 + 0x2f]
test r8b, r8b
jns 0x140127624
mov r8, qword [r15 + 0x20]
lea rdx, [r12 + 0x1a]
mov rcx, rdi
xor r9d, r9d
call fcn.14005114c
movzx eax, byte [r15 + 0x2f]
test al, al
jns 0x140127641
mov rax, qword [r15 + 0x20]
add qword [rsp + 0x48], r12
mov word [r12 + rax*2 + 0x1a], 0
cmp r15, rbp
je 0x140127829
mov rdi, r15
lea rcx, [rdi + 0x18]
movzx eax, byte [rsp + 0x137]
test al, al
cmovs rax, qword [rsp + 0x128]
mov rdx, qword [rsp + 0x120]
cmovns rdx, r14
test rax, rax
js 0x140127e81
je 0x140127691
test rdx, rdx
je 0x140127e84
movzx r8d, byte [rdi + 0x2f]
test r8b, r8b
jns 0x1401276a3
mov r8, qword [rdi + 0x20]
mov rcx, qword [rdi + 0x18]
test r8, r8
js 0x140127e87
je 0x1401276b7
test rcx, rcx
je 0x140127e8a
cmp r8, rax
jne 0x1401276f5
test r8, r8
je 0x1401276d8
xor r8d, r8d
movzx r9d, word [rcx + r8*2]
cmp r9w, word [rdx + r8*2]
jne 0x1401276f5
inc r8
cmp rax, r8
jne 0x1401276c4
mov rax, qword [rsp + 0x50]
cmp byte [rax + 0x18], 0
je 0x140127726
movzx eax, byte [rdi + 0x47]
test al, al
jns 0x1401276fe
mov rax, qword [rdi + 0x38]
mov rcx, qword [rdi + 0x30]
jmp 0x140127702
mov rdi, qword [rdi + 8]
jmp 0x14012781e
lea rcx, [rdi + 0x30]
test rax, rax
js 0x140127e8d
je 0x140127716
test rcx, rcx
je 0x140127e90
cmp rax, 1
jne 0x140127721
cmp byte [rcx], 0x40
je 0x140127726
call fcn.14007fd20
movzx r12d, byte [rdi + 0x47]
test r12b, r12b
jns 0x140127734
mov r12, qword [rdi + 0x38]
movzx r13d, byte [rdi + 0x5f]
test r13b, r13b
jns 0x140127742
mov r13, qword [rdi + 0x50]
lea rsi, [r12 + r13]
add rsi, 0x21
and rsi, 0xfffffffffffffff8
mov rbp, rbx
sub rbp, rsi
jb 0x140127878
lea rax, [rdi + 0x48]
mov qword [rsp + 0x80], rax
lea rcx, [rdi + 0x30]
mov rbx, qword [rsp + 0x48]
mov qword [rbx], rsi
mov eax, dword [rdi + 0x10]
mov dword [rbx + 8], eax
mov eax, dword [rdi + 0x14]
mov dword [rbx + 0xc], eax
mov rax, qword [rdi + 0x60]
mov qword [rbx + 0x10], rax
lea rdx, [rbx + 0x18]
mov r8, r12
xor r9d, r9d
call fcn.14005052a
lea r14, [rbx + r12]
add r14, 0x18
lea rdx, [rbx + r12]
add rdx, 0x19
xor r12d, r12d
mov byte [rdx - 1], r12b
mov rcx, qword [rsp + 0x80]
mov r8, r13
xor r9d, r9d
call fcn.14005052a
mov byte [r13 + r14 + 1], r12b
mov rax, qword [rsp + 0x50]
inc qword [rax + 0x10]
add qword [rax], rsi
cmp r15, rdi
jne 0x1401277d9
mov r15, qword [r15 + 8]
mov rcx, qword [rsp + 0x60]
cmp rdi, qword [rsp + 0x68]
lea r14, [rsp + 0x120]
je 0x140127e93
add qword [rsp + 0x48], rsi
mov rax, qword [rdi]
mov rsi, qword [rdi + 8]
mov qword [rax + 8], rsi
mov rax, qword [rdi]
mov qword [rsi], rax
dec qword [rcx + 0x18]
mov rcx, rdi
call fcn.140128002
mov rbx, rbp
mov rdi, rsi
mov rbp, qword [rsp + 0x68]
cmp rdi, rbp
jne 0x14012765a
jmp 0x14012782c
mov r15, rbp
inc qword [rsp + 0x70]
mov sil, 1
mov rax, qword [rsp + 0x48]
mov r12, rax
mov r13, rbx
mov qword [rsp + 0x50], rax
cmp byte [rsp + 0x137], 0
movabs rbx, 0xaaaaaaaaaaaaaaaa
mov rdi, qword [rsp + 0x78]
jns 0x14012786a
mov rcx, qword [rsp + 0x120]
call fcn.140150da4
test sil, sil
jne 0x140127562
jmp 0x140127e05
xor esi, esi
mov r12, qword [rsp + 0x48]
mov r13, rbx
mov rbp, qword [rsp + 0x68]
lea r14, [rsp + 0x120]
jmp 0x140127844
mov r13, qword [rsp + 0x58]
mov rax, qword [rsp + 0x70]
mov qword [r13], rax
mov rsi, qword [rsp + 0x60]
mov qword [rsp + 0x88], rbx
mov rax, qword [rsi]
test rax, rax
je 0x140127e96
mov rcx, qword [rax]
lea r9, [rsp + 0x88]
mov rdx, r13
mov r8, rdi
call fcn.1401230d9
mov ebp, 0x27
test al, al
je 0x140127e41
test rdi, rdi
je 0x140127947
lea rax, [0x14013eec0]
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x28], 0
mov rdi, rbx
lea rbx, [0x1401b3990]
lea r8, str.NtMapViewOfSection
mov rcx, rsi
mov rdx, rbx
mov r9d, 1
call fcn.1401271c6
lea rax, [0x14013ef30]
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x28], 1
lea r8, str.NtUnmapViewOfSection
mov rcx, rsi
mov rdx, rbx
mov rbx, rdi
mov r9d, 1
call fcn.1401271c6
jmp 0x140127952
cmp qword [rsi + 0x18], 0
je 0x140127dc3
mov rax, qword [rsi]
test rax, rax
je 0x140127e99
mov rcx, qword [rax]
mov dword [rsp + 0x20], 1
mov r8d, 0x10000
mov qword [rsp + 0x50], rcx
xor edx, edx
mov r9d, 0x2000
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov r15, qword [rsi + 0x18]
shl r15, 6
lea r14, [r15 + 0x60]
cmp r14, 0x10001
mov rbp, qword [rsp + 0x68]
jae 0x140127e9c
mov r12, rax
mov edx, 0x10000
sub edx, r14d
xor ecx, ecx
call fcn.14006c170
mov ecx, 0x800
mov r8d, 0x1000
mov edx, 0x800
mov rdi, r8
shr rdx, 1
mov r8, rcx
cmp rcx, r14
mov rcx, rdx
jae 0x1401279c2
neg edi
and edi, eax
mov eax, edi
and eax, 0xfffff000
add r12, rax
add r15, 0x105f
and r15, 0xfffffffffffff000
mov dword [rsp + 0x20], 0x40
mov rcx, qword [rsp + 0x50]
mov rdx, r12
mov r8, r15
mov r9d, 0x1000
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
test rax, rax
je 0x140127e9f
mov r15, rax
lea rcx, [rsp + 0x120]
mov r8d, 0x138
mov dl, 0xaa
call fcn.1401543c0
lea r12, [0x1401b3990]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140127df7
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x58], r13
movaps xmm6, xmmword [0x1401990c0]
movups xmmword [rsp + 0x338], xmm6
movups xmmword [rsp + 0x378], xmm6
movups xmmword [rsp + 0x368], xmm6
movups xmmword [rsp + 0x358], xmm6
movups xmmword [rsp + 0x348], xmm6
mov qword [rsp + 0x328], r14
mov dword [rsp + 0x340], 0
mov qword [rsp + 0x330], 0x20
mov qword [rsp + 0x118], rbx
movups xmmword [rsp + 0x108], xmm6
movups xmmword [rsp + 0xf8], xmm6
mov rax, qword [rsi]
test rax, rax
je 0x140127eab
and edi, 0xfff
add r15, rdi
mov rax, qword [rax]
lea rcx, method.std::__Cr::locale::facet.virtual_0
mov qword [rsp + 0xf0], rcx
mov qword [rsp + 0x108], 0
mov qword [rsp + 0x110], rax
mov byte [rsp + 0x118], 1
mov dword [rsp + 0x11c], 0
xor ebx, ebx
lea rcx, [rsp + 0x258]
mov r8d, 0xd0
xor edx, edx
call fcn.1401543c0
mov rdi, qword [rsi + 0x10]
cmp rdi, rbp
je 0x140127cd7
lea rsi, [rsp + 0x98]
mov r13d, 0x20
lea rbp, [rsp + 0x90]
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0xe0], rax
movaps xmmword [rsp + 0xd0], xmm6
movaps xmmword [rsp + 0xc0], xmm6
movaps xmmword [rsp + 0xb0], xmm6
movaps xmmword [rsp + 0xa0], xmm6
movaps xmmword [rsp + 0x90], xmm6
lea rdx, [rdi + 0x10]
mov rcx, rbp
call fcn.1401270a4
movzx ecx, byte [rsp + 0xaf]
mov rax, rsi
test cl, cl
jns 0x140127ba5
mov rcx, qword [rsp + 0xa0]
mov rax, qword [rsp + 0x98]
test rcx, rcx
js 0x140127ea8
je 0x140127bb9
test rax, rax
je 0x140127ea5
mov ebp, 2
cmp rcx, 9
jne 0x140127e2f
xor ecx, ecx
movzx edx, word [rax + rcx]
cmp dx, word [rcx + r12]
jne 0x140127e2f
add rcx, 2
cmp rcx, 0x12
jne 0x140127bca
cmp dword [rsp + 0x90], 1
jne 0x140127e2f
cmp byte [rsp + 0xdf], 0
lea rax, [rsp + 0xc8]
jns 0x140127c0b
mov rax, qword [rsp + 0xc8]
cmp byte [rsp + 0xc7], 0
lea r9, [rsp + 0xb0]
jns 0x140127c25
mov r9, qword [rsp + 0xb0]
mov rcx, r14
sub rcx, r13
movsxd rdx, ebx
shl rdx, 6
lea rsi, [r15 + rdx]
add rsi, 0x20
mov rdx, qword [rsp + 0xe0]
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x40], 0
lea rcx, [rsp + 0xf0]
mov rdx, qword [rsp + 0x48]
xor r8d, r8d
call fcn.140031640
test eax, eax
js 0x140127e0c
movsxd rax, dword [rsp + 0x94]
mov qword [rsp + rax*8 + 0x258], rsi
mov ebx, dword [rsp + 0x340]
inc ebx
mov dword [rsp + 0x340], ebx
mov r13, qword [rsp + 0x330]
add r13, 0x40
mov qword [rsp + 0x330], r13
lea rbp, [rsp + 0x90]
mov rcx, rbp
call fcn.14012714a
mov rdi, qword [rdi + 8]
cmp rdi, qword [rsp + 0x68]
lea rsi, [rsp + 0x98]
jne 0x140127b40
lea r12, [rsp + 0x120]
lea r13, [rsp + 0x258]
mov r8d, 0x130
mov rcx, r12
mov rdx, r13
call fcn.140153d10
mov qword [r12 + 0x130], 1
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [r13], rax
lea r8, [rsp + 0x1f0]
mov qword [rsp + 0x20], r13
mov r9d, 0x20
mov rcx, qword [rsp + 0x50]
mov rdx, r15
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x140127dfe
cmp qword [rsp + 0x258], 0x20
jne 0x140127dfe
lea rax, [rsp + 0x90]
mov dword [rax], 0xaaaaaaaa
mov qword [rsp + 0x20], rax
mov rcx, qword [rsp + 0x50]
mov rdx, r15
mov r8, r14
mov r9d, 0x20
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
mov rsi, qword [rsp + 0x60]
mov rcx, qword [rsi]
test rcx, rcx
mov r13, qword [rsp + 0x58]
je 0x140127eb1
cmp qword [rsp + 0x250], 1
jne 0x140127e7c
mov qword [rsp + 0x20], 0xd0
lea rdx, str.g_originals
lea r9, [0x1401ded10]
lea r8, [rsp + 0x120]
call fcn.1401017ce
mov ebp, eax
test eax, eax
jne 0x140127e41
mov rcx, qword [rsi]
test rcx, rcx
je 0x140127eae
mov qword [rsp + 0x20], 8
lea rdx, str.g_interceptions
lea r9, [0x1401dee30]
lea r8, [rsp + 0x88]
call fcn.1401017ce
mov ebp, eax
jmp 0x140127e41
mov ebp, 7
jmp 0x140127e41
mov ebp, 0x2a
jmp 0x140127e3c
mov ebp, 0x26
jmp 0x140127e3c
mov ebp, eax
call fcn.1400fc43b
mov rax, qword [rax + 0xd8]
mov ecx, ebp
call qword [0x1401b8a48]
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov ebp, 0x28
lea rcx, [rsp + 0x90]
call fcn.14012714a
mov r13, qword [rsp + 0x58]
test r13, r13
je 0x140127e4e
mov rcx, r13
call fcn.140150de4
mov rcx, qword [rsp + 0x388]
xor rcx, rsp
call fcn.140152280
mov eax, ebp
movaps xmm6, xmmword [rsp + 0x390]
add rsp, 0x3a8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
call fcn.1400d6170
int3
int3
int3
int3
int3
int3
int3
int3
int3
int3
int3
int3
int3
int3
int3
int3
int3