Function at 0x440d40
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x490e2a
mov eax, dword fs:[0]
push eax
sub esp, 0x178
mov eax, dword [0x4c2b20]
xor eax, ebp
mov dword [ebp - 0x18], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x154], ecx
mov dword [ebp - 0xbc], 0
cmp dword [ebp + 0x24], 0
jne 0x440d8e
cmp dword [ebp + 0xc], 0
jne 0x440d8e
xor al, al
jmp 0x441326
lea ecx, [ebp - 0x6c]
call fcn.004466f0
mov dword [ebp - 4], 0
movzx eax, word [ebp + 8]
push eax
lea ecx, [ebp - 0x6c]
push ecx
mov ecx, dword [ebp - 0x154]
call fcn.0043f360
mov edx, dword [ebp + 0xc]
push edx
lea ecx, [ebp - 0x14]
call fcn.0041af70
mov byte [ebp - 4], 1
cmp dword [ebp + 0x14], 0
je 0x440dd2
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x158], eax
jmp 0x440e20
lea ecx, [ebp - 0x98]
push ecx
lea ecx, [ebp - 0x6c]
call fcn.00447740
mov dword [ebp - 0x15c], eax
mov edx, dword [ebp - 0x15c]
mov dword [ebp - 0xc8], edx
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0xbc]
or eax, 1
mov dword [ebp - 0xbc], eax
mov ecx, dword [ebp - 0xcc]
mov dword [ebp - 0x158], ecx
mov edx, dword [ebp - 0xc8]
mov eax, dword [edx]
mov dword [ebp - 0x158], eax
mov ecx, dword [ebp - 0x158]
push ecx
lea ecx, [ebp - 0x10]
call fcn.0041af70
mov dword [ebp - 4], 4
mov edx, dword [ebp - 0xbc]
and edx, 1
je 0x440e62
and dword [ebp - 0xbc], 0xfffffffe
mov eax, dword [ebp - 0x98]
sub eax, 0x10
mov dword [ebp - 0xd8], eax
mov ecx, dword [ebp - 0xd8]
call fcn.004199e0
push 0x4a6a80
lea ecx, [ebp - 0x14]
call fcn.00422880
movzx ecx, byte [ebp + 0x10]
test ecx, ecx
je 0x440ec9
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0xec], edx
mov eax, dword [ebp - 0xec]
push eax
lea ecx, [ebp - 0xa0]
push ecx
call fcn.00440570
add esp, 8
mov dword [ebp - 0x160], eax
mov edx, dword [ebp - 0x160]
mov dword [ebp - 0x164], edx
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0xbc]
or eax, 2
mov dword [ebp - 0xbc], eax
mov ecx, dword [ebp - 0x164]
mov dword [ebp - 0x168], ecx
jmp 0x440f1c
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0xf0], edx
mov eax, dword [ebp - 0xf0]
push eax
lea ecx, [ebp - 0xa4]
push ecx
call fcn.00440690
add esp, 8
mov dword [ebp - 0x16c], eax
mov edx, dword [ebp - 0x16c]
mov dword [ebp - 0x170], edx
mov dword [ebp - 4], 6
mov eax, dword [ebp - 0xbc]
or eax, 4
mov dword [ebp - 0xbc], eax
mov ecx, dword [ebp - 0x170]
mov dword [ebp - 0x168], ecx
mov edx, dword [ebp - 0x168]
mov dword [ebp - 0x9c], edx
mov eax, dword [ebp - 0x9c]
push eax
push 0x4a6a80
lea ecx, [ebp - 0xa8]
push ecx
call fcn.0042fbe0
add esp, 0xc
mov dword [ebp - 0x174], eax
mov edx, dword [ebp - 0x174]
mov dword [ebp - 0xfc], edx
mov dword [ebp - 4], 7
mov eax, dword [ebp - 0xfc]
mov ecx, dword [eax]
mov edx, dword [ecx - 0xc]
mov dword [ebp - 0xf4], edx
mov eax, dword [ebp - 0xfc]
mov ecx, dword [eax]
mov dword [ebp - 0xf8], ecx
mov edx, dword [ebp - 0xf4]
push edx
mov eax, dword [ebp - 0xf8]
push eax
lea ecx, [ebp - 0x14]
call fcn.0041a800
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0xa8]
sub ecx, 0x10
mov dword [ebp - 0x100], ecx
mov ecx, dword [ebp - 0x100]
call fcn.004199e0
mov dword [ebp - 4], 5
mov edx, dword [ebp - 0xbc]
and edx, 4
je 0x440fe2
and dword [ebp - 0xbc], 0xfffffffb
mov eax, dword [ebp - 0xa4]
sub eax, 0x10
mov dword [ebp - 0x104], eax
mov ecx, dword [ebp - 0x104]
call fcn.004199e0
mov dword [ebp - 4], 4
mov ecx, dword [ebp - 0xbc]
and ecx, 2
je 0x441015
and dword [ebp - 0xbc], 0xfffffffd
mov edx, dword [ebp - 0xa0]
sub edx, 0x10
mov dword [ebp - 0x108], edx
mov ecx, dword [ebp - 0x108]
call fcn.004199e0
push ecx
mov eax, esp
mov dword [ebp - 0xac], esp
mov dword [ebp - 0x10c], eax
lea ecx, [ebp - 0x14]
push ecx
mov ecx, dword [ebp - 0x10c]
call fcn.0041a310
mov edx, dword [ebp - 0x10c]
mov dword [ebp - 0x178], edx
mov ecx, dword [ebp - 0x154]
call fcn.00440ad0
mov byte [ebp - 0x179], al
movzx eax, byte [ebp - 0x179]
test eax, eax
je 0x4410b3
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.004407b0
add esp, 4
mov edx, dword [ebp - 0x48]
push edx
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov byte [ebp - 0xad], 1
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10]
call fcn.00420d00
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.00420d00
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x6c]
call fcn.004467a0
mov al, byte [ebp - 0xad]
jmp 0x441326
movzx ecx, word [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x154]
call fcn.0043f560
movzx edx, al
test edx, edx
jne 0x441103
mov byte [ebp - 0xae], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10]
call fcn.00420d00
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.00420d00
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x6c]
call fcn.004467a0
mov al, byte [ebp - 0xae]
jmp 0x441326
cmp dword [ebp + 0x20], 0
je 0x441113
mov eax, dword [ebp - 0x14]
push eax
call dword [ebp + 0x20]
add esp, 4
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x120], ecx
mov edx, dword [ebp - 0x120]
push edx
lea eax, [ebp - 0xb4]
push eax
call fcn.004403e0
add esp, 8
mov dword [ebp - 0x180], eax
mov ecx, dword [ebp - 0x180]
mov dword [ebp - 0x124], ecx
mov byte [ebp - 4], 8
mov edx, dword [ebp - 0x124]
mov eax, dword [edx]
mov dword [ebp - 0x128], eax
mov ecx, dword [ebp - 0x128]
push ecx
call fcn.004407b0
add esp, 4
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xb4]
call fcn.00420d00
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x130], edx
push 0x1021
mov eax, dword [ebp - 0x130]
push eax
lea ecx, [ebp - 0x84]
call fcn.004488c6
mov byte [ebp - 4], 9
cmp dword [ebp + 0x18], 0
je 0x4411ae
lea ecx, [ebp - 0x6c]
call fcn.00447690
mov dword [ebp - 0x184], eax
jmp 0x4411b8
mov dword [ebp - 0x184], 0
mov ecx, dword [ebp - 0x184]
mov dword [ebp - 0x74], ecx
mov dword [ebp - 0x70], 0
push 0
mov edx, dword [ebp + 0x24]
push edx
lea ecx, [ebp - 0x90]
call fcn.00444260
mov byte [ebp - 4], 0xa
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x134], eax
mov ecx, dword [ebp - 0x8c]
mov dword [ebp - 0x138], ecx
mov edx, dword [ebp - 0x134]
push edx
mov eax, dword [ebp - 0x138]
push eax
mov ecx, dword [ebp - 0x154]
call fcn.0043f810
mov dword [ebp - 0x94], eax
cmp dword [ebp - 0x94], 0
je 0x441272
mov ecx, dword [ebp - 0x8c]
mov dword [ebp - 0x13c], ecx
mov edx, dword [ebp - 0x94]
push edx
mov eax, dword [ebp - 0x13c]
push eax
lea ecx, [ebp - 0x84]
call fcn.00448004
mov ecx, dword [ebp - 0x70]
add ecx, dword [ebp - 0x94]
mov dword [ebp - 0x70], ecx
cmp dword [ebp + 0x18], 0
je 0x441272
mov edx, dword [ebp + 0x1c]
push edx
mov eax, dword [ebp - 0x94]
push eax
mov ecx, dword [ebp - 0x74]
push ecx
call dword [ebp + 0x18]
add esp, 0xc
movzx edx, al
test edx, edx
jne 0x441272
jmp 0x441290
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x140], eax
mov ecx, dword [ebp - 0x94]
cmp ecx, dword [ebp - 0x140]
je 0x4411dd
lea edx, [ebp - 0x84]
push edx
mov ecx, dword [ebp - 0x154]
call fcn.0043fb90
sub eax, 1
neg eax
sbb eax, eax
add eax, 1
mov byte [ebp - 0xb5], al
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x90]
call fcn.004442a0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x84]
call fcn.004483ba
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10]
call fcn.00420d00
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.00420d00
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x6c]
call fcn.004467a0
mov al, byte [ebp - 0xb5]
jmp 0x441326
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.0046b5b0
mov esp, ebp
pop ebp
ret 0x20