Function at 0x48f980
Capabilities:
Get thread local storage value

Disassembly:
sub esp, 0x240
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov dword [esp + 0x1c], 0
mov ecx, dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov dword [esp + 0x38], edi
mov dword [esp + 0x20], 0
mov esi, dword [edi + 0x38]
mov dword [esp + 0x24], connect
mov dword [esp + 0x2c], esi
test esi, esi
je 0x48f9f6
push dword [0x884adc]
call ecx
mov ecx, eax
lea edx, [esi*4 + 0x7f]
and edx, 0xffffff80
mov eax, dword [ecx + 0xc]
lea ebx, [eax + edx]
cmp edx, dword [ecx + 8]
jg 0x48f9e8
cmp ebx, dword [ecx + 0x10]
ja 0x48f9e8
mov dword [ecx + 0xc], ebx
mov ecx, dword [sym.imp.KERNEL32.dll_TlsGetValue]
jmp 0x48f9f8
push edx
call fcn.0046a3c0
mov ecx, dword [sym.imp.KERNEL32.dll_TlsGetValue]
jmp 0x48f9f8
xor eax, eax
mov ebp, dword [edi + 8]
or esi, 0x80000000
xor ebx, ebx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], eax
mov dword [esp + 0x3c], ebp
test ebp, ebp
je 0x48fa4e
push dword [0x884adc]
call ecx
lea ecx, [ebp*4 + 0x7f]
and ecx, 0xffffff80
mov esi, dword [eax + 0xc]
mov dword [esp + 0x14], esi
lea edx, [ecx + esi]
cmp ecx, dword [eax + 8]
jg 0x48fa42
cmp edx, dword [eax + 0x10]
ja 0x48fa42
mov dword [eax + 0xc], edx
jmp 0x48fa54
push ecx
mov ecx, eax
call fcn.0046a3c0
mov esi, eax
jmp 0x48fa50
xor esi, esi
mov dword [esp + 0x14], esi
mov eax, ebp
lea ecx, [edi + 0x14]
or eax, 0x80000000
mov dword [esp + 0x40], eax
call fcn.00492140
lea eax, [edi + 4]
mov dword [edi + 0x30], ebx
mov ecx, eax
mov dword [esp + 0x18], eax
call fcn.0046aac0
mov ebp, eax
lea ecx, [edi + 4]
push ebp
lea eax, [esp + 0x17]
push eax
call fcn.0046ad00
cmp byte [esp + 0x13], bl
je 0x48fb48
mov ecx, dword [esp + 0x18]
push ebp
call fcn.0046ab80
mov dword [esi + ebx*4], eax
lea ecx, [edi + 0x34]
inc ebx
mov dword [esp + 0x30], eax
push eax
mov dword [esp + 0x38], ebx
call fcn.00492700
cmp eax, 0xffffffff
je 0x48fb22
mov ecx, dword [esp + 0x20]
nop word [eax + eax]
lea esi, [eax*8]
mov eax, dword [edi + 0x34]
mov ebx, dword [esi + eax]
mov eax, dword [esp + 0x24]
and eax, 0x3fffffff
cmp ecx, eax
jne 0x48faf2
push 4
lea eax, [esp + 0x20]
push eax
push 0x7d8954
call fcn.00467c00
mov ecx, dword [esp + 0x2c]
add esp, 0xc
mov eax, dword [esp + 0x1c]
mov dword [eax + ecx*4], ebx
mov ecx, dword [esp + 0x20]
mov eax, dword [edi + 0x34]
inc ecx
mov dword [esp + 0x20], ecx
mov eax, dword [eax + esi + 4]
cmp eax, 0xffffffff
jne 0x48fac0
push dword [esp + 0x30]
lea ecx, [edi + 0x34]
call fcn.004937d0
mov ebx, dword [esp + 0x34]
mov esi, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
push ebp
call fcn.0046aaf0
mov ecx, dword [esp + 0x18]
mov ebp, eax
push ebp
lea eax, [esp + 0x17]
push eax
call fcn.0046ad00
cmp byte [esp + 0x13], 0
jne 0x48fa92
mov eax, dword [esp + 0x20]
xor esi, esi
test eax, eax
jle 0x48fc1c
nop word [eax + eax]
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx + esi*4]
cmp word [eax + 6], 0
jle 0x48fc07
push 0x200
lea eax, [esp + 0x54]
push eax
lea ecx, [esp + 0x4c]
call fcn.004745a0
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + esi*4]
mov eax, dword [ecx]
call dword [eax + 8]
mov ecx, dword [esp + 0x1c]
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 + 0x58]
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 + 0x50]
push 0x886
push str.DataDicthkDataObjectDict.cpp
push edx
mov eax, dword [ecx]
push 0x760d3795
push 1
call dword [eax + 0xc]
lea ecx, [esp + 0x44]
call fcn.0045caa0
mov ecx, dword [esp + 0x1c]
mov ecx, dword [ecx + esi*4]
call fcn.00493e20
mov eax, dword [esp + 0x20]
inc esi
cmp esi, eax
jl 0x48fb60
xor esi, esi
test eax, eax
jle 0x48fc3c
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + esi*4]
add dword [ecx + 8], 0xffffffff
jne 0x48fc35
mov eax, dword [ecx]
push 1
call dword [eax]
inc esi
cmp esi, dword [esp + 0x20]
jl 0x48fc22
xor esi, esi
test ebx, ebx
jle 0x48fc5a
mov edi, dword [esp + 0x14]
mov ecx, dword [edi + esi*4]
add dword [ecx + 8], 0xffffffff
jne 0x48fc55
mov eax, dword [ecx]
push 1
call dword [eax]
inc esi
cmp esi, ebx
jl 0x48fc46
mov ebp, dword [esp + 0x38]
lea ecx, [ebp + 0x60]
call fcn.0046aac0
mov esi, eax
lea ecx, [ebp + 0x60]
push esi
lea eax, [esp + 0x17]
push eax
call fcn.0046ad00
cmp byte [esp + 0x13], 0
je 0x48fcb0
nop dword [eax]
push esi
lea ecx, [ebp + 0x60]
call fcn.0046ab80
mov ecx, eax
call fcn.0045c160
push esi
lea ecx, [ebp + 0x60]
call fcn.0046aaf0
mov esi, eax
lea ecx, [ebp + 0x60]
push esi
lea eax, [esp + 0x17]
push eax
call fcn.0046ad00
cmp byte [esp + 0x13], 0
jne 0x48fc80
lea ecx, [ebp + 0x50]
call fcn.0046aac0
mov esi, eax
lea ecx, [ebp + 0x50]
push esi
lea eax, [esp + 0x17]
push eax
call fcn.0046ad00
cmp byte [esp + 0x13], 0
je 0x48fd02
nop
push esi
lea ecx, [ebp + 0x50]
call fcn.0046ab80
push eax
call fcn.0045d750
add esp, 4
lea ecx, [ebp + 0x50]
push esi
call fcn.0046aaf0
mov esi, eax
lea ecx, [ebp + 0x50]
push esi
lea eax, [esp + 0x17]
push eax
call fcn.0046ad00
cmp byte [esp + 0x13], 0
jne 0x48fcd0
mov esi, dword [esp + 0x3c]
push dword [0x884adc]
lea esi, [esi*4 + 0x7f]
and esi, 0xffffff80
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edx, eax
lea eax, [esi + 0xf]
and eax, 0xfffffff0
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x14]
cmp esi, dword [edx + 8]
mov esi, dword [esp + 0x18]
jg 0x48fd47
lea ecx, [esi + eax]
cmp ecx, dword [edx + 0xc]
jne 0x48fd47
cmp dword [edx + 0x14], eax
je 0x48fd47
mov dword [edx + 0xc], eax
jmp 0x48fd54
push esi
push eax
mov ecx, edx
call fcn.0046a590
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x40]
test ecx, ecx
js 0x48fd74
and ecx, 0x3fffffff
shl ecx, 2
push ecx
push eax
mov eax, dword [0x7d8954]
mov ecx, 0x7d8954
call dword [eax + 0x10]
mov ecx, dword [esp + 0x28]
xor edx, edx
mov eax, dword [esp + 0x20]
cmp ecx, dword [esp + 0x1c]
push dword [0x884adc]
cmove eax, edx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x30]
lea esi, [eax*4 + 0x7f]
and esi, 0xffffff80
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edx, eax
lea eax, [esi + 0xf]
and eax, 0xfffffff0
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x18]
cmp esi, dword [edx + 8]
mov esi, dword [esp + 0x14]
jg 0x48fdd2
lea ecx, [esi + eax]
cmp ecx, dword [edx + 0xc]
jne 0x48fdd2
cmp dword [edx + 0x14], eax
je 0x48fdd2
mov dword [edx + 0xc], eax
jmp 0x48fddb
push esi
push eax
mov ecx, edx
call fcn.0046a590
mov eax, dword [esp + 0x24]
mov dword [esp + 0x20], 0
test eax, eax
js 0x48fe05
and eax, 0x3fffffff
mov ecx, 0x7d8954
shl eax, 2
push eax
mov eax, dword [0x7d8954]
push dword [esp + 0x20]
call dword [eax + 0x10]
push 0x7d8954
lea ecx, [ebp + 0x7c]
call fcn.0046b3e0
lea ecx, [ebp + 0x7c]
call fcn.0046b110
mov eax, dword [ebp + 0x78]
mov dword [ebp + 0x74], 0
test eax, eax
js 0x48fe41
and eax, 0x3fffffff
mov ecx, 0x7d8954
shl eax, 3
push eax
mov eax, dword [0x7d8954]
push dword [ebp + 0x70]
call dword [eax + 0x10]
lea ecx, [ebp + 0x60]
mov dword [ebp + 0x70], 0
mov dword [ebp + 0x78], connect
call fcn.0046a7e0
lea ecx, [ebp + 0x50]
call fcn.0046a7e0
push 0x7d8954
lea ecx, [ebp + 0x40]
call fcn.0046b3e0
lea ecx, [ebp + 0x40]
call fcn.0046b110
mov eax, dword [ebp + 0x3c]
mov dword [ebp + 0x38], 0
test eax, eax
js 0x48fe9b
and eax, 0x3fffffff
mov ecx, 0x7d8954
shl eax, 3
push eax
mov eax, dword [0x7d8954]
push dword [ebp + 0x34]
call dword [eax + 0x10]
push 0x7d8954
lea ecx, [ebp + 0x20]
mov dword [ebp + 0x34], 0
mov dword [ebp + 0x3c], connect
call fcn.0046b3e0
lea ecx, [ebp + 0x20]
call fcn.0046b110
mov eax, dword [ebp + 0x1c]
mov dword [ebp + 0x18], 0
test eax, eax
js 0x48fee5
and eax, 0x3fffffff
mov ecx, 0x7d8954
shl eax, 3
push eax
mov eax, dword [0x7d8954]
push dword [ebp + 0x14]
call dword [eax + 0x10]
pop edi
pop esi
mov dword [ebp + 0x14], 0
lea ecx, [ebp + 4]
mov dword [ebp + 0x1c], connect
pop ebp
pop ebx
add esp, 0x240
jmp fcn.0046a7e0