Function at 0x40c9d0
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x449fb3
mov eax, dword fs:[0]
push eax
mov eax, 0x415c
call fcn.00445630
mov eax, dword [0x45a770]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x4110], edx
mov eax, dword [ebp + 8]
push 0
push 0x80
push 3
push 0
push 1
push closesocket
push ecx
mov dword [ebp - 0x40ec], eax
mov dword [ebp - 0x40d0], 0
mov dword [ebp - 0x4100], 0
mov dword [ebp - 0xa4], 0x406880
mov dword [ebp - 0xa0], 0x4068a0
mov dword [ebp - 0xac], 0x406880
mov dword [ebp - 0xa8], 0x4068a0
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x94], eax
cmp eax, 0xffffffff
jne 0x40ca80
call edi
test eax, eax
jne 0x40d2ac
lea eax, [ebp - 0x9c]
mov dword [ebp - 0x9c], 0x406ea0
mov dword [ebp - 0x98], 0x406ec0
mov dword [ebp - 0x40cc], 0x409d00
mov dword [ebp - 0x40c8], 0x409d60
mov dword [ebp - 0x40c4], 0x409d70
mov dword [ebp - 0x40c0], 0x409dc0
mov dword [ebp - 0x40bc], eax
mov dword [ebp - 0x40b4], 0
mov dword [ebp - 0x40b8], 0
call fcn.004069b0
lea ecx, [ebp - 0x4164]
call fcn.00407740
lea eax, [ebp - 0xac]
push eax
lea eax, [ebp - 0xa4]
push eax
lea edx, [ebp - 0x40cc]
call fcn.00409660
mov esi, eax
add esp, 8
mov dword [ebp - 0x40d4], esi
test esi, esi
je 0x40cb2d
lea edx, [ebp - 0xa4]
lea ecx, [ebp - 0x4164]
call fcn.004077b0
test esi, esi
jne 0x40d1ce
xor edi, edi
mov dword [ebp - 0x40f8], 0
mov dword [ebp - 0x40f4], 0
mov ecx, 0x451244
mov dword [ebp - 0x40d8], edi
mov eax, str.xlte
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x40cb73
test dl, dl
je 0x40cb6f
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x40cb73
add eax, 2
add ecx, 2
test dl, dl
jne 0x40cb53
xor eax, eax
jmp 0x40cb78
sbb eax, eax
or eax, 1
test eax, eax
jne 0x40cc60
mov dword [ebp - 0x40f8], 1
xor edx, edx
mov dword [ebp - 0x410c], 0xffffffff
mov dword [ebp - 0x40e4], 0
mov dword [ebp - 0x4108], 0
mov dword [ebp - 0x40e0], edx
cmp dword [ebp - 0x4148], edx
jbe 0x40d1b2
xor esi, esi
mov dword [ebp - 0x40f0], esi
jmp 0x40cbd0
cmp dword [ebp - 0x40f8], 0
mov eax, dword [ebp - 0x4154]
mov dword [ebp - 0x4104], 0
mov dword [ebp - 0x40e8], 0
lea ecx, [esi + eax]
mov dword [ebp - 0x40dc], ecx
jne 0x40cc0b
cmp byte [esi + eax + 0x19], 0
je 0x40cc0b
test edi, edi
je 0x40d119
mov eax, dword [ebp - 0x4124]
mov esi, dword [eax + edx*4 + 4]
lea edi, [eax + edx*4]
sub esi, dword [edi]
cmp esi, dword [ebp - 0x4100]
jbe 0x40cd38
push dword [ebp - 0x40d0]
call fcn.00431a84
add esp, 4
mov dword [ebp - 0x4100], esi
add esi, esi
je 0x40d142
push esi
call fcn.004325fd
mov esi, eax
add esp, 4
mov dword [ebp - 0x40d0], esi
test esi, esi
je 0x40d14c
jmp 0x40cd3e
mov ecx, 0x451248
mov eax, str.xlte
lea ebx, [ebx]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x40cc90
test dl, dl
je 0x40cc8c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x40cc90
add eax, 2
add ecx, 2
test dl, dl
jne 0x40cc70
xor eax, eax
jmp 0x40cc95
sbb eax, eax
or eax, 1
test eax, eax
jne 0x40cca8
mov dword [ebp - 0x40f4], 1
jmp 0x40cb8a
mov ecx, 0x45124c
mov eax, str.xlte
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x40ccd2
test dl, dl
je 0x40ccce
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x40ccd2
add eax, 2
add ecx, 2
test dl, dl
jne 0x40ccb2
xor eax, eax
jmp 0x40ccd7
sbb eax, eax
or eax, 1
test eax, eax
je 0x40cb8a
mov ecx, str.xlte
mov eax, ecx
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x40cd06
test dl, dl
je 0x40cd02
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x40cd06
add eax, 2
add ecx, 2
test dl, dl
jne 0x40cce6
xor eax, eax
jmp 0x40cd0b
sbb eax, eax
or eax, 1
test eax, eax
jne 0x40cd1f
mov edi, 1
mov dword [ebp - 0x40d8], edi
jmp 0x40cb8a
push 0x451250
push str._nERROR:__s_n
call fcn.00432e02
mov esi, 0xb
jmp 0x40d1c5
mov esi, dword [ebp - 0x40d0]
mov edx, dword [edi + 4]
mov ecx, dword [edi]
sub edx, ecx
test esi, esi
je 0x40cd74
mov eax, dword [ebp - 0x4120]
lea esi, [eax + ecx*2]
test edx, edx
je 0x40cd6e
mov ecx, dword [ebp - 0x40d0]
sub esi, ecx
mov edi, edi
mov ax, word [esi + ecx]
lea ecx, [ecx + 2]
mov word [ecx - 2], ax
dec edx
jne 0x40cd60
mov esi, dword [ebp - 0x40d0]
cmp dword [ebp - 0x40f8], 0
je 0x40ce31
mov esi, dword [ebp - 0x40dc]
cmp byte [esi + 0x1d], 0
je 0x40cd92
mov ecx, dword [esi + 0x14]
jmp 0x40cd94
xor ecx, ecx
movzx edx, byte [esi + 0x19]
lea eax, [ebp - 0x1c]
push eax
call fcn.00407330
add esp, 4
lea ecx, [ebp - 0x5c]
push dword [esi + 0xc]
push dword [esi + 8]
call fcn.00407030
add esp, 8
cmp byte [esi + 0x1c], 0
je 0x40cdc7
lea edx, [ebp - 0x3c]
mov ecx, esi
call fcn.00407110
jmp 0x40cddb
movdqa xmm0, xmmword [0x457930]
movdqu xmmword [ebp - 0x3c], xmm0
mov dword [ebp - 0x2c], 0x202020
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x3c]
push eax
push str._s__s__10s
call fcn.00432e02
mov ecx, dword [ebp - 0x40d0]
add esp, 0x10
call fcn.00406fd0
mov dword [ebp - 0x40d4], eax
test eax, eax
jne 0x40d1ac
cmp byte [esi + 0x19], al
je 0x40ce1f
push 0x451274
call fcn.00432e02
add esp, 4
push 0x451278
call fcn.00432e02
add esp, 4
jmp 0x40d113
call fcn.00432d11
add eax, 0x20
mov ecx, str.Extracting
cmp dword [ebp - 0x40f4], 0
push eax
mov eax, str.Testing
cmove eax, ecx
push eax
call fcn.00432b6d
xor eax, eax
mov dword [ebp - 0x60], 7
add esp, 8
mov dword [ebp - 0x64], 0
mov word [ebp - 0x74], ax
mov ecx, esi
mov dword [ebp - 4], eax
call fcn.00406fd0
mov edi, dword [ebp - 0x40dc]
mov dword [ebp - 0x40d4], eax
movzx eax, byte [edi + 0x19]
mov dword [ebp - 0x78], eax
cmp word [esi], 0
jne 0x40ce92
xor ecx, ecx
jmp 0x40cea6
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40ce97
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x74]
call fcn.00403870
mov esi, dword [ebp - 0x40ec]
lea eax, [ebp - 0x78]
push eax
mov esi, dword [esi]
push dword [esi + 4]
push esi
call fcn.0040d370
mov edx, eax
mov ecx, 0x71c71c6
mov eax, dword [ebp - 0x40ec]
mov eax, dword [eax + 4]
sub ecx, eax
cmp ecx, 1
jb 0x40d1a2
lea ecx, [eax + 1]
mov eax, dword [ebp - 0x40ec]
mov dword [eax + 4], ecx
mov dword [esi + 4], edx
mov eax, dword [edx + 4]
mov esi, dword [ebp - 0x40d4]
mov dword [eax], edx
test esi, esi
jne 0x40d174
cmp byte [edi + 0x19], 0
je 0x40cf17
push 0x451274
call fcn.00432e02
add esp, 4
jmp 0x40cf72
lea eax, [ebp - 0xac]
push eax
lea eax, [ebp - 0xa4]
push eax
lea eax, [ebp - 0x40e8]
push eax
lea eax, [ebp - 0x4104]
push eax
lea eax, [ebp - 0x4108]
push eax
lea eax, [ebp - 0x40e4]
push eax
lea eax, [ebp - 0x410c]
push eax
push dword [ebp - 0x40e0]
lea edx, [ebp - 0x40cc]
lea ecx, [ebp - 0x4164]
call fcn.00409a00
mov esi, eax
add esp, 0x20
mov dword [ebp - 0x40d4], esi
test esi, esi
jne 0x40d163
cmp dword [ebp - 0x40f4], 0
jne 0x40d0f7
mov edx, dword [ebp - 0x40d0]
xor ecx, ecx
mov esi, edx
cmp word [edx], cx
je 0x40cfbd
mov eax, edx
cmp word [eax], 0x2f
jne 0x40cfb2
cmp dword [ebp - 0x40d8], 0
je 0x40cfaf
mov edx, 0x5c
mov word [eax], dx
mov edx, dword [ebp - 0x40d0]
jmp 0x40cfb2
lea esi, [eax + 2]
inc ecx
cmp word [edx + ecx*2], 0
lea eax, [edx + ecx*2]
jne 0x40cf90
push dword [ebp - 0x4110]
lea ecx, [ebp - 0x90]
call fcn.00403970
mov byte [ebp - 4], 1
cmp word [esi], 0
jne 0x40cfdc
xor ecx, ecx
jmp 0x40cff0
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40cfe1
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x90]
call fcn.004025a0
cmp byte [edi + 0x19], 0
je 0x40d05c
push 0x451278
call fcn.00432e02
add esp, 4
cmp dword [ebp - 0x7c], 8
jb 0x40d024
push dword [ebp - 0x90]
call fcn.00430ba0
add esp, 4
xor eax, eax
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x60], 8
mov dword [ebp - 0x7c], 7
mov dword [ebp - 0x80], 0
mov word [ebp - 0x90], ax
jb 0x40d113
push dword [ebp - 0x74]
call fcn.00430ba0
add esp, 4
jmp 0x40d113
cmp dword [ebp - 0x7c], 8
lea edx, [ebp - 0x90]
push ecx
cmovae edx, dword [ebp - 0x90]
lea ecx, [ebp - 0x40fc]
call fcn.00406b50
add esp, 4
test eax, eax
jne 0x40d153
mov ecx, dword [ebp - 0x40e4]
mov edx, dword [ebp - 0x4104]
mov eax, dword [ebp - 0x40e8]
mov dword [ebp - 0x40dc], eax
lea eax, [ebp - 0x40dc]
push eax
lea edx, [edx + ecx]
lea ecx, [ebp - 0x40fc]
call fcn.00406d50
add esp, 4
test eax, eax
jne 0x40d153
mov eax, dword [ebp - 0x40e8]
cmp dword [ebp - 0x40dc], eax
jne 0x40d153
lea ecx, [ebp - 0x40fc]
call fcn.00406c80
test eax, eax
jne 0x40d153
cmp byte [edi + 0x1d], al
je 0x40d0ec
push dword [edi + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea ecx, [ebp - 0x90]
call fcn.004033c0
push 0x451278
call fcn.00432e02
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x78]
call fcn.00402c10
mov edi, dword [ebp - 0x40d8]
mov eax, dword [ebp - 0x40e0]
add dword [ebp - 0x40f0], 0x20
inc eax
mov dword [ebp - 0x40e0], eax
cmp eax, dword [ebp - 0x4148]
jae 0x40d1ac
mov esi, dword [ebp - 0x40f0]
mov edx, eax
jmp 0x40cbd0
mov dword [ebp - 0x40d0], 0
mov esi, 2
jmp 0x40d1b2
lea ecx, [ebp - 0x90]
mov esi, 0xb
call fcn.004033c0
lea ecx, [ebp - 0x78]
mov dword [ebp - 4], 0xffffffff
call fcn.00402c10
jmp 0x40d1b2
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x60], 8
jb 0x40d18c
push dword [ebp - 0x74]
call fcn.00430ba0
add esp, 4
xor eax, eax
mov dword [ebp - 0x60], 7
mov dword [ebp - 0x64], 0
mov word [ebp - 0x74], ax
jmp 0x40d1b2
push str.list_T__too_long
call fcn.00430a0a
mov esi, dword [ebp - 0x40d4]
push dword [ebp - 0x40e4]
lea eax, [ebp - 0xa4]
push eax
call dword [ebp - 0xa0]
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
add esp, 8
push dword [ebp - 0x4134]
lea eax, [ebp - 0xa4]
push eax
call dword [ebp - 0xa0]
push dword [ebp - 0x4130]
lea eax, [ebp - 0xa4]
push eax
call dword [ebp - 0xa0]
push dword [ebp - 0x412c]
lea eax, [ebp - 0xa4]
push eax
call dword [ebp - 0xa0]
push dword [ebp - 0x4128]
lea eax, [ebp - 0xa4]
push eax
call dword [ebp - 0xa0]
push dword [ebp - 0x4124]
lea eax, [ebp - 0xa4]
push eax
call dword [ebp - 0xa0]
push dword [ebp - 0x4120]
lea eax, [ebp - 0xa4]
push eax
call dword [ebp - 0xa0]
lea edx, [ebp - 0xa4]
mov dword [ebp - 0x4120], 0
lea ecx, [ebp - 0x4164]
mov dword [ebp - 0x411c], 0
call fcn.00407690
push dword [ebp - 0x40d0]
call fcn.00431a84
mov eax, dword [ebp - 0x94]
add esp, 0x34
cmp eax, 0xffffffff
je 0x40d297
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x40d28d
call edi
jmp 0x40d297
mov dword [ebp - 0x94], 0xffffffff
test esi, esi
jne 0x40d2ac
push str._nEverything_is_Ok_n
call fcn.00432e02
add esp, 4
xor eax, eax
jmp 0x40d2b1
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00430ba5
mov esp, ebp
pop ebp
ret