Function at 0x49cfd8
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
mov ecx, 6
push 0
push 0
dec ecx
jne 0x49cfe0
push ecx
push ebx
push esi
push edi
xor eax, eax
push ebp
push 0x49d3b8
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x5a3f6c]
mov edx, dword [0x5a3f70]
call fcn.00405838
je 0x49d015
mov eax, dword [0x5a3f20]
call fcn.0046e2e4
mov eax, 0x49d3d0
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, 0x49d3d0
call fcn.0049cdfc
test al, al
jne 0x49d05e
mov eax, 0x49d3f0
call fcn.00445814
mov eax, dword [0x5a3f20]
call fcn.0046e2e4
jmp 0x49d378
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 0x49d408
push dword [ebp - 4]
push 0x49d420
lea eax, [ebp - 4]
mov edx, 3
call fcn.004057a4
call fcn.00499e64
push 0
mov eax, dword [ebp - 4]
call fcn.004058a0
push eax
call fcn.00499fe4
mov eax, dword [0x5a3f20]
mov eax, dword [eax + 0x374]
mov edx, 0x49d3d0
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
lea edx, [ebp - 0x2c]
mov eax, dword [0x59eb18]
mov eax, dword [eax]
call fcn.00409d6c
mov edx, dword [ebp - 0x2c]
mov eax, dword [0x5a3f20]
mov eax, dword [eax + 0x374]
add eax, 0x44
call fcn.00405464
xor eax, eax
push ebp
push 0x49d15e
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 0x49d186
mov eax, 0x49d3d0
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, 0x49d444
call fcn.00405838
je 0x49d21e
mov eax, dword [0x5a3f30]
mov edx, 0x49d444
call fcn.00405838
je 0x49d21e
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 0x49d22a
mov dl, 2
mov eax, dword [0x5a3f20]
call fcn.0046b678
mov eax, dword [0x5a3fac]
mov edx, 0x49d450
call fcn.00405838
jne 0x49d247
mov dl, 3
mov eax, dword [0x5a3f20]
call fcn.0046ab7c
mov eax, dword [0x5a3fb0]
mov edx, 0x49d450
call fcn.00405838
jne 0x49d284
xor eax, eax
push ebp
push 0x49d27a
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 0x49d284
mov eax, dword [0x5a3fb8]
mov edx, 0x49d450
call fcn.00405838
jne 0x49d2b2
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.0049ab68
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 0x49d378
xor eax, eax
push ebp
push 0x49d36e
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 0x49d378
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49d3bf
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