Function at 0x406bf0
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x433704
mov eax, dword fs:[0]
push eax
sub esp, 0xbc
mov eax, dword [0x442500]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 0x10]
mov edi, dword [ebp + 0xc]
test esi, esi
je 0x406ca3
lea eax, [ebp + 8]
mov ecx, 0x443430
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.00405710
mov eax, dword [ebp - 0x14]
mov edx, dword [0x443430]
cmp byte [eax + 0xd], 0
jne 0x406c50
mov ecx, dword [ebp + 8]
cmp ecx, dword [eax + 0x10]
jae 0x406c52
mov eax, edx
cmp eax, edx
jne 0x406c92
lea eax, [ebp + 8]
mov ecx, 0x443430
push eax
call fcn.00406580
mov ecx, 0x443430
mov dword [eax], 0
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.00405710
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0xd], 0
jne 0x406c8d
mov ecx, dword [ebp + 8]
cmp ecx, dword [eax + 0x10]
jae 0x406c92
mov eax, dword [0x443430]
mov edx, dword [eax + 0x14]
lea ecx, [edx + 1]
mov dword [eax + 0x14], ecx
cmp edx, esi
jae 0x4071b7
push edi
lea ecx, [ebp - 0x90]
call fcn.00401c00
mov eax, dword [ebp + 8]
mov dword [ebp - 0x78], eax
lea eax, [ebp - 0x90]
mov dword [ebp - 4], 0
push eax
mov ecx, 0x4433f0
call fcn.004068d0
mov ecx, dword [ebp - 0x7c]
mov dword [ebp - 4], 0xffffffff
cmp ecx, 0xf
jbe 0x406d0b
mov edx, dword [ebp - 0x90]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x406d01
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4071d7
push ecx
push edx
call fcn.00412e0f
add esp, 8
xorps xmm0, xmm0
mov dword [ebp - 0x4c], 0
movups xmmword [ebp - 0x5c], xmm0
mov dword [ebp - 0x48], 0xf
mov byte [ebp - 0x5c], 0
mov dword [ebp - 4], 1
nop dword [eax + eax]
cmp dword [0x443408], 0
jne 0x406d72
push 0
call fcn.0041ede5
add esp, 4
sub eax, dword [0x443420]
sbb edx, dword [0x443424]
js 0x406d65
jg 0x406d5b
cmp eax, dword [0x44342c]
jbe 0x406d65
mov ecx, 0x4433f0
call fcn.00407fb0
cmp dword [0x443408], 0
je 0x407187
push 0
call fcn.0041ede5
mov dword [0x443420], eax
add esp, 4
mov eax, dword [0x443404]
mov dword [0x443424], edx
mov esi, dword [eax]
lea eax, [ebp - 0x5c]
add esi, 8
cmp eax, esi
je 0x406dae
cmp dword [esi + 0x14], 0xf
mov eax, esi
jbe 0x406da2
mov eax, dword [esi]
push dword [esi + 0x10]
lea ecx, [ebp - 0x5c]
push eax
call fcn.0040f7f0
mov eax, dword [esi + 0x18]
mov dword [ebp - 0x44], eax
mov eax, dword [esi + 0x1c]
cmp eax, 1
jbe 0x406e06
push eax
lea eax, [ebp - 0xa8]
push str.___DUP_x_u_
push eax
call fcn.00405f90
add esp, 0xc
mov edx, eax
cmp dword [edx + 0x14], 0xf
mov byte [ebp - 4], 2
jbe 0x406ddf
mov edx, dword [edx]
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x406de4
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x5c]
call fcn.00402f30
lea ecx, [ebp - 0xa8]
mov byte [ebp - 4], 1
call fcn.004022e0
mov eax, dword [0x443404]
mov edx, dword [eax]
push edx
push 0x443404
mov ecx, dword [edx]
dec dword [0x443408]
mov eax, dword [edx + 4]
mov dword [eax], ecx
mov eax, dword [edx + 4]
mov dword [ecx + 4], eax
call fcn.00405760
mov eax, dword [ebp - 0x44]
lea ecx, [ebp - 0x40]
add esp, 8
mov dword [ebp - 0xc4], eax
xorps xmm0, xmm0
mov dword [ebp - 0x30], 0
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x2c], 0
push 0xa
push 0x435c90
call fcn.00401760
lea eax, [ebp - 0x8c]
mov byte [ebp - 4], 3
push eax
call fcn.00408b70
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 4
push ecx
push eax
lea eax, [ebp - 0x74]
push eax
call fcn.0040bd50
add esp, 0x10
mov ecx, dword [ebp - 0x78]
mov byte [ebp - 4], 6
cmp ecx, 0xf
jbe 0x406ebb
mov edx, dword [ebp - 0x8c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x406eb1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4071d7
push ecx
push edx
call fcn.00412e0f
add esp, 8
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 0xf
mov byte [ebp - 0x8c], 0
mov ecx, dword [ebp - 0x2c]
mov byte [ebp - 4], 7
cmp ecx, 0xf
jbe 0x406f08
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x406efe
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4071d7
push ecx
push edx
call fcn.00412e0f
add esp, 8
lea eax, [ebp - 0x74]
push eax
call fcn.0040a3c0
cmp dword [ebp - 0x48], 0xf
lea eax, [ebp - 0x5c]
cmova eax, dword [ebp - 0x5c]
mov dword [ebp - 0xc8], eax
lea eax, [ebp - 0xa8]
push eax
call fcn.004096c0
add esp, 8
mov edi, eax
cmp dword [edi + 0x14], 0xf
mov byte [ebp - 4], 8
jbe 0x406f3f
mov edi, dword [edi]
lea eax, [ebp - 0xc0]
push eax
call fcn.00408fa0
add esp, 4
mov esi, eax
cmp dword [esi + 0x14], 0xf
mov byte [ebp - 4], 9
jbe 0x406f5c
mov esi, dword [esi]
push 0
push 0
lea eax, [ebp - 0x40]
push 1
push eax
call fcn.00409d40
add esp, 0x10
cmp dword [eax + 0x14], 0xf
mov byte [ebp - 4], 0xa
jbe 0x406f7a
mov eax, dword [eax]
push dword [ebp - 0xc8]
push edi
push esi
push eax
push dword [ebp - 0xc4]
lea eax, [ebp - 0x28]
push str._u:__s__s___s_____s_n
push eax
call fcn.00405f90
add esp, 0x1c
mov ecx, dword [ebp - 0x2c]
mov byte [ebp - 4], 0xc
cmp ecx, 0xf
jbe 0x406fd2
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x406fc8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4071d7
push ecx
push edx
call fcn.00412e0f
add esp, 8
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
mov ecx, dword [ebp - 0xac]
mov byte [ebp - 4], 0xd
cmp ecx, 0xf
jbe 0x407022
mov edx, dword [ebp - 0xc0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x407018
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4071d7
push ecx
push edx
call fcn.00412e0f
add esp, 8
mov dword [ebp - 0xb0], 0
mov dword [ebp - 0xac], 0xf
mov byte [ebp - 0xc0], 0
mov ecx, dword [ebp - 0x94]
mov byte [ebp - 4], 0xe
cmp ecx, 0xf
jbe 0x40707b
mov edx, dword [ebp - 0xa8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x407071
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4071d7
push ecx
push edx
call fcn.00412e0f
add esp, 8
mov esi, dword [ebp - 0x18]
mov dword [ebp - 0x98], 0
mov dword [ebp - 0x94], 0xf
mov byte [ebp - 0xa8], 0
test esi, esi
je 0x4071d2
cmp dword [ebp - 0x14], 0xf
lea eax, [ebp - 0x28]
push 0x80
cmova eax, dword [ebp - 0x28]
cmp dword [ebp - 0x60], 0xf
mov dword [ebp - 0xc4], eax
lea eax, [ebp - 0x74]
cmova eax, dword [ebp - 0x74]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
cmp dword [ebp - 0x60], 0xf
lea eax, [ebp - 0x74]
push 0x435d34
cmova eax, dword [ebp - 0x74]
push eax
call fcn.00408200
mov edi, eax
add esp, 8
test edi, edi
je 0x407100
push edi
push esi
push 1
push dword [ebp - 0xc4]
call fcn.0041eb68
push edi
call fcn.004181d9
add esp, 0x14
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 7
cmp ecx, 0xf
jbe 0x407138
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40712e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4071d7
push ecx
push edx
call fcn.00412e0f
add esp, 8
mov ecx, dword [ebp - 0x60]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov byte [ebp - 4], 1
cmp ecx, 0xf
jbe 0x406d30
mov edx, dword [ebp - 0x74]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x407178
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4071d7
push ecx
push edx
call fcn.00412e0f
add esp, 8
jmp 0x406d30
mov ecx, dword [ebp - 0x48]
cmp ecx, 0xf
jbe 0x4071b7
mov edx, dword [ebp - 0x5c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4071ad
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4071d7
push ecx
push edx
call fcn.00412e0f
add esp, 8
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.00412e1d
mov esp, ebp
pop ebp
ret
call fcn.00402f20
call fcn.00417a0f
int3