Function at 0x635951e0
Capabilities:
Read file via mapping

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push edi
push esi
push ebx
push ecx
sub esp, 0xa8
mov eax, dword [ecx + 0xc]
mov esi, dword [ecx]
mov edi, dword [ecx + 4]
mov ebx, dword [ecx + 8]
mov dword [ebp - 0x7c], eax
test byte [0x6359d100], 8
jne 0x63595478
test ebx, ebx
je 0x63595223
test byte [0x6359d100], 1
jne 0x63595550
mov eax, dword [ebp - 0x7c]
test eax, eax
je 0x635955c2
mov dword [eax], 0
test esi, 0xffff0000
jne 0x635955a0
lea ebx, [ebp - 0x66]
mov dword [esp + 8], 0x27
mov dword [esp + 4], ebx
mov dword [esp], esi
call dword [sym.imp.kernel32.dll_GlobalGetAtomNameW]
sub esp, 0xc
test eax, eax
je 0x635955a0
mov dword [esp + 8], 0x18
mov dword [esp + 4], 0x635a35e8
mov dword [esp], ebx
call sym._memcmp
test eax, eax
jne 0x635955a0
lea eax, [ebp - 0x4e]
lea edx, [ebp - 0x6c]
mov dword [esp + 8], 0x10
mov ebx, dword [sym.imp.ucrtbase.dll_wcstoul]
mov dword [ebp - 0x6c], eax
mov dword [esp + 4], edx
mov dword [esp], eax
call ebx
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x6c]
cmp word [eax], 0x3a
jne 0x635955a0
add eax, 2
lea edx, [ebp - 0x6c]
mov dword [esp + 8], 0x10
mov dword [esp + 4], edx
mov dword [esp], eax
call ebx
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x6c]
cmp word [eax], 0x3a
jne 0x635955a0
add eax, 2
lea ecx, [ebp - 0x6c]
mov dword [esp + 8], 0x10
mov dword [esp + 4], ecx
mov dword [esp], eax
call ebx
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x6c]
cmp word [eax], 0
jne 0x635955a0
mov edx, dword [ebp - 0x84]
mov dword [esp + 4], 0
mov dword [esp], 0x40
mov dword [esp + 8], edx
call dword [sym.imp.kernel32.dll_OpenProcess]
sub esp, 0xc
mov ebx, eax
test eax, eax
je 0x635955a0
mov edx, dword [ebp - 0x88]
lea eax, [ebp - 0x74]
mov dword [esp + 0x18], 3
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0xffffffff
mov dword [esp + 4], edx
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_DuplicateHandle]
sub esp, 0x1c
test eax, eax
je 0x635955a0
mov dword [esp], ebx
mov ebx, dword [sym.imp.kernel32.dll_CloseHandle]
call ebx
sub esp, 4
mov dword [esp], esi
call dword [sym.imp.kernel32.dll_GlobalDeleteAtom]
mov eax, dword [ebp - 0x74]
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 - 0x74]
sub esp, 0x14
mov dword [esp], eax
call ebx
sub esp, 4
test esi, esi
je 0x635955a0
mov eax, dword [ebp - 0x80]
mov dword [esp], 0
mov dword [esp + 4], eax
call dword [sym.imp.kernel32.dll_GlobalAlloc]
sub esp, 8
mov ebx, eax
test eax, eax
je 0x635955cc
mov eax, dword [ebp - 0x80]
mov dword [esp + 4], esi
mov dword [esp], ebx
mov dword [esp + 8], eax
call sym._memcpy
mov dword [esp], esi
call dword [sym.imp.kernel32.dll_UnmapViewOfFile]
lea eax, [ebp - 0x70]
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 0x63595530
mov eax, dword [ebp - 0x7c]
mov dword [esp + 4], edi
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x70]
mov dword [esp], eax
call dword [sym.imp.ole32.dll_CoUnmarshalInterface]
mov esi, eax
mov eax, dword [ebp - 0x70]
sub esp, 0xc
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
sub esp, 4
lea esp, [ebp - 0x10]
mov eax, esi
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x10
test edi, edi
je 0x635955b8
mov eax, edi
shr eax, 0x10
je 0x63595580
movzx eax, byte [edi + 0xf]
mov dword [esp + 0x2c], eax
movzx eax, byte [edi + 0xe]
mov dword [esp + 0x28], eax
movzx eax, byte [edi + 0xd]
mov dword [esp + 0x24], eax
movzx eax, byte [edi + 0xc]
mov dword [esp + 0x20], eax
movzx eax, byte [edi + 0xb]
mov dword [esp + 0x1c], eax
movzx eax, byte [edi + 0xa]
mov dword [esp + 0x18], eax
movzx eax, byte [edi + 9]
mov dword [esp + 0x14], eax
movzx eax, byte [edi + 8]
mov dword [esp + 0x10], eax
movzx eax, word [edi + 6]
mov dword [esp + 0xc], eax
movzx eax, word [edi + 4]
mov dword [esp + 8], eax
mov eax, dword [edi]
mov dword [esp], 0x6359fb60
mov dword [esp + 4], eax
call sym._wine_dbg_sprintf_1
mov edx, dword [ebp - 0x7c]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], edx
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], str._Id__s__Id__p_n
mov dword [esp + 8], str.ObjectFromLresult
mov dword [esp + 4], 0x6359d100
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_1
jmp 0x63595212
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_GlobalFree]
mov eax, esi
sub esp, 4
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
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], 0x6359d100
mov dword [esp], 0
call sym._wine_dbg_log.constprop.0_1
jmp 0x63595223
movzx eax, di
mov dword [esp], 0x6359fb50
mov dword [esp + 4], eax
call sym._wine_dbg_sprintf_1
jmp 0x635954ed
lea esp, [ebp - 0x10]
mov esi, 0x80004005
pop ecx
mov eax, esi
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x10
mov eax, 0x6359fb49
jmp 0x635954ed
mov esi, 0x80070057
jmp 0x63595465
mov dword [esp], esi
mov esi, 0x8007000e
call dword [sym.imp.kernel32.dll_UnmapViewOfFile]
push eax
jmp 0x63595465