Function at 0x10013e20
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 [0x1001c100], 8
jne 0x10014090
test ebx, ebx
je 0x10013e4d
test byte [0x1001c100], 1
jne 0x10014190
mov edx, dword [ebp + 0x14]
test edx, edx
je 0x10014202
mov eax, dword [ebp + 0x14]
mov dword [eax], 0
test dword [ebp + 8], 0xffff0000
jne 0x100141e0
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 0x100141e0
mov dword [esp + 8], 0x18
mov dword [esp + 4], 0x100225e8
mov dword [esp], ebx
call sym._memcmp
test eax, eax
jne 0x100141e0
lea eax, [ebp - 0x42]
lea edi, [ebp - 0x60]
mov dword [esp + 8], 0x10
mov ebx, dword [sym.imp.ucrtbase.dll_wcstoul]
mov dword [ebp - 0x60], eax
mov dword [esp + 4], edi
mov dword [esp], eax
call ebx
mov esi, eax
mov eax, dword [ebp - 0x60]
cmp word [eax], 0x3a
jne 0x100141e0
add eax, 2
mov dword [esp + 8], 0x10
mov dword [esp + 4], edi
mov dword [esp], eax
call ebx
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x60]
cmp word [eax], 0x3a
jne 0x100141e0
add eax, 2
mov dword [esp + 4], edi
mov dword [esp + 8], 0x10
mov dword [esp], eax
call ebx
mov edi, eax
mov eax, dword [ebp - 0x60]
cmp word [eax], 0
jne 0x100141e0
mov dword [esp + 8], esi
mov dword [esp + 4], 0
mov dword [esp], 0x40
call dword [sym.imp.kernel32.dll_OpenProcess]
sub esp, 0xc
mov ebx, eax
test eax, eax
je 0x100141e0
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], ebx
call dword [sym.imp.kernel32.dll_DuplicateHandle]
sub esp, 0x1c
test eax, eax
je 0x100141e0
mov dword [esp], ebx
mov ebx, dword [sym.imp.kernel32.dll_CloseHandle]
call ebx
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 ebx
sub esp, 4
test esi, esi
je 0x100141e0
mov dword [esp + 4], edi
mov dword [esp], 0
call dword [sym.imp.kernel32.dll_GlobalAlloc]
sub esp, 8
mov ebx, eax
test eax, eax
je 0x1001420c
mov dword [esp + 4], esi
mov dword [esp + 8], edi
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], ebx
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
sub esp, 0xc
mov esi, eax
test eax, eax
js 0x10014170
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 esi, 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, esi
pop ebx
pop esi
pop edi
pop ebp
ret 0x10
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x100141f8
mov eax, dword [ebp + 0xc]
shr eax, 0x10
je 0x100141c0
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], 0x1001eb60
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], 0x1001c100
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_1
jmp 0x10013e3c
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_GlobalFree]
mov eax, esi
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], 0x1001c100
mov dword [esp], 0
call sym._wine_dbg_log.constprop.0_1
jmp 0x10013e4d
movzx eax, word [ebp + 0xc]
mov dword [esp], 0x1001eb50
mov dword [esp + 4], eax
call sym._wine_dbg_sprintf_1
jmp 0x1001412a
lea esp, [ebp - 0xc]
mov esi, 0x80004005
pop ebx
mov eax, esi
pop esi
pop edi
pop ebp
ret 0x10
mov eax, 0x1001eb49
jmp 0x1001412a
mov esi, 0x80070057
jmp 0x1001407f
mov dword [esp], esi
mov esi, 0x8007000e
call dword [sym.imp.kernel32.dll_UnmapViewOfFile]
push eax
jmp 0x1001407f