Function at 0x40e4c6
Capabilities:
Set file attributes

Disassembly:
push pe_nt_image_headers32
mov eax, 0x469792
call fcn.004640e0
push 0x401c
call fcn.0044aa50
mov esi, eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x30], fcn.00441eb3
mov dword [ebp - 0x2c], 0x441ec8
mov dword [ebp - 0x70], fcn.00441eb3
mov dword [ebp - 0x6c], 0x441ec8
xor ebx, ebx
pop ecx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x44], ebx
mov dword [esi], 0x441f2b
mov dword [esi + 4], 0x441f7a
mov dword [esi + 8], 0x441f88
mov dword [esi + 0xc], 0x441fd4
mov dword [esi + 0x10], eax
mov dword [esi + 0x18], ebx
mov dword [esi + 0x14], ebx
call fcn.0044200a
lea eax, [ebp - 0xf4]
call fcn.00442112
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x30]
push eax
mov edx, esi
lea ecx, [ebp - 0xf4]
call fcn.00443ece
mov edi, eax
pop ecx
pop ecx
mov dword [ebp + 8], edi
cmp edi, ebx
je 0x40e56e
lea eax, [ebp - 0x30]
lea ecx, [ebp - 0xf4]
call fcn.0044214d
xor edx, edx
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x50], ebx
cmp dword [ebp - 0xb4], ebx
jbe 0x40e5b0
mov ecx, dword [ebp - 0xb0]
mov eax, edx
shl eax, 3
mov edi, dword [eax + ecx + 8]
sub edi, dword [eax + ecx]
mov ebx, dword [eax + ecx + 0xc]
sbb ebx, dword [eax + ecx + 4]
add dword [ebp - 0x3c], edi
adc dword [ebp - 0x38], ebx
inc edx
cmp edx, dword [ebp - 0xb4]
jb 0x40e58d
xor edi, edi
cmp dword [ebp + 8], edi
jne 0x40e7f4
or dword [ebp - 0x68], 0xffffffff
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x74], edi
mov dword [ebp + 8], edi
cmp dword [ebp - 0xb4], edi
jbe 0x40e7e4
mov eax, dword [ebp - 0x94]
mov ebx, dword [ebp - 0x80]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x9c]
sub eax, ebx
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x5c], eax
mov ecx, dword [ebp + 8]
and dword [ebp - 0x58], 0
and dword [ebp - 0x34], 0
mov edx, dword [ebp - 0xac]
mov edi, dword [ebx + 4]
and ecx, 7
mov eax, 0x80
sar eax, cl
mov ecx, dword [ebp + 8]
shr ecx, 3
push 0
test byte [ecx + edx], al
mov dword [ebp - 0x60], eax
pop eax
setne al
mov dword [ebp - 0x64], ecx
mov dword [ebp - 0x48], eax
mov eax, dword [ebx]
sub edi, eax
cmp edi, dword [ebp - 0x44]
jbe 0x40e651
push dword [ebp - 0x1c]
call fcn.00447c69
pop ecx
lea eax, [edi + edi]
push eax
push 0
mov dword [ebp - 0x44], edi
call fcn.00441eb3
pop ecx
pop ecx
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x40e7bc
push dword [ebp - 0x1c]
mov ecx, dword [ebp + 8]
lea edx, [ebp - 0xf4]
call fcn.00444332
cmp dword [ebp - 0x48], 0
pop ecx
jne 0x40e6a4
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x68]
push eax
push dword [ebp + 8]
lea ebx, [ebp - 0x28]
push esi
lea eax, [ebp - 0xf4]
call fcn.004441b9
add esp, 0x20
mov dword [ebp - 0x24], eax
test eax, eax
jne 0x40e7e4
mov ebx, dword [ebp - 0x40]
push dword [ebp - 0x1c]
lea eax, [ebp - 0x14]
push eax
call fcn.004021f9
mov edi, dword [ebp + 0x10]
and dword [ebp - 4], 0
lea eax, [ebp - 0x14]
call fcn.00401470
cmp dword [ebp - 0x48], 0
je 0x40e6e6
push dword [ebp - 0x14]
mov ecx, edi
push dword [ebp + 0xc]
call fcn.0040e260
test eax, eax
jne 0x40e76c
mov dword [ebp - 0x18], 1
jmp 0x40e7d5
push edi
mov edi, dword [ebp + 0xc]
push dword [ebp - 0x14]
mov ecx, edi
call fcn.0040e2fd
test eax, eax
je 0x40e7c5
mov ecx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x58]
add eax, ecx
mov ecx, dword [edi + 0x28]
cmp dword [ecx - 0xc], 0
je 0x40e720
push dword [ebp - 0x34]
mov edx, dword [edi]
push eax
mov ecx, edi
call dword [edx + 4]
test eax, eax
je 0x40e7ce
mov eax, dword [ebp - 0x94]
mov ecx, dword [edi + 0x28]
neg eax
sbb eax, eax
and eax, dword [ebp - 0x20]
cmp dword [ecx - 0xc], 0
je 0x40e73e
push eax
mov eax, edi
call fcn.004386a4
mov eax, dword [ebp - 0xa0]
test eax, eax
je 0x40e76c
mov cl, byte [ebp - 0x60]
mov edx, dword [ebp - 0x64]
test byte [edx + eax], cl
je 0x40e76c
mov eax, dword [ebp - 0x5c]
mov ecx, dword [eax + ebx]
mov eax, edi
mov eax, dword [eax + 0x28]
cmp dword [eax - 0xc], 0
je 0x40e76c
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov eax, dword [ebp - 0x54]
add eax, dword [ebp - 0x34]
push dword [ebp - 0x3c]
adc dword [ebp - 0x50], 0
push eax
push dword [0x4897a0]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp + 0xc]
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_PostMessageW]
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.004017c3
inc dword [ebp + 8]
mov eax, dword [ebp + 8]
add dword [ebp - 0x20], 8
add ebx, 4
mov dword [ebp - 0x40], ebx
cmp eax, dword [ebp - 0xb4]
jb 0x40e5ee
jmp 0x40e7e4
mov dword [ebp - 0x24], 2
jmp 0x40e7e4
mov dword [ebp - 0x18], 2
jmp 0x40e7d5
mov dword [ebp - 0x18], 3
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.004017c3
push dword [ebp - 0x28]
lea eax, [ebp - 0x30]
push eax
call dword [ebp - 0x2c]
pop ecx
pop ecx
xor edi, edi
jmp 0x40e7fb
mov dword [ebp - 0x18], 4
lea eax, [ebp - 0x30]
lea ecx, [ebp - 0xf4]
call fcn.0044214d
push dword [ebp - 0x1c]
call fcn.00447c69
pop ecx
push esi
call fcn.00447973
pop ecx
mov ecx, dword [ebp - 0x24]
mov eax, ecx
sub eax, edi
je 0x40e830
dec eax
dec eax
je 0x40e827
dec eax
add ecx, 0x100
mov dword [ebp - 0x18], ecx
mov eax, dword [ebp - 0x18]
call fcn.0046417f
ret