Function at 0x491bc2
Capabilities:
Delete file

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0xc8
mov edx, dword [0x88d2cc]
push edi
xor edi, edi
push edi
lea ecx, [ebp + 0x50]
mov dword [ebp + 0x60], edi
mov dword [ebp + 0x64], edi
mov dword [ebp + 0x50], edi
mov dword [ebp + 0x58], edi
mov dword [ebp + 0x54], edi
call fcn.00482781
call fcn.0047cfd9
mov dword [ebp + 0x68], edi
cmp dword [ebp + 0x58], edi
jbe 0x491e17
push ebx
push esi
mov eax, dword [ebp + 0x50]
mov ecx, dword [ebp + 0x68]
mov ecx, dword [eax + ecx*4]
mov dword [ebp + 0x48], ecx
call fcn.0048e44f
xor esi, esi
mov dword [ebp + 0x74], eax
cmp dword [0x88d33c], edi
jbe 0x491c5d
mov eax, dword [0x88d334]
mov eax, dword [eax + esi*4]
lea ecx, [eax + 0xa0]
mov eax, dword [ecx]
cmp eax, edi
je 0x491c54
xor edx, edx
cmp word [eax], di
sete dl
test dl, dl
jne 0x491c54
call fcn.004a0ff9
mov ecx, dword [ebp + 0x74]
call fcn.0042a25c
test eax, eax
je 0x491df6
inc esi
cmp esi, dword [0x88d33c]
jb 0x491c1f
xor esi, esi
cmp dword [0x88de2c], edi
jbe 0x491cb2
mov eax, dword [0x88de24]
mov eax, dword [eax + esi*4]
mov eax, dword [eax + 0x168]
cmp byte [eax + 0x28], 0
jne 0x491ca9
cmp dword [eax + 8], 1
jne 0x491ca9
mov ecx, dword [eax]
mov edx, dword [ecx + 0x24]
mov ecx, dword [eax + 0x1c]
call fcn.004b7a3f
mov ecx, dword [ebp + 0x74]
mov dword [ebp + 0x4c], eax
call fcn.0042a25c
lea ecx, [ebp + 0x4c]
test eax, eax
je 0x491dc6
call fcn.004a0cb3
inc esi
cmp esi, dword [0x88de2c]
jb 0x491c67
mov ecx, dword [ebp + 0x74]
push 0x1000000
lea edx, [ebp + 0x5c]
call fcn.004b93d7
mov esi, eax
cmp esi, edi
je 0x491ded
lea ecx, [ebp + 0x38]
xor bl, bl
call fcn.0040c16d
lea eax, [ebp + 0x6c]
push eax
mov eax, dword [ebp + 0x5c]
add eax, esi
push eax
lea edx, [ebp + 0x38]
mov ecx, esi
mov dword [ebp + 0x6c], edi
mov dword [ebp + 0x70], edi
call fcn.0040c7e4
test eax, eax
je 0x491cff
cmp dword [ebp + 0x6c], edi
je 0x491cff
cmp byte [ebp + 0x44], 5
je 0x491d5f
call fcn.0048ee68
push dword [ebp + 0x5c]
mov edx, dword [eax]
push esi
mov ecx, eax
call dword [edx + 4]
lea ecx, [ebp + 0x28]
call fcn.0040c16d
mov eax, dword [0x88d368]
mov dword [ebp + 0x6c], eax
mov eax, dword [0x88d36c]
mov dword [ebp + 0x70], eax
lea eax, [ebp + 0x6c]
push eax
mov eax, dword [ebp + 0x5c]
add eax, esi
push eax
lea edx, [ebp + 0x28]
mov ecx, esi
call fcn.0040c7e4
test eax, eax
je 0x491d4c
cmp dword [ebp + 0x6c], edi
je 0x491d4c
cmp byte [ebp + 0x34], 5
jne 0x491d4c
mov bl, 1
lea ecx, [ebp + 0x28]
mov dword [ebp + 0x28], 0x50fa3c
call fcn.0040ba32
test bl, bl
je 0x491dd5
lea ecx, [ebp - 0x50]
call fcn.00501c46
mov eax, dword [ebp + 0x70]
sub eax, dword [ebp + 0x6c]
lea ecx, [ebp - 0x50]
push eax
push dword [ebp + 0x6c]
call fcn.00502f43
mov ecx, eax
call fcn.004a342e
cmp eax, edi
je 0x491dcd
mov ecx, dword [eax + 0x168]
mov edx, dword [ecx + 0x14]
add dword [ebp + 0x60], edx
mov ecx, dword [ecx + 0x18]
mov edx, dword [ebp + 0x74]
adc dword [ebp + 0x64], ecx
lea ecx, [eax + 0x628]
call fcn.0049fe43
lea ecx, [ebp - 0x50]
call fcn.00501c70
lea ecx, [ebp + 0x38]
mov dword [ebp + 0x38], 0x50fa3c
call fcn.0040ba32
mov dl, 1
mov ecx, esi
call fcn.00479b79
jmp 0x491df6
call fcn.004a0cb3
jmp 0x491df6
lea ecx, [ebp - 0x50]
call fcn.00501c70
lea ecx, [ebp + 0x38]
mov dword [ebp + 0x38], 0x50fa3c
call fcn.0040ba32
mov dl, 1
mov ecx, esi
call fcn.00479b79
push dword [ebp + 0x74]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp + 0x74]
call fcn.004a0cb3
lea ecx, [ebp + 0x48]
call fcn.004a0cb3
inc dword [ebp + 0x68]
mov eax, dword [ebp + 0x68]
cmp eax, dword [ebp + 0x58]
jb 0x491c01
pop esi
pop ebx
mov eax, dword [ebp + 0x60]
mov dword [0x88d288], eax
mov eax, dword [ebp + 0x64]
mov dword [0x88d28c], eax
call fcn.0047cff8
lea ecx, [ebp + 0x50]
mov dword [ebp + 0x58], edi
call fcn.004a0bd2
pop edi
add ebp, 0x78
leave
ret