Function at 0x449020
Capabilities:
Delete file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x585d51
mov eax, dword fs:[0]
push eax
sub esp, 0x660
mov eax, dword [0x5eb770]
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.0055ca80
mov edx, dword [ebp + 8]
add esp, 0xc
lea ecx, [ebp - 0x62c]
call fcn.00417010
lea edi, [ebp - 0x21c]
lea ecx, [ebp - 0x62c]
mov dword [ebp + 8], eax
call fcn.00449700
test eax, eax
jne 0x4490a3
mov eax, 1
jmp 0x4490b9
xor eax, eax
mov dword [ebp - 0x640], eax
cmp dword [esi + 0x214], eax
jg 0x4490e8
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.0055649d
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ebp - 0x640]
mov esi, ecx
test eax, eax
js 0x4496d1
cmp eax, dword [esi + 0x214]
jge 0x4496d1
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 0x44912e
cmp eax, dword [edi - 0x10]
jne 0x44912e
lea ebx, [edi - 0x10]
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x449166
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 0x4496c2
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.0055701e
add esp, 0x10
add ebx, 0x10
mov dword [ebp - 0x630], ebx
push 0x5c
push ebx
mov dword [ebp - 4], 0
call fcn.005589fd
add esp, 8
test eax, eax
jne 0x44918a
or esi, 0xffffffff
jmp 0x449190
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 0x4491f8
sub eax, esi
push eax
lea edx, [ebp - 0x668]
push edx
lea ecx, [ebp - 0x630]
call fcn.0040a1c0
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x21c]
push ecx
lea edx, [ebp - 0x424]
push 0x5b7940
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 0x449242
sub eax, esi
push eax
lea ecx, [ebp - 0x658]
push ecx
lea ecx, [ebp - 0x630]
call fcn.0040a1c0
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 0x44924e
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 0x449278
push 0x103
lea ecx, [ebp - 0x630]
call fcn.00403a70
mov ebx, dword [ebp - 0x630]
mov edi, dword [ebp - 0x638]
call fcn.00448f40
test eax, eax
jne 0x44965c
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.0x4492c8.4
call dword [sym.imp.KERNEL32.dll_GetLastError]
add eax, 0xfffffffe
cmp eax, 0x1e
ja case.0x4492c8.4
movzx eax, byte [eax + 0x4496e0]
jmp dword [eax*4 + 0x4496d8]
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 0x449331
sub eax, esi
push eax
lea edx, [ebp - 0x660]
push edx
lea ecx, [ebp - 0x630]
call fcn.0040a1c0
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 0x44936c
sub eax, esi
push eax
lea ecx, [ebp - 0x644]
push ecx
lea ecx, [ebp - 0x630]
call fcn.0040a1c0
mov edx, dword [eax]
mov eax, dword [ebp + 8]
push edx
push eax
lea ecx, [ebp - 0x21c]
push ecx
lea edx, [ebp - 0x424]
push 0x5bad90
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 0x44938b
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.00403340
push 3
lea ecx, [ebp - 0x65c]
push ecx
lea ecx, [ebp - 0x634]
mov byte [ebp - 4], 1
call fcn.0040a1c0
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 0x44943e
cmp dword [edi + 0xc], 0
jl 0x44942e
mov edx, dword [eax]
cmp edx, dword [edi]
jne 0x44942e
push eax
call fcn.00404900
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 0x44941d
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 0x44943e
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [ebp - 0x634]
call fcn.004039c0
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 0x449464
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0x634]
push 0x5ba180
push ecx
call fcn.00556d01
add esp, 8
test eax, eax
je 0x449498
mov edx, dword [ebp - 0x634]
push 0x5ba188
push edx
call fcn.00556d01
add esp, 8
test eax, eax
jne 0x449636
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 0x4494f0
sub eax, esi
push eax
lea ecx, [ebp - 0x654]
push ecx
lea ecx, [ebp - 0x630]
call fcn.0040a1c0
mov edx, dword [eax]
mov eax, dword [ebp + 8]
push edx
push eax
lea ecx, [ebp - 0x21c]
push ecx
lea edx, [ebp - 0x424]
push 0x5be508
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
mov eax, dword [ebp - 0x654]
jmp 0x44952b
sub eax, esi
push eax
lea ecx, [ebp - 0x664]
push ecx
lea ecx, [ebp - 0x630]
call fcn.0040a1c0
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 0x44954a
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 0x4495c6
sub eax, esi
push eax
lea eax, [ebp - 0x648]
push eax
lea ecx, [ebp - 0x630]
call fcn.0040a1c0
mov ecx, dword [eax]
push ecx
lea edx, [ebp - 0x21c]
push edx
lea eax, [ebp - 0x424]
push 0x5be544
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 0x449610
sub eax, esi
push eax
lea ecx, [ebp - 0x650]
push ecx
lea ecx, [ebp - 0x630]
call fcn.0040a1c0
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 0x44961c
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.0041c3c0
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 0x44965c
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.00558a2b
add esp, 8
test eax, eax
js 0x4496c7
cmp eax, dword [ebx - 8]
jg 0x4496c7
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 0x44969e
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 0x4490e0
jmp 0x4490b3
call fcn.00403b90
push 0x80070057
call fcn.004025a0
call fcn.004624e2
mov edi, edi
iretd