Function at 0x6d4aa266
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.6d4a9ace
mov ebx, dword [ebp + 8]
add esp, 0x10
cmp dword [ebx + 0x24], esi
jne 0x6d4aa295
mov eax, 0x80004005
jmp 0x6d4aa56d
push edi
call fcn.6d4a9ab8
cmp dword [ebp + 0xc], 0xc0001
mov edi, eax
mov dword [ebp - 8], edi
jne 0x6d4aa2c6
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 0x6d4aa56c
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 [0x6d4b3fa4]
pop ecx
cmp eax, 0xffffffff
je 0x6d4aa327
push eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov dword [ebp - 4], eax
cmp eax, esi
jne 0x6d4aa32f
push dword [0x6d4b4154]
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov dword [ebp - 4], eax
cmp eax, esi
jne 0x6d4aa32f
call fcn.6d4ab5a7
jmp 0x6d4aa32c
mov eax, dword [0x6d4b4158]
mov dword [ebp - 4], eax
push edi
lea ecx, [ebp - 0x14]
call fcn.6d4ab5a7
mov dword [ebp - 0x14], 0x6d4ad8b0
cmp dword [ebx + 8], esi
je 0x6d4aa3cc
mov eax, dword [ebx]
mov eax, dword [eax + 8]
cmp eax, esi
jbe 0x6d4aa3cc
push eax
call fcn.6d4aa19a
pop ecx
push eax
lea ecx, [ebp - 0x14]
call fcn.6d4a13d0
mov eax, dword [ebx]
mov ecx, dword [eax]
mov dword [ebp + 0x1c], esi
cmp dword [eax + 8], esi
jbe 0x6d4aa3c6
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.6d4a9ace
add esp, 0x10
push dword [ebp + 0x18]
lea ecx, [ebp - 0x58]
call fcn.6d4a6a98
lea ecx, [ebp - 0x58]
call fcn.6d4a6df6
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.6d4ab5a7
lea ecx, [ebp - 0x58]
call fcn.6d4a6b86
inc dword [ebp + 0x1c]
mov eax, dword [ebx]
mov ecx, dword [ebp + 0x1c]
add dword [ebp + 0x18], 0x10
cmp ecx, dword [eax + 8]
jb 0x6d4aa370
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 0x6d4aa046
push 0x436
push dword [ebp - 4]
mov dword [ebx + 0x1c], eax
call dword [sym.imp.USER32.dll_PostThreadMessageA]
test eax, eax
jne 0x6d4aa3fa
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.6d4a9c5e
mov eax, dword [ebx + 0x1c]
add esp, 0xc
cmp eax, esi
je 0x6d4aa41c
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 0x6d4aa481
push esi
call fcn.6d4ab5a7
pop ecx
lea eax, [esi + 0x414]
push eax
lea ecx, [ebp + 0x18]
call fcn.6d4aa573
mov ecx, dword [ebp + 0x18]
mov edi, dword [ebp + 0x24]
xor eax, eax
mov word [edi], ax
test ecx, ecx
je 0x6d4aa454
call fcn.6d4a9acf
jmp 0x6d4aa456
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 0x6d4aa55a
call fcn.6d4a1835
jmp 0x6d4aa55a
cmp dword [ebx + 0x14], eax
je 0x6d4aa55a
mov esi, vtable.SmartJObjectRefImpl_class_SmartJLocalRef_.0
cmp dword [ebp + 0xc], eax
je 0x6d4aa4d8
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.6d4ab5a7
push dword [ebx + 0x18]
movzx eax, word [ebx + 4]
push dword [ebx + 8]
mov dword [ebp - 0x20], esi
push eax
push dword [0x6d4b414c]
lea eax, [ebp - 0x20]
push eax
call fcn.6d4ab5a7
add esp, 0x14
lea ecx, [ebp - 0x20]
mov dword [ebp + 0x18], eax
call fcn.6d4a145c
jmp 0x6d4aa4df
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.6d4ab5a7
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.6d4a6b2e
cmp dword [ebp + 0x20], 0
je 0x6d4aa541
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x58]
call fcn.6d4a6e03
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.6d4a9ace
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.6d4a6b86
lea ecx, [ebp - 0x20]
call fcn.6d4a145c
push ebx
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
pop ecx
lea ecx, [ebp - 0x14]
call fcn.6d4a143e
mov eax, dword [ebp + 0x1c]
pop edi
pop esi
pop ebx
leave
ret 0x24