Function at 0x444250
Capabilities:
Get thread local storage value

Disassembly:
sub esp, 0x20
push esi
mov esi, ecx
mov eax, dword [esi + 0x84]
mov ecx, dword [esi + 0x88]
add ecx, eax
je 0x444290
mov edx, dword [esp + 0x28]
mov ax, word [esp + 0x2c]
lea ecx, [esp + 4]
push ecx
mov ecx, esi
mov byte [esp + 8], 0x10
mov dword [esp + 0xc], edx
mov word [esp + 0x10], ax
call fcn.0043f010
pop esi
add esp, 0x20
ret 8
push ebx
push ebp
add eax, 1
mov dword [esi + 0x84], eax
mov edx, dword [0x4c6060]
push edi
xor ebp, ebp
push edx
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], bind
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebx, dword [esp + 0x38]
mov ecx, dword [eax + 0x20]
lea edx, [ebx*4 + 0x10]
and edx, 0xfffffff0
lea edi, [ecx + edx]
cmp edi, dword [eax + 0x2c]
ja 0x4442db
mov dword [eax + 0x20], edi
mov eax, ecx
jmp 0x4442e5
mov edi, dword [eax]
mov ecx, eax
mov eax, dword [edi + 0x14]
push edx
call eax
mov ecx, ebx
or ecx, 0x80000000
test ebx, ebx
mov dword [esp + 0x20], eax
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], eax
jle 0x444332
lea ecx, [ecx]
mov edx, dword [esp + 0x34]
mov edi, dword [edx + ebp*4]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
lea eax, [edi + 0x24]
push edi
mov dword [edx + ecx*4], eax
add dword [esp + 0x28], 1
push esi
call fcn.0044c500
add esp, 8
mov ecx, edi
call fcn.00454480
add ebp, 1
cmp ebp, ebx
jl 0x444300
mov edi, dword [esi + 0x2f8]
xor eax, eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov eax, dword [0x4c6060]
push eax
mov dword [esp + 0x1c], bind
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, dword [eax + 0x20]
lea edx, [edi*8 + 0x10]
and edx, 0xfffffff0
lea ebp, [ecx + edx]
cmp ebp, dword [eax + 0x2c]
ja 0x444372
mov dword [eax + 0x20], ebp
mov eax, ecx
jmp 0x44437c
mov ebp, dword [eax]
push edx
mov edx, dword [ebp + 0x14]
mov ecx, eax
call edx
mov ecx, dword [esi + 0x54]
lea edx, [esp + 0x10]
mov dword [esp + 0x10], eax
or edi, 0x80000000
mov dword [esp + 0x1c], eax
push edx
mov dword [esp + 0x1c], edi
mov eax, dword [ecx]
mov eax, dword [eax + 0x20]
lea edx, [esp + 0x24]
push edx
call eax
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
push ecx
mov ecx, dword [esi + 0x58]
push edx
call fcn.00481300
mov eax, dword [0x4c6060]
mov ebp, dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, dword [esp + 0x1c]
push eax
call ebp
cmp edi, dword [eax + 0x28]
mov dword [eax + 0x20], edi
jne 0x4443d8
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x18]
push edi
call eax
mov eax, dword [esp + 0x18]
test eax, eax
js 0x444406
mov ecx, dword [0x4c6060]
and eax, 0x3fffffff
push ecx
mov edi, eax
call ebp
mov ecx, dword [esp + 0x10]
push 0x17
lea edx, [edi*8]
push edx
push ecx
mov ecx, eax
call fcn.004023e0
xor ebp, ebp
test ebx, ebx
jle 0x444478
lea esp, [esp]
mov edx, dword [esp + 0x34]
mov edi, dword [edx + ebp*4]
xor eax, eax
mov dword [edi + 8], eax
mov ecx, dword [esi + 0xe8]
cmp ecx, eax
jle 0x44443e
mov edx, dword [esi + 0xe4]
lea esp, [esp]
cmp dword [edx], edi
je 0x444441
add eax, 1
add edx, 4
cmp eax, ecx
jl 0x444430
or eax, 0xffffffff
add dword [esi + 0xe8], 0xffffffff
mov edx, dword [esi + 0xe8]
mov ecx, dword [esi + 0xe4]
mov edx, dword [ecx + edx*4]
mov dword [ecx + eax*4], edx
cmp word [edi + 4], 0
jne 0x44446a
mov eax, dword [edi]
mov edx, dword [eax + 0x30]
mov ecx, edi
call edx
mov ecx, edi
call fcn.00453f80
add ebp, 1
cmp ebp, ebx
jl 0x444410
add dword [esi + 0x84], 0xffffffff
jne 0x44449a
cmp byte [esi + 0x8c], 0
jne 0x44449a
cmp dword [esi + 0x80], 0
je 0x44449a
mov ecx, esi
call fcn.0043eff0
mov eax, dword [0x4c6060]
mov edi, dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, dword [esp + 0x2c]
push eax
call edi
cmp esi, dword [eax + 0x28]
mov dword [eax + 0x20], esi
jne 0x4444be
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x18]
push esi
call eax
mov eax, dword [esp + 0x28]
test eax, eax
js 0x4444ec
mov ecx, dword [0x4c6060]
and eax, 0x3fffffff
push ecx
mov esi, eax
call edi
mov ecx, dword [esp + 0x20]
push 0x17
lea edx, [esi*4]
push edx
push ecx
mov ecx, eax
call fcn.004023e0
pop edi
pop ebp
pop ebx
pop esi
add esp, 0x20
ret 8