Function at 0x6d5d333e
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x6d5ec420]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
push 4
pop ecx
mov edi, 0x6d5e5230
xor eax, eax
repe cmpsd dword [esi], dword es:[edi]
mov dword [ebp - 8], 0x80020006
je 0x6d5d3373
mov eax, 0x80070057
jmp 0x6d5d3532
mov eax, dword [ebp + 0x10]
mov esi, dword [eax]
mov ebx, dword [sym.imp.kernel32.dll_lstrlenW]
test esi, esi
je 0x6d5d338d
push esi
call ebx
inc eax
cmp eax, 0x3fffffff
jle 0x6d5d3391
xor eax, eax
jmp 0x6d5d33a7
lea edi, [eax + eax]
mov eax, edi
call fcn.6d5dfa90
mov eax, esp
push 3
push edi
push esi
push eax
call fcn.6d5db37b
push str.dnsResolve
push eax
call dword [sym.imp.kernel32.dll_lstrcmpiA]
test eax, eax
jne 0x6d5d33c7
mov eax, dword [ebp + 0x1c]
mov dword [eax], 0x3000
xor eax, eax
jmp 0x6d5d3532
mov eax, dword [ebp + 0x10]
mov edi, dword [eax]
test edi, edi
je 0x6d5d33db
push edi
call ebx
inc eax
cmp eax, 0x3fffffff
jle 0x6d5d33df
xor eax, eax
jmp 0x6d5d33f5
lea esi, [eax + eax]
mov eax, esi
call fcn.6d5dfa90
mov eax, esp
push 3
push esi
push edi
push eax
call fcn.6d5db37b
push str.unselectable
push eax
call dword [sym.imp.kernel32.dll_lstrcmpiA]
test eax, eax
jne 0x6d5d3418
mov eax, dword [ebp + 0x1c]
mov dword [eax], 0x80020006
mov eax, 0x80004005
jmp 0x6d5d3532
push dword [0x6d5eb1fc]
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov esi, dword [ebp + 8]
test eax, eax
jne 0x6d5d343f
cmp dword [esi + 0xa8], 3
jge 0x6d5d343f
push dword [esi + 0xac]
call fcn.6d5d1da5
mov eax, dword [esi + 0xa8]
cmp eax, 5
jl 0x6d5d3459
cmp eax, 7
jg 0x6d5d3459
mov eax, 0x80020006
jmp 0x6d5d3532
lea ebx, [esi + 0xb0]
cmp dword [ebx], 0
jne 0x6d5d34e8
mov eax, dword [0x6d5ec4ec]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
mov esi, dword [esi + 0xc0]
mov edi, eax
mov eax, dword [edi]
push esi
push edi
call dword [eax + 0x64]
push eax
push edi
lea ecx, [ebp - 0x24]
call fcn.6d5db37b
push str.__Ljava_lang_Object_
lea eax, [ebp - 0x24]
push str.getDispatchObject
mov esi, vtable.SmartJObjectRefImpl_class_SmartJLocalRef_.0
push eax
mov dword [ebp - 0x24], esi
call fcn.6d5d473c
add esp, 0xc
push eax
push edi
lea ecx, [ebp - 0x18]
call fcn.6d5db37b
mov eax, dword [0x6d5eca34]
mov ecx, dword [eax]
push ebx
push eax
mov dword [ebp - 0x18], esi
call dword [ecx + 0xc]
mov dword [ebp - 8], eax
test eax, eax
js 0x6d5d34d8
mov eax, dword [ebx]
push dword [ebp - 0x14]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x1c]
mov dword [ebp - 8], eax
lea ecx, [ebp - 0x18]
call fcn.6d5d3f4f
lea ecx, [ebp - 0x24]
call fcn.6d5d3f4f
mov ebx, dword [ebx]
test ebx, ebx
je 0x6d5d352f
and dword [ebp - 0xc], 0
mov eax, dword [ebx]
lea ecx, [ebp - 0xc]
push ecx
push 0x6d5e5280
push ebx
call dword [eax]
mov dword [ebp - 8], eax
test eax, eax
js 0x6d5d3522
push dword [ebp + 0x1c]
mov eax, dword [ebp - 0xc]
push dword [ebp + 0x18]
mov ecx, dword [eax]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push eax
call dword [ecx + 0x14]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x6d5d352f
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 8]
lea esp, [ebp - 0x30]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.6d5df9b2
leave
ret 0x18