Function at 0x411a00
Capabilities:
Delete file
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x4484de
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3c4
push ebx
mov ebx, dword [esp + 0x3d8]
push ebp
mov dword [esp + 0x1c], 1
call fcn.00404100
xor ebp, ebp
cmp ebx, ebp
mov dword [esp + 0x18], eax
jne 0x411a54
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x3c4]
mov dword fs:[0], ecx
add esp, 0x3d0
ret
push esi
push edi
lea ecx, [esp + 0x264]
call fcn.0042ad30
xor eax, eax
mov ecx, 0x41
lea edi, [esp + 0x160]
rep stosd dword es:[edi], eax
mov ecx, dword [ebx + 8]
lea eax, [esp + 0x160]
push eax
push ecx
mov dword [esp + 0x3e4], ebp
call fcn.0040b1b0
add esp, 8
lea ecx, [esp + 0x28]
call fcn.0043be4f
push 0xffffffffffffffff
push ebp
lea ecx, [esp + 0x30]
mov byte [esp + 0x3e4], 1
call fcn.0043bec1
mov esi, dword [ebx + 0x1c]
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenA]
push esi
call edi
test eax, eax
je 0x411add
lea ebx, [ebx]
mov edx, dword [esp + 0x30]
push esi
push edx
lea ecx, [esp + 0x30]
call fcn.0043c149
push esi
call edi
lea esi, [esi + eax + 1]
push esi
call edi
test eax, eax
jne 0x411ac0
call fcn.0043cb83
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x10], eax
mov ecx, dword [ebx + 0x14]
cmp ecx, ebp
mov byte [esp + 0x3dc], 2
jne 0x411b03
xor eax, eax
jmp 0x411b11
mov eax, ecx
lea esi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x411b08
sub eax, esi
push eax
push ecx
lea ecx, [esp + 0x18]
call fcn.00401a70
mov esi, dword [esp + 0x10]
push 0x5c
push esi
call fcn.0042dfa2
add esp, 8
cmp eax, ebp
jne 0x411b34
or ecx, 0xffffffff
jmp 0x411b38
sub eax, esi
mov ecx, eax
mov eax, dword [esi - 0xc]
inc ecx
sub eax, ecx
push eax
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x18]
call fcn.00405c40
mov ecx, dword [esp + 0x30]
push eax
push ecx
lea ecx, [esp + 0x30]
mov byte [esp + 0x3e4], 3
call fcn.0043c0dd
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x3dc], 2
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x411b8a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov edx, dword [ebx + 0x10]
cmp edx, ebp
jne 0x411b95
xor eax, eax
jmp 0x411ba9
mov eax, edx
lea esi, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x411ba0
sub eax, esi
push eax
push edx
lea ecx, [esp + 0x18]
call fcn.00401a70
mov esi, dword [esp + 0x10]
push 0x5c
push esi
call fcn.0042dfa2
add esp, 8
cmp eax, ebp
jne 0x411bcc
or ecx, 0xffffffff
jmp 0x411bd0
sub eax, esi
mov ecx, eax
mov eax, dword [esi - 0xc]
inc ecx
sub eax, ecx
push eax
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x18]
call fcn.00405c40
mov ecx, dword [esp + 0x30]
push eax
push ecx
lea ecx, [esp + 0x30]
mov byte [esp + 0x3e4], 4
call fcn.0043c0dd
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x3dc], 2
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x411c22
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov edx, dword [ebx + 0x18]
cmp edx, ebp
jne 0x411c2d
xor eax, eax
jmp 0x411c3b
mov eax, edx
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x411c32
sub eax, esi
push eax
push edx
lea ecx, [esp + 0x18]
call fcn.00401a70
mov esi, dword [esp + 0x10]
push 0x5c
push esi
call fcn.0042dfa2
add esp, 8
cmp eax, ebp
jne 0x411c5e
or ecx, 0xffffffff
jmp 0x411c62
sub eax, esi
mov ecx, eax
mov eax, dword [esi - 0xc]
inc ecx
sub eax, ecx
push eax
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x18]
call fcn.00405c40
mov ecx, dword [esp + 0x30]
push eax
push ecx
lea ecx, [esp + 0x30]
mov byte [esp + 0x3e4], 5
call fcn.0043c0dd
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x3dc], 2
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x411cb4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov edx, dword [ebx + 0xc]
cmp edx, ebp
jne 0x411cbf
xor eax, eax
jmp 0x411ccd
mov eax, edx
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x411cc4
sub eax, esi
push eax
push edx
lea ecx, [esp + 0x18]
call fcn.00401a70
mov esi, dword [esp + 0x10]
push 0x5c
push esi
call fcn.0042dfa2
add esp, 8
cmp eax, ebp
jne 0x411cf0
or ecx, 0xffffffff
jmp 0x411cf4
sub eax, esi
mov ecx, eax
mov eax, dword [esi - 0xc]
inc ecx
sub eax, ecx
push eax
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x18]
call fcn.00405c40
mov ecx, dword [esp + 0x30]
push eax
push ecx
lea ecx, [esp + 0x30]
mov byte [esp + 0x3e4], 6
call fcn.0043c0dd
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x3dc], 2
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x411d46
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x30]
cmp eax, ebp
mov dword [esp + 0x14], ebp
jle 0x4121c1
mov ebx, dword [sym.imp.USER32.dll_wsprintfA]
lea esp, [esp]
mov ecx, dword [esp + 0x14]
test ecx, ecx
jl 0x41222d
cmp ecx, eax
jge 0x41222d
mov eax, dword [esp + 0x2c]
mov esi, dword [eax + ecx*4]
mov ecx, dword [esi - 0x10]
mov edx, dword [ecx]
sub esi, 0x10
call dword [edx + 0x10]
mov edx, dword [esi + 0xc]
test edx, edx
lea ecx, [esi + 0xc]
jl 0x411da1
cmp eax, dword [esi]
jne 0x411da1
mov eax, esi
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x411dd3
mov ecx, dword [esi + 4]
mov edx, dword [eax]
push 1
push ecx
mov ecx, eax
call dword [edx]
test eax, eax
je 0x412228
mov edx, dword [esi + 4]
mov dword [eax + 4], edx
mov ecx, dword [esi + 4]
inc ecx
mov edx, ecx
shr ecx, 2
add esi, 0x10
lea edi, [eax + 0x10]
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea esi, [eax + 0x10]
mov dword [esp + 0x18], esi
push 0x5c
push esi
mov byte [esp + 0x3e4], 7
call fcn.0042dfa2
add esp, 8
test eax, eax
jne 0x411df6
or edi, 0xffffffff
jmp 0x411dfa
sub eax, esi
mov edi, eax
lea ebp, [esp + 0x160]
lea eax, [esp + 0x160]
inc edi
dec ebp
push eax
mov dword [esp + 0x58], ebp
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov cl, byte [eax + ebp]
mov eax, dword [esi - 0xc]
sub eax, edi
cmp cl, 0x5c
push eax
jne 0x411e61
lea ecx, [esp + 0x5c]
push ecx
lea ecx, [esp + 0x20]
call fcn.00405c40
mov edx, dword [eax]
push edx
lea eax, [esp + 0x164]
push eax
lea ecx, [esp + 0x64]
push 0x44bbd0
push ecx
call ebx
mov eax, dword [esp + 0x68]
add eax, 0xfffffff0
add esp, 0x10
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x411e9d
lea eax, [esp + 0x50]
push eax
lea ecx, [esp + 0x20]
call fcn.00405c40
mov ecx, dword [eax]
push ecx
lea edx, [esp + 0x164]
push edx
lea eax, [esp + 0x64]
push 0x44bbe8
push eax
call ebx
mov eax, dword [esp + 0x5c]
add eax, 0xfffffff0
add esp, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x411ea7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x3e4]
push eax
push esi
call fcn.0040b260
add esp, 8
test eax, eax
jne 0x412186
push 0x20
lea ecx, [esp + 0x60]
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea edx, [esp + 0x5c]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
mov dword [esp + 0x24], eax
jne case.0x411ef5.4
call dword [sym.imp.KERNEL32.dll_GetLastError]
add eax, 0xfffffffe
cmp eax, 0x1e
ja case.0x411ef5.4
movzx eax, byte [eax + 0x41223c]
jmp dword [eax*4 + 0x412234]
mov dword [esp + 0x24], 1
lea ecx, [esp + 0x5c]
push ecx
lea ecx, [esp + 0x268]
call fcn.0042a660
mov eax, dword [esp + 0x20]
cmp eax, 5
je 0x411f2c
cmp eax, 6
je 0x411f2c
cmp eax, 0xa
jne 0x412019
lea edx, [esp + 0x160]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp byte [eax + ebp], 0x5c
mov eax, dword [esp + 0x3e4]
mov eax, dword [eax]
je 0x411f8a
xor ecx, ecx
cmp eax, 0x400
sete cl
lea edx, [esp + 0x3c]
dec ecx
and ecx, eax
mov eax, dword [esi - 0xc]
sub eax, edi
push eax
mov ebp, ecx
push edx
lea ecx, [esp + 0x20]
call fcn.00405c40
mov eax, dword [eax]
push eax
push ebp
lea ecx, [esp + 0x168]
push ecx
lea edx, [esp + 0x68]
push str._s_d_s
push edx
call ebx
mov eax, dword [esp + 0x50]
jmp 0x411fc9
xor ecx, ecx
cmp eax, 0x400
sete cl
lea edx, [esp + 0x48]
dec ecx
and ecx, eax
mov eax, dword [esi - 0xc]
sub eax, edi
push eax
mov ebp, ecx
push edx
lea ecx, [esp + 0x20]
call fcn.00405c40
mov eax, dword [eax]
push eax
push ebp
lea ecx, [esp + 0x168]
push ecx
lea edx, [esp + 0x68]
push 0x44c870
push edx
call ebx
mov eax, dword [esp + 0x5c]
add eax, 0xfffffff0
add esp, 0x14
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x411fe6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
push 0x20
lea eax, [esp + 0x60]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea ecx, [esp + 0x5c]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea edx, [esp + 0x5c]
push edx
lea ecx, [esp + 0x268]
call fcn.0042a660
mov ebp, dword [esp + 0x54]
lea eax, [esp + 0x5c]
push eax
lea ecx, [esp + 0x20]
call fcn.00402470
push 3
lea ecx, [esp + 0x54]
push ecx
lea ecx, [esp + 0x24]
mov byte [esp + 0x3e4], 8
call fcn.00405c40
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x3e0], 9
call fcn.00401e30
mov eax, dword [esp + 0x50]
add eax, 0xfffffff0
mov byte [esp + 0x3dc], 8
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x412077
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x1c]
push 0x44c86c
push eax
call fcn.0042de57
add esp, 8
test eax, eax
je 0x4120a7
mov ecx, dword [esp + 0x1c]
push 0x44c868
push ecx
call fcn.0042de57
add esp, 8
test eax, eax
jne 0x412160
mov eax, dword [esp + 0x20]
cmp eax, 2
je 0x4120b9
cmp eax, 3
jne 0x412153
lea edx, [esp + 0x160]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov cl, byte [eax + ebp]
mov eax, dword [esi - 0xc]
sub eax, edi
cmp cl, 0x5c
push eax
lea ecx, [esp + 0x1c]
je 0x412100
lea eax, [esp + 0x44]
push eax
call fcn.00405c40
mov ecx, dword [eax]
push ecx
lea edx, [esp + 0x164]
push edx
lea eax, [esp + 0x64]
push str._sCOLOR_s
push eax
call ebx
mov eax, dword [esp + 0x50]
jmp 0x412125
lea eax, [esp + 0x48]
push eax
call fcn.00405c40
mov ecx, dword [eax]
push ecx
lea edx, [esp + 0x164]
push edx
lea eax, [esp + 0x64]
push 0x44c850
push eax
call ebx
mov eax, dword [esp + 0x54]
add eax, 0xfffffff0
add esp, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x412142
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea eax, [esp + 0x5c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [esp + 0x5c]
push ecx
call fcn.00411650
add esp, 4
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0x3dc], 7
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x412186
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea eax, [esi - 0x10]
mov byte [esp + 0x3dc], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4121a8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x30]
inc ecx
cmp ecx, eax
mov dword [esp + 0x14], ecx
jl 0x411d60
mov esi, dword [esp + 0x10]
lea eax, [esi - 0x10]
mov byte [esp + 0x3dc], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4121e3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea ecx, [esp + 0x28]
mov byte [esp + 0x3dc], 0
call fcn.0043bea1
lea ecx, [esp + 0x264]
mov dword [esp + 0x3dc], 0xffffffff
call fcn.00429530
mov ecx, dword [esp + 0x3d4]
mov eax, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x3d0
ret
jmp fcn.00401260
jmp fcn.0043b946