Function at 0x4094d0
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43940f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xf8
mov dword [ebp - 0xd8], ecx
mov dword [ebp - 0xb4], 0
cmp dword [ebp + 0x20], 0
jne 0x409511
cmp dword [ebp + 0xc], 0
jne 0x409511
xor al, al
jmp 0x4099ba
lea ecx, [ebp - 0x60]
call fcn.0040e340
mov dword [ebp - 4], 0
mov ax, word [ebp + 8]
push eax
lea ecx, [ebp - 0x60]
push ecx
mov ecx, dword [ebp - 0xd8]
call fcn.004081c0
mov edx, dword [ebp + 0xc]
push edx
lea ecx, [ebp - 0x64]
call fcn.0042cccc
mov byte [ebp - 4], 1
cmp dword [ebp + 0x14], 0
je 0x409555
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0xdc], eax
jmp 0x4095a3
lea ecx, [ebp - 0x90]
push ecx
lea ecx, [ebp - 0x60]
call fcn.0040eed0
mov dword [ebp - 0xe0], eax
mov edx, dword [ebp - 0xb4]
or edx, 1
mov dword [ebp - 0xb4], edx
mov eax, dword [ebp - 0xe0]
mov dword [ebp - 0xb8], eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0xbc]
mov dword [ebp - 0xdc], ecx
mov edx, dword [ebp - 0xb8]
mov eax, dword [edx]
mov dword [ebp - 0xdc], eax
mov ecx, dword [ebp - 0xdc]
push ecx
lea ecx, [ebp - 0x10]
call fcn.0042cccc
mov dword [ebp - 4], 4
mov edx, dword [ebp - 0xb4]
and edx, 1
test edx, edx
je 0x4095d8
and dword [ebp - 0xb4], 0xfffffffe
lea ecx, [ebp - 0x90]
call fcn.0042cca2
push 0x43c334
lea ecx, [ebp - 0x64]
call fcn.0042b4c2
mov eax, dword [ebp + 0x10]
and eax, 0xff
test eax, eax
je 0x409636
mov ecx, dword [ebp - 0x10]
push ecx
lea edx, [ebp - 0x98]
push edx
call fcn.00408f70
add esp, 8
mov dword [ebp - 0xe4], eax
mov eax, dword [ebp - 0xb4]
or al, 2
mov dword [ebp - 0xb4], eax
mov ecx, dword [ebp - 0xe4]
mov dword [ebp - 0xe8], ecx
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0xe8]
mov dword [ebp - 0xec], edx
jmp 0x40967d
mov eax, dword [ebp - 0x10]
push eax
lea ecx, [ebp - 0x9c]
push ecx
call fcn.00409070
add esp, 8
mov dword [ebp - 0xf0], eax
mov edx, dword [ebp - 0xb4]
or edx, 4
mov dword [ebp - 0xb4], edx
mov eax, dword [ebp - 0xf0]
mov dword [ebp - 0xf4], eax
mov dword [ebp - 4], 6
mov ecx, dword [ebp - 0xf4]
mov dword [ebp - 0xec], ecx
mov edx, dword [ebp - 0xec]
mov dword [ebp - 0x94], edx
mov eax, dword [ebp - 0x94]
push eax
push 0x43c334
lea ecx, [ebp - 0xa0]
push ecx
call fcn.0042cf67
mov dword [ebp - 0xf8], eax
mov edx, dword [ebp - 0xf8]
mov dword [ebp - 0xfc], edx
mov dword [ebp - 4], 7
mov eax, dword [ebp - 0xfc]
push eax
lea ecx, [ebp - 0x64]
call fcn.0042d04f
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xa0]
call fcn.0042cca2
mov dword [ebp - 4], 5
mov ecx, dword [ebp - 0xb4]
and ecx, 4
test ecx, ecx
je 0x4096fe
and dword [ebp - 0xb4], 0xfffffffb
lea ecx, [ebp - 0x9c]
call fcn.0042cca2
mov dword [ebp - 4], 4
mov edx, dword [ebp - 0xb4]
and edx, 2
test edx, edx
je 0x409724
and dword [ebp - 0xb4], 0xfffffffd
lea ecx, [ebp - 0x98]
call fcn.0042cca2
mov ax, word [ebp + 8]
push eax
mov ecx, dword [ebp - 0xd8]
call fcn.00409440
and eax, 0xff
test eax, eax
je 0x409790
mov ecx, dword [ebp - 0x64]
push ecx
call fcn.00409160
add esp, 4
mov edx, dword [ebp - 0x3c]
push edx
mov eax, dword [ebp - 0x64]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov byte [ebp - 0xa4], 1
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10]
call fcn.0042cca2
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x64]
call fcn.0042cca2
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x60]
call fcn.0040e3e0
mov al, byte [ebp - 0xa4]
jmp 0x4099ba
mov cx, word [ebp + 8]
push ecx
mov ecx, dword [ebp - 0xd8]
call fcn.004083b0
and eax, 0xff
test eax, eax
jne 0x4097e2
mov byte [ebp - 0xa8], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10]
call fcn.0042cca2
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x64]
call fcn.0042cca2
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x60]
call fcn.0040e3e0
mov al, byte [ebp - 0xa8]
jmp 0x4099ba
mov edx, dword [ebp - 0x64]
push edx
lea eax, [ebp - 0xac]
push eax
call fcn.00408e30
add esp, 8
mov dword [ebp - 0x100], eax
mov ecx, dword [ebp - 0x100]
mov dword [ebp - 0xc0], ecx
mov byte [ebp - 4], 8
mov edx, dword [ebp - 0xc0]
mov eax, dword [edx]
mov dword [ebp - 0xc4], eax
mov ecx, dword [ebp - 0xc4]
push ecx
call fcn.00409160
add esp, 4
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xac]
call fcn.0042cca2
push 0x80
mov edx, dword [ebp - 0x64]
push edx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push 0x1021
mov eax, dword [ebp - 0x64]
push eax
lea ecx, [ebp - 0x84]
call fcn.004314d3
mov byte [ebp - 4], 9
cmp dword [ebp + 0x18], 0
je 0x409874
lea ecx, [ebp - 0x60]
call fcn.0040ee40
mov dword [ebp - 0x104], eax
jmp 0x40987e
mov dword [ebp - 0x104], 0
mov ecx, dword [ebp - 0x104]
mov dword [ebp - 0x74], ecx
mov dword [ebp - 0x88], 0
push 0
mov edx, dword [ebp + 0x20]
push edx
lea ecx, [ebp - 0x70]
call fcn.0040b5e0
mov byte [ebp - 4], 0xa
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0xc8], eax
mov ecx, dword [ebp - 0x6c]
mov dword [ebp - 0xcc], ecx
mov edx, dword [ebp - 0xc8]
push edx
mov eax, dword [ebp - 0xcc]
push eax
mov ecx, dword [ebp - 0xd8]
call fcn.00408700
mov dword [ebp - 0x8c], eax
cmp dword [ebp - 0x8c], 0
je 0x409937
mov ecx, dword [ebp - 0x6c]
mov dword [ebp - 0xd0], ecx
mov edx, dword [ebp - 0x8c]
push edx
mov eax, dword [ebp - 0xd0]
push eax
lea ecx, [ebp - 0x84]
call fcn.00431787
mov ecx, dword [ebp - 0x88]
add ecx, dword [ebp - 0x8c]
mov dword [ebp - 0x88], ecx
cmp dword [ebp + 0x18], 0
je 0x409937
mov edx, dword [ebp + 0x1c]
push edx
mov eax, dword [ebp - 0x88]
push eax
mov ecx, dword [ebp - 0x74]
push ecx
call dword [ebp + 0x18]
add esp, 0xc
and eax, 0xff
test eax, eax
jne 0x409937
jmp 0x409952
mov edx, dword [ebp - 0x68]
mov dword [ebp - 0xd4], edx
mov eax, dword [ebp - 0x8c]
cmp eax, dword [ebp - 0xd4]
je 0x4098a3
lea ecx, [ebp - 0x84]
push ecx
mov ecx, dword [ebp - 0xd8]
call fcn.00408b80
sub eax, 1
neg eax
sbb eax, eax
inc eax
mov byte [ebp - 0xb0], al
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x70]
call fcn.0040b620
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x84]
call fcn.00431573
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10]
call fcn.0042cca2
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x64]
call fcn.0042cca2
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x60]
call fcn.0040e3e0
mov al, byte [ebp - 0xb0]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x1c