Function at 0x445170
Capabilities:
Delete file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x564181
mov eax, dword fs:[0]
push eax
sub esp, 0x660
mov eax, dword [0x5c0490]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x208
lea eax, [ebp - 0x21c]
mov esi, ecx
push 0
push eax
mov dword [ebp - 0x638], esi
mov dword [ebp - 0x63c], 1
call fcn.00541d20
mov edx, dword [ebp + 8]
add esp, 0xc
lea ecx, [ebp - 0x62c]
call fcn.0041a7d0
lea edi, [ebp - 0x21c]
lea ecx, [ebp - 0x62c]
mov dword [ebp + 8], eax
call fcn.00445850
test eax, eax
jne 0x4451f3
mov eax, 1
jmp 0x445209
xor eax, eax
mov dword [ebp - 0x640], eax
cmp dword [esi + 0x214], eax
jg 0x445238
mov eax, dword [ebp - 0x63c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0053ca73
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ebp - 0x640]
mov esi, ecx
test eax, eax
js 0x445821
cmp eax, dword [esi + 0x214]
jge 0x445821
mov ecx, dword [esi + 0x210]
mov edi, dword [ecx + eax*4]
lea eax, [ecx + eax*4]
mov ecx, dword [edi - 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
call eax
cmp dword [edi - 4], 0
lea ecx, [edi - 4]
jl 0x44527e
cmp eax, dword [edi - 0x10]
jne 0x44527e
lea ebx, [edi - 0x10]
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x4452b6
mov ecx, dword [edi - 0xc]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov ebx, eax
test ebx, ebx
je 0x445812
mov eax, dword [edi - 0xc]
mov dword [ebx + 4], eax
mov eax, dword [edi - 0xc]
lea ecx, [eax + eax + 2]
push ecx
lea edx, [eax + eax + 2]
push edi
push edx
lea eax, [ebx + 0x10]
push eax
call fcn.0053d708
add esp, 0x10
add ebx, 0x10
mov dword [ebp - 0x630], ebx
push 0x5c
push ebx
mov dword [ebp - 4], 0
call fcn.0053dda2
add esp, 8
test eax, eax
jne 0x4452da
or esi, 0xffffffff
jmp 0x4452e0
sub eax, ebx
sar eax, 1
mov esi, eax
lea ecx, [ebp - 0x21c]
push ecx
inc esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp word [ebp + eax*2 - 0x21e], 0x5c
mov eax, dword [ebx - 0xc]
jne 0x445348
sub eax, esi
push eax
lea edx, [ebp - 0x668]
push edx
lea ecx, [ebp - 0x630]
call fcn.004103e0
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x21c]
push ecx
lea edx, [ebp - 0x424]
push 0x594b70
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
mov eax, dword [ebp - 0x668]
add eax, 0xfffffff0
add esp, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x445392
sub eax, esi
push eax
lea ecx, [ebp - 0x658]
push ecx
lea ecx, [ebp - 0x630]
call fcn.004103e0
mov edx, dword [eax]
push edx
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x424]
push str._s_s
push ecx
call dword [sym.imp.USER32.dll_wsprintfW]
mov eax, dword [ebp - 0x658]
add eax, 0xfffffff0
add esp, 0x10
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x44539e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebx - 8]
mov ecx, 1
sub ecx, dword [ebx - 4]
sub eax, 0x103
or eax, ecx
jge 0x4453c8
push 0x103
lea ecx, [ebp - 0x630]
call fcn.00405520
mov ebx, dword [ebp - 0x630]
mov edi, dword [ebp - 0x638]
call fcn.00445090
test eax, eax
jne 0x4457ac
push 0x20
lea ecx, [ebp - 0x424]
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea edx, [ebp - 0x424]
push edx
call edi
mov dword [ebp - 0x63c], eax
test eax, eax
jne case.0x445418.4
call dword [sym.imp.KERNEL32.dll_GetLastError]
add eax, 0xfffffffe
cmp eax, 0x1e
ja case.0x445418.4
movzx eax, byte [eax + 0x445830]
jmp dword [eax*4 + 0x445828]
mov dword [ebp - 0x63c], 1
lea ecx, [ebp - 0x21c]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp word [ebp + eax*2 - 0x21e], 0x5c
mov eax, dword [ebx - 0xc]
jne 0x445481
sub eax, esi
push eax
lea edx, [ebp - 0x660]
push edx
lea ecx, [ebp - 0x630]
call fcn.004103e0
mov eax, dword [eax]
mov ecx, dword [ebp + 8]
push eax
push ecx
lea edx, [ebp - 0x21c]
push edx
lea eax, [ebp - 0x424]
push str._s_d_s
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
mov eax, dword [ebp - 0x660]
jmp 0x4454bc
sub eax, esi
push eax
lea ecx, [ebp - 0x644]
push ecx
lea ecx, [ebp - 0x630]
call fcn.004103e0
mov edx, dword [eax]
mov eax, dword [ebp + 8]
push edx
push eax
lea ecx, [ebp - 0x21c]
push ecx
lea edx, [ebp - 0x424]
push 0x5991f0
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
mov eax, dword [ebp - 0x644]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
add esp, 0x14
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4454db
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x20
lea ecx, [ebp - 0x424]
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea edx, [ebp - 0x424]
push edx
call edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea eax, [ebp - 0x424]
push eax
lea ecx, [ebp - 0x634]
call fcn.00404f00
push 3
lea ecx, [ebp - 0x65c]
push ecx
lea ecx, [ebp - 0x634]
mov byte [ebp - 4], 1
call fcn.004103e0
mov byte [ebp - 4], 2
mov ecx, dword [eax]
mov edi, dword [ebp - 0x634]
lea eax, [ecx - 0x10]
add edi, 0xfffffff0
cmp eax, edi
je 0x44558e
cmp dword [edi + 0xc], 0
jl 0x44557e
mov edx, dword [eax]
cmp edx, dword [edi]
jne 0x44557e
push eax
call fcn.00406410
mov dword [ebp - 0x64c], eax
add esp, 4
lea eax, [edi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x44556d
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
call eax
mov ecx, dword [ebp - 0x64c]
add ecx, 0x10
mov dword [ebp - 0x634], ecx
jmp 0x44558e
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [ebp - 0x634]
call fcn.00405470
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x65c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4455b4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0x634]
push 0x5985d0
push ecx
call fcn.0053d3bf
add esp, 8
test eax, eax
je 0x4455e8
mov edx, dword [ebp - 0x634]
push 0x5985d8
push edx
call fcn.0053d3bf
add esp, 8
test eax, eax
jne 0x445786
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp word [ebp + eax*2 - 0x21e], 0x5c
mov eax, dword [ebx - 0xc]
jne 0x445640
sub eax, esi
push eax
lea ecx, [ebp - 0x654]
push ecx
lea ecx, [ebp - 0x630]
call fcn.004103e0
mov edx, dword [eax]
mov eax, dword [ebp + 8]
push edx
push eax
lea ecx, [ebp - 0x21c]
push ecx
lea edx, [ebp - 0x424]
push 0x59c690
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
mov eax, dword [ebp - 0x654]
jmp 0x44567b
sub eax, esi
push eax
lea ecx, [ebp - 0x664]
push ecx
lea ecx, [ebp - 0x630]
call fcn.004103e0
mov edx, dword [eax]
mov eax, dword [ebp + 8]
push edx
push eax
lea ecx, [ebp - 0x21c]
push ecx
lea edx, [ebp - 0x424]
push str._s_dCOLOR_s
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
mov eax, dword [ebp - 0x664]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
add esp, 0x14
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44569a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x424]
push ecx
call edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea edx, [ebp - 0x21c]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp word [ebp + eax*2 - 0x21e], 0x5c
mov eax, dword [ebx - 0xc]
jne 0x445716
sub eax, esi
push eax
lea eax, [ebp - 0x648]
push eax
lea ecx, [ebp - 0x630]
call fcn.004103e0
mov ecx, dword [eax]
push ecx
lea edx, [ebp - 0x21c]
push edx
lea eax, [ebp - 0x424]
push 0x59c6cc
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
mov eax, dword [ebp - 0x648]
add eax, 0xfffffff0
add esp, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x445760
sub eax, esi
push eax
lea ecx, [ebp - 0x650]
push ecx
lea ecx, [ebp - 0x630]
call fcn.004103e0
mov edx, dword [eax]
push edx
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x424]
push str._sCOLOR_s
push ecx
call dword [sym.imp.USER32.dll_wsprintfW]
mov eax, dword [ebp - 0x650]
add eax, 0xfffffff0
add esp, 0x10
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x44576c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x424]
push ecx
call edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp - 0x424]
call fcn.00420110
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x634]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4457ac
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebx - 8]
push eax
push ebx
call fcn.0053dae6
add esp, 8
test eax, eax
js 0x445817
cmp eax, dword [ebx - 8]
jg 0x445817
mov dword [ebx - 0xc], eax
xor ecx, ecx
mov word [ebx + eax*2], cx
add ebx, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea edx, [ebx + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x4457ee
mov ecx, dword [ebx]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push ebx
call eax
mov eax, dword [ebp - 0x640]
mov ecx, dword [ebp - 0x638]
inc eax
mov dword [ebp - 0x640], eax
cmp eax, dword [ecx + 0x214]
jl 0x445230
jmp 0x445203
call fcn.00405640
push 0x80070057
call fcn.00404160
call fcn.004490bd
mov edi, edi
pop ds
push esp
inc esp
add byte [ecx], ch
push esp
inc esp
add byte [eax], al
add byte [ecx], al
add byte [ecx], al
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [eax], eax
int3