Function at 0x439389
Capabilities:
Set file attributes

Disassembly:
mov eax, 0x56dc40
call fcn.004f9534
mov eax, 0x40c4
call fcn.004fa3f0
mov eax, dword [0x64d6a8]
push ebx
xor ebx, ebx
push esi
push edi
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x10], eax
push dword [ebp + 8]
lea eax, [ebp - 0x5c]
mov dword [ebp - 4], ebx
mov dword [ebp - 0x2c], fcn.004f1cd0
push eax
mov dword [ebp - 0x28], fcn.004f1cf0
mov dword [ebp - 0x48], fcn.004f1cd0
mov dword [ebp - 0x44], fcn.004f1cf0
call fcn.004f42c0
pop ecx
test eax, eax
pop ecx
jne 0x439654
lea eax, [ebp - 0x64]
push eax
call fcn.004f4520
lea eax, [ebp - 0x40d0]
push ebx
push eax
call fcn.004f4770
lea eax, [ebp - 0x64]
mov dword [ebp - 0x40c0], eax
lea eax, [ebp - 0x40d0]
push eax
call fcn.004f4910
add esp, 0x10
call fcn.004f4640
lea eax, [ebp - 0xb4]
push eax
call fcn.004f1f40
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x40d0]
push eax
lea eax, [ebp - 0xb4]
push eax
call fcn.004f2030
add esp, 0x14
cmp eax, ebx
mov dword [ebp - 0x14], eax
jne 0x439623
or dword [ebp - 0x54], 0xffffffff
cmp dword [ebp - 0x98], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x58], ebx
mov dword [ebp + 8], ebx
jbe 0x439617
mov dword [ebp - 0x24], ebx
mov eax, dword [ebp - 0xa4]
mov ecx, dword [ebp - 0x24]
push ebx
mov dword [ebp - 0x38], ebx
push dword [ebp + 8]
lea esi, [ecx + eax]
lea eax, [ebp - 0xb4]
mov dword [ebp - 0x1c], ebx
push eax
call fcn.004f1ff0
mov edi, eax
add esp, 0xc
cmp edi, dword [ebp - 0x40]
jbe 0x4394b9
push dword [ebp - 0x18]
push ebx
call fcn.004f1cf0
lea eax, [edi + edi]
mov dword [ebp - 0x40], edi
push eax
push ebx
call fcn.004f1cd0
add esp, 0x10
cmp eax, ebx
mov dword [ebp - 0x18], eax
je 0x4395f7
push dword [ebp - 0x18]
lea eax, [ebp - 0xb4]
push dword [ebp + 8]
push eax
call fcn.004f1ff0
add esp, 0xc
cmp byte [esi + 0x19], bl
jne 0x439513
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x40d0]
push dword [ebp + 8]
push eax
lea eax, [ebp - 0xb4]
push eax
call fcn.004f40a0
add esp, 0x28
cmp eax, ebx
mov dword [ebp - 0x14], eax
jne 0x439617
lea eax, [ebp - 0x50]
push eax
call fcn.004f4590
push 1
lea eax, [ebp - 0x50]
push dword [ebp - 0x18]
push eax
call fcn.00439687
mov edi, eax
add esp, 0x10
cmp edi, ebx
jne 0x439600
push dword [ebp - 0x50]
lea ecx, [ebp - 0x34]
call fcn.00554b50
push dword [ebp - 0x34]
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 1
push dword [ebp + 0xc]
push 0x5be5bc
push eax
call fcn.0054d899
lea eax, [ebp - 0x50]
push 0x5cd018
push eax
call fcn.004f45f0
add esp, 0x18
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], bl
call fcn.00554a87
cmp byte [esi + 0x19], bl
push dword [ebp - 0x10]
je 0x439586
call fcn.0041e73c
pop ecx
jmp 0x4395df
lea eax, [ebp - 0x3c]
push eax
call fcn.004f4330
pop ecx
test eax, eax
pop ecx
jne 0x439610
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
mov eax, dword [ebp - 0x20]
add ecx, eax
lea eax, [ebp - 0x3c]
push ecx
push eax
call fcn.004f4400
add esp, 0xc
test eax, eax
jne 0x439610
mov eax, dword [ebp - 0x30]
cmp eax, dword [ebp - 0x1c]
jne 0x439610
lea eax, [ebp - 0x3c]
push eax
call fcn.004f4350
test eax, eax
pop ecx
jne 0x439610
cmp byte [esi + 0x1d], bl
je 0x4395df
push dword [esi + 0x14]
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
inc dword [ebp + 8]
add dword [ebp - 0x24], 0x20
mov eax, dword [ebp + 8]
cmp eax, dword [ebp - 0x98]
jb 0x439469
jmp 0x439617
mov dword [ebp - 0x14], 2
jmp 0x439617
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00554a87
mov eax, edi
jmp 0x439676
mov dword [ebp - 0x14], 0xb
push dword [ebp - 0x20]
lea eax, [ebp - 0x2c]
push eax
call dword [ebp - 0x28]
pop ecx
pop ecx
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0xb4]
push eax
call fcn.004f1f70
push dword [ebp - 0x18]
push ebx
call fcn.004f1cf0
lea eax, [ebp - 0x5c]
push eax
call fcn.004f4350
mov eax, dword [ebp - 0x14]
add esp, 0x14
cmp eax, ebx
je 0x439657
cmp eax, 4
jne 0x439667
or ebx, 0xffffffff
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00554a87
mov eax, ebx
jmp 0x439676
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00554a87
or eax, 0xffffffff
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x10