Function at 0x428860
Capabilities:
Check if file exists
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d0e76
mov eax, dword fs:[0]
push eax
sub esp, 0x198
mov eax, dword [0x51352c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
cmp dword [ebp + 0xc], 0
jne 0x428aa4
call fcn.00455070
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x42895b
push 0xb
push str.MainWnd.cpp
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], al
call fcn.00418050
push 3
push 0x4dea84
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.00418050
mov byte [ebp - 4], 1
call fcn.00455070
mov edi, eax
lea ecx, [ebp - 0x10c]
push 0x120
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00411d60
mov esi, eax
push str.dump_upload_succssful
push esi
mov byte [ebp - 4], 2
call fcn.004133b0
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0x10c]
call fcn.004134e0
lea ecx, [ebp - 0x28]
call fcn.00412930
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], 0xffffffff
call fcn.00412930
mov eax, dword [ebx + 0x7c]
cmp dword [eax - 0xc], 0
je 0x428a30
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
call fcn.00455070
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x428a30
push 0xb
push str.MainWnd.cpp
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], 0xf
mov byte [ebp - 0x70], al
call fcn.00418050
push 3
push 0x4dea84
lea ecx, [ebp - 0x58]
mov dword [ebp - 4], 3
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
call fcn.00418050
mov byte [ebp - 4], 4
call fcn.00455070
mov edi, eax
lea ecx, [ebp - 0x1a4]
push 0x123
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.00411d60
mov esi, eax
push str.delete_local_dump
push esi
mov byte [ebp - 4], 5
call fcn.004133b0
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0x1a4]
call fcn.004134e0
lea ecx, [ebp - 0x58]
call fcn.00412930
lea ecx, [ebp - 0x70]
mov dword [ebp - 4], 0xffffffff
call fcn.00412930
lea eax, [ebp - 0x74]
push 1
push eax
call fcn.00475e40
add esp, 8
push dword [ebp - 0x74]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x428a6f
push eax
push 0x80
push 2
push eax
push eax
push 0xc0000000
push dword [ebp - 0x74]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
je 0x428a6f
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x74]
push dword [ebx + 0x80]
push str.dumpver
push dword [ebx + 0x84]
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov edx, dword [ebp - 0x74]
or eax, 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x428aa4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0
push 0
push 0x10
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0046522d
mov esp, ebp
pop ebp
ret 0x10