Function at 0x10011a90
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101b3e50
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x1022101c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [ebp + 8]
push str.MMFSharedData
push 0x1000
push 0
push 4
push 0
push 0xffffffffffffffff
mov dword [ebp - 0x34], eax
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov dword [ebx + 0x34], eax
test eax, eax
je 0x10011b12
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0
push 0
push 0
push 6
push dword [ebx + 0x34]
cmp eax, 0xb7
setne byte [ebp - 0x2d]
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [ebx + 0x38], eax
test eax, eax
jne 0x10011b19
push dword [ebx + 0x34]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
jmp 0x10011ccb
lea eax, [ebx + 0x2c]
xorps xmm0, xmm0
push eax
lea ecx, [ebp - 0x3c]
movlpd qword [ebp - 0x3c], xmm0
call fcn.1000d3c0
cmp byte [ebp - 0x2d], 0
mov dword [ebp - 4], 0
je 0x10011b55
push 0x1000
push 0
push dword [ebx + 0x38]
call sub.VCRUNTIME140.dll_memset
mov eax, dword [ebx + 0x38]
add esp, 0xc
mov dword [eax], 4
mov esi, dword [ebx + 0x38]
cmp dword [esi + 8], 0
lea edi, [esi + 4]
je 0x10011c17
nop word [eax + eax]
xor eax, eax
mov dword [ebp - 0x1c], 0
lea edx, [edi + 8]
mov word [ebp - 0x2c], ax
mov eax, edx
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
lea esi, [eax + 2]
nop word [eax + eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10011ba0
sub eax, esi
lea ecx, [ebp - 0x2c]
sar eax, 1
push eax
push edx
call fcn.10003cf0
mov ecx, dword [ebp - 0x34]
mov byte [ebp - 4], 1
call fcn.10003ce0
lea ecx, [ebp - 0x2c]
mov esi, eax
call fcn.10003ce0
cmp esi, eax
jne 0x10011bf2
lea ecx, [ebp - 0x2c]
call fcn.10003ad0
mov ecx, dword [ebp - 0x34]
mov esi, eax
call fcn.10003ad0
mov edx, esi
mov ecx, eax
call fcn.10084c40
test al, al
jne 0x10011c38
mov eax, dword [edi + 4]
add eax, 8
add edi, eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 7
call fcn.10003c80
mov byte [ebp - 4], 0
cmp dword [edi + 4], 0
jne 0x10011b70
mov esi, dword [ebx + 0x38]
mov edx, dword [ebp - 0x34]
mov ecx, 0x1000
sub ecx, dword [esi]
mov eax, dword [edx + 0x10]
lea eax, [eax*2 + 0x12]
cmp ecx, eax
jae 0x10011c64
mov ecx, ebx
call fcn.10011ec0
jmp 0x10011c94
push 0
push 0
push 0x402
push dword [edi]
call dword [sym.imp.USER32.dll_PostThreadMessageW]
mov ecx, ebx
call fcn.10011ec0
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 2
call fcn.10003c80
mov byte [ebp - 4], 0
xor bl, bl
jmp 0x10011c96
mov eax, dword [ebx + 0x28]
lea ecx, [edi + 8]
mov dword [edi], eax
mov eax, dword [edx + 0x10]
lea eax, [eax*2 + 2]
mov dword [edi + 4], eax
cmp dword [edx + 0x14], 8
jb 0x10011c81
mov edx, dword [edx]
push eax
push edx
push ecx
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [edi + 4]
add esp, 0xc
add eax, 8
add dword [esi], eax
mov bl, 1
mov dword [ebp - 4], 0xc
mov esi, dword [ebp - 0x3c]
test esi, esi
je 0x10011cbb
cmp byte [ebp - 0x38], 0
je 0x10011cbb
mov eax, dword [esi]
test eax, eax
je 0x10011cb7
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov byte [esi + 4], 0
mov dword [ebp - 0x3c], 0
mov al, bl
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.101b075c
mov esp, ebp
pop ebp
ret 4