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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d1126
mov eax, dword fs:[0]
push eax
sub esp, 0x198
mov eax, dword [0x51452c]
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 0x428544
call fcn.004563e0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x4283fb
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.00417b10
push 3
push 0x4dfa84
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.00417b10
mov byte [ebp - 4], 1
call fcn.004563e0
mov edi, eax
lea ecx, [ebp - 0x10c]
push 0x118
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00411810
mov esi, eax
push str.dump_upload_succssful
push esi
mov byte [ebp - 4], 2
call fcn.00412e60
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0x10c]
call fcn.00412fa0
lea ecx, [ebp - 0x28]
call fcn.004123e0
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], 0xffffffff
call fcn.004123e0
mov eax, dword [ebx + 0x7c]
cmp dword [eax - 0xc], 0
je 0x4284d0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
call fcn.004563e0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x4284d0
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.00417b10
push 3
push 0x4dfa84
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.00417b10
mov byte [ebp - 4], 4
call fcn.004563e0
mov edi, eax
lea ecx, [ebp - 0x1a4]
push 0x11b
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.00411810
mov esi, eax
push str.delete_local_dump
push esi
mov byte [ebp - 4], 5
call fcn.00412e60
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0x1a4]
call fcn.00412fa0
lea ecx, [ebp - 0x58]
call fcn.004123e0
lea ecx, [ebp - 0x70]
mov dword [ebp - 4], 0xffffffff
call fcn.004123e0
lea eax, [ebp - 0x74]
push 1
push eax
call fcn.004760f0
add esp, 8
push dword [ebp - 0x74]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x42850f
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 0x42850f
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 0x428544
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.0046659c
mov esp, ebp
pop ebp
ret 0x10