Function at 0x7d2842b0
Capabilities:
Map section object

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x70]
sub rsp, 0x170
mov r8, qword [rcx + 8]
xor r13d, r13d
mov qword [rbp + 0xc8], r13
or rax, 0xffffffffffffffff
mov r12, rdx
mov rbx, rcx
inc rax
cmp word [r8 + rax*2], r13w
jne 0x7d2842e4
mov rdx, qword [rcx + 0x10]
or rcx, 0xffffffffffffffff
inc rcx
cmp word [rdx + rcx*2], r13w
jne 0x7d2842f6
mov rdx, qword [rbx + 0x18]
add eax, ecx
or rcx, 0xffffffffffffffff
nop word [rax + rax]
inc rcx
cmp word [rdx + rcx*2], r13w
jne 0x7d284310
mov rdx, qword [rbx + 0x28]
add eax, ecx
or rcx, 0xffffffffffffffff
inc rcx
cmp word [rdx + rcx*2], r13w
jne 0x7d284324
mov rdx, qword [rbx + 0x30]
add eax, ecx
or rcx, 0xffffffffffffffff
nop dword [rax + rax]
cmp byte [rdx + rcx + 1], r13b
lea rcx, [rcx + 1]
jne 0x7d284340
lea edx, [rcx + rax*2]
mov rcx, qword [rbx + 0x20]
or rax, 0xffffffffffffffff
nop word [rax + rax]
cmp byte [rcx + rax + 1], r13b
lea rax, [rax + 1]
jne 0x7d284360
lea r15d, [rdx + rax]
lea ecx, [r15 + 0x1b]
call fcn.7d2212da
mov ecx, dword [str.sbox5.40]
mov r14, rax
mov dword [rax], ecx
lea r9, [rax + 0x10]
mov dword [rax + 4], r13d
mov r8, r9
mov ecx, dword [rbx]
mov dword [rax + 8], ecx
mov ecx, dword [rbx + 4]
mov dword [rax + 0xc], ecx
mov rdx, qword [rbx + 8]
nop dword [rax]
movzx ecx, word [rdx]
lea rdx, [rdx + 2]
mov word [r8], cx
lea r8, [r8 + 2]
test cx, cx
jne 0x7d2843a0
or rax, 0xffffffffffffffff
nop dword [rax + rax]
cmp word [r9 + rax*2 + 2], r13w
lea rax, [rax + 1]
jne 0x7d2843c0
mov rcx, qword [rbx + 0x10]
lea r8, [rax + 1]
lea r8, [r9 + r8*2]
mov rdx, r8
nop dword [rax + rax]
movzx eax, word [rcx]
lea rcx, [rcx + 2]
mov word [rdx], ax
lea rdx, [rdx + 2]
test ax, ax
jne 0x7d2843e0
or rax, 0xffffffffffffffff
nop word [rax + rax]
cmp word [r8 + rax*2 + 2], r13w
lea rax, [rax + 1]
jne 0x7d284400
mov rcx, qword [rbx + 0x18]
lea r8, [r8 + rax*2]
add r8, 2
mov rdx, r8
nop dword [rax + rax]
movzx eax, word [rcx]
lea rcx, [rcx + 2]
mov word [rdx], ax
lea rdx, [rdx + 2]
test ax, ax
jne 0x7d284420
or rax, 0xffffffffffffffff
nop word [rax + rax]
cmp word [r8 + rax*2 + 2], r13w
lea rax, [rax + 1]
jne 0x7d284440
mov rcx, qword [rbx + 0x28]
lea r8, [r8 + rax*2]
add r8, 2
mov rdx, r8
nop dword [rax + rax]
movzx eax, word [rcx]
lea rcx, [rcx + 2]
mov word [rdx], ax
lea rdx, [rdx + 2]
test ax, ax
jne 0x7d284460
or rax, 0xffffffffffffffff
nop word [rax + rax]
cmp word [r8 + rax*2 + 2], r13w
lea rax, [rax + 1]
jne 0x7d284480
mov rcx, qword [rbx + 0x20]
lea r8, [r8 + rax*2]
add r8, 2
mov rdx, r8
nop dword [rax + rax]
movzx eax, byte [rcx]
lea rcx, [rcx + 1]
mov byte [rdx], al
lea rdx, [rdx + 1]
test al, al
jne 0x7d2844a0
or rax, 0xffffffffffffffff
inc rax
cmp byte [r8 + rax], r13b
jne 0x7d2844b5
mov rcx, qword [rbx + 0x30]
add r8, rax
lea rdx, [r8 + 1]
nop dword [rax]
movzx eax, byte [rcx]
lea rcx, [rcx + 1]
mov byte [rdx], al
lea rdx, [rdx + 1]
test al, al
jne 0x7d2844d0
or rax, 0xffffffffffffffff
cmp byte [r8 + rax + 2], r13b
lea rax, [rax + 1]
jne 0x7d2844e5
mov byte [rax + r8 + 2], 0x2a
mov esi, r13d
nop dword [rax]
mov rcx, qword [str.RPCSS_SXS]
lea rax, [rsp + 0x50]
lea r9, [rbp + 0xc0]
mov qword [rsp + 0x20], rax
lea r8d, [r15 + 0x1b]
mov rdx, r14
call sym.imfsbDll.dll_SbieDll_QueuePutReq
mov edi, eax
cmp eax, 0xc0000034
jne 0x7d284602
test byte [0x7d2abfa0], 2
jne 0x7d284634
movups xmm0, xmmword [str.SBIE_BOXED_]
lea rax, [rsp + 0x70]
movsd xmm1, qword [0x7d290ca0]
sub rax, 2
movaps xmmword [rsp + 0x70], xmm0
movsd qword [rbp - 0x80], xmm1
cmp word [rax + 2], r13w
lea rax, [rax + 2]
jne 0x7d284560
mov r8, qword [str.RPCSS_SXS]
xor edx, edx
nop dword [rax]
nop dword [rax + rax]
movzx ecx, word [r8 + rdx*2]
mov word [rax + rdx*2], cx
lea rdx, [rdx + 1]
test cx, cx
jne 0x7d284580
lea rcx, [rsp + 0x70]
sub rcx, 2
nop dword [rax + rax]
cmp word [rcx + 2], r13w
lea rcx, [rcx + 2]
jne 0x7d2845a0
mov eax, dword [0x7d29a038]
lea r9, [rsp + 0x70]
movsd xmm0, qword [str._READY]
xor r8d, r8d
movsd qword [rcx], xmm0
mov dword [rcx + 8], eax
movzx eax, word [0x7d29a03c]
mov word [rcx + 0xc], ax
lea edx, [r8 + 1]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
xor ecx, ecx
mov rbx, rax
call sym.imfsbDll.dll_SbieDll_StartCOM
mov edx, 0x7530
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x7d284627
test eax, eax
jne 0x7d28465b
mov rcx, qword [rsp + 0x50]
mov edx, 0x7530
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsp + 0x50]
mov edi, eax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
je 0x7d28463b
inc esi
cmp esi, 3
jb 0x7d284500
jmp 0x7d28465b
mov edi, 0xc000000a
jmp 0x7d28465b
mov edx, dword [rbp + 0xc0]
lea r9, [rbp + 0xb0]
mov rcx, qword [str.RPCSS_SXS]
lea r8, [rsp + 0x60]
call sym.imfsbDll.dll_SbieDll_QueueGetRpl
mov edi, eax
mov rcx, r14
call fcn.7d221938
test edi, edi
je 0x7d2846b4
cmp edi, 0xc0000061
jne 0x7d284682
mov byte [0x7d2ad7b0], 1
mov byte [r12], 1
xor eax, eax
jmp 0x7d284864
cmp edi, 0xc000000a
je 0x7d284676
mov r9, qword [0x7d2abf60]
lea rdx, str._S____S___08X_
mov r8, qword [str.RPCSS_SXS]
mov ecx, 0x89b
mov dword [rsp + 0x20], edi
call sym.imfsbDll.dll_SbieApi_Log
xor eax, eax
jmp 0x7d284864
mov edx, dword [rbp + 0xb0]
cmp edx, 4
jne 0x7d2846d5
mov rcx, qword [rsp + 0x60]
cmp dword [rcx], 0xffffffff
jne 0x7d284714
call fcn.7d221938
xor eax, eax
jmp 0x7d284864
cmp edx, 0x14
jne 0x7d284714
mov rcx, qword [rsp + 0x60]
mov rax, qword [rcx]
cmp rax, qword [str.UseAltCreateActCtx]
jne 0x7d284714
mov rax, qword [rcx + 8]
cmp rax, qword [0x7d29a048]
jne 0x7d284714
mov eax, dword [rcx + 0x10]
cmp eax, dword [0x7d29a050]
jne 0x7d284714
mov byte [r12], 1
call fcn.7d221938
xor eax, eax
jmp 0x7d284864
mov qword [rsp + 0x58], rdx
lea r9, [rsp + 0x58]
mov qword [rsp + 0x30], r13
lea rcx, [rsp + 0x50]
mov dword [rsp + 0x28], 0x8000000
mov edx, 0xf0007
xor r8d, r8d
mov dword [rsp + 0x20], 4
call qword [sym.imp.ntdll.dll_NtCreateSection]
test eax, eax
js 0x7d284853
mov eax, dword [rbp + 0xb0]
lea r8, [rbp + 0xc8]
mov rcx, qword [rsp + 0x50]
xor r9d, r9d
mov dword [rsp + 0x48], 4
or rdx, 0xffffffffffffffff
mov dword [rsp + 0x40], 0x400000
mov qword [rsp + 0x68], rax
lea rax, [rsp + 0x68]
mov dword [rsp + 0x38], 1
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r13
mov qword [rsp + 0x58], r13
call qword [sym.imp.ntdll.dll_NtMapViewOfSection]
test eax, eax
js 0x7d284848
mov r8d, dword [rbp + 0xb0]
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rbp + 0xc8]
call sub.ntdll.dll_memcpy
mov rdx, qword [rbp + 0xc8]
or rcx, 0xffffffffffffffff
call qword [sym.imp.ntdll.dll_NtUnmapViewOfSection]
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x68]
mov dword [rsp + 0x48], 2
lea r8, [rbp + 0xc8]
mov dword [rsp + 0x40], 0x400000
xor r9d, r9d
mov dword [rsp + 0x38], 1
or rdx, 0xffffffffffffffff
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r13
mov qword [rbp + 0xc8], r13
mov qword [rsp + 0x68], r13
mov qword [rsp + 0x58], r13
call qword [sym.imp.ntdll.dll_NtMapViewOfSection]
mov rcx, qword [rbp + 0xc8]
test eax, eax
cmovs rcx, r13
mov qword [rbp + 0xc8], rcx
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ntdll.dll_NtClose]
mov rcx, qword [rsp + 0x60]
call fcn.7d221938
mov rax, qword [rbp + 0xc8]
mov rbx, qword [rsp + 0x1b8]
add rsp, 0x170
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret