Function at 0x49cfe0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
mov ecx, 6
push 0
push 0
dec ecx
jne 0x49cfe8
push ecx
push ebx
push esi
push edi
xor eax, eax
push ebp
push 0x49d3cf
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x5a3f6c]
mov edx, dword [0x5a3f70]
call fcn.00405838
je 0x49d01d
mov eax, dword [0x5a3f20]
call fcn.0046e2e4
mov eax, 0x49d3e8
call fcn.004058a0
push eax
call sub.kernel32.dll_DeleteFileA
lea edx, [ebp - 0x14]
mov eax, dword [0x59ebb8]
mov eax, dword [eax]
call fcn.00472850
mov eax, dword [ebp - 0x14]
mov edx, 0x49d3e8
call fcn.0049ce04
test al, al
jne 0x49d066
mov eax, 0x49d408
call fcn.00445814
mov eax, dword [0x5a3f20]
call fcn.0046e2e4
jmp 0x49d38f
call fcn.0040bf60
fstp qword [ebp - 0x10]
wait
push dword [ebp - 0xc]
push dword [ebp - 0x10]
mov edx, dword [0x59eb74]
mov edx, dword [edx]
lea eax, [ebp - 8]
call fcn.0040cb94
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 8]
call fcn.0049391c
lea eax, [ebp - 0x28]
lea edx, [ebp - 0x18]
call fcn.00493994
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 4]
mov edx, 5
call fcn.0043bb44
push 0x49d420
push dword [ebp - 4]
push 0x49d438
lea eax, [ebp - 4]
mov edx, 3
call fcn.004057a4
call fcn.00499e6c
push 0
mov eax, dword [ebp - 4]
call fcn.004058a0
push eax
call fcn.00499fec
mov eax, dword [0x5a3f20]
mov eax, dword [eax + 0x374]
mov edx, 0x49d3e8
mov ecx, dword [eax]
call dword [ecx + 0x30]
mov eax, dword [0x5a3f20]
mov eax, dword [eax + 0x374]
mov edx, dword [ebp - 4]
call fcn.0048dd40
mov eax, dword [0x5a3f20]
mov eax, dword [eax + 0x374]
mov byte [eax + 0x39], 1
mov byte [eax + 0x50], 1
mov byte [eax + 0x40], 1
push 0x49d444
lea edx, [ebp - 0x2c]
mov eax, dword [0x59eb18]
mov eax, dword [eax]
call fcn.00409d6c
push dword [ebp - 0x2c]
push 0x49d444
mov eax, dword [0x5a3f20]
mov eax, dword [eax + 0x374]
add eax, 0x44
mov edx, 3
call fcn.004057a4
xor eax, eax
push ebp
push 0x49d175
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x5a3f20]
mov eax, dword [eax + 0x374]
call fcn.0048e630
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x49d19d
mov eax, 0x49d3e8
call fcn.004058a0
push eax
call sub.kernel32.dll_DeleteFileA
mov ax, 0x133f
call fcn.00403544
lea eax, [ebp - 0x34]
mov ecx, dword [0x5a3f40]
mov edx, dword [ebp - 4]
call fcn.00405728
mov edx, dword [ebp - 0x34]
lea eax, [ebp - 0x30]
call fcn.00405d68
mov edx, dword [ebp - 0x30]
mov eax, dword [0x5a3f20]
mov eax, dword [eax + 0x36c]
call fcn.0047bf64
mov eax, dword [0x5a3f2c]
mov edx, 0x49d478
call fcn.00405838
je 0x49d235
mov eax, dword [0x5a3f30]
mov edx, 0x49d478
call fcn.00405838
je 0x49d235
mov eax, dword [0x5a3f2c]
call fcn.00409ea8
mov edx, eax
mov eax, dword [0x5a3f20]
call fcn.00453b4c
mov eax, dword [0x5a3f30]
call fcn.00409ea8
mov edx, eax
mov eax, dword [0x5a3f20]
call fcn.00453b18
jmp 0x49d241
mov dl, 2
mov eax, dword [0x5a3f20]
call fcn.0046b678
mov eax, dword [0x5a3fac]
mov edx, 0x49d484
call fcn.00405838
jne 0x49d25e
mov dl, 3
mov eax, dword [0x5a3f20]
call fcn.0046ab7c
mov eax, dword [0x5a3fb0]
mov edx, 0x49d484
call fcn.00405838
jne 0x49d29b
xor eax, eax
push ebp
push 0x49d291
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.00446568
mov edx, dword [eax]
call dword [edx + 0x18]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x49d29b
mov eax, dword [0x5a3fb8]
mov edx, 0x49d484
call fcn.00405838
jne 0x49d2c9
mov eax, dword [0x5a4004]
push eax
mov eax, dword [0x5a3f20]
mov eax, dword [eax + 0x378]
push eax
mov eax, dword [0x5a3f20]
push eax
call fcn.0049ab70
mov eax, dword [0x5a3f20]
mov eax, dword [eax + 0x364]
mov dl, 1
call fcn.0043f858
mov eax, dword [0x5a3f20]
mov eax, dword [eax + 0x360]
mov dl, 1
call fcn.0043f858
mov eax, dword [0x59ed40]
cmp dword [eax], 0
je 0x49d38f
xor eax, eax
push ebp
push 0x49d385
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x5a3f20]
call fcn.00469860
mov ebx, eax
mov eax, dword [0x5a3fc0]
call fcn.00409ea8
add ebx, eax
mov edx, ebx
mov eax, dword [0x59eb68]
mov eax, dword [eax]
call fcn.0046ee90
mov eax, dword [0x5a3f20]
call fcn.00469880
mov ebx, eax
mov eax, dword [0x5a3fc4]
call fcn.00409ea8
add ebx, eax
mov edx, ebx
mov eax, dword [0x59eb68]
mov eax, dword [eax]
call fcn.0046eecc
mov edx, dword [0x59ed40]
mov edx, dword [edx]
mov eax, dword [0x59eb68]
mov eax, dword [eax]
mov eax, dword [eax + 0x360]
call fcn.00454460
mov eax, dword [0x59eb68]
mov eax, dword [eax]
call fcn.0046e48c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x49d38f
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49d3d6
lea eax, [ebp - 0x34]
call fcn.00405410
lea eax, [ebp - 0x30]
call fcn.00405c18
lea eax, [ebp - 0x2c]
call fcn.00405410
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.00405434
lea eax, [ebp - 8]
mov edx, 2
call fcn.00405434
ret