Function at 0x4805ae
Capabilities:
Delete file

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0xc4
mov edx, dword [0x549360]
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.004727e8
call fcn.0046e3c9
mov dword [ebp + 0x68], edi
cmp dword [ebp + 0x58], edi
jbe 0x480803
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.0047cb9e
xor esi, esi
mov dword [ebp + 0x74], eax
cmp dword [0x5493d4], edi
jbe 0x480649
mov eax, dword [0x5493cc]
mov eax, dword [eax + esi*4]
lea ecx, [eax + 0xa0]
mov eax, dword [ecx]
cmp eax, edi
je 0x480640
xor edx, edx
cmp word [eax], di
sete dl
test dl, dl
jne 0x480640
call fcn.0048e806
mov ecx, dword [ebp + 0x74]
call fcn.00493e5a
test eax, eax
je 0x4807e2
inc esi
cmp esi, dword [0x5493d4]
jb 0x48060b
xor esi, esi
cmp dword [0x549c00], edi
jbe 0x48069e
mov eax, dword [0x549bf8]
mov eax, dword [eax + esi*4]
mov eax, dword [eax + 0x168]
cmp byte [eax + 0x28], 0
jne 0x480695
cmp dword [eax + 8], 1
jne 0x480695
mov ecx, dword [eax]
mov edx, dword [ecx + 0x1c]
mov ecx, dword [eax + 0x1c]
call fcn.004a307f
mov ecx, dword [ebp + 0x74]
mov dword [ebp + 0x4c], eax
call fcn.00493e5a
lea ecx, [ebp + 0x4c]
test eax, eax
je 0x4807b2
call fcn.0048e540
inc esi
cmp esi, dword [0x549c00]
jb 0x480653
mov ecx, dword [ebp + 0x74]
push 0x1000000
lea edx, [ebp + 0x5c]
call fcn.004a489b
mov esi, eax
cmp esi, edi
je 0x4807d9
lea ecx, [ebp + 0x38]
xor bl, bl
call fcn.00406e8a
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.00407501
test eax, eax
je 0x4806eb
cmp dword [ebp + 0x6c], edi
je 0x4806eb
cmp byte [ebp + 0x44], 5
je 0x48074b
call fcn.0047d53a
push dword [ebp + 0x5c]
mov edx, dword [eax]
push esi
mov ecx, eax
call dword [edx + 4]
lea ecx, [ebp + 0x28]
call fcn.00406e8a
mov eax, dword [0x549400]
mov dword [ebp + 0x6c], eax
mov eax, dword [0x549404]
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.00407501
test eax, eax
je 0x480738
cmp dword [ebp + 0x6c], edi
je 0x480738
cmp byte [ebp + 0x34], 5
jne 0x480738
mov bl, 1
lea ecx, [ebp + 0x28]
mov dword [ebp + 0x28], 0x4f2330
call fcn.0040674f
test bl, bl
je 0x4807c1
lea ecx, [ebp - 0x4c]
call fcn.004e64ac
mov eax, dword [ebp + 0x70]
sub eax, dword [ebp + 0x6c]
lea ecx, [ebp - 0x4c]
push eax
push dword [ebp + 0x6c]
call fcn.004e7793
mov ecx, eax
call fcn.00490653
cmp eax, edi
je 0x4807b9
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 + 0x618]
call fcn.0048d7ba
lea ecx, [ebp - 0x4c]
call fcn.004e64d1
lea ecx, [ebp + 0x38]
mov dword [ebp + 0x38], 0x4f2330
call fcn.0040674f
mov dl, 1
mov ecx, esi
call fcn.0046b197
jmp 0x4807e2
call fcn.0048e540
jmp 0x4807e2
lea ecx, [ebp - 0x4c]
call fcn.004e64d1
lea ecx, [ebp + 0x38]
mov dword [ebp + 0x38], 0x4f2330
call fcn.0040674f
mov dl, 1
mov ecx, esi
call fcn.0046b197
push dword [ebp + 0x74]
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
lea ecx, [ebp + 0x74]
call fcn.0048e540
lea ecx, [ebp + 0x48]
call fcn.0048e540
inc dword [ebp + 0x68]
mov eax, dword [ebp + 0x68]
cmp eax, dword [ebp + 0x58]
jb 0x4805ed
pop esi
pop ebx
mov eax, dword [ebp + 0x60]
mov dword [0x549350], eax
mov eax, dword [ebp + 0x64]
mov dword [0x549354], eax
call fcn.0046e3e5
lea ecx, [ebp + 0x50]
mov dword [ebp + 0x58], edi
call fcn.0048e45f
pop edi
add ebp, 0x78
leave
ret