Function at 0x41d1d0
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x94
cmp dword [ebp + 8], 1
mov dword [ebp - 0x6c], 1
jne 0x41d348
test byte [0x43a824], 8
jne 0x41d350
mov dword [esp], 0xc
call dword [sym.imp.ucrtbase.dll_malloc]
mov dword [ebp - 0x70], eax
test eax, eax
je 0x41d430
mov ebx, dword [ebp - 0x70]
mov eax, dword [ebp + 0xc]
mov dword [ebx], 0
mov dword [ebx + 8], 0
mov dword [ebx + 4], 0xffffffff
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], pe_nt_image_headers32
mov dword [esp + 0x10], 3
mov dword [esp + 0xc], 0
mov dword [esp + 8], 1
mov dword [esp + 4], 0x80000000
mov eax, dword [eax]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_CreateFileA]
mov dword [ebx + 4], eax
sub esp, 0x1c
cmp eax, 0xffffffff
je 0x41d43c
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 2
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_CreateFileMappingA]
mov dword [ebx + 8], eax
sub esp, 0x18
test eax, eax
je 0x41d388
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 dword [ebx], eax
sub esp, 0x14
test eax, eax
je 0x41d410
lea eax, [ebp - 0x60]
mov dword [ebp - 0x5c], dbg.__wine_exception_handler_page_fault
mov dword [esp + 4], eax
lea eax, [ebp - 0x50]
mov dword [esp], eax
mov dword [ebp - 0x6c], 1
call sym.___wine_setjmpex
test eax, eax
jne 0x41d3e8
lea eax, [ebp - 0x60]
mov edx, dword fs:[0]
mov dword [eax], edx
mov dword fs:[0], eax
mov eax, dword [ebp - 0x70]
mov eax, dword [eax]
cmp dword [eax], 0x504d444d
je 0x41d420
mov eax, dword [ebp - 0x60]
mov dword fs:[0], eax
mov eax, dword [ebp - 0x6c]
test eax, eax
jne 0x41d43c
mov eax, dword [ebp - 0x6c]
mov ebx, dword [ebp - 4]
leave
ret
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov dword [esp + 0xc], str.Processing_Minidump_file__s_n
mov dword [esp + 8], global___func__.22
mov dword [esp + 0x10], eax
mov dword [esp + 4], 0x43a824
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_8
jmp 0x41d1f8
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x6c], 1
mov eax, dword [eax]
test eax, eax
je 0x41d3ba
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_UnmapViewOfFile]
sub esp, 4
mov eax, dword [ebp - 0x70]
mov eax, dword [eax + 8]
test eax, eax
je 0x41d3ba
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_CloseHandle]
sub esp, 4
mov eax, dword [ebp - 0x70]
mov eax, dword [eax + 4]
cmp eax, 0xffffffff
je 0x41d3d1
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_CloseHandle]
sub esp, 4
mov eax, dword [ebp - 0x70]
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_free]
mov eax, dword [ebp - 0x6c]
mov ebx, dword [ebp - 4]
leave
ret
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov dword [esp], str.Unexpected_fault_while_reading_minidump__s_n
mov dword [esp + 4], eax
call dbg.dbg_printf
mov dword [0x4ad5ec], 0
jmp 0x41d33d
mov dword [ebp - 0x6c], 1
jmp 0x41d3a4
mov eax, dword [ebp - 0x70]
call dbg.minidump_do_reload
mov dword [ebp - 0x6c], eax
jmp 0x41d334
mov dword [ebp - 0x6c], 2
jmp 0x41d348
mov eax, dword [ebp - 0x70]
mov eax, dword [eax]
test eax, eax
jne 0x41d398
jmp 0x41d3a4