Function at 0x428b28
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, dword [0x555894]
push eax
call sub.KERNEL32.DLL_TlsGetValue
mov esi, eax
mov eax, dword [esi]
mov ebx, dword [eax - 4]
test byte [ebx + 1], 0x80
je 0x428c82
test byte [ebx + 1], 0x80
je 0x428bae
mov eax, dword [ebx + 8]
cmp word [eax + 0xc], 0
je 0x428bae
push 0x15
push ebx
call fcn.0042d7d4
add esp, 8
test eax, eax
je 0x428bae
mov eax, edi
xor edx, edx
push edx
push eax
call fcn.00423124
add esp, 8
push 0
mov ecx, dword [esi]
mov eax, dword [ecx - 4]
push eax
push ebx
push ebx
push 0x15
call fcn.0042d818
add esp, 0x14
sub dword [esi], 4
mov edx, dword [esi]
mov eax, dword [edx]
test dword [eax], 0xb405
je 0x428d7d
push eax
call fcn.0043f008
pop ecx
jmp 0x428d7d
test edi, edi
jbe 0x428c05
mov edx, dword [ebx + 8]
cmp edi, dword [edx + 4]
ja 0x428c05
add dword [esi], 4
mov ecx, dword [esi]
cmp ecx, dword [esi + 4]
jne 0x428bc9
call fcn.00432d24
mov eax, dword [esi]
mov edx, dword [eax - 4]
mov dword [ebp - 4], edx
mov edx, edi
shl edx, 3
mov ecx, dword [ebx + 8]
mov eax, dword [ecx]
lea edx, [edx + edx*2]
add eax, edx
add eax, 0xffffffe8
push eax
mov ecx, dword [ebp - 4]
push ecx
call fcn.0043f0d4
add esp, 8
mov eax, dword [ebp - 4]
push eax
push ebx
call fcn.0043f284
add esp, 8
sub dword [esi], 4
jmp 0x428d7d
mov eax, edi
xor edx, edx
push edx
push eax
call fcn.00423124
add esp, 8
test byte [ebx + 1], 0x80
je 0x428c23
mov ecx, dword [ebx + 8]
cmp word [ecx + 0xc], 0
jne 0x428c5a
push 0
mov eax, dword [esi]
mov edx, dword [eax - 4]
push edx
push ebx
push ebx
push 0x15
call fcn.0042d818
add esp, 0x14
test eax, eax
je 0x428c5a
sub dword [esi], 4
mov ecx, dword [esi]
mov eax, dword [ecx]
test dword [eax], 0xb405
je 0x428d7d
push eax
call fcn.0043f008
pop ecx
jmp 0x428d7d
mov edx, dword [esi]
mov ecx, dword [edx - 4]
push ecx
push ebx
push 2
push 0x2e
call fcn.0046c000
pop ecx
push eax
push 0
push 0x46c
push 2
call fcn.00457160
add esp, 0x1c
jmp 0x428d7d
test byte [ebx], 4
je 0x428d1c
mov eax, edi
xor edx, edx
push edx
push eax
call fcn.00423124
add esp, 8
mov ecx, dword [esi]
mov edi, dword [ecx - 4]
push 1
push edi
push ebx
call fcn.0043cd40
add esp, 0xc
test eax, eax
je 0x428cca
push eax
push edi
call fcn.0043f0d4
add esp, 8
push edi
push ebx
call fcn.0043f284
add esp, 8
sub dword [esi], 4
jmp 0x428d7d
push 0
push edi
push ebx
push ebx
push 0x15
call fcn.0042d818
add esp, 0x14
test eax, eax
je 0x428cfc
sub dword [esi], 4
mov eax, dword [esi]
mov eax, dword [eax]
test dword [eax], 0xb405
je 0x428d7d
push eax
call fcn.0043f008
pop ecx
jmp 0x428d7d
push edi
push ebx
push 2
push 0x2e
call fcn.0046c000
pop ecx
push eax
push 0
push 0x46c
push 2
call fcn.00457160
add esp, 0x1c
jmp 0x428d7d
mov eax, edi
xor edx, edx
push edx
push eax
call fcn.00423124
add esp, 8
push 0
mov ecx, dword [esi]
mov eax, dword [ecx - 4]
push eax
push ebx
push ebx
push 0x15
call fcn.0042d818
add esp, 0x14
test eax, eax
je 0x428d5a
sub dword [esi], 4
mov edx, dword [esi]
mov eax, dword [edx]
test dword [eax], 0xb405
je 0x428d7d
push eax
call fcn.0043f008
pop ecx
jmp 0x428d7d
mov edx, dword [esi]
mov ecx, dword [edx - 4]
push ecx
push ebx
push 2
push 0x2e
call fcn.0046c000
pop ecx
push eax
push 0
push 0x42c
push 1
call fcn.00457160
add esp, 0x1c
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret