Function at 0x419bd0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1120
call fcn.00486960
mov eax, dword [0x4b04dc]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [0x4b60ac]
push edi
lea eax, [esi + 8]
mov edi, ecx
push eax
mov dword [ebp - 0x1114], edi
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
push 0x103
lea ecx, [ebp - 0x107]
push 0
push ecx
mov dword [ebp - 0x110c], 0
mov dword [esi + 4], edi
mov byte [ebp - 0x108], 0
call fcn.00480950
add esp, 0xc
push 0x104
lea ebx, [esi + 0x11c]
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x419cd5
push 0x5c
push ebx
call fcn.00477b34
mov edi, eax
add esp, 8
test edi, edi
je 0x419c92
push 0x104
lea eax, [esi + 0x220]
push 0
push eax
call fcn.00480950
add esp, 0xc
inc edi
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x419c75
sub eax, edx
push eax
lea eax, [esi + 0x220]
push edi
push eax
call fcn.0047792b
add esp, 0xc
mov byte [edi], 0
mov eax, ebx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x419c97
sub eax, edx
push eax
lea edx, [ebp - 0x108]
push ebx
push edx
call fcn.0047792b
push 0xb
lea eax, [ebp - 0x108]
push str.DBGHELP.DLL
push eax
call fcn.00477a70
add esp, 0x18
lea ecx, [ebp - 0x108]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
jne 0x419ce8
push str.DBGHELP.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
je 0x419e6a
push str.MiniDumpWriteDump
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x1110], eax
test eax, eax
je 0x419e63
mov edx, dword [esi]
mov eax, dword [edx]
mov ecx, esi
call eax
mov edx, dword [esi]
mov eax, dword [edx + 8]
lea edi, [esi + 0x18]
push edi
mov ecx, esi
call eax
push eax
lea ecx, [ebp - 0x1108]
push str.There_was_an_unexpected_error:_n_n_s_nWould_you_like_to_save_a_diagnostic_file__n_nFilename:__s
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
cmp dword [esi + 0x324], 0
jne 0x419d52
push 4
push 0
lea edx, [ebp - 0x1108]
push edx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 6
jne 0x419e18
push 0
push 0x80
push 2
push 0
push 2
push 0x40000000
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x419e3e
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov edx, dword [esi]
mov dword [ebp - 0x1120], eax
mov eax, dword [ebp - 0x1114]
mov dword [ebp - 0x111c], eax
mov eax, dword [edx + 4]
push 0
mov ecx, esi
mov dword [ebp - 0x1118], 0
call eax
push eax
lea ecx, [ebp - 0x1120]
push ecx
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [ebp - 0x1110]
test eax, eax
je 0x419dd4
xor edi, edi
mov dword [ebp - 0x110c], 1
jmp 0x419df7
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push edi
lea edx, [ebp - 0x1108]
push str.Failed_to_save_dump_file_to__s__error__d_
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea edi, [ebp - 0x1108]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
je 0x419e18
cmp dword [esi + 0x324], 0
jne 0x419e18
push 0
push 0
push edi
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x110c]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00475dcc
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push edi
lea eax, [ebp - 0x1108]
push str.Failed_to_create_dump_file__s__error__d_
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea edi, [ebp - 0x1108]
jmp 0x419e02
mov edi, str.DBGHELP.DLL_too_old
jmp 0x419e02
mov edi, str.DBGHELP.DLL_not_found
jmp 0x419e02