Function at 0x4ada88
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x89
push 0
push 0
dec ecx
jne 0x4ada90
push ecx
push ebx
push esi
push edi
lea ebx, [ebp - 0x3b0]
xor eax, eax
push ebp
push 0x4ae561
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x53cf10]
mov edx, 0x4ae578
call fcn.00405688
jne 0x4ae526
mov eax, dword [0x537400]
mov eax, dword [eax]
call fcn.00464fb0
call fcn.0040b7f8
fstp qword [0x53cfc4]
wait
call fcn.00403384
push 0x4ae584
mov eax, 0x270f
call fcn.004033ac
lea edx, [ebp - 0x3cc]
call fcn.00409bd4
mov eax, dword [ebp - 0x3cc]
lea edx, [ebp - 0x3c8]
call fcn.004a273c
lea eax, [ebp - 0x3c8]
lea edx, [ebp - 0x3b8]
call fcn.004a27b4
mov eax, dword [ebp - 0x3b8]
push eax
mov eax, 0x14
call fcn.004033ac
mov edx, eax
add edx, 0xa
lea ecx, [ebp - 0x3b4]
pop eax
call fcn.004361a8
push dword [ebp - 0x3b4]
push dword [0x53cf18]
lea eax, [ebp - 4]
mov edx, 3
call fcn.004055f4
mov eax, dword [ebp - 4]
call fcn.0040a0a0
test al, al
jne 0x4adb8a
push 0
push 0x80
push 2
push 0
push 0
push 0xc0000000
mov eax, dword [ebp - 4]
call fcn.004056f0
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.00403700
lea eax, [ebp - 0x1e4]
call fcn.0040349c
call fcn.00403094
mov eax, 0x270f
call fcn.004033ac
lea edx, [ebp - 0x3dc]
call fcn.00409bd4
mov eax, dword [ebp - 0x3dc]
lea edx, [ebp - 0x3c8]
call fcn.004a273c
lea eax, [ebp - 0x3c8]
lea edx, [ebp - 0x3d8]
call fcn.004a27b4
mov eax, dword [ebp - 0x3d8]
push eax
mov eax, 0x14
call fcn.004033ac
mov edx, eax
add edx, 0xa
lea ecx, [ebp - 0x3d4]
pop eax
call fcn.004361a8
lea eax, [ebp - 0x3d4]
mov edx, dword [0x53cf18]
call fcn.0040552c
mov eax, dword [ebp - 0x3d4]
lea edx, [ebp - 0x3d0]
call fcn.004acacc
mov edx, dword [ebp - 0x3d0]
lea eax, [ebp - 0x1e4]
call fcn.00405a10
call fcn.00403dbc
call fcn.00403094
lea eax, [ebp - 0x1e4]
call fcn.004037c8
call fcn.00403094
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.00403700
mov eax, ebx
call fcn.00403490
call fcn.00403094
mov eax, ebx
call fcn.00403930
call fcn.00403094
test al, al
jne 0x4adc8a
lea edx, [ebp - 0x18]
mov eax, ebx
call fcn.00403b38
mov eax, ebx
call fcn.00403ba4
call fcn.00403094
mov eax, ebx
call fcn.004037c8
call fcn.00403094
mov eax, dword [ebp - 4]
call fcn.004056f0
push eax
call sub.kernel32.dll_DeleteFileA
push 0x4ae584
mov eax, 0x270f
call fcn.004033ac
lea edx, [ebp - 0x3e8]
call fcn.00409bd4
mov eax, dword [ebp - 0x3e8]
lea edx, [ebp - 0x3c8]
call fcn.004a273c
lea eax, [ebp - 0x3c8]
lea edx, [ebp - 0x3e4]
call fcn.004a27b4
mov eax, dword [ebp - 0x3e4]
push eax
mov eax, 0x14
call fcn.004033ac
mov edx, eax
add edx, 0xa
lea ecx, [ebp - 0x3e0]
pop eax
call fcn.004361a8
push dword [ebp - 0x3e0]
push dword [0x53cf18]
lea eax, [ebp - 8]
mov edx, 3
call fcn.004055f4
mov eax, dword [ebp - 8]
call fcn.0040a0a0
test al, al
jne 0x4add4d
push 0
push 0x80
push 2
push 0
push 0
push 0xc0000000
mov eax, dword [ebp - 8]
call fcn.004056f0
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.00403700
lea eax, [ebp - 0x1e4]
call fcn.0040349c
call fcn.00403094
mov eax, 0x270f
call fcn.004033ac
lea edx, [ebp - 0x3f8]
call fcn.00409bd4
mov eax, dword [ebp - 0x3f8]
lea edx, [ebp - 0x3c8]
call fcn.004a273c
lea eax, [ebp - 0x3c8]
lea edx, [ebp - 0x3f4]
call fcn.004a27b4
mov eax, dword [ebp - 0x3f4]
push eax
mov eax, 0x14
call fcn.004033ac
mov edx, eax
add edx, 0xa
lea ecx, [ebp - 0x3f0]
pop eax
call fcn.004361a8
lea eax, [ebp - 0x3f0]
mov edx, dword [0x53cf18]
call fcn.0040552c
mov eax, dword [ebp - 0x3f0]
lea edx, [ebp - 0x3ec]
call fcn.004acacc
mov edx, dword [ebp - 0x3ec]
lea eax, [ebp - 0x1e4]
call fcn.00405a10
call fcn.00403dbc
call fcn.00403094
lea eax, [ebp - 0x1e4]
call fcn.004037c8
call fcn.00403094
mov edx, dword [ebp - 8]
mov eax, ebx
call fcn.00403700
mov eax, ebx
call fcn.00403490
call fcn.00403094
mov eax, ebx
call fcn.00403930
call fcn.00403094
test al, al
jne 0x4ade4d
lea edx, [ebp - 0x18]
mov eax, ebx
call fcn.00403b38
mov eax, ebx
call fcn.00403ba4
call fcn.00403094
mov eax, ebx
call fcn.004037c8
call fcn.00403094
mov eax, dword [ebp - 8]
call fcn.004056f0
push eax
call sub.kernel32.dll_DeleteFileA
push 0x4ae584
mov eax, 0x270f
call fcn.004033ac
lea edx, [ebp - 0x404]
call fcn.00409bd4
mov eax, dword [ebp - 0x404]
lea edx, [ebp - 0x3c8]
call fcn.004a273c
lea eax, [ebp - 0x3c8]
lea edx, [ebp - 0x400]
call fcn.004a27b4
mov eax, dword [ebp - 0x400]
push eax
mov eax, 0x14
call fcn.004033ac
mov edx, eax
add edx, 0xa
lea ecx, [ebp - 0x3fc]
pop eax
call fcn.004361a8
push dword [ebp - 0x3fc]
push dword [0x53cf18]
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.004055f4
mov eax, dword [ebp - 0xc]
call fcn.0040a0a0
test al, al
jne 0x4adf10
push 0
push 0x80
push 2
push 0
push 0
push 0xc0000000
mov eax, dword [ebp - 0xc]
call fcn.004056f0
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.00403700
lea eax, [ebp - 0x1e4]
call fcn.0040349c
call fcn.00403094
mov eax, 0x270f
call fcn.004033ac
lea edx, [ebp - 0x414]
call fcn.00409bd4
mov eax, dword [ebp - 0x414]
lea edx, [ebp - 0x3c8]
call fcn.004a273c
lea eax, [ebp - 0x3c8]
lea edx, [ebp - 0x410]
call fcn.004a27b4
mov eax, dword [ebp - 0x410]
push eax
mov eax, 0x14
call fcn.004033ac
mov edx, eax
add edx, 0xa
lea ecx, [ebp - 0x40c]
pop eax
call fcn.004361a8
lea eax, [ebp - 0x40c]
mov edx, dword [0x53cf18]
call fcn.0040552c
mov eax, dword [ebp - 0x40c]
lea edx, [ebp - 0x408]
call fcn.004acacc
mov edx, dword [ebp - 0x408]
lea eax, [ebp - 0x1e4]
call fcn.00405a10
call fcn.00403dbc
call fcn.00403094
lea eax, [ebp - 0x1e4]
call fcn.004037c8
call fcn.00403094
mov edx, dword [ebp - 0xc]
mov eax, ebx
call fcn.00403700
mov eax, ebx
call fcn.00403490
call fcn.00403094
mov eax, ebx
call fcn.00403930
call fcn.00403094
test al, al
jne 0x4ae010
lea edx, [ebp - 0x18]
mov eax, ebx
call fcn.00403b38
mov eax, ebx
call fcn.00403ba4
call fcn.00403094
mov eax, ebx
call fcn.004037c8
call fcn.00403094
mov eax, dword [ebp - 0xc]
call fcn.004056f0
push eax
call sub.kernel32.dll_DeleteFileA
push 0x4ae584
mov eax, 0x270f
call fcn.004033ac
lea edx, [ebp - 0x420]
call fcn.00409bd4
mov eax, dword [ebp - 0x420]
lea edx, [ebp - 0x3c8]
call fcn.004a273c
lea eax, [ebp - 0x3c8]
lea edx, [ebp - 0x41c]
call fcn.004a27b4
mov eax, dword [ebp - 0x41c]
push eax
mov eax, 0x14
call fcn.004033ac
mov edx, eax
add edx, 0xa
lea ecx, [ebp - 0x418]
pop eax
call fcn.004361a8
push dword [ebp - 0x418]
push dword [0x53cf18]
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.004055f4
mov eax, dword [ebp - 0x10]
call fcn.0040a0a0
test al, al
jne 0x4ae0d3
push 0
push 0x80
push 2
push 0
push 0
push 0xc0000000
mov eax, dword [ebp - 0x10]
call fcn.004056f0
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.00403700
lea eax, [ebp - 0x1e4]
call fcn.0040349c
call fcn.00403094
mov eax, 0x270f
call fcn.004033ac
lea edx, [ebp - 0x430]
call fcn.00409bd4
mov eax, dword [ebp - 0x430]
lea edx, [ebp - 0x3c8]
call fcn.004a273c
lea eax, [ebp - 0x3c8]
lea edx, [ebp - 0x42c]
call fcn.004a27b4
mov eax, dword [ebp - 0x42c]
push eax
mov eax, 0x14
call fcn.004033ac
mov edx, eax
add edx, 0xa
lea ecx, [ebp - 0x428]
pop eax
call fcn.004361a8
lea eax, [ebp - 0x428]
mov edx, dword [0x53cf18]
call fcn.0040552c
mov eax, dword [ebp - 0x428]
lea edx, [ebp - 0x424]
call fcn.004acacc
mov edx, dword [ebp - 0x424]
lea eax, [ebp - 0x1e4]
call fcn.00405a10
call fcn.00403dbc
call fcn.00403094
lea eax, [ebp - 0x1e4]
call fcn.004037c8
call fcn.00403094
mov edx, dword [ebp - 0x10]
mov eax, ebx
call fcn.00403700
mov eax, ebx
call fcn.00403490
call fcn.00403094
mov eax, ebx
call fcn.00403930
call fcn.00403094
test al, al
jne 0x4ae1d3
lea edx, [ebp - 0x18]
mov eax, ebx
call fcn.00403b38
mov eax, ebx
call fcn.00403ba4
call fcn.00403094
mov eax, ebx
call fcn.004037c8
call fcn.00403094
mov eax, dword [ebp - 0x10]
call fcn.004056f0
push eax
call sub.kernel32.dll_DeleteFileA
push 0x4ae584
mov eax, 0x270f
call fcn.004033ac
lea edx, [ebp - 0x43c]
call fcn.00409bd4
mov eax, dword [ebp - 0x43c]
lea edx, [ebp - 0x3c8]
call fcn.004a273c
lea eax, [ebp - 0x3c8]
lea edx, [ebp - 0x438]
call fcn.004a27b4
mov eax, dword [ebp - 0x438]
push eax
mov eax, 0x14
call fcn.004033ac
mov edx, eax
add edx, 0xa
lea ecx, [ebp - 0x434]
pop eax
call fcn.004361a8
push dword [ebp - 0x434]
push dword [0x53cf18]
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.004055f4
mov eax, dword [ebp - 0x14]
call fcn.0040a0a0
test al, al
jne 0x4ae296
push 0
push 0x80
push 2
push 0
push 0
push 0xc0000000
mov eax, dword [ebp - 0x14]
call fcn.004056f0
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.00403700
lea eax, [ebp - 0x1e4]
call fcn.0040349c
call fcn.00403094
mov eax, 0x270f
call fcn.004033ac
lea edx, [ebp - 0x44c]
call fcn.00409bd4
mov eax, dword [ebp - 0x44c]
lea edx, [ebp - 0x3c8]
call fcn.004a273c
lea eax, [ebp - 0x3c8]
lea edx, [ebp - 0x448]
call fcn.004a27b4
mov eax, dword [ebp - 0x448]
push eax
mov eax, 0x14
call fcn.004033ac
mov edx, eax
add edx, 0xa
lea ecx, [ebp - 0x444]
pop eax
call fcn.004361a8
lea eax, [ebp - 0x444]
mov edx, dword [0x53cf18]
call fcn.0040552c
mov eax, dword [ebp - 0x444]
lea edx, [ebp - 0x440]
call fcn.004acacc
mov edx, dword [ebp - 0x440]
lea eax, [ebp - 0x1e4]
call fcn.00405a10
call fcn.00403dbc
call fcn.00403094
lea eax, [ebp - 0x1e4]
call fcn.004037c8
call fcn.00403094
mov edx, dword [ebp - 0x14]
mov eax, ebx
call fcn.00403700
mov eax, ebx
call fcn.00403490
call fcn.00403094
mov eax, ebx
call fcn.00403930
call fcn.00403094
test al, al
jne 0x4ae396
lea edx, [ebp - 0x18]
mov eax, ebx
call fcn.00403b38
mov eax, ebx
call fcn.00403ba4
call fcn.00403094
mov eax, ebx
call fcn.004037c8
call fcn.00403094
mov eax, dword [ebp - 0x14]
call fcn.004056f0
push eax
call sub.kernel32.dll_DeleteFileA
xor ecx, ecx
mov dl, 1
mov eax, dword [0x4a993c]
call fcn.0041f9f0
cmp dword [0x53cf74], 0
je 0x4ae41e
cmp dword [0x53cf78], 0
je 0x4ae41e
xor eax, eax
push ebp
push 0x4ae414
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x53cf78]
call fcn.00409d10
mov edx, eax
mov eax, dword [0x53cf0c]
call fcn.0044a288
mov eax, dword [0x53cf74]
call fcn.00409d10
mov edx, eax
mov eax, dword [0x53cf0c]
call fcn.0044a2bc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4ae41e
mov eax, dword [0x537714]
cmp dword [eax], 0
je 0x4ae4c0
xor eax, eax
push ebp
push 0x4ae4b6
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x53cf0c]
call fcn.00460384
mov ebx, eax
mov eax, dword [0x53cf5c]
call fcn.00409d10
add ebx, eax
mov edx, ebx
mov eax, dword [0x53754c]
mov eax, dword [eax]
call fcn.004659b4
mov eax, dword [0x53cf0c]
call fcn.004603a4
mov ebx, eax
mov eax, dword [0x53cf60]
call fcn.00409d10
add ebx, eax
mov edx, ebx
mov eax, dword [0x53754c]
mov eax, dword [eax]
call fcn.004659f0
mov edx, dword [0x537714]
mov edx, dword [edx]
mov eax, dword [0x53754c]
mov eax, dword [eax]
mov eax, dword [eax + 0x360]
call fcn.0044abd0
mov eax, dword [0x53754c]
mov eax, dword [eax]
call fcn.00464fb0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4ae4c0
mov eax, dword [0x53cf0c]
mov eax, dword [eax + 0x368]
mov dl, 1
call fcn.00439e4c
mov eax, dword [0x53cf0c]
mov eax, dword [eax + 0x364]
mov dl, 1
call fcn.00439e4c
call fcn.004ab104
mov eax, dword [0x53cf88]
mov edx, 0x4ae59c
call fcn.00405688
je 0x4ae526
xor eax, eax
push ebp
push 0x4ae51c
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.0043cbf8
mov edx, dword [eax]
call dword [edx + 0x18]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4ae526
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ae568
lea eax, [ebp - 0x44c]
mov edx, 0x21
call fcn.00405284
lea eax, [ebp - 0x3b8]
mov edx, 2
call fcn.00405284
lea eax, [ebp - 0x18]
mov edx, 6
call fcn.00405284
ret