Function at 0x4182a0
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x44ed50
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push ebp
push esi
push edi
mov eax, dword [0x460164]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x4c]
mov eax, dword [esp + 0x48]
add eax, 0x10
push eax
lea ecx, [esp + 0x1c]
push ecx
mov ebx, str._searchplugins_
call fcn.00401b30
add esp, 8
xor esi, esi
mov dword [esp + 0x40], esi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], esi
push 2
lea edx, [esp + 0x1c]
push edx
lea ecx, [esp + 0x30]
mov byte [esp + 0x48], 1
call fcn.00418d30
mov eax, dword [esp + 0x2c]
cmp eax, esi
je 0x418333
mov edi, dword [esp + 0x30]
mov ecx, edi
sub ecx, eax
sar ecx, 2
jne 0x418344
call fcn.004064a0
mov edx, dword [esp + 0x2c]
push edx
call fcn.00435178
add esp, 4
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], esi
jmp 0x41854f
cmp eax, edi
mov esi, eax
jbe 0x418357
call fcn.00435b3c
mov edi, dword [esp + 0x30]
mov eax, dword [esp + 0x2c]
mov ebx, esi
cmp eax, edi
mov dword [esp + 0x24], ebx
mov esi, edi
jbe 0x418370
call fcn.00435b3c
mov edi, dword [esp + 0x30]
mov eax, dword [esp + 0x2c]
cmp ebx, esi
je 0x418500
mov edx, dword [0x461acc]
mov eax, dword [edx + 0xc]
xor esi, esi
mov ecx, 0x461acc
mov dword [esp + 0x1c], esi
call eax
add eax, 0x10
mov dword [esp + 0x48], eax
mov byte [esp + 0x40], 2
mov edx, dword [0x461acc]
mov eax, dword [edx + 0xc]
mov ecx, 0x461acc
call eax
add eax, 0x10
mov dword [esp + 0x4c], eax
mov byte [esp + 0x40], 3
cmp ebx, dword [esp + 0x30]
jb 0x4183c1
call fcn.00435b3c
lea ecx, [esp + 0x4c]
push ecx
lea edx, [esp + 0x4c]
push edx
lea eax, [esp + 0x24]
push eax
push ebx
call fcn.00419000
cmp eax, esi
je 0x4184b4
cmp dword [esp + 0x1c], esi
je 0x4184b4
mov eax, ebp
call fcn.00408f30
mov ebx, dword [esp + 0x48]
mov edi, eax
test edi, edi
jbe 0x418435
lea esp, [esp]
mov ecx, dword [ebp + 4]
test ecx, ecx
je 0x418413
mov eax, dword [ebp + 8]
sub eax, ecx
sar eax, 2
cmp esi, eax
jb 0x418418
call fcn.00435b3c
mov ecx, dword [ebp + 4]
lea eax, [ecx + esi*4]
mov eax, dword [eax]
push eax
push ebx
call fcn.0043595f
add esp, 8
test eax, eax
je 0x41844d
add esi, 1
cmp esi, edi
jb 0x418400
mov esi, dword [esp + 0x24]
cmp esi, dword [esp + 0x30]
jb 0x418444
call fcn.00435b3c
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov byte [esp + 0x40], 2
mov eax, dword [esp + 0x4c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x418472
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebx - 0x10]
mov byte [esp + 0x40], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x418493
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ebx, dword [esp + 0x24]
mov edi, dword [esp + 0x30]
cmp ebx, edi
jb 0x4184a8
call fcn.00435b3c
mov edi, dword [esp + 0x30]
mov eax, dword [esp + 0x2c]
add ebx, 4
jmp 0x418359
mov byte [esp + 0x40], 2
mov eax, dword [esp + 0x4c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4184d9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x40], 1
mov eax, dword [esp + 0x48]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x418497
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x418497
xor ebx, ebx
cmp eax, ebx
mov byte [esp + 0x40], 0
je 0x418543
cmp eax, edi
mov esi, eax
je 0x41853a
mov eax, dword [esi]
sub eax, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41852f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add esi, 4
cmp esi, edi
jne 0x418511
mov eax, dword [esp + 0x2c]
push eax
call fcn.00435178
add esp, 4
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x40], 0xffffffff
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x418577
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30
ret 8