Function at 0x428d84
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov eax, dword [0x555894]
push eax
call sub.KERNEL32.DLL_TlsGetValue
mov ebx, eax
mov eax, dword [ebx]
mov edi, dword [eax - 8]
mov esi, dword [eax - 4]
test byte [esi + 1], 0x20
je 0x428dae
push esi
call fcn.0043f7e0
pop ecx
mov esi, eax
test byte [esi + 1], 0x80
je 0x428f42
test byte [esi + 1], 0x80
je 0x428e48
mov eax, dword [esi + 8]
cmp word [eax + 0xc], 0
je 0x428e48
push 0x15
push esi
call fcn.0042d7d4
add esp, 8
test eax, eax
je 0x428e48
mov eax, dword [ebp + 8]
xor edx, edx
push edx
push eax
call fcn.00423124
add esp, 8
push edi
mov ecx, dword [ebx]
mov eax, dword [ecx - 4]
push eax
push esi
push esi
push 0x15
call fcn.0042d818
add esp, 0x14
sub dword [ebx], 4
mov edx, dword [ebx]
mov eax, dword [edx]
test dword [eax], 0xb405
je 0x428e13
push eax
call fcn.0043f008
pop ecx
sub dword [ebx], 4
mov edx, dword [ebx]
mov eax, dword [edx]
test dword [eax], 0xb405
je 0x428e29
push eax
call fcn.0043f008
pop ecx
sub dword [ebx], 4
mov edx, dword [ebx]
mov eax, dword [edx]
test dword [eax], 0xb405
je 0x4290ca
push eax
call fcn.0043f008
pop ecx
jmp 0x4290ca
cmp dword [ebp + 8], 0
jbe 0x428e9a
mov edx, dword [esi + 8]
mov ecx, dword [edx + 4]
cmp ecx, dword [ebp + 8]
jb 0x428e9a
and dword [edi], 0xfffbf7ff
push edi
mov ecx, dword [ebp + 8]
mov eax, dword [esi + 8]
shl ecx, 3
mov edx, dword [eax]
lea ecx, [ecx + ecx*2]
add edx, ecx
add edx, 0xffffffe8
push edx
call fcn.0043f2d4
add esp, 8
sub dword [ebx], 4
mov eax, dword [ebx]
mov eax, dword [eax]
test dword [eax], 0xb405
je 0x428e92
push eax
call fcn.0043f008
pop ecx
sub dword [ebx], 4
jmp 0x4290ca
mov eax, dword [ebp + 8]
xor edx, edx
push edx
push eax
call fcn.00423124
add esp, 8
test byte [esi + 1], 0x80
je 0x428eb9
mov ecx, dword [esi + 8]
cmp word [ecx + 0xc], 0
jne 0x428f1b
push edi
mov eax, dword [ebx]
mov edx, dword [eax - 4]
push edx
push esi
push esi
push 0x15
call fcn.0042d818
add esp, 0x14
test eax, eax
je 0x428f1b
sub dword [ebx], 4
mov ecx, dword [ebx]
mov eax, dword [ecx]
test dword [eax], 0xb405
je 0x428ee6
push eax
call fcn.0043f008
pop ecx
sub dword [ebx], 4
mov edx, dword [ebx]
mov eax, dword [edx]
test dword [eax], 0xb405
je 0x428efc
push eax
call fcn.0043f008
pop ecx
sub dword [ebx], 4
mov edx, dword [ebx]
mov eax, dword [edx]
test dword [eax], 0xb405
je 0x4290ca
push eax
call fcn.0043f008
pop ecx
jmp 0x4290ca
mov edx, dword [ebx]
mov ecx, dword [edx - 4]
push ecx
push 1
push 0x2f
call fcn.0046c000
pop ecx
push eax
push 0
push 0x46d
push 2
call fcn.00457160
add esp, 0x18
jmp 0x4290ca
test byte [esi], 4
je 0x42903e
mov eax, dword [ebp + 8]
xor edx, edx
push edx
push eax
call fcn.00423124
add esp, 8
push 2
mov ecx, dword [ebx]
mov eax, dword [ecx - 4]
push eax
push esi
call fcn.0043cd40
add esp, 0xc
test eax, eax
je 0x428fb3
and dword [edi], 0xfffbf7ff
push edi
push eax
call fcn.0043f2d4
add esp, 8
sub dword [ebx], 4
mov edx, dword [ebx]
mov eax, dword [edx]
test dword [eax], 0xb405
je 0x428f95
push eax
call fcn.0043f008
pop ecx
sub dword [ebx], 4
mov edx, dword [ebx]
mov eax, dword [edx]
test dword [eax], 0xb405
je 0x428fab
push eax
call fcn.0043f008
pop ecx
sub dword [ebx], 4
jmp 0x4290ca
push edi
mov edx, dword [ebx]
mov ecx, dword [edx - 4]
push ecx
push esi
push esi
push 0x15
call fcn.0042d818
add esp, 0x14
test eax, eax
je 0x429015
sub dword [ebx], 4
mov eax, dword [ebx]
mov eax, dword [eax]
test dword [eax], 0xb405
je 0x428fe0
push eax
call fcn.0043f008
pop ecx
sub dword [ebx], 4
mov edx, dword [ebx]
mov eax, dword [edx]
test dword [eax], 0xb405
je 0x428ff6
push eax
call fcn.0043f008
pop ecx
sub dword [ebx], 4
mov edx, dword [ebx]
mov eax, dword [edx]
test dword [eax], 0xb405
je 0x4290ca
push eax
call fcn.0043f008
pop ecx
jmp 0x4290ca
push edi
mov edx, dword [ebx]
mov ecx, dword [edx - 4]
push ecx
push esi
push 3
push 0x2f
call fcn.0046c000
pop ecx
push eax
push 0
push 0x46d
push 2
call fcn.00457160
add esp, 0x20
jmp 0x4290ca
mov eax, dword [ebp + 8]
xor edx, edx
push edx
push eax
call fcn.00423124
add esp, 8
push edi
mov ecx, dword [ebx]
mov eax, dword [ecx - 4]
push eax
push esi
push esi
push 0x15
call fcn.0042d818
add esp, 0x14
test eax, eax
je 0x4290a8
sub dword [ebx], 4
mov edx, dword [ebx]
mov eax, dword [edx]
test dword [eax], 0xb405
je 0x42907a
push eax
call fcn.0043f008
pop ecx
sub dword [ebx], 4
mov edx, dword [ebx]
mov eax, dword [edx]
test dword [eax], 0xb405
je 0x429090
push eax
call fcn.0043f008
pop ecx
sub dword [ebx], 4
mov edx, dword [ebx]
mov eax, dword [edx]
test dword [eax], 0xb405
je 0x4290ca
push eax
call fcn.0043f008
pop ecx
jmp 0x4290ca
mov edx, dword [ebx]
mov ecx, dword [edx - 4]
push ecx
push 1
push 0x2f
call fcn.0046c000
pop ecx
push eax
push 0
push 0x42d
push 1
call fcn.00457160
add esp, 0x18
pop edi
pop esi
pop ebx
pop ebp
ret