Function at 0x40f960
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x150
mov rax, qword [0x004408f0]
mov qword [rsp + 0x140], rax
mov dword [rsp + 0x58], 0
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x50], 0
mov byte [rsp + 0xc8], 0
lea rax, [rsp + 0xc9]
mov rdi, rax
xor eax, eax
mov ecx, 0x3d
rep stosb byte [rdi], al
mov qword [rsp + 0xb8], 0
mov dword [rsp + 0x38], 0x1000
mov dword [rsp + 0xc0], 0
mov byte [rsp + 0x68], 0x48
mov byte [rsp + 0x69], 0x83
mov byte [rsp + 0x6a], 0xec
mov byte [rsp + 0x6b], 0x28
mov byte [rsp + 0x6c], 0x41
mov byte [rsp + 0x6d], 0xb9
mov byte [rsp + 0x6e], 0x40
mov byte [rsp + 0x6f], 0
mov byte [rsp + 0x70], 0
mov byte [rsp + 0x71], 0
mov byte [rsp + 0x72], 0x41
mov byte [rsp + 0x73], 0xb8
mov byte [rsp + 0x74], 0
mov byte [rsp + 0x75], 0x30
mov byte [rsp + 0x76], 0
mov byte [rsp + 0x77], 0
mov byte [rsp + 0x78], 0xba
mov byte [rsp + 0x79], 0
mov byte [rsp + 0x7a], 0
mov byte [rsp + 0x7b], 0
mov byte [rsp + 0x7c], 0
mov byte [rsp + 0x7d], 0x31
mov byte [rsp + 0x7e], 0xc9
mov byte [rsp + 0x7f], 0xff
mov byte [rsp + 0x80], 0x15
mov byte [rsp + 0x81], 2
mov byte [rsp + 0x82], 0
mov byte [rsp + 0x83], 0
mov byte [rsp + 0x84], 0
mov byte [rsp + 0x85], 0xeb
mov byte [rsp + 0x86], 8
mov byte [rsp + 0x87], 0
mov byte [rsp + 0x88], 0
mov byte [rsp + 0x89], 0
mov byte [rsp + 0x8a], 0
mov byte [rsp + 0x8b], 0
mov byte [rsp + 0x8c], 0
mov byte [rsp + 0x8d], 0
mov byte [rsp + 0x8e], 0
mov byte [rsp + 0x8f], 0x48
mov byte [rsp + 0x90], 0xa3
mov byte [rsp + 0x91], 0
mov byte [rsp + 0x92], 0
mov byte [rsp + 0x93], 0
mov byte [rsp + 0x94], 0
mov byte [rsp + 0x95], 0
mov byte [rsp + 0x96], 0
mov byte [rsp + 0x97], 0
mov byte [rsp + 0x98], 0
mov byte [rsp + 0x99], 0x48
mov byte [rsp + 0x9a], 0x83
mov byte [rsp + 0x9b], 0xc4
mov byte [rsp + 0x9c], 0x28
mov byte [rsp + 0x9d], 0xc3
mov byte [rsp + 0x9e], 0xcc
mov byte [rsp + 0x9f], 0xcc
mov byte [rsp + 0xa0], 0xcc
mov byte [rsp + 0xa1], 0xcc
mov byte [rsp + 0xa2], 0xcc
mov byte [rsp + 0xa3], 0xcc
mov byte [rsp + 0xa4], 0xcc
mov byte [rsp + 0xa5], 0xcc
lea rdx, [0x004340c0]
lea rcx, [rsp + 0xa8]
call sub.ntoskrnl.exe_RtlInitUnicodeString
mov rax, qword [rsp + 0x160]
mov rcx, qword [rax]
call sub.ntoskrnl.exe_PsGetProcessWow64Process
test rax, rax
je 0x40fbca
mov dword [rsp + 0x138], 1
jmp 0x40fbd5
mov dword [rsp + 0x138], 0
movzx r8d, byte [rsp + 0x138]
lea rdx, [rsp + 0xa8]
mov rax, qword [rsp + 0x160]
mov rcx, qword [rax]
call fcn.0040edb0
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
jne 0x40fc0d
mov eax, 0xc0000001
jmp 0x40ffde
xor r9d, r9d
mov rax, qword [rsp + 0x160]
mov r8, qword [rax]
lea rdx, [0x004340a0]
mov rcx, qword [rsp + 0x30]
call fcn.0040f250
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
jne 0x40fc43
mov eax, 0xc0000001
jmp 0x40ffde
xor r9d, r9d
mov rax, qword [rsp + 0x160]
mov r8, qword [rax]
lea rdx, [0x00434090]
mov rcx, qword [rsp + 0x30]
call fcn.0040f250
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
jne 0x40fc79
mov eax, 0xc0000001
jmp 0x40ffde
mov rcx, qword [rsp + 0x30]
call fcn.0040f830
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
jne 0x40fc9a
mov eax, 0xc0000001
jmp 0x40ffde
mov r8d, 0x3e
mov rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0xc8]
call fcn.004319d0
mov eax, dword [rsp + 0x168]
mov dword [rsp + 0x79], eax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x87], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x91], rax
lea rax, [rsp + 0xc0]
mov qword [rsp + 0x20], rax
mov r9d, 0x40
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0x40]
mov rcx, 0xffffffffffffffff
call fcn.0042b330
mov dword [rsp + 0x58], eax
cmp dword [rsp + 0x58], 0
jl 0x40fdd4
mov r8d, 0x3e
lea rdx, [rsp + 0x68]
mov rcx, qword [rsp + 0x40]
call fcn.004319d0
mov qword [rsp + 0x20], 0
mov r9b, 1
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x40]
call fcn.00412ba0
mov dword [rsp + 0x58], eax
cmp dword [rsp + 0x58], 0
jl 0x40fdcf
mov rax, qword [rsp + 0x50]
mov rax, qword [rax]
mov qword [rsp + 0x108], rax
mov rax, qword [rsp + 0x170]
mov rcx, qword [rsp + 0x108]
mov qword [rax], rcx
movsxd rax, dword [rsp + 0x168]
mov rcx, qword [rsp + 0x170]
mov qword [rcx + 8], rax
mov r8d, 0x3e
lea rdx, [rsp + 0xc8]
mov rcx, qword [rsp + 0x40]
call fcn.004319d0
lea rax, [rsp + 0xc0]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0xc0]
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0x40]
mov rcx, 0xffffffffffffffff
call fcn.0042b330
xor eax, eax
jmp 0x40ffde
jmp 0x40fea4
mov qword [rsp + 0x110], 0
mov qword [rsp + 0x118], 0
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov edx, 0x3e
mov rcx, qword [rsp + 0x40]
call sub.ntoskrnl.exe_IoAllocateMdl
mov qword [rsp + 0x110], rax
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x110]
call sub.ntoskrnl.exe_MmProbeAndLockPages
mov dword [rsp + 0x28], 0x20
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x110]
call sub.ntoskrnl.exe_MmMapLockedPagesSpecifyCache
mov qword [rsp + 0x118], rax
mov r8d, 0x3e
lea rdx, [rsp + 0x68]
mov rcx, qword [rsp + 0x118]
call fcn.004319d0
mov rdx, qword [rsp + 0x110]
mov rcx, qword [rsp + 0x118]
call sub.ntoskrnl.exe_MmUnmapLockedPages
mov rcx, qword [rsp + 0x110]
call sub.ntoskrnl.exe_MmUnlockPages
mov rcx, qword [rsp + 0x110]
call sub.ntoskrnl.exe_IoFreeMdl
jmp 0x40fea4
mov qword [rsp + 0x20], 0
mov r9b, 1
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x40]
call fcn.00412ba0
mov dword [rsp + 0x58], eax
cmp dword [rsp + 0x58], 0
jl 0x40ffd9
mov rax, qword [rsp + 0x50]
mov rax, qword [rax]
mov qword [rsp + 0x120], rax
mov rax, qword [rsp + 0x170]
mov rcx, qword [rsp + 0x120]
mov qword [rax], rcx
movsxd rax, dword [rsp + 0x168]
mov rcx, qword [rsp + 0x170]
mov qword [rcx + 8], rax
mov qword [rsp + 0x128], 0
mov qword [rsp + 0x130], 0
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov edx, 0x3e
mov rcx, qword [rsp + 0x40]
call sub.ntoskrnl.exe_IoAllocateMdl
mov qword [rsp + 0x128], rax
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x128]
call sub.ntoskrnl.exe_MmProbeAndLockPages
mov dword [rsp + 0x28], 0x20
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x128]
call sub.ntoskrnl.exe_MmMapLockedPagesSpecifyCache
mov qword [rsp + 0x130], rax
mov r8d, 0x3e
lea rdx, [rsp + 0xc8]
mov rcx, qword [rsp + 0x130]
call fcn.004319d0
mov rdx, qword [rsp + 0x128]
mov rcx, qword [rsp + 0x130]
call sub.ntoskrnl.exe_MmUnmapLockedPages
mov rcx, qword [rsp + 0x128]
call sub.ntoskrnl.exe_MmUnlockPages
mov rcx, qword [rsp + 0x128]
call sub.ntoskrnl.exe_IoFreeMdl
jmp 0x40ffd5
xor eax, eax
jmp 0x40ffde
mov eax, 0xc0000001
mov rcx, qword [rsp + 0x140]
call fcn.00432250
add rsp, 0x150
pop rdi
ret