Function at 0x140045570
Capabilities:
Read file via mapping

Disassembly:
add rcx, 0x80
jmp method.CSystemInjectedSpyModuleBase.1.virtual_8
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x1d8]
sub rsp, 0x2b0
mov qword [rbp + 0x28], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x14017c430]
xor rax, rsp
mov qword [rbp + 0x1a0], rax
mov rdi, rcx
lea r15, vtable.ATL::CAcl.0
mov qword [rsp + 0x60], r15
xor r12d, r12d
mov qword [rsp + 0x68], r12
mov byte [rsp + 0x70], r12b
mov dword [rsp + 0x74], 2
lea r13, vtable.ATL::CDacl.0
mov qword [rsp + 0x60], r13
lea rax, [rsp + 0x78]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x78], r12
mov qword [rbp - 0x80], r12
mov qword [rbp - 0x78], r12
mov dword [rbp - 0x70], r12d
lea rcx, [rbp + 0xa0]
call fcn.140039dc0
nop
mov rdx, rax
lea rcx, [rsp + 0x60]
call fcn.140039f30
nop
lea rcx, [rbp + 0xa0]
call fcn.140034f20
lea rcx, [rbp + 0x120]
call fcn.140039bd0
nop
mov rdx, rax
lea rcx, [rsp + 0x60]
call fcn.140039f30
nop
lea rcx, [rbp + 0x120]
call fcn.140034f20
lea r14, vtable.ATL::CSecurityDesc.0
mov qword [rbp - 0x50], r14
mov qword [rbp - 0x48], r12
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x50]
call fcn.1400398e0
mov dword [rbp - 0x68], 0x18
mov rax, qword [rbp - 0x48]
mov qword [rbp - 0x60], rax
mov dword [rbp - 0x58], r12d
mov rax, qword [rdi - 0x10]
movsxd rcx, dword [rax + 4]
lea rcx, [rcx + rdi - 0x10]
mov rax, qword [rcx]
lea rdx, [rbp + 0x30]
call qword [rax + VariantCopy]
mov rcx, rax
lea rdx, [rbp - 0x18]
call fcn.1400376c0
nop
mov r8, rax
lea rdx, str.GlobalSC_FileMapping_
lea rcx, [rbp + 8]
call fcn.140036910
nop
mov rax, qword [rax]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x600000
xor r9d, r9d
lea r8d, [r12 + 4]
lea rdx, [rbp - 0x68]
or rsi, 0xffffffffffffffff
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov rcx, qword [rdi - 0x10]
movsxd rdx, dword [rcx + 8]
mov qword [rdx + rdi + 8], rax
mov rdx, qword [rbp + 8]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x140045705
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + VariantCopy]
nop
mov rdx, qword [rbp - 0x18]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x140045723
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + VariantCopy]
mov rax, qword [rdi - 0x10]
movsxd rcx, dword [rax + 8]
mov ebx, r12d
cmp qword [rcx + rdi + 8], rbx
setne bl
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x140045748
movzx eax, ax
or eax, 0x80070000
test ebx, ebx
jne 0x140045762
mov dword [rsp + 0x58], eax
lea rdx, [0x140176950]
lea rcx, [rsp + 0x58]
call fcn.1400de560
int3
mov rax, qword [rdi - 0x10]
movsxd rcx, dword [rax + 8]
mov qword [rsp + 0x20], 0x500000
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 6]
mov rcx, qword [rcx + rdi + 8]
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov rcx, qword [rdi - 0x10]
movsxd rdx, dword [rcx + 8]
mov qword [rdx + rdi + 0x10], rax
mov rax, qword [rdi - 0x10]
movsxd rcx, dword [rax + 8]
mov ebx, r12d
cmp qword [rcx + rdi + 0x10], rbx
setne bl
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x1400457ba
movzx eax, ax
or eax, 0x80070000
test ebx, ebx
jne 0x1400457d4
mov dword [rsp + 0x40], eax
lea rdx, [0x140176950]
lea rcx, [rsp + 0x40]
call fcn.1400de560
int3
mov rax, qword [rdi - 0x10]
movsxd rcx, dword [rax + 8]
mov qword [rsp + 0x20], 0x100000
mov r9d, 0x500000
xor r8d, r8d
lea edx, [r8 + 6]
mov rcx, qword [rcx + rdi + 8]
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov rcx, qword [rdi - 0x10]
movsxd rdx, dword [rcx + 8]
mov qword [rdx + rdi + 0x18], rax
mov rax, qword [rdi - 0x10]
movsxd rcx, dword [rax + 8]
mov ebx, r12d
cmp qword [rcx + rdi + 0x18], rbx
setne bl
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x14004582f
movzx eax, ax
or eax, 0x80070000
test ebx, ebx
jne 0x140045849
mov dword [rsp + 0x4c], eax
lea rdx, [0x140176950]
lea rcx, [rsp + 0x4c]
call fcn.1400de560
int3
mov rax, qword [rdi - 0x10]
movsxd rcx, dword [rax + 4]
lea rcx, [rcx + rdi - 0x10]
mov rax, qword [rcx]
lea rdx, [rbp + 0x50]
call qword [rax + VariantCopy]
mov rcx, rax
lea rdx, [rbp + 0x18]
call fcn.1400376c0
nop
mov r8, rax
lea rdx, str.GlobalSC_SharedMemoryMutex_
lea rcx, [rbp - 0x38]
call fcn.140036910
nop
mov r8, qword [rax]
mov rax, qword [rdi - 0x10]
movsxd rbx, dword [rax + 8]
xor edx, edx
lea rcx, [rbp - 0x68]
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
mov qword [rbx + rdi + 0x20], rax
mov ebx, r12d
test rax, rax
setne bl
mov rdx, qword [rbp - 0x38]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x1400458c5
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + VariantCopy]
nop
mov rdx, qword [rbp + 0x18]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x1400458e3
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + VariantCopy]
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x1400458f5
movzx eax, ax
or eax, 0x80070000
test ebx, ebx
jne 0x14004590f
mov dword [rsp + 0x44], eax
lea rdx, [0x140176950]
lea rcx, [rsp + 0x44]
call fcn.1400de560
int3
mov rax, qword [rdi - 0x10]
movsxd rcx, dword [rax + 4]
lea rcx, [rcx + rdi - 0x10]
mov rax, qword [rcx]
lea rdx, [rbp + 0x70]
call qword [rax + VariantCopy]
mov rcx, rax
lea rdx, [rbp + 0x10]
call fcn.1400376c0
nop
mov r8, rax
lea rdx, str.GlobalSC_DataAvaliableEvent_
lea rcx, [rbp]
call fcn.140036910
nop
mov r9, qword [rax]
mov rax, qword [rdi - 0x10]
movsxd rbx, dword [rax + 8]
xor r8d, r8d
xor edx, edx
lea rcx, [rbp - 0x68]
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rbx + rdi + 0x40], rax
mov ebx, r12d
test rax, rax
setne bl
mov rdx, qword [rbp]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x14004598e
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + VariantCopy]
nop
mov rdx, qword [rbp + 0x10]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x1400459ac
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + VariantCopy]
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x1400459be
movzx eax, ax
or eax, 0x80070000
test ebx, ebx
jne 0x1400459d8
mov dword [rsp + 0x54], eax
lea rdx, [0x140176950]
lea rcx, [rsp + 0x54]
call fcn.1400de560
int3
mov rax, qword [rdi - 0x10]
movsxd rcx, dword [rax + 4]
lea rcx, [rcx + rdi - 0x10]
mov rax, qword [rcx]
lea rdx, [rbp + 0x80]
call qword [rax + VariantCopy]
mov rcx, rax
lea rdx, [rbp - 0x20]
call fcn.1400376c0
nop
mov r8, rax
lea rdx, str.GlobalSC_DataConsumedEvent_
lea rcx, [rbp + 0x20]
call fcn.140036910
nop
mov r9, qword [rax]
mov rax, qword [rdi - 0x10]
movsxd rbx, dword [rax + 8]
xor r8d, r8d
xor edx, edx
lea rcx, [rbp - 0x68]
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rbx + rdi + 0x48], rax
mov ebx, r12d
test rax, rax
setne bl
mov rdx, qword [rbp + 0x20]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x140045a5a
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + VariantCopy]
nop
mov rdx, qword [rbp - 0x20]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x140045a78
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + VariantCopy]
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x140045a8a
movzx eax, ax
or eax, 0x80070000
test ebx, ebx
jne 0x140045aa4
mov dword [rsp + 0x34], eax
lea rdx, [0x140176950]
lea rcx, [rsp + 0x34]
call fcn.1400de560
int3
mov rax, qword [rdi - 0x10]
movsxd rcx, dword [rax + 4]
lea rcx, [rcx + rdi - 0x10]
mov rax, qword [rcx]
lea rdx, [rbp + 0x60]
call qword [rax + VariantCopy]
mov rcx, rax
lea rdx, [rbp - 0x10]
call fcn.1400376c0
nop
mov r8, rax
lea rdx, str.GlobalSC_NetActionsMutex_
lea rcx, [rbp - 0x40]
call fcn.140036910
nop
mov r8, qword [rax]
mov rax, qword [rdi - 0x10]
movsxd rbx, dword [rax + 8]
xor edx, edx
lea rcx, [rbp - 0x68]
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
mov qword [rbx + rdi + 0x28], rax
mov ebx, r12d
test rax, rax
setne bl
mov rdx, qword [rbp - 0x40]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x140045b20
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + VariantCopy]
nop
mov rdx, qword [rbp - 0x10]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x140045b3e
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + VariantCopy]
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x140045b50
movzx eax, ax
or eax, 0x80070000
test ebx, ebx
jne 0x140045b6a
mov dword [rsp + 0x30], eax
lea rdx, [0x140176950]
lea rcx, [rsp + 0x30]
call fcn.1400de560
int3
mov rax, qword [rdi - 0x10]
movsxd rcx, dword [rax + 4]
lea rcx, [rcx + rdi - 0x10]
mov rax, qword [rcx]
lea rdx, [rbp + 0x90]
call qword [rax + VariantCopy]
mov rcx, rax
lea rdx, [rbp - 0x30]
call fcn.1400376c0
nop
mov r8, rax
lea rdx, str.GlobalSC_NetActionsAviableEvent_
lea rcx, [rbp - 8]
call fcn.140036910
nop
mov r9, qword [rax]
mov rax, qword [rdi - 0x10]
movsxd rbx, dword [rax + 8]
xor r8d, r8d
xor edx, edx
lea rcx, [rbp - 0x68]
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rbx + rdi + 0x30], rax
mov ebx, r12d
test rax, rax
setne bl
mov rdx, qword [rbp - 8]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x140045bec
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + VariantCopy]
nop
mov rdx, qword [rbp - 0x30]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x140045c0a
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + VariantCopy]
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x140045c1c
movzx eax, ax
or eax, 0x80070000
test ebx, ebx
jne 0x140045c36
mov dword [rsp + 0x48], eax
lea rdx, [0x140176950]
lea rcx, [rsp + 0x48]
call fcn.1400de560
int3
mov rax, qword [rdi - 0x10]
movsxd rcx, dword [rax + 4]
lea rcx, [rcx + rdi - 0x10]
mov rax, qword [rcx]
lea rdx, [rbp + 0x40]
call qword [rax + VariantCopy]
mov rcx, rax
lea rdx, [rsp + 0x38]
call fcn.1400376c0
nop
mov r8, rax
lea rdx, str.GlobalSC_NetActionsConsumedEvent_
lea rcx, [rbp - 0x28]
call fcn.140036910
nop
mov r9, qword [rax]
mov rax, qword [rdi - 0x10]
movsxd rbx, dword [rax + 8]
xor r8d, r8d
xor edx, edx
lea rcx, [rbp - 0x68]
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rbx + rdi + 0x38], rax
mov ebx, r12d
test rax, rax
setne bl
mov rdx, qword [rbp - 0x28]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x140045cb6
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + VariantCopy]
nop
mov rdx, qword [rsp + 0x38]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], esi
dec esi
test esi, esi
jg 0x140045cd3
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + VariantCopy]
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x140045ce5
movzx eax, ax
or eax, 0x80070000
test ebx, ebx
jne 0x140045cff
mov dword [rsp + 0x50], eax
lea rdx, [0x140176950]
lea rcx, [rsp + 0x50]
call fcn.1400de560
nop
mov qword [rbp - 0x50], r14
lea rcx, [rbp - 0x50]
call fcn.140039ae0
nop
mov qword [rsp + 0x60], r13
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x140045d34
mov rdx, qword [rbp - 0x80]
call fcn.14003aa00
mov rcx, qword [rsp + 0x78]
call fcn.1400d6134
mov qword [rsp + 0x78], r12
mov qword [rbp - 0x80], r12
mov qword [rbp - 0x78], r12
mov rcx, qword [rsp + 0x68]
call fcn.1400d6134
mov qword [rsp + 0x68], r12
lea rax, [rsp + 0x78]
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x78]
call fcn.14003aa60
nop
mov qword [rsp + 0x60], r15
mov rcx, qword [rsp + 0x68]
call fcn.1400d6134
mov rcx, qword [rbp + 0x1a0]
xor rcx, rsp
call fcn.1400d4d90
lea r11, [rsp + 0x2b0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret