Function at 0x103b6da
Capabilities:
Set file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x22c
mov eax, dword [0x1099a38]
or dword [ebp - 0x210], 0xffffffff
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x228], eax
mov eax, dword [ebp + 0xc]
push ebx
xor ebx, ebx
cmp dword [0x109a094], ebx
mov dword [ebp - 0x22c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x224], eax
mov dword [ebp - 0x220], ebx
mov dword [ebp - 0x21c], ebx
je 0x103b740
push 0x100f048
call fcn.01071ac0
pop ecx
mov dword [ebp - 0x21c], 1
jmp 0x103b911
push edi
push 0x10
call fcn.01035829
mov eax, dword [0x109a498]
mov ecx, dword [eax + 0x18]
mov dword [ebp - 0x218], ecx
mov dword [ebp - 0x214], eax
mov edi, 0x109a4a0
push esi
push dword [ebp - 0x214]
call fcn.01035651
cmp eax, ebx
mov dword [ebp - 0x214], eax
jne 0x103b7ac
inc dword [ebp - 0x218]
cmp dword [ebp - 0x218], 0xff
ja 0x103b79e
push dword [ebp - 0x218]
call fcn.0103ab15
cmp eax, ebx
mov dword [ebp - 0x214], eax
je 0x103b777
mov eax, dword [ebp - 0x214]
cmp eax, ebx
je 0x103b924
push 0x104
lea ecx, [ebp - 0x108]
push ecx
push dword [eax + 0x14]
push 0x10c6040
call fcn.01070fc9
push ebx
lea eax, [ebp - 0x108]
push eax
call fcn.01073f21
test eax, eax
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
je 0x103b930
cmp dword [ebp - 0x210], 0xffffffff
je 0x103b7f5
push dword [ebp - 0x210]
call dword [sym.imp.UPDSPAPI.dll_UpdSpCloseInfFile]
push ebx
push 2
push ebx
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.UPDSPAPI.dll_UpdSpOpenInfFileA]
cmp eax, 0xffffffff
mov dword [ebp - 0x210], eax
je 0x103b959
cmp dword [ebp - 0x220], ebx
jne 0x103b8ae
xor eax, eax
mov cl, byte [eax + 0x109a4a0]
mov byte [ebp + eax - 0x20c], cl
inc eax
cmp cl, bl
jne 0x103b823
lea eax, [ebp - 0x20c]
push 0x5c
push eax
call dword [sym.imp.msvcrt.dll_strrchr]
cmp eax, ebx
pop ecx
pop ecx
je 0x103b84c
mov byte [eax], bl
push ebx
lea eax, [ebp - 0x20c]
push eax
call fcn.01073f21
test eax, eax
jne 0x103b881
push ebx
lea eax, [ebp - 0x20c]
push eax
call fcn.01073070
test eax, eax
je 0x103b96d
push 2
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push ebx
push edi
call fcn.01073f21
test eax, eax
jne 0x103b8a4
push ebx
push edi
call fcn.01073070
test eax, eax
je 0x103b96d
push 2
push edi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov dword [ebp - 0x220], 1
push dword [ebp - 0x224]
push dword [ebp - 0x22c]
push 0x100caf0
push dword [ebp - 0x210]
push dword [ebp - 0x228]
call fcn.01035757
test eax, eax
jne 0x103b762
call esi
push eax
lea eax, [ebp - 0x108]
push eax
push 0x100eff0
call fcn.01071ac0
add esp, 0xc
call esi
cmp dword [ebp - 0x210], 0xffffffff
mov esi, eax
je 0x103b908
push dword [ebp - 0x210]
call dword [sym.imp.UPDSPAPI.dll_UpdSpCloseInfFile]
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
pop esi
pop edi
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x21c]
pop ebx
call fcn.0106bc50
leave
ret 0xc
mov dword [ebp - 0x21c], 1
jmp 0x103b90f
mov eax, dword [ebp - 0x214]
push dword [eax + 0xc]
lea eax, [ebp - 0x108]
push eax
push 0x100efb4
call fcn.01071ac0
add esp, 0xc
push 0xf0e9
call fcn.01037f35
jmp 0x103b8ef
call esi
push eax
lea eax, [ebp - 0x108]
push eax
push 0x100ef78
jmp 0x103b8e7
call esi
push eax
push 0x100ef30
call fcn.01071ac0
pop ecx
pop ecx
jmp 0x103b8ef