Function at 0x49cda0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
mov ecx, 6
push 0
push 0
dec ecx
jne 0x49cda8
push ecx
push ebx
push esi
push edi
xor eax, eax
push ebp
push 0x49d180
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x5a3f6c]
mov edx, dword [0x5a3f70]
call fcn.00405838
je 0x49cddd
mov eax, dword [0x5a3f20]
call fcn.0046e2e4
mov eax, 0x49d198
call fcn.004058a0
push eax
call sub.kernel32.dll_DeleteFileA
lea edx, [ebp - 0x14]
mov eax, dword [0x59ebb4]
mov eax, dword [eax]
call fcn.00472838
mov eax, dword [ebp - 0x14]
mov edx, 0x49d198
call fcn.0049cbc4
test al, al
jne 0x49ce26
mov eax, 0x49d1b8
call fcn.00445814
mov eax, dword [0x5a3f20]
call fcn.0046e2e4
jmp 0x49d140
call fcn.0040bf60
fstp qword [ebp - 0x10]
wait
push dword [ebp - 0xc]
push dword [ebp - 0x10]
mov edx, dword [0x59eb70]
mov edx, dword [edx]
lea eax, [ebp - 8]
call fcn.0040cb94
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 8]
call fcn.00493904
lea eax, [ebp - 0x28]
lea edx, [ebp - 0x18]
call fcn.0049397c
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 4]
mov edx, 5
call fcn.0043bb44
push 0x49d1d0
push dword [ebp - 4]
push 0x49d1e8
lea eax, [ebp - 4]
mov edx, 3
call fcn.004057a4
call fcn.00499cec
push 0
mov eax, dword [ebp - 4]
call fcn.004058a0
push eax
call fcn.00499e6c
mov eax, dword [0x5a3f20]
mov eax, dword [eax + 0x374]
mov edx, 0x49d198
mov ecx, dword [eax]
call dword [ecx + 0x30]
mov eax, dword [0x5a3f20]
mov eax, dword [eax + 0x374]
mov edx, dword [ebp - 4]
call fcn.0048dd28
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 [0x59eb14]
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 0x49cf26
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x5a3f20]
mov eax, dword [eax + 0x374]
call fcn.0048e618
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x49cf4e
mov eax, 0x49d198
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.0047bf4c
mov eax, dword [0x5a3f2c]
mov edx, 0x49d20c
call fcn.00405838
je 0x49cfe6
mov eax, dword [0x5a3f30]
mov edx, 0x49d20c
call fcn.00405838
je 0x49cfe6
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 0x49cff2
mov dl, 2
mov eax, dword [0x5a3f20]
call fcn.0046b678
mov eax, dword [0x5a3fac]
mov edx, 0x49d218
call fcn.00405838
jne 0x49d00f
mov dl, 3
mov eax, dword [0x5a3f20]
call fcn.0046ab7c
mov eax, dword [0x5a3fb0]
mov edx, 0x49d218
call fcn.00405838
jne 0x49d04c
xor eax, eax
push ebp
push 0x49d042
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 0x49d04c
mov eax, dword [0x5a3fb8]
mov edx, 0x49d218
call fcn.00405838
jne 0x49d07a
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.0049a9f0
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 [0x59ed3c]
cmp dword [eax], 0
je 0x49d140
xor eax, eax
push ebp
push 0x49d136
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 [0x59eb64]
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 [0x59eb64]
mov eax, dword [eax]
call fcn.0046eecc
mov edx, dword [0x59ed3c]
mov edx, dword [edx]
mov eax, dword [0x59eb64]
mov eax, dword [eax]
mov eax, dword [eax + 0x360]
call fcn.00454460
mov eax, dword [0x59eb64]
mov eax, dword [eax]
call fcn.0046e48c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x49d140
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49d187
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