Function at 0x10054c10
Capabilities:
Check if file exists
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10183efe
mov eax, dword fs:[0]
push eax
sub esp, 0x448
mov eax, dword [0x101dd594]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x440], edi
mov eax, dword [ebp + 8]
mov dword [ebp - 0x44c], eax
mov dword [ebp - 0x420], 0
mov eax, dword [edi]
mov eax, dword [eax + 0x70]
sub eax, 0x10
push eax
call fcn.1001d450
mov dword [ebp - 0x444], eax
lea esi, [eax + 0x10]
mov dword [ebp - 0x450], esi
mov ecx, dword [edi]
mov dword [ebp - 4], 0
mov ecx, dword [ecx + 0x74]
sub ecx, 0x10
push ecx
call fcn.1001d450
add esp, 8
lea edi, [eax + 0x10]
mov dword [ebp - 0x454], edi
mov byte [ebp - 4], 1
mov dword [ebp - 0x43c], 0
mov dword [ebp - 0x42c], 0
call fcn.1001b540
mov ecx, eax
test ecx, ecx
je 0x1005557d
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x42c], eax
lea eax, [ebp - 0x42c]
mov byte [ebp - 4], 2
push eax
call fcn.1006df70
add esp, 4
test eax, eax
jne 0x10054cef
mov dword [ebp - 0x43c], eax
jmp 0x10054fea
cmp dword [esi - 0xc], 0
je 0x10054fe4
push ecx
mov dword [ebp - 0x43c], esp
push dword [ebp - 0x444]
mov dword [ebp - 0x428], 0
call fcn.1001d450
mov ecx, dword [ebp - 0x43c]
add eax, 0x10
add esp, 4
mov dword [ecx], eax
lea eax, [ebp - 0x428]
push eax
call fcn.10051800
add esp, 8
mov dword [ebp - 0x414], 0
mov eax, dword [ebp - 0x42c]
mov byte [ebp - 4], 4
mov dword [ebp - 0x43c], 0
mov ecx, dword [eax - 0x10]
test ecx, ecx
je 0x10054d64
mov eax, dword [ecx]
mov eax, dword [eax + 0x10]
call eax
mov ecx, eax
test ecx, ecx
jne 0x10054d7c
call fcn.1001b540
mov ecx, eax
mov edx, dword [eax]
mov eax, dword [edx + 0x10]
call eax
mov ecx, eax
test ecx, ecx
je 0x10055587
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x420], 1
mov dword [ebp - 0x43c], eax
mov eax, dword [ebp - 0x42c]
push 1
push 0x101942d4
push dword [eax - 0xc]
push eax
lea eax, [ebp - 0x43c]
push eax
call fcn.1001d4c0
lea eax, [ebp - 0x428]
push eax
lea eax, [ebp - 0x43c]
push eax
lea eax, [ebp - 0x414]
push eax
call fcn.1001ca60
add esp, 0x20
mov edx, dword [ebp - 0x43c]
or eax, 0xffffffff
mov byte [ebp - 4], 6
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10054df2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
xorps xmm0, xmm0
mov byte [ebp - 0x435], 0
movlpd qword [ebp - 0x41c], xmm0
lea eax, [ebp - 0x41c]
mov byte [ebp - 4], 7
push eax
call fcn.100a2403
lea eax, [ebp - 0x41c]
mov dword [ebp - 0x424], eax
lea eax, [ebp - 0x435]
mov dword [ebp - 0x420], eax
lea eax, [ebp - 0x424]
push eax
push 0x1001bbe0
push 0x101e4578
call fcn.100a32ce
add esp, 0x10
test eax, eax
je 0x10055561
lea eax, [ebp - 0x41c]
mov byte [ebp - 4], 9
push eax
call fcn.100a243d
mov ecx, dword [0x101e4574]
add esp, 4
mov byte [ebp - 4], 6
push 0
push str.ProtectPlugin
push 0
push 0
push str.down_start
call fcn.100caab0
push dword [ebp - 0x414]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1005508b
push 0x200
lea eax, [ebp - 0x210]
push 0
push eax
call fcn.10150460
push 0x100
lea eax, [ebp - 0x210]
push eax
push dword [ebp - 0x414]
call fcn.100b8790
add esp, 0x18
call fcn.1001b540
mov ecx, eax
test ecx, ecx
je 0x10055591
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x444], eax
lea eax, [ebp - 0x210]
mov byte [ebp - 4], 0xc
test eax, 0xffff0000
jne 0x10054f01
movzx eax, ax
lea ecx, [ebp - 0x444]
push eax
call fcn.100183a0
jmp 0x10054f32
lea ecx, [ebp - 0x210]
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10054f10
sub ecx, edx
lea eax, [ebp - 0x210]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x444]
call fcn.10020080
mov esi, dword [ebp - 0x444]
push esi
push edi
mov byte [ebp - 4], 0xd
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x10055069
mov ecx, dword [ebp - 0x44c]
lea eax, [ebp - 0x414]
push eax
call fcn.1001c9f0
push 0
push str.ProtectPlugin
push 0
push 0
push str.md5_has_suc
mov dword [ebp - 0x43c], 1
call fcn.1001e650
mov ecx, eax
call fcn.100caab0
lea edx, [esi - 0x10]
mov byte [ebp - 4], 6
or esi, 0xffffffff
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10054fa2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x414]
mov eax, esi
mov byte [ebp - 4], 3
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10054fc3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x428]
mov eax, esi
mov byte [ebp - 4], 2
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10054fe4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x450]
mov edx, dword [ebp - 0x42c]
or eax, 0xffffffff
mov byte [ebp - 4], 1
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1005500c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea edx, [edi - 0x10]
mov byte [ebp - 4], 0
or edi, 0xffffffff
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1005502a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], edi
dec edi
test edi, edi
jg 0x10055046
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x43c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10128191
mov esp, ebp
pop ebp
ret 4
mov byte [ebp - 4], 6
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x10055085
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x450]
push dword [ebp - 0x414]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebp - 0x440]
xorps xmm0, xmm0
push 0x20
movlpd qword [ebp - 0x448], xmm0
mov eax, dword [ecx + 0x14]
mov dword [ebp - 0x440], eax
call fcn.10127dee
add esp, 4
mov dword [ebp - 0x420], eax
mov byte [ebp - 4], 0xe
test eax, eax
je 0x100550dc
xorps xmm0, xmm0
mov ecx, eax
movups xmmword [eax], xmm0
movups xmmword [eax + 0x10], xmm0
call fcn.1001c7e0
jmp 0x100550de
xor eax, eax
push dword [ebp - 0x454]
lea ecx, [ebp - 0x448]
mov byte [ebp - 4], 6
push eax
mov dword [ebp - 0x448], 0
mov dword [ebp - 0x444], 0
call fcn.1001c130
push dword [ebp - 0x440]
mov ecx, dword [ebp - 0x448]
lea eax, [ebp - 0x414]
push 0x493e0
push eax
push esi
mov byte [ebp - 4], 0xf
call fcn.1001d620
mov ecx, dword [ebp - 0x444]
test eax, eax
je 0x100554c7
or esi, 0xffffffff
test ecx, ecx
je 0x10055160
mov eax, esi
lock xadd dword [ecx + 4], eax
jne 0x10055160
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebp - 0x444]
mov eax, esi
lock xadd dword [ecx + 8], eax
jne 0x10055160
mov eax, dword [ecx]
call dword [eax + 4]
xorps xmm0, xmm0
mov dword [ebp - 0x43c], 1
mov byte [ebp - 0x435], 0
movlpd qword [ebp - 0x41c], xmm0
lea eax, [ebp - 0x41c]
mov byte [ebp - 4], 0x10
push eax
call fcn.100a2403
lea eax, [ebp - 0x41c]
mov dword [ebp - 0x424], eax
lea eax, [ebp - 0x435]
mov dword [ebp - 0x420], eax
lea eax, [ebp - 0x424]
push eax
push 0x1001bbe0
push 0x101e4578
call fcn.100a32ce
add esp, 0x10
test eax, eax
je 0x100554ae
lea eax, [ebp - 0x41c]
mov byte [ebp - 4], 0x12
push eax
call fcn.100a243d
mov ecx, dword [0x101e4574]
add esp, 4
mov byte [ebp - 4], 6
push 0
push str.ProtectPlugin
push 0
push 0
push str.down_suc
call fcn.100caab0
mov edx, dword [ebp - 0x44c]
mov eax, dword [ebp - 0x414]
mov edx, dword [edx]
lea ecx, [eax - 0x10]
sub edx, 0x10
mov dword [ebp - 0x440], ecx
mov dword [ebp - 0x444], edx
cmp ecx, edx
je 0x10055291
cmp dword [edx + 0xc], 0
lea eax, [edx + 0xc]
mov dword [ebp - 0x420], eax
mov eax, dword [ebp - 0x414]
jl 0x1005527c
mov ecx, dword [ecx]
cmp ecx, dword [edx]
jne 0x1005527c
push dword [ebp - 0x440]
call fcn.1001d450
mov dword [ebp - 0x440], eax
add esp, 4
mov eax, dword [ebp - 0x420]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x10055269
mov eax, dword [ebp - 0x444]
push eax
mov ecx, dword [eax]
mov edx, dword [ecx]
call dword [edx + 4]
mov ecx, dword [ebp - 0x44c]
mov eax, dword [ebp - 0x440]
add eax, 0x10
mov dword [ecx], eax
jmp 0x1005528b
push dword [eax - 0xc]
mov ecx, dword [ebp - 0x44c]
push eax
call fcn.10020080
mov eax, dword [ebp - 0x414]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10054fa2
push 0x200
lea eax, [ebp - 0x410]
push 0
push eax
call fcn.10150460
push 0x100
lea eax, [ebp - 0x410]
push eax
push dword [ebp - 0x414]
call fcn.100b8790
add esp, 0x18
call fcn.1001b540
mov ecx, eax
test ecx, ecx
je 0x1005559b
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x444], eax
lea eax, [ebp - 0x410]
mov byte [ebp - 4], 0x15
test eax, 0xffff0000
jne 0x1005530e
movzx eax, ax
lea ecx, [ebp - 0x444]
push eax
call fcn.100183a0
jmp 0x10055339
lea ecx, [ebp - 0x410]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10055317
sub ecx, edx
lea eax, [ebp - 0x410]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x444]
call fcn.10020080
mov esi, dword [ebp - 0x444]
push esi
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
mov byte [ebp - 0x435], 0
xorps xmm0, xmm0
test eax, eax
jne 0x100553fc
movlpd qword [ebp - 0x424], xmm0
lea eax, [ebp - 0x424]
mov byte [ebp - 4], 0x17
push eax
call fcn.100a2403
lea eax, [ebp - 0x424]
mov dword [ebp - 0x41c], eax
lea eax, [ebp - 0x435]
mov dword [ebp - 0x418], eax
lea eax, [ebp - 0x41c]
push eax
push 0x1001bbe0
push 0x101e4578
call fcn.100a32ce
add esp, 0x10
test eax, eax
je 0x100553d8
lea eax, [ebp - 0x424]
mov byte [ebp - 4], 0x19
push eax
call fcn.100a243d
mov ecx, dword [0x101e4574]
add esp, 4
mov byte [ebp - 4], 0x16
push 0
push str.ProtectPlugin
push 0
push 0
push str.md5_suc
jmp 0x10054f7f
lea eax, [ebp - 0x424]
mov byte [ebp - 4], 0x1a
push eax
call fcn.100a245e
add esp, 4
mov byte [ebp - 4], 0x18
test al, al
je 0x100555bb
jmp 0x100555a5
movlpd qword [ebp - 0x41c], xmm0
lea eax, [ebp - 0x41c]
mov byte [ebp - 4], 0x1c
push eax
call fcn.100a2403
lea eax, [ebp - 0x41c]
mov dword [ebp - 0x434], eax
lea eax, [ebp - 0x435]
mov dword [ebp - 0x430], eax
lea eax, [ebp - 0x434]
push eax
push 0x1001bbe0
push 0x101e4578
call fcn.100a32ce
add esp, 0x10
test eax, eax
je 0x1005548a
lea eax, [ebp - 0x41c]
mov byte [ebp - 4], 0x1e
push eax
call fcn.100a243d
mov ecx, dword [0x101e4574]
add esp, 4
mov byte [ebp - 4], 0x16
push 0
push str.ProtectPlugin
push 0
push 0
push str.md5_fail
call fcn.100caab0
mov dword [ebp - 0x43c], 0
jmp 0x10054f84
lea eax, [ebp - 0x41c]
mov byte [ebp - 4], 0x1f
push eax
call fcn.100a245e
add esp, 4
mov byte [ebp - 4], 0x1d
test al, al
jne 0x100555c0
jmp 0x100555bb
lea eax, [ebp - 0x41c]
mov byte [ebp - 4], 0x13
push eax
call fcn.100a245e
add esp, 4
mov byte [ebp - 4], 0x11
jmp 0x100554a1
mov byte [ebp - 4], 6
test ecx, ecx
je 0x100554f2
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
jne 0x100554f2
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebp - 0x444]
or eax, 0xffffffff
lock xadd dword [ecx + 8], eax
jne 0x100554f2
mov eax, dword [ecx]
call dword [eax + 4]
push 0
push str.ProtectPlugin
push 0
push 0
push str.down_fail
call fcn.1001e650
mov ecx, eax
call fcn.100caab0
mov edx, dword [ebp - 0x414]
or eax, 0xffffffff
mov byte [ebp - 4], 3
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10055530
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x428]
or eax, 0xffffffff
mov byte [ebp - 4], 2
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10055552
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 0x43c], 0
jmp 0x10054fea
lea eax, [ebp - 0x41c]
mov byte [ebp - 4], 0xa
push eax
call fcn.100a245e
add esp, 4
mov byte [ebp - 4], 8
jmp 0x100554a1
push 0x80004005
call fcn.10017a40
push 0x80004005
call fcn.10017a40
push 0x80004005
call fcn.10017a40
push 0x80004005
call fcn.10017a40
sub esp, 8
lea eax, [ebp - 0x424]
mov ecx, esp
push eax
call fcn.10016d00
call fcn.10019c10
call fcn.100a32e6
sub esp, 8
lea eax, [ebp - 0x41c]
mov ecx, esp
push eax
call fcn.10016d00
call fcn.10019c10
int3