Function at 0x428b3c
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov eax, dword [0x54d750]
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 0x428b66
push esi
call fcn.0043f598
pop ecx
mov esi, eax
test byte [esi + 1], 0x80
je 0x428cfa
test byte [esi + 1], 0x80
je 0x428c00
mov eax, dword [esi + 8]
cmp word [eax + 0xc], 0
je 0x428c00
push 0x15
push esi
call fcn.0042d58c
add esp, 8
test eax, eax
je 0x428c00
mov eax, dword [ebp + 8]
xor edx, edx
push edx
push eax
call fcn.00422edc
add esp, 8
push edi
mov ecx, dword [ebx]
mov eax, dword [ecx - 4]
push eax
push esi
push esi
push 0x15
call fcn.0042d5d0
add esp, 0x14
sub dword [ebx], 4
mov edx, dword [ebx]
mov eax, dword [edx]
test dword [eax], 0xb405
je 0x428bcb
push eax
call fcn.0043edc0
pop ecx
sub dword [ebx], 4
mov edx, dword [ebx]
mov eax, dword [edx]
test dword [eax], 0xb405
je 0x428be1
push eax
call fcn.0043edc0
pop ecx
sub dword [ebx], 4
mov edx, dword [ebx]
mov eax, dword [edx]
test dword [eax], 0xb405
je 0x428e82
push eax
call fcn.0043edc0
pop ecx
jmp 0x428e82
cmp dword [ebp + 8], 0
jbe 0x428c52
mov edx, dword [esi + 8]
mov ecx, dword [edx + 4]
cmp ecx, dword [ebp + 8]
jb 0x428c52
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.0043f08c
add esp, 8
sub dword [ebx], 4
mov eax, dword [ebx]
mov eax, dword [eax]
test dword [eax], 0xb405
je 0x428c4a
push eax
call fcn.0043edc0
pop ecx
sub dword [ebx], 4
jmp 0x428e82
mov eax, dword [ebp + 8]
xor edx, edx
push edx
push eax
call fcn.00422edc
add esp, 8
test byte [esi + 1], 0x80
je 0x428c71
mov ecx, dword [esi + 8]
cmp word [ecx + 0xc], 0
jne 0x428cd3
push edi
mov eax, dword [ebx]
mov edx, dword [eax - 4]
push edx
push esi
push esi
push 0x15
call fcn.0042d5d0
add esp, 0x14
test eax, eax
je 0x428cd3
sub dword [ebx], 4
mov ecx, dword [ebx]
mov eax, dword [ecx]
test dword [eax], 0xb405
je 0x428c9e
push eax
call fcn.0043edc0
pop ecx
sub dword [ebx], 4
mov edx, dword [ebx]
mov eax, dword [edx]
test dword [eax], 0xb405
je 0x428cb4
push eax
call fcn.0043edc0
pop ecx
sub dword [ebx], 4
mov edx, dword [ebx]
mov eax, dword [edx]
test dword [eax], 0xb405
je 0x428e82
push eax
call fcn.0043edc0
pop ecx
jmp 0x428e82
mov edx, dword [ebx]
mov ecx, dword [edx - 4]
push ecx
push 1
push 0x2f
call fcn.0046bdb8
pop ecx
push eax
push 0
push 0x46d
push 2
call fcn.00456f18
add esp, 0x18
jmp 0x428e82
test byte [esi], 4
je 0x428df6
mov eax, dword [ebp + 8]
xor edx, edx
push edx
push eax
call fcn.00422edc
add esp, 8
push 2
mov ecx, dword [ebx]
mov eax, dword [ecx - 4]
push eax
push esi
call fcn.0043caf8
add esp, 0xc
test eax, eax
je 0x428d6b
and dword [edi], 0xfffbf7ff
push edi
push eax
call fcn.0043f08c
add esp, 8
sub dword [ebx], 4
mov edx, dword [ebx]
mov eax, dword [edx]
test dword [eax], 0xb405
je 0x428d4d
push eax
call fcn.0043edc0
pop ecx
sub dword [ebx], 4
mov edx, dword [ebx]
mov eax, dword [edx]
test dword [eax], 0xb405
je 0x428d63
push eax
call fcn.0043edc0
pop ecx
sub dword [ebx], 4
jmp 0x428e82
push edi
mov edx, dword [ebx]
mov ecx, dword [edx - 4]
push ecx
push esi
push esi
push 0x15
call fcn.0042d5d0
add esp, 0x14
test eax, eax
je 0x428dcd
sub dword [ebx], 4
mov eax, dword [ebx]
mov eax, dword [eax]
test dword [eax], 0xb405
je 0x428d98
push eax
call fcn.0043edc0
pop ecx
sub dword [ebx], 4
mov edx, dword [ebx]
mov eax, dword [edx]
test dword [eax], 0xb405
je 0x428dae
push eax
call fcn.0043edc0
pop ecx
sub dword [ebx], 4
mov edx, dword [ebx]
mov eax, dword [edx]
test dword [eax], 0xb405
je 0x428e82
push eax
call fcn.0043edc0
pop ecx
jmp 0x428e82
push edi
mov edx, dword [ebx]
mov ecx, dword [edx - 4]
push ecx
push esi
push 3
push 0x2f
call fcn.0046bdb8
pop ecx
push eax
push 0
push 0x46d
push 2
call fcn.00456f18
add esp, 0x20
jmp 0x428e82
mov eax, dword [ebp + 8]
xor edx, edx
push edx
push eax
call fcn.00422edc
add esp, 8
push edi
mov ecx, dword [ebx]
mov eax, dword [ecx - 4]
push eax
push esi
push esi
push 0x15
call fcn.0042d5d0
add esp, 0x14
test eax, eax
je 0x428e60
sub dword [ebx], 4
mov edx, dword [ebx]
mov eax, dword [edx]
test dword [eax], 0xb405
je 0x428e32
push eax
call fcn.0043edc0
pop ecx
sub dword [ebx], 4
mov edx, dword [ebx]
mov eax, dword [edx]
test dword [eax], 0xb405
je 0x428e48
push eax
call fcn.0043edc0
pop ecx
sub dword [ebx], 4
mov edx, dword [ebx]
mov eax, dword [edx]
test dword [eax], 0xb405
je 0x428e82
push eax
call fcn.0043edc0
pop ecx
jmp 0x428e82
mov edx, dword [ebx]
mov ecx, dword [edx - 4]
push ecx
push 1
push 0x2f
call fcn.0046bdb8
pop ecx
push eax
push 0
push 0x42d
push 1
call fcn.00456f18
add esp, 0x18
pop edi
pop esi
pop ebx
pop ebp
ret