Function at 0x4020d0
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45004f
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x46718c]
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, ecx
mov edx, dword [ebp + 8]
xorps xmm0, xmm0
mov edi, dword [ebp + 0x10]
xor eax, eax
mov dword [ebp - 0x68], 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 [esi + 0x30], eax
je 0x4022db
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 0x402140
sub ecx, dword [ebp - 0x60]
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.004027d0
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x402183
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
cmp word [eax + ecx*2 - 2], 0x5c
je 0x402183
push 1
push 0x45f40c
lea ecx, [ebp - 0x28]
call fcn.004028e0
mov eax, dword [esi + 0x10]
test eax, eax
je 0x4021b6
cmp dword [esi + 0x14], 8
mov ecx, esi
jb 0x402194
mov ecx, dword [esi]
push eax
push ecx
lea ecx, [ebp - 0x28]
call fcn.004028e0
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
cmovae ecx, dword [ebp - 0x28]
call fcn.0040ae00
test eax, eax
je 0x4022db
test edi, edi
jne 0x4021d1
lea eax, [esi + 0x18]
push eax
lea ecx, [ebp - 0x58]
call fcn.004026f0
mov ecx, eax
mov byte [ebp - 4], 1
lea eax, [edi + 1]
jmp 0x402218
mov ecx, edi
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 0x4021f0
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [ebp - 0x40]
call fcn.00403060
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], 2
mov eax, 2
cmp dword [ecx + 0x14], 8
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x60], eax
mov eax, dword [ecx + 0x10]
jb 0x402229
mov ecx, dword [ecx]
push eax
push ecx
lea ecx, [ebp - 0x28]
call fcn.004028e0
mov eax, dword [ebp - 0x60]
test al, 2
je 0x40227d
mov ecx, dword [ebp - 0x2c]
and eax, 0xfffffffd
mov dword [ebp - 0x60], eax
cmp ecx, 8
jb 0x40227d
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x402270
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4023c9
push ecx
push edx
call fcn.0042acd3
mov eax, dword [ebp - 0x60]
add esp, 8
test al, 1
je 0x402289
lea ecx, [ebp - 0x58]
call fcn.00403110
mov eax, dword [esi + 0x30]
cmp dword [ebp - 0x14], 8
mov edi, dword [esi + 0x38]
mov dword [ebp - 0x68], eax
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push 0x45f6a8
push eax
lea eax, [ebp - 0x60]
mov dword [ebp - 0x60], 0
push eax
call fcn.0043b114
mov eax, dword [ebp - 0x60]
add esp, 0xc
test eax, eax
je 0x4022db
push eax
push edi
push 1
push dword [ebp - 0x68]
call fcn.0043b575
add esp, 0x10
push dword [ebp - 0x60]
cmp edi, eax
je 0x40231d
call fcn.0043b280
add esp, 4
xor al, al
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 0x59], al
cmp ecx, 8
jb 0x4023ac
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40239f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4023ce
jmp 0x40239f
call fcn.0043b280
mov eax, dword [esi + 0x40]
lea edi, [ebp - 0x28]
mov edx, dword [esi + 0x44]
add esp, 4
cmp dword [ebp - 0x14], 8
mov ecx, dword [esi + 0x48]
cmovae edi, dword [ebp - 0x28]
mov dword [ebp - 0x68], ecx
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x60], edx
cmp eax, 0xffffffff
jne 0x40234b
cmp edx, eax
je 0x402381
push 0
push 0x80
push 3
push 0
push 3
push 0x100
push edi
call dword [0x467028]
mov esi, eax
cmp esi, 0xffffffff
je 0x402381
lea eax, [ebp - 0x64]
push eax
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_SetFileTime]
push esi
call dword [0x467018]
mov eax, dword [ebp - 0x68]
cmp eax, 0xffffffff
je 0x402398
mov ecx, eax
call fcn.0040ad70
push eax
push edi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov al, 1
jmp 0x4022dd
push ecx
push edx
call fcn.0042acd3
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.0042ac9b
mov esp, ebp
pop ebp
ret 0xc
call fcn.00430704
call fcn.00430704
int3