Function at 0x428820
Capabilities:
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x594
push ebx
push esi
push edi
xor ebx, ebx
push 0x286
lea ecx, [ebp - 0x2be]
xor eax, eax
push ebx
push ecx
mov dword [ebp - 8], ebx
mov word [ebp - 0x2c0], ax
call fcn.004c9b50
add esp, 0xc
xor eax, eax
push 0x7f02
xor edx, edx
push ebx
mov word [ebp - 0x24], dx
mov dword [ebp - 0x22], eax
mov dword [ebp - 0x1e], eax
mov dword [ebp - 0x1a], eax
mov word [ebp - 0x16], ax
call dword [sym.imp.USER32.dll_LoadCursorW]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
mov esi, dword [ebp + 0x10]
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp esi, ebx
je 0x4288a5
push esi
mov dword [ebp - 0x38], 0xb
call edi
lea eax, [eax + eax + 2]
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x2c], 1
mov dword [ebp - 0x28], ecx
mov edx, dword [ebp + 0xc]
push 0x800
push 0
push edx
call fcn.004c9b50
add esp, 0xc
lea eax, [ebp - 0x2c0]
push eax
push 0
push 0
push 0x10
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov dword [ebp + 0x10], eax
test eax, eax
jge 0x428913
push 0x288
lea ecx, [ebp - 0x2c0]
push 0
push ecx
call fcn.004c9b50
add esp, 0xc
lea edx, [ebp - 0x2c0]
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x428909
cmp word [ebp - 0x2c0], bx
jne 0x42891c
mov eax, str.CreateDumpForReport_called__get_desktop_or_temp_folder_failed
jmp 0x428a54
cmp word [ebp - 0x2c0], bx
je 0x428946
lea eax, [ebp - 0x2c0]
push eax
call edi
cmp word [ebp + eax*2 - 0x2c2], 0x5c
je 0x428946
push 0x4e82fc
push 0x144
lea ecx, [ebp - 0x2c0]
push ecx
call fcn.004017b0
push str.ConEmuTrap
push 0x144
lea edx, [ebp - 0x2c0]
push edx
call fcn.004017b0
push 0
lea eax, [ebp - 0x2c0]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea ecx, [ebp - 0x2c0]
push ecx
call edi
push 8
push 0x4e5034
lea edx, [ebp - 0x24]
push edx
mov edi, eax
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
lea eax, [ebp - 0x24]
push eax
push 7
push 7
push 0xe
lea ecx, [ebp + edi*2 - 0x2c0]
push str.Trap__02u_02u_02u_s__u.dmp
push ecx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x1c
push 0
push 0x80
push 2
push 0
push 3
push 0xc0000000
lea edx, [ebp - 0x2c0]
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x4289db
mov eax, str.CreateDumpForReport_called__create_dump_file_failed
jmp 0x428a54
push str.Dbghelp.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 8], eax
test eax, eax
jne 0x4289f4
mov eax, str.CreateDumpForReport_called__LoadLibrary_Dbghelp.dll__failed
jmp 0x428a54
push str.MiniDumpWriteDump
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 4], eax
test eax, eax
jne 0x428a0e
mov eax, str.CreateDumpForReport_called__MiniDumpWriteDump_not_found
jmp 0x428a54
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x14], eax
xor eax, eax
push eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], eax
neg esi
mov dword [ebp - 0xc], eax
sbb esi, esi
lea eax, [ebp - 0x2c]
and esi, eax
push esi
lea ecx, [ebp - 0x14]
push ecx
push 2
push ebx
mov dword [ebp - 0x10], edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [ebp - 4]
test eax, eax
jne 0x428aa8
mov eax, str.CreateDumpForReport_called__MiniDumpWriteDump_failed
mov esi, dword [ebp + 0xc]
push 0xff
push eax
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
cmp word [ebp - 0x2c0], 0
je 0x428a90
push 0x4e77f4
push 0x400
push esi
call fcn.004017b0
lea edx, [ebp - 0x2c0]
push edx
push 0x400
push esi
call fcn.004017b0
cmp dword [ebp + 0x10], 0
jne 0x428bc9
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp + 0x10], eax
jmp 0x428bc9
xor eax, eax
push 0x208
push eax
lea ecx, [ebp - 0x592]
push ecx
mov word [ebp - 0x594], ax
call fcn.004c9b50
add esp, 0xc
push 0x104
lea edx, [ebp - 0x594]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x594]
push eax
call fcn.004c62c0
add esp, 4
mov dword [ebp - 4], eax
test edi, edi
je 0x428b75
mov eax, dword [edi]
test eax, eax
je 0x428b75
mov ecx, dword [eax]
push ecx
lea edx, [ebp - 0x388]
push str.Exception_0x_08X
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
mov eax, dword [edi]
add esp, 0xc
cmp dword [eax], 0xc0000005
jne 0x428b89
cmp dword [eax + 0x10], 2
jb 0x428b89
mov esi, dword [eax + 0x14]
mov edi, dword [eax + 0x18]
lea eax, [ebp - 0x388]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test esi, esi
jne 0x428b40
mov ecx, str.Read
jmp 0x428b5b
cmp esi, 1
jne 0x428b4c
mov ecx, str.Write
jmp 0x428b5b
mov ecx, str.DEP
cmp esi, 8
je 0x428b5b
mov ecx, 0x4e5034
push edi
push ecx
lea ecx, [ebp + eax*2 - 0x388]
push str.___sx_08X_
push ecx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
jmp 0x428b89
lea edx, [ebp - 0x388]
push str.Assertion
push edx
call fcn.00428400
add esp, 8
push str.http:__code.google.com_p_conemu_maximus5_issues_entry
lea eax, [ebp - 0x2c0]
push eax
push 0x4e5034
push 0x4e5034
push 7
push 7
push 0xe
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, dword [ebp - 4]
push eax
mov eax, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0x388]
push edx
push str._s_was_occurred___s__PID_u__r_nConEmu_build__02u_02u_02u_s__s_r_n_r_nMemory_dump_was_saved_to_r_n_s_r_n_r_nPlease_Zip_it_and_send_to_developer__via_DropBox_etc.__r_n_s
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x30
cmp ebx, 0xffffffff
je 0x428bd9
test ebx, ebx
je 0x428bd9
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
test eax, eax
je 0x428bea
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push 0x7f00
push 0
call dword [sym.imp.USER32.dll_LoadCursorW]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
mov eax, dword [ebp + 0x10]
mov esp, ebp
pop ebp
ret