Function at 0x10006fd0
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x90
mov ebx, dword [ebp + 0x10]
test byte [0x10024028], 8
jne 0x10007240
test ebx, ebx
je 0x10006ffd
test byte [0x10024028], 1
jne 0x10007340
mov edx, dword [ebp + 0x14]
test edx, edx
je 0x100073b2
mov eax, dword [ebp + 0x14]
mov dword [eax], 0
test dword [ebp + 8], 0xffff0000
jne 0x10007390
mov eax, dword [ebp + 8]
lea ebx, [ebp - 0x5a]
mov dword [esp + 8], 0x27
mov dword [esp + 4], ebx
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_GlobalGetAtomNameW]
sub esp, 0xc
test eax, eax
je 0x10007390
mov dword [esp + 8], 0x18
mov dword [esp + 4], str.wine_oleacc:
mov dword [esp], ebx
call sym._memcmp
test eax, eax
jne 0x10007390
lea eax, [ebp - 0x42]
lea esi, [ebp - 0x60]
mov dword [esp + 8], 0x10
mov ebx, dword [sym.imp.ucrtbase.dll_wcstoul]
mov dword [ebp - 0x60], eax
mov dword [esp + 4], esi
mov dword [esp], eax
call ebx
mov edi, eax
mov eax, dword [ebp - 0x60]
cmp word [eax], 0x3a
jne 0x10007390
add eax, 2
mov dword [esp + 8], 0x10
mov dword [esp + 4], esi
mov dword [esp], eax
call ebx
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x60]
cmp word [eax], 0x3a
jne 0x10007390
add eax, 2
mov dword [esp + 8], 0x10
mov dword [esp + 4], esi
mov dword [esp], eax
call ebx
mov ebx, eax
mov eax, dword [ebp - 0x60]
cmp word [eax], 0
jne 0x10007390
mov dword [esp + 8], edi
mov dword [esp + 4], 0
mov dword [esp], 0x40
call dword [sym.imp.kernel32.dll_OpenProcess]
sub esp, 0xc
mov esi, eax
test eax, eax
je 0x10007390
lea eax, [ebp - 0x68]
mov dword [esp + 0x18], 3
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x6c]
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 8], 0xffffffff
mov dword [esp + 4], eax
mov dword [esp], esi
call dword [sym.imp.kernel32.dll_DuplicateHandle]
sub esp, 0x1c
test eax, eax
je 0x10007390
mov dword [esp], esi
mov edi, dword [sym.imp.kernel32.dll_CloseHandle]
call edi
mov eax, dword [ebp + 8]
sub esp, 4
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_GlobalDeleteAtom]
mov eax, dword [ebp - 0x68]
sub esp, 4
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 4
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_MapViewOfFile]
mov esi, eax
mov eax, dword [ebp - 0x68]
sub esp, 0x14
mov dword [esp], eax
call edi
sub esp, 4
test esi, esi
je 0x10007390
mov dword [esp + 4], ebx
mov dword [esp], 0
call dword [sym.imp.kernel32.dll_GlobalAlloc]
sub esp, 8
mov edi, eax
test eax, eax
je 0x100073bc
mov dword [esp + 8], ebx
mov dword [esp + 4], esi
mov dword [esp], eax
call sym._memcpy
mov dword [esp], esi
call dword [sym.imp.kernel32.dll_UnmapViewOfFile]
lea eax, [ebp - 0x64]
sub esp, 4
mov dword [esp + 8], eax
mov dword [esp + 4], 1
mov dword [esp], edi
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
sub esp, 0xc
mov ebx, eax
test eax, eax
js 0x10007320
mov eax, dword [ebp + 0x14]
mov dword [esp + 8], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x64]
mov dword [esp], eax
call dword [sym.imp.ole32.dll_CoUnmarshalInterface]
mov ebx, eax
mov eax, dword [ebp - 0x64]
sub esp, 0xc
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
sub esp, 4
lea esp, [ebp - 0xc]
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret 0x10
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x100073a8
mov eax, dword [ebp + 0xc]
shr eax, 0x10
je 0x10007370
mov eax, dword [ebp + 0xc]
movzx eax, byte [eax + 0xf]
mov dword [esp + 0x2c], eax
mov eax, dword [ebp + 0xc]
movzx eax, byte [eax + 0xe]
mov dword [esp + 0x28], eax
mov eax, dword [ebp + 0xc]
movzx eax, byte [eax + 0xd]
mov dword [esp + 0x24], eax
mov eax, dword [ebp + 0xc]
movzx eax, byte [eax + 0xc]
mov dword [esp + 0x20], eax
mov eax, dword [ebp + 0xc]
movzx eax, byte [eax + 0xb]
mov dword [esp + 0x1c], eax
mov eax, dword [ebp + 0xc]
movzx eax, byte [eax + 0xa]
mov dword [esp + 0x18], eax
mov eax, dword [ebp + 0xc]
movzx eax, byte [eax + 9]
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 0xc]
movzx eax, byte [eax + 8]
mov dword [esp + 0x10], eax
mov eax, dword [ebp + 0xc]
movzx eax, word [eax + 6]
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 0xc]
movzx eax, word [eax + 4]
mov dword [esp + 8], eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov dword [esp + 4], eax
mov dword [esp], 0x1002769c
call sym._wine_dbg_sprintf_1
mov dword [esp + 0x14], eax
mov ecx, dword [ebp + 0x14]
mov eax, dword [ebp + 8]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str._Id__s__Id__p_n
mov dword [esp + 8], str.ObjectFromLresult
mov dword [esp + 4], 0x10024028
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_1
jmp 0x10006fec
mov dword [esp], edi
call dword [sym.imp.kernel32.dll_GlobalFree]
mov eax, ebx
sub esp, 4
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 0x10
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], str.unsupported_wParam___Ix_n
mov dword [esp + 8], str.ObjectFromLresult
mov dword [esp + 4], 0x10024028
mov dword [esp], 0
call sym._wine_dbg_log.constprop.0_1
jmp 0x10006ffd
movzx eax, word [ebp + 0xc]
mov dword [esp], 0x1002768c
mov dword [esp + 4], eax
call sym._wine_dbg_sprintf_1
jmp 0x100072da
lea esp, [ebp - 0xc]
mov ebx, 0x80004005
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret 0x10
mov eax, 0x10027685
jmp 0x100072da
mov ebx, 0x80070057
jmp 0x1000722f
mov dword [esp], esi
mov ebx, 0x8007000e
call dword [sym.imp.kernel32.dll_UnmapViewOfFile]
push eax
jmp 0x1000722f