Function at 0x50d91d
Capabilities:
Delete file

Disassembly:
mov eax, 0x69fa7f
call fcn.006375a8
sub esp, 0x74
cmp byte [0x79ff7a], 0
push edi
mov edi, ecx
mov dword [ebp - 0x1c], edi
je 0x50d941
xor eax, eax
inc eax
jmp 0x50dc07
push ebx
mov bl, 1
push esi
mov byte [ebp - 0xd], bl
call fcn.00475cf1
and dword [ebp - 4], 0
cmp byte [ebp + 8], 0
jne 0x50d978
cmp byte [ebp + 0xc], 0
jne 0x50d978
mov eax, dword [0x7a00bc]
cmp eax, dword [edi + 0x20]
jg 0x50d978
jl 0x50d973
mov eax, dword [0x7a00b8]
cmp eax, dword [edi + 0x1c]
jae 0x50d978
push 2
pop eax
jmp 0x50d9ba
push str.resume.dat.temp
lea eax, [ebp - 0x50]
push eax
call fcn.00470ce5
cmp dword [eax + 0x14], 8
mov byte [ebp - 4], 2
jb 0x50d992
mov eax, dword [eax]
push 0x80
push 7
push eax
call fcn.0045fa00
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x50]
xor eax, eax
push eax
push 1
mov byte [ebp - 4], al
call fcn.004267c2
cmp dword [ebp - 0x14], 0xffffffff
jne 0x50d9c1
xor eax, eax
mov esi, eax
jmp 0x50dbf3
mov eax, dword [0x7a4510]
and dword [ebp + 0xc], 0
mov esi, dword [eax]
mov dword [ebp - 0x18], esi
cmp esi, eax
je 0x50da72
push 0x14
call fcn.00637305
pop ecx
mov dword [ebp - 0x24], eax
mov byte [ebp - 4], 4
test eax, eax
je 0x50d9f5
mov ecx, eax
call fcn.004280b5
mov edi, eax
jmp 0x50d9f7
xor edi, edi
push dword [ebp + 8]
mov ecx, dword [esi + 0x24]
push edi
mov byte [ebp - 4], 0
call fcn.004b0e07
lea eax, [ebp - 0x50]
mov ecx, edi
push eax
call fcn.0045d1d0
cmp dword [ebp - 0x3c], 0x10
mov ecx, dword [ebp - 0x50]
mov byte [ebp - 4], 5
jae 0x50da22
lea ecx, [ebp - 0x50]
mov eax, dword [ebp - 0x40]
mov edx, dword [ebp + 0xc]
sub eax, edx
dec eax
push eax
lea eax, [ecx + edx]
push eax
push dword [ebp - 0x14]
call fcn.0045fe87
xor esi, esi
inc esi
mov dword [ebp + 0xc], esi
test edi, edi
je 0x50da49
mov eax, dword [edi]
mov ecx, edi
push esi
call dword [eax]
xor eax, eax
lea ecx, [ebp - 0x50]
push eax
push esi
mov byte [ebp - 4], al
call fcn.0040daff
lea ecx, [ebp - 0x18]
call fcn.005a78a8
mov esi, dword [ebp - 0x18]
cmp esi, dword [0x7a4510]
jne 0x50d9d7
mov edi, dword [ebp - 0x1c]
push 0x14
call fcn.00637305
pop ecx
mov dword [ebp + 8], eax
mov byte [ebp - 4], 6
test eax, eax
je 0x50da90
mov ecx, eax
call fcn.004280b5
mov esi, eax
jmp 0x50da92
xor esi, esi
push esi
mov byte [ebp - 4], 0
call fcn.00545756
lea eax, [ebp - 0x68]
mov ecx, esi
push eax
call fcn.0045d1d0
cmp dword [ebp - 0x54], 0x10
mov ecx, dword [ebp - 0x68]
mov byte [ebp - 4], 7
jae 0x50dab7
lea ecx, [ebp - 0x68]
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x58]
sub eax, edx
push eax
lea eax, [ecx + edx]
push eax
push dword [ebp - 0x14]
call fcn.0045fe87
test esi, esi
je 0x50dad8
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax]
lea eax, [ebp - 0x14]
push eax
call fcn.0045f990
push str.resume.dat.temp
lea eax, [ebp - 0x50]
push eax
call fcn.00470ce5
cmp dword [eax + 0x14], 8
mov byte [ebp - 4], 8
jb 0x50dafb
mov eax, dword [eax]
push 0
lea ecx, [ebp - 0x20]
push ecx
push eax
call fcn.0046146c
push 0
push 1
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 7
mov esi, eax
call fcn.004267c2
test esi, esi
je 0x50dbe7
lea ecx, [ebp - 0x38]
call fcn.004280b5
push str.resume.dat
lea eax, [ebp - 0x80]
mov byte [ebp - 4], 0xa
push eax
call fcn.00470ce5
cmp dword [eax + 0x14], 8
mov byte [ebp - 4], 0xb
jb 0x50db47
mov eax, dword [eax]
lea ecx, [ebp - 0x38]
push ecx
push 0x45bdbf
push dword [ebp - 0x20]
push esi
push eax
call fcn.0046c56f
xor ebx, ebx
mov byte [ebp + 0xf], al
push ebx
push 1
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 0xa
call fcn.004267c2
push 1
push esi
call fcn.0045e47c
push str.resume.dat.temp
lea eax, [ebp - 0x80]
push eax
call fcn.00470ce5
cmp dword [eax + 0x14], 8
jb 0x50db8c
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
push ebx
push 1
lea ecx, [ebp - 0x80]
call fcn.004267c2
mov ecx, dword [0x7a00b8]
mov eax, dword [0x7a00bc]
add ecx, 0x258
mov dword [edi + 0x1c], ecx
adc eax, ebx
mov byte [ebp - 0xd], bl
mov dword [edi + 0x20], eax
call fcn.00475d32
xor eax, eax
cmp byte [ebp + 0xf], al
setne al
mov dword [ebp + 0xc], eax
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0xc
mov dword [ebp - 0x38], 0x6b6d70
call fcn.0045c38d
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x38], 0x6b6d64
push 0
push 1
lea ecx, [ebp - 0x68]
call fcn.0040daff
mov dword [ebp - 4], 0xd
test bl, bl
je 0x50dc03
call fcn.00475d32
mov eax, esi
pop esi
pop ebx
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8