Function at 0x402120
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44f51f
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x463184]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov edx, dword [ebp + 8]
xorps xmm0, xmm0
mov esi, dword [ebp + 0x10]
xor eax, eax
mov dword [ebp - 0x64], 0
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov dword [ebp - 4], eax
cmp dword [edi + 0x30], eax
je 0x4023a9
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x60], eax
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x402190
sub ecx, dword [ebp - 0x60]
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.004027f0
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x4021d3
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
cmp word [eax + ecx*2 - 2], 0x5c
je 0x4021d3
push 1
push 0x45a9cc
lea ecx, [ebp - 0x28]
call fcn.00402900
mov eax, dword [edi + 0x10]
test eax, eax
je 0x402206
cmp dword [edi + 0x14], 8
mov ecx, edi
jb 0x4021e4
mov ecx, dword [edi]
push eax
push ecx
lea ecx, [ebp - 0x28]
call fcn.00402900
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
cmovae ecx, dword [ebp - 0x28]
call fcn.0040b0b0
test eax, eax
je 0x4023a9
test esi, esi
jne 0x402221
lea eax, [edi + 0x18]
push eax
lea ecx, [ebp - 0x58]
call fcn.00402720
mov ecx, eax
mov byte [ebp - 4], 1
lea eax, [esi + 1]
jmp 0x402268
mov ecx, esi
mov dword [ebp - 0x30], 0
xorps xmm0, xmm0
mov dword [ebp - 0x2c], 0
movups xmmword [ebp - 0x40], xmm0
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x402240
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x40]
call fcn.00403090
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], 2
mov eax, 2
cmp dword [ecx + 0x14], 8
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x60], eax
mov eax, dword [ecx + 0x10]
jb 0x402279
mov ecx, dword [ecx]
push eax
push ecx
lea ecx, [ebp - 0x28]
call fcn.00402900
mov eax, dword [ebp - 0x60]
test al, 2
je 0x4022cd
mov ecx, dword [ebp - 0x2c]
and eax, 0xfffffffd
mov dword [ebp - 0x60], eax
cmp ecx, 8
jb 0x4022cd
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4022c0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402404
push ecx
push edx
call fcn.0042b073
mov eax, dword [ebp - 0x60]
add esp, 8
test al, 1
je 0x4022d9
lea ecx, [ebp - 0x58]
call fcn.00403120
mov eax, dword [edi + 0x30]
cmp dword [ebp - 0x14], 8
mov esi, dword [edi + 0x38]
mov dword [ebp - 0x64], eax
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push 0x45ac68
push eax
lea eax, [ebp - 0x60]
mov dword [ebp - 0x6c], esi
push eax
mov dword [ebp - 0x60], 0
call fcn.0043b374
mov eax, dword [ebp - 0x60]
add esp, 0xc
test eax, eax
je 0x4023a9
push eax
push esi
push 1
push dword [ebp - 0x64]
call fcn.0043b7d5
push dword [ebp - 0x60]
mov esi, eax
call fcn.0043b4e0
add esp, 0x14
cmp dword [ebp - 0x6c], esi
jne 0x4023a9
mov eax, dword [edi + 0x40]
mov edx, dword [edi + 0x44]
mov ecx, dword [edi + 0x48]
lea edi, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
mov dword [ebp - 0x6c], ecx
cmovae edi, dword [ebp - 0x28]
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x64], edx
cmp eax, 0xffffffff
jne 0x402358
cmp edx, eax
je 0x40238e
push 0
push 0x80
push 3
push 0
push 3
push 0x100
push edi
call dword [0x463024]
mov esi, eax
cmp esi, 0xffffffff
je 0x40238e
lea eax, [ebp - 0x68]
push eax
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_SetFileTime]
push esi
call dword [0x463018]
mov eax, dword [ebp - 0x6c]
cmp eax, 0xffffffff
je 0x4023a5
mov ecx, eax
call fcn.0040b020
push eax
push edi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov al, 1
jmp 0x4023ab
xor al, al
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 0x59], al
cmp ecx, 8
jb 0x4023e7
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4023da
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402409
push ecx
push edx
call fcn.0042b073
mov al, byte [ebp - 0x59]
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.0042b03b
mov esp, ebp
pop ebp
ret 0xc
call fcn.00430964
call fcn.00430964
int3