Function at 0x48ebf0
Capabilities:
Get thread local storage value

Disassembly:
sub esp, 0x34
push ebx
push ebp
push esi
push edi
push dword [0x884adc]
mov ebx, ecx
mov dword [esp + 0x1c], ebx
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
push 0x40
mov ecx, dword [eax + 0x2c]
mov eax, dword [ecx]
call dword [eax + 4]
mov ebp, dword [esp + 0x48]
mov esi, eax
mov eax, 0x40
mov ecx, ebp
mov word [esi + 4], ax
call fcn.0045e3c0
push eax
mov ecx, ebp
call fcn.0045dc70
push eax
push ebx
mov ecx, esi
call fcn.00490190
mov edi, eax
mov ecx, ebp
mov dword [esp + 0x30], edi
call fcn.0045dc80
test eax, eax
je 0x48ec9f
mov ecx, ebp
call fcn.0045dc80
mov ecx, eax
call fcn.0045dc70
mov ecx, dword [ebx + 8]
test eax, eax
je 0x48ec71
push 0
push eax
add ecx, 4
call fcn.0046ab90
mov esi, eax
test esi, esi
jne 0x48ec86
mov ecx, ebp
call fcn.0045dc80
push eax
mov ecx, ebx
call fcn.0048ebf0
mov esi, eax
test esi, esi
je 0x48ec89
inc dword [esi + 8]
mov ecx, dword [edi + 0x18]
test ecx, ecx
je 0x48ec9c
add dword [ecx + 8], 0xffffffff
jne 0x48ec9c
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [edi + 0x18], esi
inc dword [edi + 8]
mov ecx, edi
mov eax, dword [edi]
mov ebp, dword [ebx + 8]
mov dword [esp + 0x28], edi
call dword [eax + 0x10]
mov edx, dword [edi]
mov ecx, edi
mov esi, eax
call dword [edx + 8]
push eax
lea ecx, [ebp + 4]
call fcn.0046a940
push eax
lea eax, [esp + 0x17]
push eax
lea ecx, [ebp + 4]
call fcn.0046ad00
cmp byte [esp + 0x13], 0
jne 0x48ecfa
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 8]
push edi
push eax
lea ecx, [ebp + 4]
call fcn.0046abd0
test esi, esi
je 0x48ecfa
lea eax, [esp + 0x28]
push eax
push esi
lea ecx, [ebp + 0x14]
call fcn.00492f80
mov ebx, dword [esp + 0x48]
xor ebp, ebp
mov ecx, ebx
call fcn.0045e040
test eax, eax
jle 0x48ef39
nop
push ebp
mov ecx, ebx
call fcn.0045df90
mov ecx, 0x7d8e70
mov dword [esp + 0x28], 0
mov ebx, eax
call fcn.0045c0c0
mov cx, word [ebx + 0x10]
shr cx, 0xa
mov dword [esp + 0x14], 0x7d8e70
test cl, 1
jne 0x48eeba
movzx edi, byte [ebx + 0xd]
mov ecx, ebx
movzx esi, byte [ebx + 0xc]
call fcn.00468e40
push eax
mov ecx, ebx
call fcn.00468e20
push eax
push edi
push esi
call fcn.0048caf0
add esp, 0x10
mov dword [esp + 0x28], eax
mov ecx, ebx
call fcn.00468e20
test eax, eax
je 0x48eeba
push dword [0x7d8e6c]
mov ecx, ebx
call fcn.00468ee0
test eax, eax
je 0x48edef
push str.typeName
push eax
lea ecx, [esp + 0x3c]
call fcn.0046f200
push 0
lea ecx, [esp + 0x38]
call fcn.0046f290
mov ecx, dword [esp + 0x18]
push dword [eax]
mov ecx, dword [ecx + 8]
lea eax, [esp + 0x20]
push eax
call fcn.00493120
mov esi, eax
mov ecx, dword [esi]
test ecx, ecx
je 0x48edc5
call fcn.0045c0c0
mov ecx, 0x7d8e70
call fcn.0045c160
mov ecx, dword [esp + 0x1c]
mov eax, dword [esi]
mov dword [esp + 0x14], eax
test ecx, ecx
je 0x48ede2
call fcn.0045c160
mov dword [esp + 0x1c], 0
jmp 0x48eeba
push dword [0x7d8e6c]
mov ecx, ebx
call fcn.00468e20
mov ecx, eax
call fcn.0045e5e0
test eax, eax
je 0x48ee68
push str.typeName
push eax
lea ecx, [esp + 0x44]
call fcn.0046f200
push 0
lea ecx, [esp + 0x40]
call fcn.0046f290
mov ecx, dword [esp + 0x18]
push dword [eax]
mov ecx, dword [ecx + 8]
lea eax, [esp + 0x24]
push eax
call fcn.00493120
mov esi, eax
mov ecx, dword [esi]
test ecx, ecx
je 0x48ee41
call fcn.0045c0c0
mov ecx, 0x7d8e70
call fcn.0045c160
mov ecx, dword [esp + 0x20]
mov eax, dword [esi]
mov dword [esp + 0x14], eax
test ecx, ecx
je 0x48ee5e
call fcn.0045c160
mov dword [esp + 0x20], 0
jmp 0x48eeba
mov ecx, ebx
call fcn.00468e20
mov ecx, eax
call fcn.0045dc70
mov ecx, dword [esp + 0x18]
push eax
lea eax, [esp + 0x28]
push eax
mov ecx, dword [ecx + 8]
call fcn.00493120
mov esi, eax
mov ecx, dword [esi]
test ecx, ecx
je 0x48ee95
call fcn.0045c0c0
mov ecx, 0x7d8e70
call fcn.0045c160
mov ecx, dword [esp + 0x24]
mov eax, dword [esi]
mov dword [esp + 0x14], eax
test ecx, ecx
je 0x48eeb2
call fcn.0045c160
mov dword [esp + 0x24], 0
mov eax, dword [esp + 0x18]
mov edi, dword [ebx]
mov eax, dword [eax + 8]
mov dword [esp + 0x2c], eax
test edi, edi
je 0x48eef7
push 0
lea ecx, [eax + 0x50]
push edi
call fcn.0046ab90
mov esi, eax
test esi, esi
jne 0x48eef9
push edi
call fcn.0045d770
mov ecx, dword [esp + 0x30]
add esp, 4
mov esi, eax
push esi
push esi
lea ecx, [ecx + 0x50]
call fcn.0046abd0
jmp 0x48eef9
xor esi, esi
push 0
mov ecx, ebx
call fcn.00468e40
mov edi, dword [esp + 0x34]
mov ecx, edi
push eax
lea eax, [esp + 0x1c]
push eax
push dword [esp + 0x34]
push esi
call fcn.004915e0
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x48ef25
call fcn.0045c160
mov ebx, dword [esp + 0x48]
inc ebp
mov ecx, ebx
call fcn.0045e040
cmp ebp, eax
jl 0x48ed10
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34
ret 4