Function at 0x1027914
Capabilities:
Set file attributes

Disassembly:
mov eax, 0x108cb77
call fcn.01026ef8
sub esp, 0x27c
mov eax, dword [0x10a1e18]
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x10]
mov esi, ecx
mov dword [ebp - 0x220], eax
mov dword [ebp - 0x234], edi
mov dword [ebp - 0x22c], ebx
mov dword [ebp - 0x228], ebx
mov dword [ebp - 0x224], ebx
mov al, byte [esi + 0xc0]
cmp al, 1
mov dword [ebp - 4], ebx
je 0x102797c
cmp byte [ebp + 0x14], 1
je 0x1027970
cmp byte [ebp + 0x18], 1
jne 0x102797c
push edi
push 0x10037e8
push ebx
jmp 0x1027bcd
mov eax, dword [ebp + 8]
push edi
push dword [eax*4 + 0x1002f7c]
push 0x10037b0
push ebx
push esi
call fcn.0102945c
add esp, 0x14
cmp edi, ebx
je 0x1027cad
push edi
call dword [sym.imp.msvcrt.dll_wcslen]
test eax, eax
pop ecx
je 0x1027cad
cmp byte [ebp + 0x14], bl
jne 0x10279bc
cmp byte [ebp + 0x18], bl
je 0x1027a5b
push 0x1002adc
push edi
call dword [sym.imp.ntdll.dll_wcsstr]
test eax, eax
pop ecx
pop ecx
je 0x10279d8
push 0x1003738
jmp 0x1027c9e
cmp byte [ebp + 0x14], bl
je 0x1027a22
push 1
lea eax, [ebp - 0x230]
push eax
lea ecx, [esi + 0x24c]
call fcn.01042c1d
mov edi, eax
cmp edi, ebx
jl 0x1027cc5
mov eax, dword [esi + 0x264]
cmp byte [eax + 0x7c], bl
mov eax, 0x1003724
jne 0x1027a10
mov eax, 0x100370c
push eax
lea ecx, [ebp - 0x230]
call fcn.0101a325
mov edi, dword [ebp - 0x234]
cmp byte [ebp + 0x18], bl
je 0x1027a5b
mov ecx, esi
call fcn.010296c3
cmp eax, ebx
jge 0x1027a3d
push 0x10036c8
push eax
jmp 0x1027ca3
lea ecx, [esi + 0x6c]
call fcn.010400e8
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp - 0x230]
call fcn.0101a4e4
mov ecx, esi
call fcn.0102947d
push 0x10036c0
push edi
call dword [sym.imp.ntdll.dll_wcsstr]
test eax, eax
pop ecx
pop ecx
jne 0x1027c99
push 0x1002d00
push edi
call dword [sym.imp.ntdll.dll_wcsstr]
test eax, eax
pop ecx
pop ecx
jne 0x1027c99
cmp byte [ebp + 0x14], bl
jne 0x1027acb
cmp byte [ebp + 0x18], bl
jne 0x1027acb
mov eax, dword [esi + 0x2c]
cmp eax, ebx
mov ecx, 0x1001ea8
mov edx, ecx
je 0x1027aa1
mov edx, eax
mov eax, dword [esi + 0x264]
add eax, 0x3c
mov eax, dword [eax + 4]
cmp eax, ebx
jne 0x1027ab3
mov eax, ecx
push 0x103
lea ecx, [ebp - 0x218]
push ecx
push edx
push eax
push edi
mov ecx, esi
call fcn.0102758e
jmp 0x1027b06
lea eax, [ebp - 0x230]
push eax
call fcn.010218ef
mov eax, dword [ebp - 0x22c]
cmp eax, ebx
jne 0x1027ae6
mov eax, 0x1001ea8
push edi
push eax
push 0x10036b4
lea eax, [ebp - 0x218]
push 0x103
push eax
call dword [sym.imp.ntdll.dll__snwprintf]
add esp, 0x14
mov word [ebp - 0x12], bx
cmp word [ebp - 0x218], bx
lea eax, [ebp - 0x218]
je 0x1027b27
cmp word [eax], 0x2f
jne 0x1027b20
mov word [eax], 0x5c
inc eax
inc eax
cmp word [eax], bx
jne 0x1027b15
push 0x80
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
cmp dword [ebp + 8], ebx
jne 0x1027c0c
mov eax, dword [ebp - 0x220]
cmp eax, ebx
je 0x1027c02
cmp word [eax], bx
je 0x1027c02
push 0x1400000
push 0x1003690
call fcn.01021fba
mov edi, eax
cmp edi, ebx
jl 0x1027cc5
lea eax, [ebp - 0x219]
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x244]
call fcn.0101a57c
push 1
lea eax, [ebp - 0x244]
push eax
mov byte [ebp - 4], 1
call fcn.01021d2b
mov edi, eax
cmp edi, ebx
push 1
lea ecx, [ebp - 0x244]
setl byte [ebp - 0x219]
mov byte [ebp - 4], bl
call fcn.0101930d
cmp byte [ebp - 0x219], bl
lea eax, [ebp - 0x218]
je 0x1027bdd
push eax
push 0x1003650
push edi
push esi
call fcn.0102945c
add esp, 0x10
mov edi, eax
jmp 0x1027cc1
push dword [ebp - 0x220]
mov ecx, dword [esi + 0x264]
push eax
lea eax, [esi + 0x38]
push eax
call fcn.01043b63
mov edi, eax
cmp edi, ebx
jl 0x1027cc5
jmp 0x1027c95
push 0x1003608
jmp 0x1027c9e
push ebx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x288]
call fcn.0101f003
lea ecx, [ebp - 0x288]
mov byte [ebp - 4], 2
call fcn.0101ec97
test al, al
je 0x1027c4b
cmp byte [ebp + 0x14], bl
jne 0x1027c3c
cmp byte [ebp + 0x18], bl
je 0x1027c4b
lea eax, [ebp - 0x218]
push eax
push 0x1003560
push ebx
jmp 0x1027c6c
push 1
push 1
lea ecx, [ebp - 0x288]
call fcn.0101f41a
test eax, eax
jge 0x1027c87
lea eax, [ebp - 0x218]
push eax
push 0x1003510
push 0xfffffffffffffffe
push esi
call fcn.0102945c
add esp, 0x10
lea ecx, [ebp - 0x288]
mov edi, eax
mov byte [ebp - 4], bl
call fcn.0101eddc
jmp 0x1027cc1
lea ecx, [ebp - 0x288]
mov byte [ebp - 4], bl
call fcn.0101eddc
xor edi, edi
jmp 0x1027cd4
push 0x10034a8
push 0x80070057
push esi
call fcn.0102945c
mov edi, eax
jmp 0x1027cbe
push 0x10032ac
mov edi, 0x80070057
push edi
push esi
call fcn.0102945c
add esp, 0xc
cmp edi, ebx
jge 0x1027cd4
push 0x1003460
push edi
push esi
call fcn.0102945c
add esp, 0xc
push 1
lea ecx, [ebp - 0x230]
call fcn.0101930d
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop ebx
call fcn.0101cf4f
leave
ret 0x14