Function at 0x407de0
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x3c
mov esi, dword [sym.imp.ucrtbase.dll_wcscmp]
mov ebx, dword [esp + 0x54]
mov ebp, dword [esp + 0x50]
mov dword [esp + 4], str.assemblyIdentity
mov edi, dword [esp + 0x58]
mov dword [esp], ebx
call esi
test eax, eax
jne 0x407e15
mov eax, dword [edi + 0x14]
test eax, eax
je 0x407f60
mov dword [esp + 4], str.dependency
mov dword [esp], ebx
call esi
mov ecx, edi
mov edx, dbg.read_dependency
test eax, eax
je 0x407ea7
mov dword [esp + 4], str.package
mov dword [esp], ebx
call esi
mov ecx, edi
mov edx, sym._read_package
test eax, eax
je 0x407ea7
mov dword [esp + 4], str.file
mov dword [esp], ebx
call esi
test eax, eax
je 0x407eb8
mov dword [esp + 4], str.registryKeys
mov dword [esp], ebx
call esi
test eax, eax
je 0x407ea0
mov dword [esp + 4], str.trustInfo
mov dword [esp], ebx
call esi
test eax, eax
je 0x407e8d
mov dword [esp + 4], str.configuration
mov dword [esp], ebx
call esi
test eax, eax
jne 0x407f78
mov ecx, 1
add esp, 0x3c
mov eax, ecx
pop ebx
pop esi
pop edi
pop ebp
ret
mov ecx, edi
mov edx, dbg.read_registry_keys
add esp, 0x3c
mov eax, ebp
pop ebx
pop esi
pop edi
pop ebp
jmp dbg.call_xml_callbacks
mov dword [esp + 8], 0x10
mov dword [esp + 4], 8
mov dword [esp + 0x2c], eax
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
sub esp, 0xc
test eax, eax
mov ebx, eax
mov ecx, dword [esp + 0x2c]
je 0x408080
mov edx, str.sourceName
mov eax, ebp
mov dword [esp + 0x2c], ecx
call dbg.get_xml_attribute
mov ecx, dword [esp + 0x2c]
test eax, eax
mov dword [ebx + 8], eax
je 0x408013
mov edx, str.destinationPath
mov eax, ebp
mov dword [esp + 0x2c], ecx
call dbg.get_xml_attribute
mov ecx, dword [esp + 0x2c]
test eax, eax
mov dword [ebx + 0xc], eax
je 0x408010
test byte [0x40a010], 8
jne 0x407fd0
lea eax, [edi + 0x30]
mov ecx, 1
mov dword [ebx], eax
mov eax, dword [edi + 0x34]
mov dword [ebx + 4], eax
mov eax, dword [edi + 0x34]
mov dword [eax], ebx
mov dword [edi + 0x34], ebx
jmp 0x407e92
add esp, 0x3c
lea edx, [edi + 0x14]
mov eax, ebp
pop ebx
pop esi
pop edi
pop ebp
jmp dbg.read_identity
mov dword [esp + 4], str.deployment
mov dword [esp], ebx
call esi
test eax, eax
je 0x407e8d
test byte [0x40a010], 1
je 0x407e8d
mov eax, ebx
call sym._wine_dbgstr_wn.constprop.0
mov dword [esp + 0xc], str.Ignoring_unexpected_tag__s_n
mov dword [esp + 0x10], eax
mov dword [esp + 8], global___FUNCTION__.0
mov dword [esp + 4], global___dbch
mov dword [esp], 0
call sym._wine_dbg_log.constprop.0_1
jmp 0x407e8d
call sym._wine_dbgstr_wn.constprop.0
mov esi, eax
mov eax, dword [ebx + 8]
call sym._wine_dbgstr_wn.constprop.0
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.Found_fileop__s_____s_n
mov dword [esp + 8], str.read_file
mov dword [esp + 4], global___dbch
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_1
jmp 0x407f3d
mov eax, dword [ebx + 8]
mov dword [esp + 8], eax
mov esi, dword [sym.imp.kernel32.dll_HeapFree]
mov dword [esp + 4], 0
mov edi, dword fs:[0x18]
mov eax, dword [edi + 0x30]
mov dword [esp + 0x2c], ecx
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call esi
mov eax, dword [ebx + 0xc]
sub esp, 0xc
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov eax, dword [edi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call esi
sub esp, 0xc
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov eax, dword [edi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call esi
sub esp, 0xc
mov ecx, dword [esp + 0x2c]
jmp 0x407e92
test byte [0x40a010], 2
je 0x407e92
mov dword [esp + 0xc], str.Failed_to_allocate_memory_for_fileop_n
mov dword [esp + 8], str.alloc_fileop
mov dword [esp + 4], global___dbch
mov dword [esp], 1
call sym._wine_dbg_log.constprop.0_1
mov ecx, dword [esp + 0x2c]
jmp 0x407e92