Function at 0x6d5ba266
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
push ebx
push esi
push dword [ebp + 0xc]
xor esi, esi
push str.CJavaAdapter::Invoke__id_d_n
push 2
push esi
call fcn.6d5b9ace
mov ebx, dword [ebp + 8]
add esp, 0x10
cmp dword [ebx + 0x24], esi
jne 0x6d5ba295
mov eax, 0x80004005
jmp 0x6d5ba56d
push edi
call fcn.6d5b9ab8
cmp dword [ebp + 0xc], 0xc0001
mov edi, eax
mov dword [ebp - 8], edi
jne 0x6d5ba2c6
mov esi, dword [ebp + 0x20]
push 3
pop eax
mov word [esi], ax
mov ebx, dword [ebx + 0x24]
mov eax, dword [edi]
push ebx
push edi
call dword [eax + 0x54]
mov dword [esi + 8], eax
xor eax, eax
jmp 0x6d5ba56c
push 0x20
call sub.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_
mov ebx, eax
mov eax, dword [ebp + 0x1c]
mov dword [ebx], eax
mov ax, word [ebp + 0x18]
mov word [ebx + 4], ax
mov eax, dword [ebp + 0xc]
mov dword [ebx + 8], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x24]
mov dword [ebx + 0xc], eax
mov dword [ebx + 0x14], esi
mov dword [ebx + 0x10], esi
mov dword [ebx + 0x18], esi
mov eax, dword [0x6d5c3fa4]
pop ecx
cmp eax, 0xffffffff
je 0x6d5ba327
push eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov dword [ebp - 4], eax
cmp eax, esi
jne 0x6d5ba32f
push dword [0x6d5c4154]
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov dword [ebp - 4], eax
cmp eax, esi
jne 0x6d5ba32f
call fcn.6d5bb5a7
jmp 0x6d5ba32c
mov eax, dword [0x6d5c4158]
mov dword [ebp - 4], eax
push edi
lea ecx, [ebp - 0x14]
call fcn.6d5bb5a7
mov dword [ebp - 0x14], 0x6d5bd8b0
cmp dword [ebx + 8], esi
je 0x6d5ba3cc
mov eax, dword [ebx]
mov eax, dword [eax + 8]
cmp eax, esi
jbe 0x6d5ba3cc
push eax
call fcn.6d5ba19a
pop ecx
push eax
lea ecx, [ebp - 0x14]
call fcn.6d5b13d0
mov eax, dword [ebx]
mov ecx, dword [eax]
mov dword [ebp + 0x1c], esi
cmp dword [eax + 8], esi
jbe 0x6d5ba3c6
mov dword [ebp + 0x18], ecx
mov eax, dword [ebp + 0x18]
movzx eax, word [eax]
push eax
push str.variant_type:_d_n
push 2
push esi
call fcn.6d5b9ace
add esp, 0x10
push dword [ebp + 0x18]
lea ecx, [ebp - 0x58]
call fcn.6d5b6a98
lea ecx, [ebp - 0x58]
call fcn.6d5b6df6
push eax
mov eax, dword [ebx]
mov eax, dword [eax + 8]
sub eax, dword [ebp + 0x1c]
lea ecx, [ebp - 0x14]
dec eax
push eax
call fcn.6d5bb5a7
lea ecx, [ebp - 0x58]
call fcn.6d5b6b86
inc dword [ebp + 0x1c]
mov eax, dword [ebx]
mov ecx, dword [ebp + 0x1c]
add dword [ebp + 0x18], 0x10
cmp ecx, dword [eax + 8]
jb 0x6d5ba370
mov eax, dword [ebp - 0x10]
mov dword [ebx + 0x18], eax
push esi
push esi
push esi
push esi
call dword [sym.imp.kernel32.dll_CreateEventA]
push ebx
push 0x6d5ba046
push 0x436
push dword [ebp - 4]
mov dword [ebx + 0x1c], eax
call dword [sym.imp.USER32.dll_PostThreadMessageA]
test eax, eax
jne 0x6d5ba3fa
push dword [ebx + 0x1c]
call dword [sym.imp.kernel32.dll_SetEvent]
mov eax, dword [ebp + 8]
push 0xffffffffffffffff
push dword [ebx + 0x1c]
add eax, 0xfffffffc
push eax
call fcn.6d5b9c5e
mov eax, dword [ebx + 0x1c]
add esp, 0xc
cmp eax, esi
je 0x6d5ba41c
push eax
call dword [sym.imp.kernel32.dll_CloseHandle]
mov esi, dword [ebx + 0x10]
xor eax, eax
mov dword [ebp + 0x1c], eax
cmp esi, eax
je 0x6d5ba481
push esi
call fcn.6d5bb5a7
pop ecx
lea eax, [esi + 0x414]
push eax
lea ecx, [ebp + 0x18]
call fcn.6d5ba573
mov ecx, dword [ebp + 0x18]
mov edi, dword [ebp + 0x24]
xor eax, eax
mov word [edi], ax
test ecx, ecx
je 0x6d5ba454
call fcn.6d5b9acf
jmp 0x6d5ba456
xor eax, eax
mov dword [edi + 8], eax
mov eax, 0x80020009
mov dword [ebp + 0x1c], eax
mov dword [edi + 0x1c], eax
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax]
mov ecx, dword [ebp + 0x18]
test ecx, ecx
je 0x6d5ba55a
call fcn.6d5b1835
jmp 0x6d5ba55a
cmp dword [ebx + 0x14], eax
je 0x6d5ba55a
mov esi, vtable.SmartJObjectRefImpl_class_SmartJLocalRef_.0
cmp dword [ebp + 0xc], eax
je 0x6d5ba4d8
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x24]
mov ecx, dword [edi]
push eax
push edi
call dword [ecx + 0x64]
push eax
push edi
lea ecx, [ebp - 0x20]
call fcn.6d5bb5a7
push dword [ebx + 0x18]
movzx eax, word [ebx + 4]
push dword [ebx + 8]
mov dword [ebp - 0x20], esi
push eax
push dword [0x6d5c414c]
lea eax, [ebp - 0x20]
push eax
call fcn.6d5bb5a7
add esp, 0x14
lea ecx, [ebp - 0x20]
mov dword [ebp + 0x18], eax
call fcn.6d5b145c
jmp 0x6d5ba4df
mov dword [ebp + 0x18], 9
mov eax, dword [ebx + 0x14]
mov ecx, dword [edi]
push eax
push edi
call dword [ecx + 0x64]
push eax
push edi
lea ecx, [ebp - 0x20]
call fcn.6d5bb5a7
mov eax, dword [ebp - 0x1c]
push dword [ebp + 0x18]
mov dword [ebp + 0xc], eax
lea eax, [ebp + 0xc]
push eax
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x20], esi
call fcn.6d5b6b2e
cmp dword [ebp + 0x20], 0
je 0x6d5ba541
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x58]
call fcn.6d5b6e03
mov edi, dword [ebp + 0x20]
mov esi, eax
mov eax, dword [ebp + 0x20]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movzx eax, word [eax]
push eax
push str.return_variant_type:_d_n
push 2
push 0
call fcn.6d5b9ace
mov edi, dword [ebp - 8]
add esp, 0x10
push dword [ebx + 0x14]
mov eax, dword [edi]
push edi
call dword [eax + 0x58]
lea ecx, [ebp - 0x58]
call fcn.6d5b6b86
lea ecx, [ebp - 0x20]
call fcn.6d5b145c
push ebx
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
pop ecx
lea ecx, [ebp - 0x14]
call fcn.6d5b143e
mov eax, dword [ebp + 0x1c]
pop edi
pop esi
pop ebx
leave
ret 0x24