Function at 0x4ad654
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x8f
push 0
push 0
dec ecx
jne 0x4ad65c
push ebx
push esi
push edi
lea ebx, [ebp - 0x3b0]
xor eax, eax
push ebp
push 0x4ae25a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x53cf70]
mov edx, 0x4ae270
call fcn.004056b0
jne 0x4ae21f
mov eax, dword [0x5373d4]
mov eax, dword [eax]
call fcn.004649ac
mov eax, dword [0x53cfdc]
mov edx, 0x4ae27c
call fcn.004056b0
jne 0x4ad6c4
mov eax, dword [0x53cf6c]
mov eax, dword [eax + 0x360]
or ecx, 0xffffffff
mov edx, 0x18
call fcn.0046ee9c
call fcn.0040ba34
fstp qword [0x53d020]
wait
call fcn.004033ac
push 0x4ae288
mov eax, 0x270f
call fcn.004033d4
lea edx, [ebp - 0x3cc]
call fcn.00409cb4
mov eax, dword [ebp - 0x3cc]
lea edx, [ebp - 0x3c8]
call fcn.004a0218
lea eax, [ebp - 0x3c8]
lea edx, [ebp - 0x3b8]
call fcn.004a0290
mov eax, dword [ebp - 0x3b8]
push eax
mov eax, 0x14
call fcn.004033d4
mov edx, eax
add edx, 0xa
lea ecx, [ebp - 0x3b4]
pop eax
call fcn.004362fc
push dword [ebp - 0x3b4]
lea edx, [ebp - 0x3d0]
mov eax, dword [0x53cf78]
call fcn.004acd44
push dword [ebp - 0x3d0]
lea eax, [ebp - 4]
mov edx, 3
call fcn.0040561c
mov eax, dword [ebp - 4]
call fcn.0040a180
test al, al
jne 0x4ad78e
push 0
push 0x80
push 2
push 0
push 0
push 0xc0000000
mov eax, dword [ebp - 4]
call fcn.00405718
push eax
call sub.kernel32.dll_CreateFileA_1
push eax
call sub.kernel32.dll_CloseHandle_1
mov edx, dword [ebp - 4]
lea eax, [ebp - 0x1e4]
call fcn.00403728
lea eax, [ebp - 0x1e4]
call fcn.004034c4
call fcn.004030bc
mov eax, 0x270f
call fcn.004033d4
lea edx, [ebp - 0x3e0]
call fcn.00409cb4
mov eax, dword [ebp - 0x3e0]
lea edx, [ebp - 0x3c8]
call fcn.004a0218
lea eax, [ebp - 0x3c8]
lea edx, [ebp - 0x3dc]
call fcn.004a0290
mov eax, dword [ebp - 0x3dc]
push eax
mov eax, 0x14
call fcn.004033d4
mov edx, eax
add edx, 0xa
lea ecx, [ebp - 0x3d8]
pop eax
call fcn.004362fc
lea eax, [ebp - 0x3d8]
push eax
lea edx, [ebp - 0x3e4]
mov eax, dword [0x53cf78]
call fcn.004acd44
mov edx, dword [ebp - 0x3e4]
pop eax
call fcn.00405554
mov eax, dword [ebp - 0x3d8]
lea edx, [ebp - 0x3d4]
call fcn.004acc8c
mov edx, dword [ebp - 0x3d4]
lea eax, [ebp - 0x1e4]
call fcn.00405a38
call fcn.00403de4
call fcn.004030bc
lea eax, [ebp - 0x1e4]
call fcn.004037f0
call fcn.004030bc
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.00403728
mov eax, ebx
call fcn.004034b8
call fcn.004030bc
mov eax, ebx
call fcn.00403958
call fcn.004030bc
test al, al
jne 0x4ad8a0
lea edx, [ebp - 0x18]
mov eax, ebx
call fcn.00403b60
mov eax, ebx
call fcn.00403bcc
call fcn.004030bc
mov eax, ebx
call fcn.004037f0
call fcn.004030bc
mov eax, dword [ebp - 4]
call fcn.00405718
push eax
call sub.kernel32.dll_DeleteFileA
push 0x4ae288
mov eax, 0x270f
call fcn.004033d4
lea edx, [ebp - 0x3f0]
call fcn.00409cb4
mov eax, dword [ebp - 0x3f0]
lea edx, [ebp - 0x3c8]
call fcn.004a0218
lea eax, [ebp - 0x3c8]
lea edx, [ebp - 0x3ec]
call fcn.004a0290
mov eax, dword [ebp - 0x3ec]
push eax
mov eax, 0x14
call fcn.004033d4
mov edx, eax
add edx, 0xa
lea ecx, [ebp - 0x3e8]
pop eax
call fcn.004362fc
push dword [ebp - 0x3e8]
lea edx, [ebp - 0x3f4]
mov eax, dword [0x53cf78]
call fcn.004acd44
push dword [ebp - 0x3f4]
lea eax, [ebp - 8]
mov edx, 3
call fcn.0040561c
mov eax, dword [ebp - 8]
call fcn.0040a180
test al, al
jne 0x4ad973
push 0
push 0x80
push 2
push 0
push 0
push 0xc0000000
mov eax, dword [ebp - 8]
call fcn.00405718
push eax
call sub.kernel32.dll_CreateFileA_1
push eax
call sub.kernel32.dll_CloseHandle_1
mov edx, dword [ebp - 8]
lea eax, [ebp - 0x1e4]
call fcn.00403728
lea eax, [ebp - 0x1e4]
call fcn.004034c4
call fcn.004030bc
mov eax, 0x270f
call fcn.004033d4
lea edx, [ebp - 0x404]
call fcn.00409cb4
mov eax, dword [ebp - 0x404]
lea edx, [ebp - 0x3c8]
call fcn.004a0218
lea eax, [ebp - 0x3c8]
lea edx, [ebp - 0x400]
call fcn.004a0290
mov eax, dword [ebp - 0x400]
push eax
mov eax, 0x14
call fcn.004033d4
mov edx, eax
add edx, 0xa
lea ecx, [ebp - 0x3fc]
pop eax
call fcn.004362fc
lea eax, [ebp - 0x3fc]
push eax
lea edx, [ebp - 0x408]
mov eax, dword [0x53cf78]
call fcn.004acd44
mov edx, dword [ebp - 0x408]
pop eax
call fcn.00405554
mov eax, dword [ebp - 0x3fc]
lea edx, [ebp - 0x3f8]
call fcn.004acc8c
mov edx, dword [ebp - 0x3f8]
lea eax, [ebp - 0x1e4]
call fcn.00405a38
call fcn.00403de4
call fcn.004030bc
lea eax, [ebp - 0x1e4]
call fcn.004037f0
call fcn.004030bc
mov edx, dword [ebp - 8]
mov eax, ebx
call fcn.00403728
mov eax, ebx
call fcn.004034b8
call fcn.004030bc
mov eax, ebx
call fcn.00403958
call fcn.004030bc
test al, al
jne 0x4ada85
lea edx, [ebp - 0x18]
mov eax, ebx
call fcn.00403b60
mov eax, ebx
call fcn.00403bcc
call fcn.004030bc
mov eax, ebx
call fcn.004037f0
call fcn.004030bc
mov eax, dword [ebp - 8]
call fcn.00405718
push eax
call sub.kernel32.dll_DeleteFileA
push 0x4ae288
mov eax, 0x270f
call fcn.004033d4
lea edx, [ebp - 0x414]
call fcn.00409cb4
mov eax, dword [ebp - 0x414]
lea edx, [ebp - 0x3c8]
call fcn.004a0218
lea eax, [ebp - 0x3c8]
lea edx, [ebp - 0x410]
call fcn.004a0290
mov eax, dword [ebp - 0x410]
push eax
mov eax, 0x14
call fcn.004033d4
mov edx, eax
add edx, 0xa
lea ecx, [ebp - 0x40c]
pop eax
call fcn.004362fc
push dword [ebp - 0x40c]
lea edx, [ebp - 0x418]
mov eax, dword [0x53cf78]
call fcn.004acd44
push dword [ebp - 0x418]
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.0040561c
mov eax, dword [ebp - 0xc]
call fcn.0040a180
test al, al
jne 0x4adb58
push 0
push 0x80
push 2
push 0
push 0
push 0xc0000000
mov eax, dword [ebp - 0xc]
call fcn.00405718
push eax
call sub.kernel32.dll_CreateFileA_1
push eax
call sub.kernel32.dll_CloseHandle_1
mov edx, dword [ebp - 0xc]
lea eax, [ebp - 0x1e4]
call fcn.00403728
lea eax, [ebp - 0x1e4]
call fcn.004034c4
call fcn.004030bc
mov eax, 0x270f
call fcn.004033d4
lea edx, [ebp - 0x428]
call fcn.00409cb4
mov eax, dword [ebp - 0x428]
lea edx, [ebp - 0x3c8]
call fcn.004a0218
lea eax, [ebp - 0x3c8]
lea edx, [ebp - 0x424]
call fcn.004a0290
mov eax, dword [ebp - 0x424]
push eax
mov eax, 0x14
call fcn.004033d4
mov edx, eax
add edx, 0xa
lea ecx, [ebp - 0x420]
pop eax
call fcn.004362fc
lea eax, [ebp - 0x420]
push eax
lea edx, [ebp - 0x42c]
mov eax, dword [0x53cf78]
call fcn.004acd44
mov edx, dword [ebp - 0x42c]
pop eax
call fcn.00405554
mov eax, dword [ebp - 0x420]
lea edx, [ebp - 0x41c]
call fcn.004acc8c
mov edx, dword [ebp - 0x41c]
lea eax, [ebp - 0x1e4]
call fcn.00405a38
call fcn.00403de4
call fcn.004030bc
lea eax, [ebp - 0x1e4]
call fcn.004037f0
call fcn.004030bc
mov edx, dword [ebp - 0xc]
mov eax, ebx
call fcn.00403728
mov eax, ebx
call fcn.004034b8
call fcn.004030bc
mov eax, ebx
call fcn.00403958
call fcn.004030bc
test al, al
jne 0x4adc6a
lea edx, [ebp - 0x18]
mov eax, ebx
call fcn.00403b60
mov eax, ebx
call fcn.00403bcc
call fcn.004030bc
mov eax, ebx
call fcn.004037f0
call fcn.004030bc
mov eax, dword [ebp - 0xc]
call fcn.00405718
push eax
call sub.kernel32.dll_DeleteFileA
push 0x4ae288
mov eax, 0x270f
call fcn.004033d4
lea edx, [ebp - 0x438]
call fcn.00409cb4
mov eax, dword [ebp - 0x438]
lea edx, [ebp - 0x3c8]
call fcn.004a0218
lea eax, [ebp - 0x3c8]
lea edx, [ebp - 0x434]
call fcn.004a0290
mov eax, dword [ebp - 0x434]
push eax
mov eax, 0x14
call fcn.004033d4
mov edx, eax
add edx, 0xa
lea ecx, [ebp - 0x430]
pop eax
call fcn.004362fc
push dword [ebp - 0x430]
lea edx, [ebp - 0x43c]
mov eax, dword [0x53cf78]
call fcn.004acd44
push dword [ebp - 0x43c]
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.0040561c
mov eax, dword [ebp - 0x10]
call fcn.0040a180
test al, al
jne 0x4add3d
push 0
push 0x80
push 2
push 0
push 0
push 0xc0000000
mov eax, dword [ebp - 0x10]
call fcn.00405718
push eax
call sub.kernel32.dll_CreateFileA_1
push eax
call sub.kernel32.dll_CloseHandle_1
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 0x1e4]
call fcn.00403728
lea eax, [ebp - 0x1e4]
call fcn.004034c4
call fcn.004030bc
mov eax, 0x270f
call fcn.004033d4
lea edx, [ebp - 0x44c]
call fcn.00409cb4
mov eax, dword [ebp - 0x44c]
lea edx, [ebp - 0x3c8]
call fcn.004a0218
lea eax, [ebp - 0x3c8]
lea edx, [ebp - 0x448]
call fcn.004a0290
mov eax, dword [ebp - 0x448]
push eax
mov eax, 0x14
call fcn.004033d4
mov edx, eax
add edx, 0xa
lea ecx, [ebp - 0x444]
pop eax
call fcn.004362fc
lea eax, [ebp - 0x444]
push eax
lea edx, [ebp - 0x450]
mov eax, dword [0x53cf78]
call fcn.004acd44
mov edx, dword [ebp - 0x450]
pop eax
call fcn.00405554
mov eax, dword [ebp - 0x444]
lea edx, [ebp - 0x440]
call fcn.004acc8c
mov edx, dword [ebp - 0x440]
lea eax, [ebp - 0x1e4]
call fcn.00405a38
call fcn.00403de4
call fcn.004030bc
lea eax, [ebp - 0x1e4]
call fcn.004037f0
call fcn.004030bc
mov edx, dword [ebp - 0x10]
mov eax, ebx
call fcn.00403728
mov eax, ebx
call fcn.004034b8
call fcn.004030bc
mov eax, ebx
call fcn.00403958
call fcn.004030bc
test al, al
jne 0x4ade4f
lea edx, [ebp - 0x18]
mov eax, ebx
call fcn.00403b60
mov eax, ebx
call fcn.00403bcc
call fcn.004030bc
mov eax, ebx
call fcn.004037f0
call fcn.004030bc
mov eax, dword [ebp - 0x10]
call fcn.00405718
push eax
call sub.kernel32.dll_DeleteFileA
push 0x4ae288
mov eax, 0x270f
call fcn.004033d4
lea edx, [ebp - 0x45c]
call fcn.00409cb4
mov eax, dword [ebp - 0x45c]
lea edx, [ebp - 0x3c8]
call fcn.004a0218
lea eax, [ebp - 0x3c8]
lea edx, [ebp - 0x458]
call fcn.004a0290
mov eax, dword [ebp - 0x458]
push eax
mov eax, 0x14
call fcn.004033d4
mov edx, eax
add edx, 0xa
lea ecx, [ebp - 0x454]
pop eax
call fcn.004362fc
push dword [ebp - 0x454]
lea edx, [ebp - 0x460]
mov eax, dword [0x53cf78]
call fcn.004acd44
push dword [ebp - 0x460]
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.0040561c
mov eax, dword [ebp - 0x14]
call fcn.0040a180
test al, al
jne 0x4adf22
push 0
push 0x80
push 2
push 0
push 0
push 0xc0000000
mov eax, dword [ebp - 0x14]
call fcn.00405718
push eax
call sub.kernel32.dll_CreateFileA_1
push eax
call sub.kernel32.dll_CloseHandle_1
mov edx, dword [ebp - 0x14]
lea eax, [ebp - 0x1e4]
call fcn.00403728
lea eax, [ebp - 0x1e4]
call fcn.004034c4
call fcn.004030bc
mov eax, 0x270f
call fcn.004033d4
lea edx, [ebp - 0x470]
call fcn.00409cb4
mov eax, dword [ebp - 0x470]
lea edx, [ebp - 0x3c8]
call fcn.004a0218
lea eax, [ebp - 0x3c8]
lea edx, [ebp - 0x46c]
call fcn.004a0290
mov eax, dword [ebp - 0x46c]
push eax
mov eax, 0x14
call fcn.004033d4
mov edx, eax
add edx, 0xa
lea ecx, [ebp - 0x468]
pop eax
call fcn.004362fc
lea eax, [ebp - 0x468]
push eax
lea edx, [ebp - 0x474]
mov eax, dword [0x53cf78]
call fcn.004acd44
mov edx, dword [ebp - 0x474]
pop eax
call fcn.00405554
mov eax, dword [ebp - 0x468]
lea edx, [ebp - 0x464]
call fcn.004acc8c
mov edx, dword [ebp - 0x464]
lea eax, [ebp - 0x1e4]
call fcn.00405a38
call fcn.00403de4
call fcn.004030bc
lea eax, [ebp - 0x1e4]
call fcn.004037f0
call fcn.004030bc
mov edx, dword [ebp - 0x14]
mov eax, ebx
call fcn.00403728
mov eax, ebx
call fcn.004034b8
call fcn.004030bc
mov eax, ebx
call fcn.00403958
call fcn.004030bc
test al, al
jne 0x4ae034
lea edx, [ebp - 0x18]
mov eax, ebx
call fcn.00403b60
mov eax, ebx
call fcn.00403bcc
call fcn.004030bc
mov eax, ebx
call fcn.004037f0
call fcn.004030bc
mov eax, dword [ebp - 0x14]
call fcn.00405718
push eax
call sub.kernel32.dll_DeleteFileA
lea edx, [ebp - 0x478]
mov eax, dword [0x53756c]
mov eax, dword [eax]
call fcn.00468db0
mov eax, dword [ebp - 0x478]
call fcn.004ad1f4
cmp eax, 0x100000
call fcn.0040ba34
add esp, 0xfffffff8
fstp qword [esp]
wait
push dword [0x53d024]
push dword [0x53d020]
call fcn.0049c830
cmp edx, 0
jne 0x4ae099
cmp eax, 4
jae 0x4ae0c1
jmp 0x4ae09b
jge 0x4ae0c1
mov eax, dword [0x53cfe4]
mov edx, 0x4ae27c
call fcn.004056b0
jne 0x4ae0b1
call fcn.004aa27c
xor ecx, ecx
mov dl, 1
mov eax, dword [0x4a8484]
call fcn.0041fb5c
jmp 0x4ae0cd
xor edx, edx
mov eax, dword [0x53cf6c]
call fcn.0044a9ac
cmp dword [0x53cfd4], 0
je 0x4ae12d
cmp dword [0x53cfd8], 0
je 0x4ae12d
xor eax, eax
push ebp
push 0x4ae123
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x53cfd8]
call fcn.00409df0
mov edx, eax
mov eax, dword [0x53cf6c]
call fcn.0044a064
mov eax, dword [0x53cfd4]
call fcn.00409df0
mov edx, eax
mov eax, dword [0x53cf6c]
call fcn.0044a098
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4ae12d
mov eax, dword [0x537708]
cmp dword [eax], 0
je 0x4ae1cf
xor eax, eax
push ebp
push 0x4ae1c5
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x53cf6c]
call fcn.0045fd80
mov ebx, eax
mov eax, dword [0x53cfbc]
call fcn.00409df0
add ebx, eax
mov edx, ebx
mov eax, dword [0x537520]
mov eax, dword [eax]
call fcn.004653b0
mov eax, dword [0x53cf6c]
call fcn.0045fda0
mov ebx, eax
mov eax, dword [0x53cfc0]
call fcn.00409df0
add ebx, eax
mov edx, ebx
mov eax, dword [0x537520]
mov eax, dword [eax]
call fcn.004653ec
mov edx, dword [0x537708]
mov edx, dword [edx]
mov eax, dword [0x537520]
mov eax, dword [eax]
mov eax, dword [eax + 0x360]
call fcn.0044a9ac
mov eax, dword [0x537520]
mov eax, dword [eax]
call fcn.004649ac
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4ae1cf
mov eax, dword [0x53cf6c]
mov eax, dword [eax + 0x370]
mov dl, 1
call fcn.00439fa0
mov eax, dword [0x53cf6c]
mov eax, dword [eax + 0x36c]
mov dl, 1
call fcn.00439fa0
xor eax, eax
push ebp
push 0x4ae215
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.0043cb04
mov edx, dword [eax]
call dword [edx + 0x18]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4ae21f
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ae261
lea eax, [ebp - 0x478]
mov edx, 0x2c
call fcn.004052ac
lea eax, [ebp - 0x3b8]
mov edx, 2
call fcn.004052ac
lea eax, [ebp - 0x18]
mov edx, 6
call fcn.004052ac
ret