Function at 0x407d11
Capabilities:
Delete file

Disassembly:
push ebp
mov eax, 0x2e34
lea ebp, [esp - 0x2db4]
call fcn.0043b480
mov eax, dword [0x46159c]
push edi
xor edi, edi
cmp dword [ebp + 0x2dbc], edi
mov dword [ebp + 0x2db0], eax
je 0x408322
push dword [ebp + 0x2dbc]
call fcn.00439dc0
test eax, eax
pop ecx
je 0x408322
cmp dword [ebp + 0x2dc0], edi
je 0x408322
push dword [ebp + 0x2dc0]
call fcn.00439dc0
test eax, eax
pop ecx
je 0x408322
cmp word [ebp + 0x2dc4], di
je 0x408322
push ebx
mov ebx, 0x466b28
mov ecx, ebx
mov byte [ebp + 0x27a8], 0
call fcn.004184b1
test eax, eax
je 0x407db9
mov ecx, ebx
call fcn.004184b1
push eax
lea eax, [ebp + 0x27a8]
push eax
call fcn.00439e60
lea eax, [ebp + 0x27a8]
push eax
call fcn.0042a9cf
add esp, 0xc
mov ecx, dword [0x4669bc]
mov eax, dword [ecx]
push esi
lea edx, [ebp - 0x74]
push edx
call dword [eax + 4]
mov ecx, dword [0x46691c]
mov eax, dword [ecx]
call dword [eax + 0x60]
mov ecx, dword [0x46691c]
inc eax
cmp ecx, edi
mov dword [ebp - 0x60], eax
jne 0x407de7
mov dword [ebp - 0x5c], edi
jmp 0x407df9
mov eax, dword [ecx]
call dword [eax + 0x5c]
mov ecx, dword [0x46691c]
cmp ecx, edi
mov dword [ebp - 0x5c], eax
jne 0x407dfe
mov dword [ebp - 0x80], edi
jmp 0x407e10
mov eax, dword [ecx]
call dword [eax + 0x58]
mov ecx, dword [0x46691c]
cmp ecx, edi
mov dword [ebp - 0x80], eax
jne 0x407e15
mov dword [ebp - 0x68], edi
jmp 0x407e27
mov eax, dword [ecx]
call dword [eax + 0x54]
mov ecx, dword [0x46691c]
cmp ecx, edi
mov dword [ebp - 0x68], eax
jne 0x407e2c
mov dword [ebp - 0x70], edi
jmp 0x407e3e
mov eax, dword [ecx]
call dword [eax + 0x50]
mov ecx, dword [0x46691c]
cmp ecx, edi
mov dword [ebp - 0x70], eax
jne 0x407e43
mov dword [ebp - 0x78], edi
jmp 0x407e55
mov eax, dword [ecx]
call dword [eax + 0x4c]
mov ecx, dword [0x46691c]
cmp ecx, edi
mov dword [ebp - 0x78], eax
jne 0x407e63
mov dword [ebp - 0x64], edi
mov dword [ebp - 0x6c], edi
cmp ecx, edi
jne 0x407eac
xor esi, esi
jmp 0x407ec3
mov eax, dword [ecx]
call dword [eax + 0x48]
mov ecx, dword [0x46691c]
cmp ecx, edi
mov dword [ebp - 0x64], eax
je 0x407e58
mov eax, dword [ecx]
call dword [eax + 0x3c]
test eax, eax
mov ecx, dword [0x46691c]
je 0x407e58
mov eax, dword [ecx]
call dword [eax + 0x40]
mov ecx, dword [0x46691c]
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 [0x46691c]
mov dword [ebp - 0x6c], eax
jmp 0x407e5b
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 [0x466b3c]
cmp eax, edi
mov edi, str.true
je 0x407ee1
push edi
push eax
call fcn.0042b292
test al, al
pop ecx
pop ecx
mov dword [ebp - 0x7c], edi
jne 0x407ee8
mov dword [ebp - 0x7c], str.false
cmp byte [0x466948], 0
jne 0x407ef6
mov edi, str.false
push 0
mov ecx, 0x467078
call fcn.004058db
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, 0x466998
mov ecx, esi
call int.0041babf
push eax
mov ecx, esi
call fcn.0041ab3e
push eax
mov ecx, esi
call fcn.0041b3be
push eax
push dword [ebp - 0x7c]
mov ecx, ebx
push edi
call fcn.004184e4
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.0043aebc
mov edi, dword [ebp + 0x2dc8]
add esp, 0x50
test edi, edi
je 0x407f72
cmp edi, 2
jne 0x407f9e
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.00424968
mov ecx, dword [0x46691c]
mov eax, dword [ecx]
add esp, 0x18
call dword [eax + 0x6c]
mov ecx, esi
call fcn.0041a587
test edi, edi
mov dword [ebp - 0x5c], eax
je 0x407fb5
cmp edi, 2
jne 0x408067
mov eax, dword [0x466b50]
test eax, eax
je 0x408067
mov edi, str.true
push edi
push eax
call fcn.0042b292
test al, al
pop ecx
pop ecx
je 0x40806c
cmp dword [ebp - 0x5c], 0
je 0x40806c
push dword [ebp - 0x5c]
call fcn.00421625
test al, al
pop ecx
je 0x40806c
mov eax, dword [0x466b3c]
test eax, eax
je 0x408007
push edi
push eax
call fcn.0042b292
pop ecx
test al, al
pop ecx
mov eax, edi
jne 0x40800c
mov eax, str.false
push eax
mov ecx, ebx
call fcn.004184e4
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.0043aebc
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.00424b43
add esp, 0x34
test al, al
je 0x40806c
push dword [ebp - 0x5c]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x40806c
mov edi, str.true
mov ecx, esi
call fcn.0041a693
mov dword [ebp - 0x5c], eax
lea eax, [ebp + 0x2cac]
push 0x4667d8
push eax
call fcn.00439e60
mov esi, 0x44efe4
lea eax, [ebp + 0x2cac]
push esi
push eax
call fcn.0042b1ff
add esp, 0x10
test al, al
jne 0x4080af
lea eax, [ebp + 0x2cac]
push esi
push eax
call fcn.00439e70
pop ecx
pop ecx
lea eax, [ebp + 0x2cac]
push eax
lea eax, [ebp + 0x2ba8]
push eax
call fcn.00439e60
lea eax, [ebp + 0x2ba8]
push str.ZylomCrashReport.log
push eax
call fcn.00439e70
lea eax, [ebp + 0x2cac]
push str.ZylomCrashReport.dmp
push eax
call fcn.00439e70
add esp, 0x18
cmp dword [ebp + 0x2dc8], 1
je 0x4080fd
cmp dword [ebp + 0x2dc8], 2
jne 0x408320
mov eax, dword [0x466b54]
test eax, eax
je 0x408320
push edi
push eax
call fcn.0042b292
test al, al
pop ecx
pop ecx
je 0x408320
lea eax, [ebp + 0x2ba8]
push eax
call fcn.00421625
test al, al
pop ecx
jne 0x408181
lea eax, [ebp + 0x2cac]
push eax
call fcn.00421625
test al, al
pop ecx
jne 0x408181
mov eax, dword [0x466b3c]
test eax, eax
je 0x408320
push edi
push eax
call fcn.0042b292
test al, al
pop ecx
pop ecx
je 0x408320
push dword [ebp - 0x5c]
call fcn.00421625
test al, al
pop ecx
je 0x408320
mov ecx, dword [0x46691c]
mov eax, dword [ecx]
push 1
call dword [eax + 0xc]
test al, al
je 0x408320
mov ecx, dword [0x46691c]
test ecx, ecx
je 0x4081a9
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 0x408320
cmp byte [0x466948], 0
mov eax, edi
jne 0x4081b9
mov eax, str.false
push eax
mov ecx, ebx
call fcn.004184e4
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.0043aebc
lea eax, [ebp + 0x2ba8]
push eax
call fcn.00421625
add esp, 0x20
test al, al
mov esi, 0x19000
je 0x40822e
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.00424b43
add esp, 0x18
test al, al
je 0x40822e
lea eax, [ebp + 0x2ba8]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
cmp byte [0x466948], 0
mov eax, edi
jne 0x40823e
mov eax, str.false
push eax
mov ecx, ebx
call fcn.004184e4
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.0043aebc
lea eax, [ebp + 0x2cac]
push eax
call fcn.00421625
add esp, 0x20
test al, al
je 0x4082ae
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.00424b43
add esp, 0x18
test al, al
je 0x4082ae
lea eax, [ebp + 0x2cac]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
cmp byte [0x466948], 0
jne 0x4082bc
mov edi, str.false
push edi
mov ecx, ebx
call fcn.004184e4
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.0043aebc
push dword [ebp - 0x5c]
call fcn.00421625
add esp, 0x20
test al, al
je 0x408320
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.00424b43
add esp, 0x18
test al, al
je 0x408320
push dword [ebp - 0x5c]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
pop esi
pop ebx
mov ecx, dword [ebp + 0x2db0]
pop edi
call fcn.00439dac
add ebp, 0x2db4
leave
ret