Function at 0x407a13
Capabilities:
Delete file

Disassembly:
push ebp
mov eax, 0x2e34
lea ebp, [esp - 0x2db4]
call fcn.0043a2d0
mov eax, dword [0x45f56c]
push edi
xor edi, edi
cmp dword [ebp + 0x2dbc], edi
mov dword [ebp + 0x2db0], eax
je 0x40801f
push dword [ebp + 0x2dbc]
call fcn.00438c10
test eax, eax
pop ecx
je 0x40801f
cmp dword [ebp + 0x2dc0], edi
je 0x40801f
push dword [ebp + 0x2dc0]
call fcn.00438c10
test eax, eax
pop ecx
je 0x40801f
cmp word [ebp + 0x2dc4], di
je 0x40801f
push ebx
mov ebx, 0x464ab8
mov ecx, ebx
mov byte [ebp + 0x27a8], 0
call fcn.00417cef
test eax, eax
je 0x407abb
mov ecx, ebx
call fcn.00417cef
push eax
lea eax, [ebp + 0x27a8]
push eax
call fcn.00438cb0
lea eax, [ebp + 0x27a8]
push eax
call fcn.00429bab
add esp, 0xc
lea eax, [ebp - 0x74]
push esi
push eax
call fcn.00438e98
pop ecx
mov ecx, dword [0x4648fc]
mov eax, dword [ecx]
call dword [eax + 0x60]
mov ecx, dword [0x4648fc]
inc eax
cmp ecx, edi
mov dword [ebp - 0x60], eax
jne 0x407ae4
mov dword [ebp - 0x5c], edi
jmp 0x407af6
mov eax, dword [ecx]
call dword [eax + 0x5c]
mov ecx, dword [0x4648fc]
cmp ecx, edi
mov dword [ebp - 0x5c], eax
jne 0x407afb
mov dword [ebp - 0x80], edi
jmp 0x407b0d
mov eax, dword [ecx]
call dword [eax + 0x58]
mov ecx, dword [0x4648fc]
cmp ecx, edi
mov dword [ebp - 0x80], eax
jne 0x407b12
mov dword [ebp - 0x68], edi
jmp 0x407b24
mov eax, dword [ecx]
call dword [eax + 0x54]
mov ecx, dword [0x4648fc]
cmp ecx, edi
mov dword [ebp - 0x68], eax
jne 0x407b29
mov dword [ebp - 0x70], edi
jmp 0x407b3b
mov eax, dword [ecx]
call dword [eax + 0x50]
mov ecx, dword [0x4648fc]
cmp ecx, edi
mov dword [ebp - 0x70], eax
jne 0x407b40
mov dword [ebp - 0x78], edi
jmp 0x407b52
mov eax, dword [ecx]
call dword [eax + 0x4c]
mov ecx, dword [0x4648fc]
cmp ecx, edi
mov dword [ebp - 0x78], eax
jne 0x407b60
mov dword [ebp - 0x64], edi
mov dword [ebp - 0x6c], edi
cmp ecx, edi
jne 0x407ba9
xor esi, esi
jmp 0x407bc0
mov eax, dword [ecx]
call dword [eax + 0x48]
mov ecx, dword [0x4648fc]
cmp ecx, edi
mov dword [ebp - 0x64], eax
je 0x407b55
mov eax, dword [ecx]
call dword [eax + 0x3c]
test eax, eax
mov ecx, dword [0x4648fc]
je 0x407b55
mov eax, dword [ecx]
call dword [eax + 0x40]
mov ecx, dword [0x4648fc]
mov esi, eax
mov eax, dword [ecx]
call dword [eax + 0x3c]
mov ecx, 0xe10
sub eax, esi
xor edx, edx
div ecx
mov ecx, dword [0x4648fc]
mov dword [ebp - 0x6c], eax
jmp 0x407b58
mov eax, dword [ecx]
call dword [eax + 0x40]
mov ecx, dword [ebp - 0x74]
sub ecx, eax
mov eax, ecx
xor edx, edx
mov ecx, 0x15180
div ecx
mov esi, eax
mov eax, dword [0x464acc]
cmp eax, edi
mov edi, str.true
je 0x407bde
push edi
push eax
call fcn.0042a46e
test al, al
pop ecx
pop ecx
mov dword [ebp - 0x7c], edi
jne 0x407be5
mov dword [ebp - 0x7c], str.false
cmp byte [0x464928], 0
jne 0x407bf3
mov edi, str.false
push 0
mov ecx, 0x465004
call fcn.004055e7
push eax
push dword [ebp - 0x5c]
push dword [ebp - 0x80]
push dword [ebp - 0x68]
push dword [ebp - 0x70]
push dword [ebp - 0x78]
push dword [ebp - 0x64]
push dword [ebp - 0x6c]
push esi
mov esi, 0x464938
mov ecx, esi
call fcn.0041b2c1
push eax
mov ecx, esi
call fcn.0041a343
push eax
mov ecx, esi
call fcn.0041abc3
push eax
push dword [ebp - 0x7c]
mov ecx, ebx
push edi
call fcn.00417d22
push eax
lea eax, [ebp + 0x27a8]
push eax
push dword [ebp - 0x60]
lea eax, [ebp - 0x58]
push dword [ebp + 0x2dbc]
push str._s_type0submitcount_dbuild_sgameid_dcrashedthissession_sisbeta_sskinnedgameid_dgamesetid_dctgs_dinstalleddays_dtrialhours_dgraceplaycount_dgraceplaytime_dboughtplaycount_dboughtplaytime_dtrialplaycount_dtrialplaytime_dfunpassstatus_d
push eax
call fcn.00439d0c
mov edi, dword [ebp + 0x2dc8]
add esp, 0x50
test edi, edi
je 0x407c6f
cmp edi, 2
jne 0x407c9b
push str.application_x_www_form_urlencoded
push 0
push 0
push dword [ebp + 0x2dc4]
lea eax, [ebp - 0x58]
push dword [ebp + 0x2dc0]
push eax
call fcn.00423b9a
mov ecx, dword [0x4648fc]
mov eax, dword [ecx]
add esp, 0x18
call dword [eax + 0x6c]
mov ecx, esi
call fcn.00419dc6
test edi, edi
mov dword [ebp - 0x5c], eax
je 0x407cb2
cmp edi, 2
jne 0x407d64
mov eax, dword [0x464ae0]
test eax, eax
je 0x407d64
mov edi, str.true
push edi
push eax
call fcn.0042a46e
test al, al
pop ecx
pop ecx
je 0x407d69
cmp dword [ebp - 0x5c], 0
je 0x407d69
push dword [ebp - 0x5c]
call fcn.0042087b
test al, al
pop ecx
je 0x407d69
mov eax, dword [0x464acc]
test eax, eax
je 0x407d04
push edi
push eax
call fcn.0042a46e
pop ecx
test al, al
pop ecx
mov eax, edi
jne 0x407d09
mov eax, str.false
push eax
mov ecx, ebx
call fcn.00417d22
push eax
lea eax, [ebp + 0x27a8]
push eax
push dword [ebp - 0x60]
lea eax, [ebp - 0x58]
push dword [ebp + 0x2dbc]
push str._s_type1submitcount_dbuild_sgameid_disbeta_s
push eax
call fcn.00439d0c
push 0x19000
push str.ZylomGameData
push dword [ebp - 0x5c]
lea eax, [ebp - 0x58]
push dword [ebp + 0x2dc4]
push dword [ebp + 0x2dc0]
push eax
call fcn.00423d75
add esp, 0x34
test al, al
je 0x407d69
push dword [ebp - 0x5c]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x407d69
mov edi, str.true
mov ecx, esi
call fcn.00419ed2
mov dword [ebp - 0x5c], eax
lea eax, [ebp + 0x2cac]
push 0x4647b8
push eax
call fcn.00438cb0
mov esi, 0x44df1c
lea eax, [ebp + 0x2cac]
push esi
push eax
call fcn.0042a3db
add esp, 0x10
test al, al
jne 0x407dac
lea eax, [ebp + 0x2cac]
push esi
push eax
call fcn.00438cc0
pop ecx
pop ecx
lea eax, [ebp + 0x2cac]
push eax
lea eax, [ebp + 0x2ba8]
push eax
call fcn.00438cb0
lea eax, [ebp + 0x2ba8]
push str.ZylomCrashReport.log
push eax
call fcn.00438cc0
lea eax, [ebp + 0x2cac]
push str.ZylomCrashReport.dmp
push eax
call fcn.00438cc0
add esp, 0x18
cmp dword [ebp + 0x2dc8], 1
je 0x407dfa
cmp dword [ebp + 0x2dc8], 2
jne 0x40801d
mov eax, dword [0x464ae4]
test eax, eax
je 0x40801d
push edi
push eax
call fcn.0042a46e
test al, al
pop ecx
pop ecx
je 0x40801d
lea eax, [ebp + 0x2ba8]
push eax
call fcn.0042087b
test al, al
pop ecx
jne 0x407e7e
lea eax, [ebp + 0x2cac]
push eax
call fcn.0042087b
test al, al
pop ecx
jne 0x407e7e
mov eax, dword [0x464acc]
test eax, eax
je 0x40801d
push edi
push eax
call fcn.0042a46e
test al, al
pop ecx
pop ecx
je 0x40801d
push dword [ebp - 0x5c]
call fcn.0042087b
test al, al
pop ecx
je 0x40801d
mov ecx, dword [0x4648fc]
mov eax, dword [ecx]
push 1
call dword [eax + 0xc]
test al, al
je 0x40801d
mov ecx, dword [0x4648fc]
test ecx, ecx
je 0x407ea6
mov eax, dword [ecx]
call dword [eax + 0x40]
mov ecx, dword [ebp - 0x74]
sub ecx, eax
mov eax, ecx
xor edx, edx
mov ecx, 0x15180
div ecx
cmp eax, 0x1e
ja 0x40801d
cmp byte [0x464928], 0
mov eax, edi
jne 0x407eb6
mov eax, str.false
push eax
mov ecx, ebx
call fcn.00417d22
push eax
lea eax, [ebp + 0x27a8]
push eax
push dword [ebp - 0x60]
lea eax, [ebp - 0x58]
push dword [ebp + 0x2dbc]
push str._s_type2submitcount_dbuild_sgameid_dcrashedthissession_s
push eax
call fcn.00439d0c
lea eax, [ebp + 0x2ba8]
push eax
call fcn.0042087b
add esp, 0x20
test al, al
mov esi, 0x19000
je 0x407f2b
push esi
push str.GameDrWatsonLog
lea eax, [ebp + 0x2ba8]
push eax
push dword [ebp + 0x2dc4]
lea eax, [ebp - 0x58]
push dword [ebp + 0x2dc0]
push eax
call fcn.00423d75
add esp, 0x18
test al, al
je 0x407f2b
lea eax, [ebp + 0x2ba8]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
cmp byte [0x464928], 0
mov eax, edi
jne 0x407f3b
mov eax, str.false
push eax
mov ecx, ebx
call fcn.00417d22
push eax
lea eax, [ebp + 0x27a8]
push eax
push dword [ebp - 0x60]
lea eax, [ebp - 0x58]
push dword [ebp + 0x2dbc]
push str._s_type3submitcount_dbuild_sgameid_dcrashedthissession_s
push eax
call fcn.00439d0c
lea eax, [ebp + 0x2cac]
push eax
call fcn.0042087b
add esp, 0x20
test al, al
je 0x407fab
push esi
push str.GameDrWatsonDump
lea eax, [ebp + 0x2cac]
push eax
push dword [ebp + 0x2dc4]
lea eax, [ebp - 0x58]
push dword [ebp + 0x2dc0]
push eax
call fcn.00423d75
add esp, 0x18
test al, al
je 0x407fab
lea eax, [ebp + 0x2cac]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
cmp byte [0x464928], 0
jne 0x407fb9
mov edi, str.false
push edi
mov ecx, ebx
call fcn.00417d22
push eax
lea eax, [ebp + 0x27a8]
push eax
push dword [ebp - 0x60]
lea eax, [ebp - 0x58]
push dword [ebp + 0x2dbc]
push str._s_type4submitcount_dbuild_sgameid_dcrashedthissession_s
push eax
call fcn.00439d0c
push dword [ebp - 0x5c]
call fcn.0042087b
add esp, 0x20
test al, al
je 0x40801d
push esi
push str.GameDrWatsonExtra
push dword [ebp - 0x5c]
lea eax, [ebp - 0x58]
push dword [ebp + 0x2dc4]
push dword [ebp + 0x2dc0]
push eax
call fcn.00423d75
add esp, 0x18
test al, al
je 0x40801d
push dword [ebp - 0x5c]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
pop esi
pop ebx
mov ecx, dword [ebp + 0x2db0]
pop edi
call fcn.00438bfc
add ebp, 0x2db4
leave
ret