Function at 0x493490
Capabilities:
Get thread local storage value

Disassembly:
sub esp, 0x224
push ebx
push ebp
push esi
mov esi, dword [esp + 0x234]
push edi
mov edi, ecx
mov ecx, esi
mov eax, dword [esi]
call dword [eax + 8]
test eax, eax
je 0x4934c1
push 0
push eax
lea ecx, [edi + 4]
call fcn.0046ab90
mov ebp, eax
mov dword [esp + 0x24], eax
jmp 0x4934c7
xor ebp, ebp
mov dword [esp + 0x24], ebp
push esi
lea ecx, [edi + 0x14]
call fcn.004926c0
cmp eax, 0xffffffff
je 0x4934fd
mov ecx, dword [edi + 0x14]
nop dword [eax + eax]
push dword [ecx + eax*8]
lea esi, [eax*8]
mov ecx, edi
call fcn.00493490
mov ecx, dword [edi + 0x14]
mov eax, dword [ecx + esi + 4]
cmp eax, 0xffffffff
jne 0x4934e0
push ebp
lea ecx, [edi + 0x34]
call fcn.00492700
mov esi, eax
cmp esi, 0xffffffff
je 0x49374a
push dword [0x884adc]
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], connect
mov dword [esp + 0x24], 0x200
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
cmp dword [eax + 8], 0x800
mov ecx, dword [eax + 0xc]
lea edx, [ecx + 0x800]
jl 0x493559
cmp edx, dword [eax + 0x10]
ja 0x493559
mov dword [eax + 0xc], edx
jmp 0x493567
push 0x800
mov ecx, eax
call fcn.0046a3c0
mov ecx, eax
mov edx, 0x80000200
mov dword [esp + 0x10], ecx
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x18], edx
nop dword [eax]
mov eax, dword [edi + 0x34]
and edx, 0x3fffffff
mov ebp, dword [eax + esi*8]
cmp ecx, edx
jne 0x4935a8
push 4
lea eax, [esp + 0x14]
push eax
push 0x7d8954
call fcn.00467c00
mov ecx, dword [esp + 0x20]
add esp, 0xc
mov eax, dword [esp + 0x10]
mov dword [eax + ecx*4], ebp
mov ecx, dword [esp + 0x14]
mov eax, dword [edi + 0x34]
inc ecx
mov dword [esp + 0x14], ecx
mov esi, dword [eax + esi*8 + 4]
cmp esi, 0xffffffff
je 0x4935ca
mov edx, dword [esp + 0x18]
jmp 0x493580
xor esi, esi
test ecx, ecx
jle 0x49369f
mov ecx, dword [esp + 0x10]
mov eax, dword [edi + 0x30]
cmp eax, dword [ecx + esi*4]
jne 0x4935e7
mov dword [edi + 0x30], 0
mov eax, dword [ecx + esi*4]
cmp word [eax + 6], 0
jle 0x49368a
push 0x200
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x30]
call fcn.004745a0
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + esi*4]
mov eax, dword [ecx]
call dword [eax + 8]
mov ecx, dword [esp + 0x10]
push str.__from_outside_the_world_and_it_will_lead_to_unexpected_behavior_or_crash.
mov edx, dword [eax]
mov ecx, dword [ecx + esi*4]
movsx ecx, word [ecx + 6]
push ecx
push str._is_about_to_be_removed_and_all_references_to_it_will_be_invalid._nHowever__the_object_is_referenced__
mov ecx, eax
call dword [edx + 8]
push eax
push str.The_object_of_class
lea ecx, [esp + 0x3c]
call fcn.0045cb80
mov ecx, eax
call fcn.0045cb80
mov ecx, eax
call fcn.0045cb80
mov ecx, eax
call fcn.0045cc40
mov ecx, eax
call fcn.0045cb80
mov ecx, dword [0x884c54]
lea edx, [esp + 0x34]
push 0x94c
push str.DataDicthkDataObjectDict.cpp
push edx
mov eax, dword [ecx]
push 0x760d3794
push 1
call dword [eax + 0xc]
lea ecx, [esp + 0x28]
call fcn.0045caa0
mov ecx, dword [esp + 0x10]
mov ecx, dword [ecx + esi*4]
call fcn.00493e20
mov ecx, dword [esp + 0x14]
inc esi
cmp esi, ecx
jl 0x4935d4
xor esi, esi
test ecx, ecx
jle 0x4936bf
mov ecx, dword [esp + 0x10]
mov ecx, dword [ecx + esi*4]
add dword [ecx + 8], 0xffffffff
jne 0x4936b8
mov eax, dword [ecx]
push 1
call dword [eax]
inc esi
cmp esi, dword [esp + 0x14]
jl 0x4936a5
push dword [esp + 0x24]
lea ecx, [edi + 0x34]
call fcn.004937d0
mov edi, dword [esp + 0x1c]
xor ecx, ecx
mov eax, dword [esp + 0x14]
cmp edi, dword [esp + 0x10]
push dword [0x884adc]
cmove eax, ecx
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x24]
lea esi, [eax*4 + 0x7f]
and esi, 0xffffff80
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
lea edx, [esi + 0xf]
and edx, 0xfffffff0
cmp esi, dword [eax + 8]
jg 0x493717
lea ecx, [edx + edi]
cmp ecx, dword [eax + 0xc]
jne 0x493717
cmp dword [eax + 0x14], edi
je 0x493717
mov dword [eax + 0xc], edi
jmp 0x493720
push edx
push edi
mov ecx, eax
call fcn.0046a590
mov eax, dword [esp + 0x18]
mov dword [esp + 0x14], 0
test eax, eax
js 0x49374a
and eax, 0x3fffffff
mov ecx, 0x7d8954
shl eax, 2
push eax
mov eax, dword [0x7d8954]
push dword [esp + 0x14]
call dword [eax + 0x10]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x224
ret 4