Function at 0x54a030
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ae793
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push ebx
push esi
push edi
mov eax, dword [0x616040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x24], ebx
lea edi, [ebx + 0x49c]
push edi
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x10], edi
call fcn.00403e40
push 0xe3f
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebx + 0x98]
call fcn.00583010
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebx + 0x9c]
mov ebx, dword [ebp - 0x2c]
je 0x54a207
mov esi, dword [eax + 0x24]
test esi, esi
je 0x54a207
cmp dword [esi + 0x20], 0
je 0x54a207
mov ecx, edi
call fcn.00404190
lea eax, [ebp - 0x3c]
mov ecx, esi
push eax
call fcn.00572880
mov byte [ebp - 4], 1
mov ecx, edi
mov eax, dword [ebp - 0x38]
mov esi, dword [ebp - 0x3c]
sub eax, esi
sar eax, 2
push eax
call fcn.00403f50
mov eax, esi
cmp eax, dword [ebp - 0x38]
je 0x54a1f6
mov ecx, ebx
mov eax, 0x92492493
mov ebx, dword [ebp - 0x30]
sub ecx, ebx
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebp - 0x18], eax
xor eax, eax
mov dword [ebp - 0x14], eax
mov ecx, dword [esi]
mov edi, eax
sar edi, 2
cmp dword [ebp - 0x18], ecx
jbe 0x54a2e1
lea eax, [ecx*8]
sub eax, ecx
mov ecx, dword [ebp - 0x10]
lea ebx, [ebx + eax*4]
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
sub ecx, eax
mov dword [ebp - 0x20], ebx
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, edi
jbe 0x54a2e1
mov edx, dword [ebp - 0x10]
lea eax, [edi*8]
sub eax, edi
mov ecx, dword [edx]
lea edi, [ecx + eax*4]
mov ecx, dword [ebx]
mov ebx, dword [edi]
sub ebx, 0x10
lea edx, [ecx - 0x10]
cmp edx, ebx
je 0x54a1ae
cmp dword [ebx + 0xc], 0
jl 0x54a1a3
mov eax, dword [edx]
cmp eax, dword [ebx]
jne 0x54a1a3
push edx
call fcn.00403660
mov dword [ebp - 0x1c], eax
lea ecx, [ebx + 0xc]
add esp, 4
or eax, 0xffffffff
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x54a199
mov ecx, dword [ebx]
push ebx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x1c]
add eax, 0x10
mov dword [edi], eax
jmp 0x54a1ae
push dword [ecx - 0xc]
push ecx
mov ecx, edi
call fcn.004035a0
mov ebx, dword [ebp - 0x20]
add esi, 4
mov eax, dword [ebx + 4]
mov dword [edi + 4], eax
mov eax, dword [ebx + 8]
mov dword [edi + 8], eax
mov eax, dword [ebx + 0xc]
mov dword [edi + 0xc], eax
mov eax, dword [ebx + 0x10]
mov dword [edi + 0x10], eax
mov eax, dword [ebx + 0x14]
mov dword [edi + 0x14], eax
mov eax, dword [ebx + 0x18]
mov ebx, dword [ebp - 0x30]
mov dword [edi + 0x18], eax
mov eax, dword [ebp - 0x14]
add eax, 4
mov dword [ebp - 0x14], eax
cmp esi, dword [ebp - 0x38]
jne 0x54a107
mov ebx, dword [ebp - 0x2c]
mov edi, dword [ebp - 0x10]
mov eax, dword [ebp - 0x3c]
mov byte [ebp - 4], 0
test eax, eax
je 0x54a207
push eax
call fcn.0040d50c
add esp, 4
mov eax, dword [ebp - 0x24]
cmp dword [eax + 0x110], 0xd0d
jne 0x54a285
mov ecx, ebx
mov eax, 0x92492493
sub ecx, dword [ebp - 0x30]
imul ecx
mov eax, 0x92492493
add edx, ecx
mov ecx, dword [edi + 4]
sub ecx, dword [edi]
sar edx, 4
mov esi, edx
shr esi, 0x1f
add esi, edx
imul ecx
mov dword [ebp - 0x14], esi
add edx, ecx
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp esi, ecx
je 0x54a285
mov eax, esi
xor ebx, ebx
sub eax, ecx
xor edi, edi
mov dword [ebp - 0x24], eax
test esi, esi
jle 0x54a285
mov eax, dword [ebp - 0x14]
cmp eax, edi
mov esi, dword [ebp - 0x30]
jbe 0x54a2e1
cmp byte [esi + 0x1a], 0
je 0x54a27d
push dword [esi]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
inc ebx
cmp dword [ebp - 0x24], ebx
jle 0x54a285
mov eax, dword [ebp - 0x14]
inc edi
add esi, 0x1c
cmp eax, edi
jg 0x54a264
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x54a2cf
mov ebx, dword [ebp - 0x2c]
mov esi, eax
cmp eax, ebx
je 0x54a2c6
lea esp, [esp]
mov edx, dword [esi]
or ecx, 0xffffffff
sub edx, 0x10
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x54a2bc
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0x1c
cmp esi, ebx
jne 0x54a2a0
mov eax, dword [ebp - 0x30]
push eax
call fcn.0040d50c
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str.invalid_vector_T__subscript
call fcn.00546d3a
int3