Function at 0x40caa0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x414c50
push 0x409886
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov eax, 0x2880
call fcn.00409640
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov al, byte [0x41990c]
test al, al
jne 0x40cb74
mov dword [ebp - 0xf38], 0x94
lea eax, [ebp - 0xf38]
push eax
call dword [sym.imp.KERNEL32.DLL_GetVersionExA]
mov al, byte [0x41990d]
test al, al
jne 0x40cb10
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov byte [0x41990d], 0
mov ecx, dword [ebp - 0xf2c]
push ecx
mov edx, dword [ebp - 0xf28]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 0xb8]
push edx
push 0x66
push str._install_notify.php_pidcrashrptmodulereportv_dresult0messageCrashat_08xOS_d_d
lea eax, [ebp - 0xea4]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
lea ecx, [ebp - 0x1338]
push ecx
lea edx, [ebp - 0xea4]
push edx
push str.legend.psdtools.com
call fcn.00413520
add esp, 0x24
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov byte [0x41990c], 0
mov ecx, 0x82
xor eax, eax
lea edi, [ebp - 0x840]
rep stosd dword es:[edi], eax
mov ecx, 0x82
lea edi, [ebp - 0x634]
rep stosd dword es:[edi], eax
mov ecx, 0x82
lea edi, [ebp - 0xc78]
rep stosd dword es:[edi], eax
push 0x206
lea eax, [ebp - 0x840]
push eax
push 0
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameA]
test eax, eax
ja 0x40cbd2
push str.Unknown
lea ecx, [ebp - 0x840]
push ecx
mov esi, dword [sym.imp.KERNEL32.DLL_lstrcpyA]
call esi
jmp 0x40cbd8
mov esi, dword [sym.imp.KERNEL32.DLL_lstrcpyA]
lea edx, [ebp - 0x840]
push edx
call fcn.0040db80
add esp, 4
mov edi, eax
mov dword [ebp - 0xc9c], edi
push edi
lea eax, [ebp - 0x42c]
push eax
call esi
push 0x2e
lea ecx, [ebp - 0x42c]
push ecx
call fcn.0040d170
add esp, 8
test eax, eax
je 0x40cc11
mov byte [eax], 0
push str.ERRORLOG.TXT
push edi
call esi
lea edx, [ebp - 0x840]
push edx
lea eax, [ebp - 0x634]
push eax
call esi
push 0
push 0x80000080
push 2
push 0
push 0
push 0x40000000
lea ecx, [ebp - 0x634]
push ecx
call dword [sym.imp.KERNEL32.DLL_CreateFileA]
mov esi, eax
mov dword [ebp - 0x20], esi
cmp esi, 0xffffffff
jne 0x40cc77
push str.Error_creating_exception_report_r_n
call dword [sym.imp.KERNEL32.DLL_OutputDebugStringA]
mov byte [0x41990c], 1
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 2
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.DLL_SetFilePointer]
mov eax, dword [ebp + 8]
mov edx, dword [eax]
mov dword [ebp - 0x84c], edx
mov ebx, dword [eax + 4]
mov dword [ebp - 0x848], ebx
mov ecx, 0x82
xor eax, eax
lea edi, [ebp - 0xa54]
rep stosd dword es:[edi], eax
mov edi, str.Unknown
push 0x1c
lea eax, [ebp - 0xc94]
push eax
mov ecx, dword [ebx + 0xb8]
push ecx
call dword [sym.imp.KERNEL32.DLL_VirtualQuery]
test eax, eax
je 0x40ccf4
push 0x206
lea edx, [ebp - 0xa54]
push edx
mov eax, dword [ebp - 0xc90]
push eax
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameA]
test eax, eax
jbe 0x40ccf4
lea ecx, [ebp - 0xa54]
push ecx
call fcn.0040db80
add esp, 4
mov edi, eax
push 0x66
mov edx, dword [0x41d640]
push edx
mov eax, dword [0x41d63c]
push eax
push 0x41d53c
push str.Product_ID:__s_Version:__d_Build_Number:__d_CrashReport_version:__d_r_n_r_n
push esi
call fcn.0040d1f0
add esp, 0x18
push 0x41d644
push str.App_defined_extra_info:_r_n_s_r_n
push esi
call fcn.0040d1f0
add esp, 0xc
mov ecx, dword [ebp - 0x84c]
mov eax, dword [ecx]
mov edx, dword [ebx + 0xb8]
push edx
mov ecx, dword [ebx + 0xbc]
push ecx
push edi
push eax
push eax
call fcn.0040d990
add esp, 4
push eax
lea edx, [ebp - 0x42c]
push edx
push str._s_caused__s__0x_08x___r_nin_module__s_at__04x:_08x._r_n_r_n
push esi
call fcn.0040d1f0
add esp, 0x20
mov eax, dword [ebp + 0xc]
push eax
push str.Exception_handler_called_in__s._r_n
push esi
call fcn.0040d1f0
push esi
call fcn.0040d7c0
add esp, 0x10
mov eax, dword [ebp - 0x84c]
cmp dword [eax], 0xc0000005
jne 0x40cdcc
cmp dword [eax + 0x10], 2
jb 0x40cdcc
mov ecx, str.Read_from
mov edx, dword [eax + 0x14]
test edx, edx
je 0x40cd9d
mov ecx, str.Write_to
mov edx, dword [eax + 0x18]
push edx
push ecx
push str._s_location__08x_caused_an_access_violation._r_n
lea eax, [ebp - 0x1724]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea ecx, [ebp - 0x1724]
push ecx
push 0x419648
push esi
call fcn.0040d1f0
add esp, 0xc
push ebx
push esi
call fcn.0040e2c0
add esp, 8
push str._r_nBytes_at_CS:EIP:_r_n
push esi
call fcn.0040d1f0
add esp, 8
mov edx, dword [ebx + 0xb8]
mov dword [ebp - 0xc98], edx
xor edi, edi
mov dword [ebp - 0xca0], edi
cmp edi, 0x10
jge 0x40ce58
mov dword [ebp - 4], 0
xor eax, eax
mov ecx, dword [ebp - 0xc98]
mov al, byte [edi + ecx]
push eax
push str._02x
push esi
call fcn.0040d1f0
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
inc edi
jmp 0x40cdf2
mov edi, dword [ebx + 0xc4]
push 0x1c
lea edx, [ebp - 0xa70]
push edx
mov eax, dword [ebx + 0xb8]
push eax
call dword [sym.imp.KERNEL32.DLL_VirtualQuery]
push 0x200
lea ecx, [ebp - 0x220]
push ecx
mov edx, dword [ebp - 0xa6c]
push edx
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameA]
lea eax, [ebp - 0x220]
push eax
call fcn.0040db80
add esp, 4
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0xa5c]
push ecx
mov edx, dword [ebp - 0xa68]
push edx
push str._r_n_r_n_new__Crash_location:__AP__08x_P__08x__r_n
push esi
call fcn.0040d1f0
add esp, 0x10
mov eax, dword [ebx + 0xb8]
mov ecx, dword [ebx + 0xb4]
push ecx
mov edx, eax
sub edx, dword [ebp - 0xa6c]
push edx
mov ecx, dword [ebp - 0x1c]
push ecx
push eax
push str._08x:__20s_08x__ebp__08x__r_n
push esi
call fcn.0040d1f0
add esp, 0x18
push str.______Before:
push esi
call fcn.0040d1f0
push 0xffffffffffffffff
push edi
mov edx, dword [ebx + 0xb4]
sub edx, 0x20
push edx
push esi
call fcn.0040dba0
add esp, 0x18
push 0x4199c4
push esi
call fcn.0040d1f0
push 0xffffffffffffffff
push edi
mov eax, dword [ebx + 0xb4]
sub eax, 0x10
push eax
push esi
call fcn.0040dba0
add esp, 0x18
push str._______After:
push esi
call fcn.0040d1f0
push 0xffffffffffffffff
push edi
mov ecx, dword [ebx + 0xb4]
push ecx
push esi
call fcn.0040dba0
add esp, 0x18
push 0x4199c4
push esi
call fcn.0040d1f0
push 0xffffffffffffffff
push edi
mov edx, dword [ebx + 0xb4]
add edx, 0x10
push edx
push esi
call fcn.0040dba0
add esp, 0x18
push 0x419774
push esi
call fcn.0040d1f0
mov eax, dword [ebx + 0xb4]
push eax
mov ecx, dword [ebx + 0xb8]
push ecx
push edi
push esi
call fcn.0040dc70
push edi
push esi
call fcn.0040e100
push esi
call fcn.0040d350
add esp, 0x24
push str.ERRORLOG.TXT
push str._r_n__end_of__s___r_n
push esi
call fcn.0040d1f0
push esi
call fcn.0040d1b0
add esp, 0x10
push esi
mov edi, dword [sym.imp.KERNEL32.DLL_CloseHandle]
call edi
push str.CRASH.DMP
mov edx, dword [ebp - 0xc9c]
push edx
mov esi, dword [sym.imp.KERNEL32.DLL_lstrcpyA]
call esi
lea eax, [ebp - 0x840]
push eax
lea ecx, [ebp - 0xc78]
push ecx
call esi
push 0
push 0x80000080
push 2
push 0
push 0
push 0x40000000
lea edx, [ebp - 0xc78]
push edx
call dword [sym.imp.KERNEL32.DLL_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x40d011
mov eax, dword [ebp + 8]
push eax
push esi
call fcn.0040d250
add esp, 8
push esi
call edi
push 0x80000
mov esi, dword [sym.imp.MSVCRT.dll_malloc]
call esi
mov ebx, eax
mov dword [ebp - 0x1848], ebx
push 0x2af80
call esi
mov esi, eax
push 0x419988
push str.c:crash.txt
call dword [sym.imp.MSVCRT.dll_fopen]
mov dword [ebp - 0x1894], eax
mov ecx, 0xabe0
xor eax, eax
mov edi, esi
rep stosd dword es:[edi], eax
push 0x40000
push ebx
lea ecx, [ebp - 0x634]
push ecx
push 0x1000
call fcn.0040e380
mov ebx, eax
add ebx, dword [ebp - 0x1848]
push 0x40000
push ebx
lea edx, [ebp - 0xc78]
push edx
push 0x1001
call fcn.0040e380
add esp, 0x30
add ebx, eax
push 0x66
mov eax, dword [0x41d640]
push eax
mov ecx, dword [0x41d63c]
push ecx
push 0x41d53c
push str.pid_sv_db_dcv_ddata
push esi
call dword [sym.imp.USER32.dll_wsprintfA]
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [ebp - 0x1740], ecx
mov edx, dword [ebp - 0x1848]
sub ebx, edx
mov edi, esi
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
add ecx, esi
push ecx
push ebx
push edx
call fcn.0040e3f0
add esp, 0x24
mov edi, eax
push esi
push edi
push ebx
push str.Compressing:__d_____d___60s_n
mov edx, dword [ebp - 0x1894]
push edx
call dword [sym.imp.MSVCRT.dll_fprintf]
add esp, 0x14
test edi, edi
je 0x40d131
mov dword [ebp - 0x2898], 0x1000
mov eax, dword [ebp - 0x1740]
add eax, edi
mov byte [eax + esi], 0
lea ecx, [ebp - 0x2898]
push ecx
lea edx, [ebp - 0x2894]
push edx
push esi
push str._crash_crash.php
push str.legend.psdtools.com
call fcn.00413830
add esp, 0x14
push esi
mov esi, dword [sym.imp.MSVCRT.dll_free]
call esi
mov eax, dword [ebp - 0x1848]
push eax
call esi
add esp, 8
mov eax, 1
mov byte [0x41990c], al
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret