Function at 0x1002b03c
Capabilities:
Allocate thread local storage

Disassembly:
push 0x858
push 0x10074808
call fcn.100477dc
mov edi, dword [ebp + 8]
mov dword [ebp - 0x824], edi
and dword [0x10078ce0], 0
mov esi, dword [sym.imp.KERNEL32.dll_TlsAlloc]
call esi
mov dword [0x10078ce4], eax
call esi
mov dword [0x10078ce8], eax
mov dword [0x10185ca4], edi
mov esi, 0x200
push esi
mov ebx, 0x10113fa8
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 0x1006a38c
push esi
mov esi, 0x101485e0
push esi
call fcn.100453f5
add esp, 0x10
cmp byte [0x10185ca8], 0
jne 0x1002b0dd
mov edi, str.__x86__truecutsecurity
push edi
push esi
call dword [sym.imp.SHLWAPI.dll_StrStrIA]
test eax, eax
jne 0x1002b0dd
push edi
push str._truecutsecurity
push 0x10185ca8
push esi
call fcn.10040259
add esp, 0x10
xor ebx, ebx
jmp 0x1002b0f2
xor ebx, ebx
xor eax, eax
mov cl, byte [eax + 0x101485e0]
mov byte [eax + 0x10185ca8], cl
inc eax
test cl, cl
jne 0x1002b0e1
cmp dword [0x1015668c], ebx
je 0x1002b1b5
lea eax, [ebp - 0x41c]
push eax
push esi
call fcn.10040e29
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.10045378
push 0x10185ca8
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.100412e2
add esp, 0x38
test byte [0x1015786c], 8
je 0x1002b1cd
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
call fcn.1002904c
test byte [0x102d3d98], 2
je 0x1002b2b8
cmp dword [0x10185eb8], ebx
je 0x1002b2b8
cmp dword [0x10185eb4], ebx
je 0x1002b2b8
xor esi, esi
mov dword [ebp - 0x820], esi
push 0x800
push ebx
push 0x100784b8
call fcn.10045030
add esp, 0xc
mov dword [ebp - 4], ebx
cmp esi, dword [0x10152ce4]
jae 0x1002b260
mov eax, dword [esi*4 + 0x10152ce8]
cmp eax, ebx
je 0x1002b260
push eax
push 1
lea eax, [esi*4 + 0x100784b8]
push eax
call dword [0x10185eb4]
cmp dword [0x1015668c], ebx
je 0x1002b257
push dword [esi*4 + 0x10152ce8]
push esi
push str.LhSetExclusiveACL__d___p_
push ebx
call fcn.100412e2
add esp, 0x10
inc esi
mov dword [ebp - 0x820], esi
jmp 0x1002b215
mov dword [ebp - 4], 0xfffffffe
jmp 0x1002b2b8
test byte [0x102d3d98], 1
je 0x1002b2cd
push dword [ebp - 0x824]
call fcn.1003f480
pop ecx
test byte [0x1015786c], 8
je 0x1002b2e5
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 [0x10078ce0], eax
call fcn.10047824
ret