Function at 0x7880737b
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
mov ecx, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 8]
mov eax, dword [edi + 4]
or dword [ebp + 0xc], eax
lea eax, [ecx + 7]
and eax, 0xfffffff8
add eax, 8
cmp eax, ecx
mov dword [ebp - 0x10], eax
jb 0x7888fcf2
cmp eax, 0x3f9
jae 0x78809958
shr eax, 3
mov dword [ebp - 4], eax
push ebx
push dword [0x78918190]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
xor ecx, ecx
cmp eax, ecx
mov dword [ebp - 8], eax
je 0x7880fc7b
mov ebx, dword [eax + 0x60]
mov dword [ebp + 8], ebx
mov dword [ebp - 0xc], ebx
cmp ebx, dword [edi]
jae 0x7888fcf9
mov eax, ebx
imul eax, eax, 0x2264
push esi
lea esi, [eax + edi + 0x10]
mov eax, dword [ebp - 4]
cmp eax, 0xfffffff
je 0x78807406
lea eax, [esi + eax*4 + 0x2064]
cmp dword [eax], ecx
jne 0x7880fc03
lea ecx, [esi + 0x2030]
call fcn.78801218
test eax, eax
je 0x7888fd06
inc dword [esi + 0x2050]
cmp dword [esi + 0x202c], 0
jne 0x7888fd3b
test byte [ebp + 0xf], 0x20
je 0x78807492
mov edi, dword [ebp + 0x10]
lea eax, [edi + 0xf]
and eax, 0xfffffff0
cmp eax, 0x210
jae 0x78807492
shr eax, 4
push eax
lea eax, [esi + 4]
push eax
call fcn.7880774f
test eax, eax
pop ecx
pop ecx
mov dword [ebp - 0xc], eax
je 0x78807492
lea ecx, [esi + 0x2030]
call fcn.7880123e
test byte [ebp + 0xc], 8
je 0x7880747e
mov ecx, edi
mov edi, dword [ebp - 0xc]
mov edx, ecx
shr ecx, 2
xor eax, eax
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [ebp - 8]
test eax, eax
je 0x78807488
mov dword [eax + 0x60], ebx
mov eax, dword [ebp - 0xc]
pop esi
pop ebx
pop edi
leave
ret 0xc
lea eax, [ebp - 0x10]
push eax
push dword [0x789181a0]
push dword [ebp - 0x10]
call fcn.78807320
test eax, eax
jl 0x7880fc88
push dword [ebp - 0x10]
push 0
push dword [esi]
call fcn.78801381
mov ebx, eax
lea ecx, [esi + 0x2030]
call fcn.7880123e
test ebx, ebx
je 0x7880fc8f
test bl, 4
jne 0x7888fd46
test byte [ebp + 0xc], 8
mov eax, dword [ebp - 4]
mov dword [ebx], esi
mov dword [ebx + 4], eax
jne 0x7880fc48
mov eax, dword [ebp - 8]
test eax, eax
je 0x788074f5
mov ecx, dword [ebp + 8]
mov dword [eax + 0x60], ecx
lea eax, [ebx + 8]
jmp 0x7880748b
mov dword [ebp - 4], 0xfffffff
jmp 0x788073b5
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov edx, eax
test edx, edx
je 0x78807406
inc dword [esi + 0x2058]
test byte [ebp + 0xc], 8
jne 0x7880fc63
mov eax, dword [ebp - 8]
test eax, eax
je 0x7880fc2b
mov dword [eax + 0x60], ebx
lea eax, [edx + 8]
jmp 0x7880748b
mov ecx, dword [ebp + 0x10]
mov edx, ecx
shr ecx, 2
xor eax, eax
lea edi, [ebx + 8]
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
jmp 0x788074e8
mov ecx, dword [ebp + 0x10]
mov esi, ecx
shr ecx, 2
xor eax, eax
lea edi, [edx + 8]
rep stosd dword es:[edi], eax
mov ecx, esi
and ecx, 3
rep stosb byte es:[edi], al
jmp 0x7880fc21
mov dword [ebp + 8], ecx
mov dword [ebp - 0xc], ecx
mov ebx, ecx
jmp 0x788073d8
xor ebx, ebx
jmp 0x788074ba
xor eax, eax
jmp 0x7880748b
xor eax, eax
jmp 0x7880748d
mov dword [ebp + 8], ecx
mov dword [eax + 0x60], ecx
mov ebx, ecx
jmp 0x788073e0
inc ebx
add esi, 0x2264
cmp ebx, dword [edi]
mov dword [ebp + 8], ebx
jne 0x7888fd1d
and dword [ebp + 8], eax
mov ebx, dword [ebp + 8]
lea esi, [edi + 0x10]
cmp ebx, dword [ebp - 0xc]
je 0x7888fd29
xor ecx, ecx
jmp 0x788073ed
push 0xffffffffffffffff
lea ecx, [esi + 0x2030]
call fcn.78807268
jmp 0x78807419
push esi
call fcn.788b0f2c
jmp 0x7880742c
add ebx, 4
or byte [ebp - 1], 0x80
jmp 0x788074d6