Function at 0x4aa680
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x12
push 0
push 0
dec ecx
jne 0x4aa688
push ecx
push ebx
push esi
push edi
xor eax, eax
push ebp
push 0x4ab06c
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.0049fbb0
mov eax, 0x4b46c8
call fcn.00405054
mov byte [0x4b49a6], 0
mov byte [0x4b49a7], 0
xor eax, eax
mov dword [0x4b473c], eax
mov eax, dword [0x4b46b0]
mov eax, dword [eax + 0x390]
mov edx, dword [eax]
call dword [edx + 0xd8]
cmp al, 1
jne 0x4aa796
call fcn.004a21cc
call fcn.004a22c8
mov eax, 0x4b46f4
mov edx, 0x4ab084
call fcn.004050a8
push dword [0x4b46e8]
push 0x4ab098
push dword [0x4b46f4]
push 0x4ab0ac
push dword [0x4b46d4]
push dword [0x4b46d0]
push dword [0x4b46d8]
push 0x4ab0bc
push dword [0x4b46fc]
push 0x4ab0c8
lea eax, [ebp - 0xc]
mov edx, 0xa
call fcn.004053d8
mov edx, dword [ebp - 0xc]
mov eax, 0x4b49a8
call fcn.00403540
mov eax, 0x4b49a8
call fcn.004032dc
call fcn.00402ee4
push dword [0x4b46f4]
push 0x4ab0ac
push dword [0x4b46d4]
push dword [0x4b46d0]
push dword [0x4b46d8]
push 0x4ab0bc
push dword [0x4b46fc]
push 0x4ab0c8
mov eax, 0x4b4714
mov edx, 8
call fcn.004053d8
mov eax, dword [0x4b46b0]
mov eax, dword [eax + 0x394]
mov edx, dword [eax]
call dword [edx + 0xd8]
cmp al, 1
jne 0x4aa862
call fcn.004a2560
mov eax, 0x4b46f4
mov edx, 0x4ab0d8
call fcn.004050a8
push dword [0x4b46e8]
push 0x4ab098
push dword [0x4b46f4]
push 0x4ab0ac
push dword [0x4b46d4]
push dword [0x4b46d0]
push dword [0x4b46d8]
push 0x4ab0bc
push dword [0x4b46fc]
push 0x4ab0c8
lea eax, [ebp - 0x10]
mov edx, 0xa
call fcn.004053d8
mov edx, dword [ebp - 0x10]
mov eax, 0x4b49a8
call fcn.00403540
mov eax, 0x4b49a8
call fcn.004032dc
call fcn.00402ee4
push dword [0x4b46f4]
push 0x4ab0ac
push dword [0x4b46d4]
push dword [0x4b46d0]
push dword [0x4b46d8]
push 0x4ab0bc
push dword [0x4b46fc]
push 0x4ab0c8
mov eax, 0x4b4714
mov edx, 8
call fcn.004053d8
mov eax, dword [0x4b46b0]
mov eax, dword [eax + 0x398]
mov edx, dword [eax]
call dword [edx + 0xd8]
cmp al, 1
jne 0x4aa92e
call fcn.004a23c4
mov eax, 0x4b46f4
mov edx, 0x4ab0ec
call fcn.004050a8
push dword [0x4b46e8]
push 0x4ab098
push dword [0x4b46f4]
push 0x4ab0ac
push dword [0x4b46d4]
push dword [0x4b46d0]
push dword [0x4b46d8]
push 0x4ab0bc
push dword [0x4b46fc]
push 0x4ab0c8
lea eax, [ebp - 0x14]
mov edx, 0xa
call fcn.004053d8
mov edx, dword [ebp - 0x14]
mov eax, 0x4b49a8
call fcn.00403540
mov eax, 0x4b49a8
call fcn.004032dc
call fcn.00402ee4
push dword [0x4b46f4]
push 0x4ab0ac
push dword [0x4b46d4]
push dword [0x4b46d0]
push dword [0x4b46d8]
push 0x4ab0bc
push dword [0x4b46fc]
push 0x4ab0c8
mov eax, 0x4b4714
mov edx, 8
call fcn.004053d8
mov eax, dword [0x4b46b0]
mov eax, dword [eax + 0x384]
mov eax, dword [eax + 0x270]
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
je 0x4aaa5b
mov eax, dword [0x4b46b0]
mov eax, dword [eax + 0x384]
mov eax, dword [eax + 0x270]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x4aaa5b
inc eax
mov dword [ebp - 8], eax
mov dword [ebp - 4], 0
mov ebx, 0x4b474c
mov eax, dword [0x4b46b0]
mov eax, dword [eax + 0x384]
mov eax, dword [eax + 0x270]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
cmp eax, dword [ebp - 4]
jne 0x4aa9a5
mov eax, ebx
mov edx, 0x4ab0fc
call fcn.00405320
jmp 0x4aa9d6
lea ecx, [ebp - 0x1c]
mov eax, dword [0x4b46b0]
mov eax, dword [eax + 0x384]
mov eax, dword [eax + 0x270]
mov edx, dword [ebp - 4]
mov esi, dword [eax]
call dword [esi + 0xc]
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 0x18]
call fcn.0040986c
mov edx, dword [ebp - 0x18]
mov eax, ebx
call fcn.004050a8
mov eax, dword [ebx]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x4aa9e7
sub eax, 4
mov eax, dword [eax]
mov edi, eax
test edi, edi
jle 0x4aaa4c
mov esi, 1
lea eax, [ebp - 0x24]
push eax
mov eax, dword [ebx]
mov ecx, 1
mov edx, esi
call fcn.00405578
mov eax, dword [ebp - 0x24]
mov edx, 0x4ab0fc
call fcn.00405464
je 0x4aaa34
lea eax, [ebp - 0x28]
push eax
mov eax, dword [ebx]
mov ecx, 1
mov edx, esi
call fcn.00405578
mov edx, dword [ebp - 0x28]
mov eax, 0x4b46c8
call fcn.00405320
jmp 0x4aaa48
mov eax, dword [0x4b46c8]
call fcn.004a42a4
mov eax, 0x4b46c8
call fcn.00405054
inc esi
dec edi
jne 0x4aa9f2
inc dword [ebp - 4]
add ebx, 4
dec dword [ebp - 8]
jne 0x4aa97b
mov eax, 0x4b46c8
call fcn.00405054
mov eax, dword [0x4b46b0]
mov eax, dword [eax + 0x388]
mov eax, dword [eax + 0x270]
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
je 0x4aac2f
mov byte [0x4b49a6], 1
mov eax, dword [0x4b46b0]
mov eax, dword [eax + 0x388]
mov eax, dword [eax + 0x270]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x4aac2f
inc eax
mov dword [ebp - 8], eax
mov dword [ebp - 4], 0
mov ebx, 0x4b4814
mov eax, dword [0x4b46b0]
mov eax, dword [eax + 0x388]
mov eax, dword [eax + 0x270]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
cmp eax, dword [ebp - 4]
jne 0x4aaae3
mov eax, ebx
mov edx, 0x4ab0fc
call fcn.00405320
jmp 0x4aab14
lea ecx, [ebp - 0x30]
mov eax, dword [0x4b46b0]
mov eax, dword [eax + 0x388]
mov eax, dword [eax + 0x270]
mov edx, dword [ebp - 4]
mov esi, dword [eax]
call dword [esi + 0xc]
mov eax, dword [ebp - 0x30]
lea edx, [ebp - 0x2c]
call fcn.0040986c
mov edx, dword [ebp - 0x2c]
mov eax, ebx
call fcn.004050a8
mov eax, dword [ebx]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x4aab25
sub eax, 4
mov eax, dword [eax]
mov edi, eax
test edi, edi
jle 0x4aac20
mov esi, 1
lea eax, [ebp - 0x34]
push eax
mov ecx, 1
mov edx, esi
mov eax, dword [ebx]
call fcn.00405578
mov eax, dword [ebp - 0x34]
mov edx, 0x4ab0fc
call fcn.00405464
je 0x4aab95
lea eax, [ebp - 0x38]
push eax
mov ecx, 1
mov edx, esi
mov eax, dword [ebx]
call fcn.00405578
mov eax, dword [ebp - 0x38]
mov edx, 0x4ab108
call fcn.00405464
je 0x4aab95
lea eax, [ebp - 0x3c]
push eax
mov ecx, 1
mov edx, esi
mov eax, dword [ebx]
call fcn.00405578
mov edx, dword [ebp - 0x3c]
mov eax, 0x4b46c8
call fcn.00405320
lea eax, [ebp - 0x40]
push eax
mov ecx, 1
mov edx, esi
mov eax, dword [ebx]
call fcn.00405578
mov eax, dword [ebp - 0x40]
mov edx, 0x4ab108
call fcn.00405464
jne 0x4aabdc
lea eax, [ebp - 0x44]
push eax
mov ecx, 1
mov edx, esi
mov eax, dword [ebx]
call fcn.00405578
mov edx, dword [ebp - 0x44]
mov eax, 0x4b46c8
call fcn.00405320
mov byte [0x4b49a5], 1
lea eax, [ebp - 0x48]
push eax
mov ecx, 1
mov edx, esi
mov eax, dword [ebx]
call fcn.00405578
mov eax, dword [ebp - 0x48]
mov edx, 0x4ab0fc
call fcn.00405464
jne 0x4aac18
mov eax, dword [0x4b46c8]
call fcn.004a96fc
mov eax, 0x4b46c8
call fcn.00405054
mov byte [0x4b49a5], 0
inc esi
dec edi
jne 0x4aab34
inc dword [ebp - 4]
add ebx, 4
dec dword [ebp - 8]
jne 0x4aaab9
mov eax, 0x4b46c8
call fcn.00405054
mov byte [0x4b49a6], 0
mov eax, dword [0x4b46b0]
mov eax, dword [eax + 0x38c]
mov eax, dword [eax + 0x270]
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
je 0x4aae63
mov byte [0x4b49a7], 1
mov eax, dword [0x4b46b0]
mov eax, dword [eax + 0x38c]
mov eax, dword [eax + 0x270]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x4aae63
inc eax
mov dword [ebp - 8], eax
mov dword [ebp - 4], 0
mov ebx, 0x4b48dc
mov eax, dword [0x4b46b0]
mov eax, dword [eax + 0x38c]
mov eax, dword [eax + 0x270]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
cmp eax, dword [ebp - 4]
jne 0x4aacbe
mov eax, ebx
mov edx, 0x4ab0fc
call fcn.00405320
jmp 0x4aacef
lea ecx, [ebp - 0x50]
mov eax, dword [0x4b46b0]
mov eax, dword [eax + 0x38c]
mov eax, dword [eax + 0x270]
mov edx, dword [ebp - 4]
mov esi, dword [eax]
call dword [esi + 0xc]
mov eax, dword [ebp - 0x50]
lea edx, [ebp - 0x4c]
call fcn.0040986c
mov edx, dword [ebp - 0x4c]
mov eax, ebx
call fcn.004050a8
mov eax, dword [ebx]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x4aad00
sub eax, 4
mov eax, dword [eax]
mov edi, eax
test edi, edi
jle 0x4aae54
mov esi, 1
lea eax, [ebp - 0x54]
push eax
mov ecx, 1
mov edx, esi
mov eax, dword [ebx]
call fcn.00405578
mov eax, dword [ebp - 0x54]
mov edx, 0x4ab0fc
call fcn.00405464
je 0x4aad70
lea eax, [ebp - 0x58]
push eax
mov ecx, 1
mov edx, esi
mov eax, dword [ebx]
call fcn.00405578
mov eax, dword [ebp - 0x58]
mov edx, 0x4ab108
call fcn.00405464
je 0x4aad70
lea eax, [ebp - 0x5c]
push eax
mov ecx, 1
mov edx, esi
mov eax, dword [ebx]
call fcn.00405578
mov edx, dword [ebp - 0x5c]
mov eax, 0x4b46c8
call fcn.00405320
lea eax, [ebp - 0x60]
push eax
mov ecx, 1
mov edx, esi
mov eax, dword [ebx]
call fcn.00405578
mov eax, dword [ebp - 0x60]
mov edx, 0x4ab108
call fcn.00405464
jne 0x4aadb7
lea eax, [ebp - 0x64]
push eax
mov ecx, 1
mov edx, esi
mov eax, dword [ebx]
call fcn.00405578
mov edx, dword [ebp - 0x64]
mov eax, 0x4b46c8
call fcn.00405320
mov byte [0x4b49a5], 1
lea eax, [ebp - 0x68]
push eax
mov ecx, 1
mov edx, esi
mov eax, dword [ebx]
call fcn.00405578
mov eax, dword [ebp - 0x68]
mov edx, 0x4ab0fc
call fcn.00405464
jne 0x4aae4c
mov eax, dword [0x4b46b0]
mov eax, dword [eax + 0x390]
mov edx, dword [eax]
call dword [edx + 0xd8]
cmp al, 1
jne 0x4aadf9
mov eax, dword [0x4b46c8]
call fcn.004a96fc
mov eax, dword [0x4b46b0]
mov eax, dword [eax + 0x394]
mov edx, dword [eax]
call dword [edx + 0xd8]
cmp al, 1
jne 0x4aae1a
mov eax, dword [0x4b46c8]
call fcn.004aa244
mov eax, dword [0x4b46b0]
mov eax, dword [eax + 0x398]
mov edx, dword [eax]
call dword [edx + 0xd8]
cmp al, 1
jne 0x4aae3b
mov eax, dword [0x4b46c8]
call fcn.004aa244
mov eax, 0x4b46c8
call fcn.00405054
mov byte [0x4b49a5], 0
inc esi
dec edi
jne 0x4aad0f
inc dword [ebp - 4]
add ebx, 4
dec dword [ebp - 8]
jne 0x4aac94
mov eax, 0x4b49a8
call fcn.00403608
call fcn.00402ee4
mov eax, dword [0x4b46b0]
mov eax, dword [eax + 0x390]
mov edx, dword [eax]
call dword [edx + 0xd8]
cmp al, 1
jne 0x4aaee9
push dword [0x4b46e8]
push 0x4ab098
push dword [0x4b4714]
push 0x4ab114
lea eax, [ebp - 0x6c]
mov edx, 4
call fcn.004053d8
mov eax, dword [ebp - 0x6c]
push eax
lea eax, [ebp - 0x70]
mov ecx, 0x4ab098
mov edx, dword [0x4b46e8]
call fcn.00405364
mov eax, dword [ebp - 0x70]
push eax
lea eax, [ebp - 0x74]
mov ecx, 0x4ab120
mov edx, dword [0x4b46e8]
call fcn.00405364
mov eax, dword [ebp - 0x74]
mov ecx, dword [0x4b4714]
pop edx
call fcn.004a0198
mov eax, dword [0x4b46b0]
mov eax, dword [eax + 0x394]
mov edx, dword [eax]
call dword [edx + 0xd8]
cmp al, 1
jne 0x4aaf60
push dword [0x4b46e8]
push 0x4ab098
push dword [0x4b4714]
push 0x4ab114
lea eax, [ebp - 0x78]
mov edx, 4
call fcn.004053d8
mov eax, dword [ebp - 0x78]
push eax
lea eax, [ebp - 0x7c]
mov ecx, 0x4ab098
mov edx, dword [0x4b46e8]
call fcn.00405364
mov eax, dword [ebp - 0x7c]
push eax
lea eax, [ebp - 0x80]
mov ecx, 0x4ab13c
mov edx, dword [0x4b46e8]
call fcn.00405364
mov eax, dword [ebp - 0x80]
mov ecx, dword [0x4b4714]
pop edx
call fcn.004a0198
mov eax, dword [0x4b46b0]
mov eax, dword [eax + 0x398]
mov edx, dword [eax]
call dword [edx + 0xd8]
cmp al, 1
jne 0x4aafe9
push dword [0x4b46e8]
push 0x4ab098
push dword [0x4b4714]
push 0x4ab114
lea eax, [ebp - 0x84]
mov edx, 4
call fcn.004053d8
mov eax, dword [ebp - 0x84]
push eax
lea eax, [ebp - 0x88]
mov ecx, 0x4ab098
mov edx, dword [0x4b46e8]
call fcn.00405364
mov eax, dword [ebp - 0x88]
push eax
lea eax, [ebp - 0x8c]
mov ecx, 0x4ab15c
mov edx, dword [0x4b46e8]
call fcn.00405364
mov eax, dword [ebp - 0x8c]
mov ecx, dword [0x4b4714]
pop edx
call fcn.004a0198
lea eax, [ebp - 0x90]
mov ecx, 0x4ab17c
mov edx, dword [0x4b46e8]
call fcn.00405364
mov eax, dword [ebp - 0x90]
call fcn.0040a1b0
test al, al
je 0x4ab041
lea eax, [ebp - 0x94]
mov ecx, 0x4ab17c
mov edx, dword [0x4b46e8]
call fcn.00405364
mov ebx, dword [ebp - 0x94]
mov dword [ebp - 0x20], ebx
mov eax, dword [ebp - 0x20]
call fcn.00405518
push eax
call sub.kernel32.dll_DeleteFileA
cmp eax, 1
sbb eax, eax
inc eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ab073
lea eax, [ebp - 0x94]
mov edx, 0x1d
call fcn.00405078
lea eax, [ebp - 0x1c]
mov edx, 5
call fcn.00405078
ret