Function at 0x6d68584e
Capabilities:
Get thread local storage value

Disassembly:
sub esp, 0xc
push ebp
push esi
push edi
mov esi, ecx
push dword [0x6d7a23c4]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, dword [eax + 0x164]
push 0x10
mov dword [esp + 0x18], edi
mov eax, dword [edi + 4]
mov dword [edi + 0x1c], esi
mov dword [esp + 0x14], eax
call fcn.6d641742
xor ebp, ebp
pop ecx
cmp eax, ebp
je 0x6d68588d
mov ecx, eax
call fcn.6d641a4a
jmp 0x6d68588f
xor eax, eax
mov dword [esi], eax
mov dword [esi + 0x14], 1
mov dword [edi + 4], eax
mov ecx, dword [esi]
push 0x10
call fcn.6d641b98
mov edi, eax
cmp edi, ebp
je 0x6d6858bc
push ebp
push ebp
push 0x1d3
mov ecx, edi
push dword [esi]
call fcn.6d6b569b
mov ebp, edi
push ebx
mov edi, 0x6d7c2fd0
mov ecx, dword [esi]
push 0x10
call fcn.6d641b98
test eax, eax
je 0x6d6858dd
push edi
mov ecx, eax
call fcn.6d686d97
mov dword [esp + 0x10], eax
jmp 0x6d6858e2
and dword [esp + 0x10], 0
test edi, edi
jne 0x6d6858ea
xor eax, eax
jmp 0x6d6858ec
mov eax, dword [edi]
push ebp
push eax
mov ecx, esi
call fcn.6d686473
test edi, edi
mov ebx, eax
jne 0x6d6858ff
xor eax, eax
jmp 0x6d685901
mov eax, dword [edi]
push ebp
push eax
push ebx
mov ecx, esi
call fcn.6d6864ae
test eax, eax
jne 0x6d685927
push dword [esp + 0x10]
mov ecx, esi
call fcn.6d68645d
push ebp
mov ecx, esi
push dword [esp + 0x14]
push ebx
call fcn.6d6864d5
add edi, 4
cmp edi, 0x6d7c371c
jl 0x6d6858c2
mov ecx, dword [esi]
push 0x10
call fcn.6d641b98
mov edi, eax
test edi, edi
je 0x6d685955
push 0
push 0
push 0x1d3
mov ecx, edi
push dword [esi]
call fcn.6d6b569b
jmp 0x6d685957
xor edi, edi
mov dword [esp + 0x10], 0x6d7c2fd0
mov eax, dword [esp + 0x10]
test eax, eax
je 0x6d685969
mov eax, dword [eax]
push ebp
push eax
mov ecx, esi
call fcn.6d686473
mov ebx, eax
mov eax, dword [edi]
cmp eax, dword [edi + 4]
jne 0x6d685983
push eax
mov ecx, edi
call fcn.6d6b56d9
mov eax, dword [edi]
mov ecx, dword [edi + 8]
add dword [esp + 0x10], 4
mov dword [ecx + eax*4], ebx
inc dword [edi]
cmp dword [esp + 0x10], 0x6d7c371c
jl 0x6d68595f
mov dword [0x6d7b5458], ebp
mov dword [0x6d7b545c], edi
mov ecx, dword [esi]
push 0x10
call fcn.6d641b98
mov edi, eax
xor ebp, ebp
cmp edi, ebp
je 0x6d6859c8
push ebp
push ebp
push 0x40
mov ecx, edi
push dword [esi]
call fcn.6d6b569b
jmp 0x6d6859ca
xor edi, edi
push 4
mov dword [esi + 4], edi
pop ebx
xor edi, edi
cmp edi, 0x34
jae 0x6d6859df
mov eax, dword [edi + 0x6d791bf4]
jmp 0x6d6859e1
xor eax, eax
cmp eax, ebp
je 0x6d685a16
cmp edi, 0x20
je 0x6d685a16
cmp edi, 0x24
je 0x6d685a16
mov ecx, dword [esi]
push 0x14
call fcn.6d641b98
cmp eax, ebp
je 0x6d685a06
push ebx
mov ecx, eax
call fcn.6d686ff0
jmp 0x6d685a08
xor eax, eax
push eax
mov ecx, esi
mov dword [edi + 0x6d7b5478], eax
call fcn.6d68645d
add edi, 4
inc ebx
cmp edi, 0x30
jle 0x6d6859d2
mov ecx, dword [esi]
push 0x10
call fcn.6d641b98
mov edi, eax
pop ebx
cmp edi, ebp
je 0x6d685a44
mov ecx, edi
call fcn.6d6855b8
mov dword [edi], sym.jvm.dll_const_ciNullObject::vftable
mov dword [0x6d7b5438], edi
jmp 0x6d685a4a
mov dword [0x6d7b5438], ebp
push dword [0x6d7b5438]
mov ecx, esi
call fcn.6d68645d
push dword [0x6d7c1e3c]
mov ecx, esi
call fcn.6d685c47
push dword [0x6d7c1e38]
mov ecx, esi
mov dword [0x6d7b5434], eax
call fcn.6d685c47
push dword [0x6d7c1e48]
mov ecx, esi
mov dword [0x6d7b5430], eax
call fcn.6d685c47
push dword [0x6d7c1e58]
mov ecx, esi
mov dword [0x6d7b542c], eax
call fcn.6d685c47
push dword [0x6d7c1e54]
mov ecx, esi
mov dword [0x6d7b5428], eax
call fcn.6d685c47
push dword [0x6d7c1e50]
mov ecx, esi
mov dword [0x6d7b5424], eax
call fcn.6d685c47
push dword [0x6d7bf7fc]
mov ecx, esi
mov dword [0x6d7b5420], eax
call fcn.6d685c47
push dword [0x6d7bf7c4]
mov ecx, esi
mov dword [0x6d7b541c], eax
call fcn.6d685c47
push dword [0x6d7bf7f8]
mov ecx, esi
mov dword [0x6d7b5418], eax
call fcn.6d685c47
push dword [0x6d7bf7bc]
mov ecx, esi
mov dword [0x6d7b5414], eax
call fcn.6d685c47
push dword [0x6d7bf7d8]
mov ecx, esi
mov dword [0x6d7b5410], eax
call fcn.6d685c47
push dword [0x6d7bf828]
mov ecx, esi
mov dword [0x6d7b540c], eax
call fcn.6d685c47
push dword [0x6d7bf800]
mov ecx, esi
mov dword [0x6d7b5408], eax
call fcn.6d685c47
push dword [0x6d7bf7c0]
mov ecx, esi
mov dword [0x6d7b5404], eax
call fcn.6d685c47
push dword [0x6d7c3694]
mov ecx, esi
mov dword [0x6d7b5400], eax
call fcn.6d685c47
mov dword [0x6d7b543c], eax
mov ecx, dword [esi]
push 0x54
call fcn.6d641b98
cmp eax, ebp
je 0x6d685b88
push ebp
push ebp
push dword [0x6d7b543c]
mov ecx, eax
call fcn.6d686638
mov dword [0x6d7b5440], eax
jmp 0x6d685b8e
mov dword [0x6d7b5440], ebp
mov ecx, dword [esi]
push 0x24
call fcn.6d641b98
cmp eax, ebp
je 0x6d685bb7
push 1
mov ecx, eax
push dword [0x6d7b5440]
push dword [0x6d7b543c]
call fcn.6d68524a
mov dword [0x6d7b5444], eax
jmp 0x6d685bbd
mov dword [0x6d7b5444], ebp
push dword [0x6d7c1ddc]
mov ecx, esi
call fcn.6d685c47
push dword [0x6d7c1de4]
mov ecx, esi
call fcn.6d685c47
push dword [0x6d7c1df4]
mov ecx, esi
call fcn.6d685c47
push dword [0x6d7c1df8]
mov ecx, esi
call fcn.6d685c47
push dword [0x6d7c1de0]
mov ecx, esi
call fcn.6d685c47
push dword [0x6d7c1dec]
mov ecx, esi
call fcn.6d685c47
push dword [0x6d7c1de8]
mov ecx, esi
call fcn.6d685c47
push dword [0x6d7c1df0]
mov ecx, esi
call fcn.6d685c47
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
pop edi
mov dword [ecx + 4], eax
mov eax, dword [esi + 4]
mov dword [0x6d7b5454], eax
mov eax, dword [esi + 0x14]
pop esi
mov dword [0x6d7b5460], eax
pop ebp
add esp, 0xc
ret