Function at 0x49d1c4
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
mov ecx, 6
push 0
push 0
dec ecx
jne 0x49d1cc
push ecx
push ebx
push esi
push edi
xor eax, eax
push ebp
push 0x49d5a4
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x5a3f6c]
mov edx, dword [0x5a3f70]
call fcn.00405838
je 0x49d201
mov eax, dword [0x5a3f20]
call fcn.0046e2e4
mov eax, 0x49d5bc
call fcn.004058a0
push eax
call sub.kernel32.dll_DeleteFileA
lea edx, [ebp - 0x14]
mov eax, dword [0x59ebb8]
mov eax, dword [eax]
call fcn.00472838
mov eax, dword [ebp - 0x14]
mov edx, 0x49d5bc
call fcn.0049cfe8
test al, al
jne 0x49d24a
mov eax, 0x49d5dc
call fcn.00445814
mov eax, dword [0x5a3f20]
call fcn.0046e2e4
jmp 0x49d564
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.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 0x49d5f4
push dword [ebp - 4]
push 0x49d60c
lea eax, [ebp - 4]
mov edx, 3
call fcn.004057a4
call fcn.00499dbc
push 0
mov eax, dword [ebp - 4]
call fcn.004058a0
push eax
call fcn.00499f3c
mov eax, dword [0x5a3f20]
mov eax, dword [eax + 0x374]
mov edx, 0x49d5bc
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 0x49d34a
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 0x49d372
mov eax, 0x49d5bc
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, 0x49d630
call fcn.00405838
je 0x49d40a
mov eax, dword [0x5a3f30]
mov edx, 0x49d630
call fcn.00405838
je 0x49d40a
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 0x49d416
mov dl, 2
mov eax, dword [0x5a3f20]
call fcn.0046b678
mov eax, dword [0x5a3fac]
mov edx, 0x49d63c
call fcn.00405838
jne 0x49d433
mov dl, 3
mov eax, dword [0x5a3f20]
call fcn.0046ab7c
mov eax, dword [0x5a3fb0]
mov edx, 0x49d63c
call fcn.00405838
jne 0x49d470
xor eax, eax
push ebp
push 0x49d466
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 0x49d470
mov eax, dword [0x5a3fb8]
mov edx, 0x49d63c
call fcn.00405838
jne 0x49d49e
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.0049aac0
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 [0x59ed48]
cmp dword [eax], 0
je 0x49d564
xor eax, eax
push ebp
push 0x49d55a
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 [0x59ed48]
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 0x49d564
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49d5ab
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