Function at 0x42abe8
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0x10]
mov esi, dword [ebp + 0xc]
test byte [eax + 1], 0x80
je 0x42aea1
mov eax, dword [eax + 8]
test edx, edx
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
mov eax, dword [ecx + 4]
je 0x42ac1e
cmp dword [edx], 0
je 0x42ac1e
mov ebx, dword [edx]
dec ebx
jmp 0x42ac20
xor ebx, ebx
cmp eax, ebx
jbe 0x42aea1
mov edi, eax
sub edi, ebx
cmp dword [ebp + 0x14], 0
je 0x42ac3e
mov eax, dword [ebp + 0x14]
cmp edi, dword [eax]
jbe 0x42ac3e
mov edx, dword [ebp + 0x14]
mov edi, dword [edx]
test edi, edi
jbe 0x42aea1
test byte [esi + 1], 0x10
je 0x42acbc
call fcn.0042349c
push esi
call fcn.00422db8
pop ecx
mov eax, dword [ebp - 4]
mov ecx, ebx
shl ecx, 3
mov edx, dword [eax]
lea ecx, [ecx + ecx*2]
add edx, ecx
push edx
call fcn.00422db8
pop ecx
inc ebx
push ebx
call fcn.00423054
pop ecx
push 2
call fcn.00422578
pop ecx
mov eax, dword [0x555894]
push eax
call sub.KERNEL32.DLL_TlsGetValue
test byte [eax + 0x10], 0x80
je 0x42aca8
mov edx, dword [0x555894]
push edx
call sub.KERNEL32.DLL_TlsGetValue
cmp dword [eax + 0x18], 0
je 0x42aca8
mov eax, ebx
jmp 0x42aea3
dec edi
je 0x42aea1
mov edx, dword [ebp - 4]
cmp ebx, dword [edx + 4]
jb 0x42ac4c
jmp 0x42aea1
test byte [esi + 1], 4
je 0x42acf9
mov edx, ebx
mov ecx, dword [ebp - 4]
shl edx, 3
inc ebx
mov eax, dword [ecx]
lea edx, [edx + edx*2]
add eax, edx
test byte [eax + 1], 4
je 0x42acf1
mov ecx, dword [ebp + 0x18]
push ecx
push esi
push eax
call fcn.0043fa58
add esp, 0xc
test eax, eax
jne 0x42acf1
mov eax, ebx
jmp 0x42aea3
dec edi
jne 0x42acc2
jmp 0x42aea1
test byte [esi], 0x1a
je 0x42ad3b
push esi
call fcn.0043e188
pop ecx
fstp qword [ebp - 0xc]
mov eax, ebx
mov edx, dword [ebp - 4]
shl eax, 3
inc ebx
mov esi, dword [edx]
lea eax, [eax + eax*2]
add esi, eax
test byte [esi], 0x1a
je 0x42ad33
push esi
call fcn.0043e188
fcomp qword [ebp - 0xc]
pop ecx
fnstsw ax
sahf
jne 0x42ad33
mov eax, ebx
jmp 0x42aea3
dec edi
jne 0x42ad08
jmp 0x42aea1
test byte [esi], 0x60
je 0x42ada6
cmp dword [ebp + 0x18], 0
je 0x42ad7a
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov edx, ebx
shl edx, 3
lea edx, [edx + edx*2]
add eax, edx
inc ebx
test byte [eax], 0x60
je 0x42ad72
mov ecx, dword [eax + 8]
cmp ecx, dword [esi + 8]
jne 0x42ad72
mov eax, dword [eax + 0xc]
cmp eax, dword [esi + 0xc]
jne 0x42ad72
mov eax, ebx
jmp 0x42aea3
dec edi
jne 0x42ad46
jmp 0x42aea1
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov edx, ebx
shl edx, 3
lea edx, [edx + edx*2]
add eax, edx
inc ebx
test byte [eax], 0x60
je 0x42ad9e
mov ecx, dword [eax + 8]
cmp ecx, dword [esi + 8]
jne 0x42ad9e
mov eax, ebx
jmp 0x42aea3
dec edi
jne 0x42ad7a
jmp 0x42aea1
test byte [esi], 0x80
je 0x42ade5
push esi
call fcn.0043e12c
pop ecx
mov dword [ebp - 0x10], eax
mov eax, ebx
mov edx, dword [ebp - 4]
shl eax, 3
inc ebx
mov esi, dword [edx]
lea eax, [eax + eax*2]
add esi, eax
test byte [esi], 0x80
je 0x42addd
push esi
call fcn.0043e12c
pop ecx
cmp eax, dword [ebp - 0x10]
jne 0x42addd
mov eax, ebx
jmp 0x42aea3
dec edi
jne 0x42adb5
jmp 0x42aea1
test dword [esi], 0xfffbffff
jne 0x42ae14
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov edx, ebx
shl edx, 3
lea edx, [edx + edx*2]
add eax, edx
inc ebx
test dword [eax], 0xfffbffff
jne 0x42ae0c
mov eax, ebx
jmp 0x42aea3
dec edi
jne 0x42aded
jmp 0x42aea1
test byte [esi], 1
je 0x42ae3f
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov edx, ebx
shl edx, 3
lea edx, [edx + edx*2]
add eax, edx
inc ebx
test byte [eax], 1
je 0x42ae3a
mov ecx, dword [eax + 8]
cmp ecx, dword [esi + 8]
jne 0x42ae3a
mov eax, ebx
jmp 0x42aea3
dec edi
jne 0x42ae19
jmp 0x42aea1
cmp dword [ebp + 0x18], 0
je 0x42ae72
test byte [esi + 1], 0x80
je 0x42ae72
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov edx, ebx
shl edx, 3
lea edx, [edx + edx*2]
add eax, edx
inc ebx
test byte [eax + 1], 0x80
je 0x42ae6d
mov ecx, dword [eax + 8]
cmp ecx, dword [esi + 8]
jne 0x42ae6d
mov eax, ebx
jmp 0x42aea3
dec edi
jne 0x42ae4b
jmp 0x42aea1
cmp dword [ebp + 0x18], 0
je 0x42aea1
test byte [esi], 4
je 0x42aea1
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov edx, ebx
shl edx, 3
lea edx, [edx + edx*2]
add eax, edx
inc ebx
test byte [eax], 4
je 0x42ae9e
mov ecx, dword [eax + 8]
cmp ecx, dword [esi + 8]
jne 0x42ae9e
mov eax, ebx
jmp 0x42aea3
dec edi
jne 0x42ae7d
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret