Function at 0x100276d7
Capabilities:
Allocate thread local storage

Disassembly:
push 0x858
push 0x1006f5e8
call fcn.1004396c
mov edi, dword [ebp + 8]
mov dword [ebp - 0x824], edi
and dword [0x10072ce0], 0
mov esi, dword [sym.imp.KERNEL32.dll_TlsAlloc]
call esi
mov dword [0x10072ce4], eax
call esi
mov dword [0x10072ce8], eax
mov dword [0x1016e6b8], edi
mov esi, 0x200
push esi
mov ebx, 0x10103688
push ebx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
call edi
push esi
lea eax, [ebp - 0x81c]
push eax
push 0
call edi
push ebx
push 0x10064d78
push esi
mov esi, 0x10136cd0
push esi
call fcn.10040c15
add esp, 0x10
cmp byte [0x1016e6c0], 0
jne 0x10027778
mov edi, str.__x86_TrueCutSecurity
push edi
push esi
call dword [sym.imp.SHLWAPI.dll_StrStrIA]
test eax, eax
jne 0x10027778
push edi
push 0x1005f470
push 0x1016e6c0
push esi
call fcn.1003cefb
add esp, 0x10
xor ebx, ebx
jmp 0x1002778d
xor ebx, ebx
xor eax, eax
mov cl, byte [eax + 0x10136cd0]
mov byte [eax + 0x1016e6c0], cl
inc eax
test cl, cl
jne 0x1002777c
cmp dword [0x101434ac], ebx
je 0x10027850
lea eax, [ebp - 0x41c]
push eax
push esi
call fcn.1003d99e
pop ecx
pop ecx
push 9
pop ecx
xor eax, eax
lea edi, [ebp - 0x868]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x868]
push eax
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesExA]
lea eax, [ebp - 0x844]
push eax
lea eax, [ebp - 0x854]
push eax
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
lea eax, [ebp - 0x834]
push eax
lea eax, [ebp - 0x844]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_SystemTimeToTzSpecificLocalTime]
movzx eax, word [ebp - 0x828]
push eax
movzx eax, word [ebp - 0x82a]
push eax
movzx eax, word [ebp - 0x82c]
push eax
movzx eax, word [ebp - 0x82e]
push eax
movzx eax, word [ebp - 0x832]
push eax
movzx eax, word [ebp - 0x834]
push eax
push str._04d__02d__02d__02d:_02d:_02d
lea eax, [ebp - 0x21c]
push eax
call fcn.10040b98
push 0x1016e6c0
lea eax, [ebp - 0x41c]
push eax
lea eax, [ebp - 0x21c]
push eax
push esi
push str.myDLL_:___s____s__s_:___s_
push ebx
call fcn.1003dfed
add esp, 0x38
test byte [0x10144688], 8
je 0x10027868
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
call fcn.100245b1
test byte [0x102bc54c], 2
je 0x100278ff
cmp dword [0x1016e8cc], ebx
je 0x100278ff
cmp dword [0x1016e8c8], ebx
je 0x100278ff
xor esi, esi
mov dword [ebp - 0x820], esi
push 0x800
push ebx
push 0x100724b8
call fcn.10040850
add esp, 0xc
mov dword [ebp - 4], ebx
cmp esi, dword [0x1014030c]
jae 0x100278f3
mov eax, dword [esi*4 + 0x10140310]
cmp eax, ebx
je 0x100278f3
push eax
push 1
lea eax, [esi*4 + 0x100724b8]
push eax
call dword [0x1016e8c8]
cmp dword [0x101434ac], ebx
je 0x100278ea
push dword [esi*4 + 0x10140310]
push esi
push str.LhSetExclusiveACL__d___p_
push ebx
call fcn.1003dfed
add esp, 0x10
inc esi
mov dword [ebp - 0x820], esi
jmp 0x100278a8
mov dword [ebp - 4], 0xfffffffe
call fcn.10027942
test byte [0x102bc54c], 1
je 0x10027914
push dword [ebp - 0x824]
call fcn.1003c242
pop ecx
test byte [0x10144688], 8
je 0x1002792c
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
xor eax, eax
inc eax
mov dword [0x10072ce0], eax
call fcn.100439b4
ret