Function at 0x42e440
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44fbb0
mov eax, dword fs:[0]
push eax
sub esp, 0x260
mov eax, dword [0x463040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x234], ecx
mov edi, dword [ebp + 0x14]
mov eax, dword [ebp + 0xc]
push dword [0x46b9c8]
mov esi, dword [ebp + 8]
mov ecx, dword [edi + 0x7c]
mov dword [ebp - 0x22c], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x224], eax
mov eax, dword [edi + 0xa0]
mov dword [ebp - 0x230], esi
mov dword [ebp - 0x244], ecx
mov dword [ebp - 0x24c], ecx
mov dword [ebp - 0x248], eax
mov dword [ebp - 0x240], edi
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x42e4c8
mov ecx, dword [eax + 4]
jmp 0x42e4ca
xor ecx, ecx
push ecx
push dword [ebp - 0x234]
mov edx, 0x110
call fcn.0041a400
mov ebx, eax
mov dword [ebp - 0x238], 0
add esp, 8
mov dword [ebp - 0x220], ebx
mov dword [ebp - 0x23c], ebx
mov dword [ebp - 4], 0
xor eax, eax
mov ecx, dword [esi + 0xc]
xor edx, edx
mov dword [ebp - 0x228], eax
test ecx, ecx
je 0x42e51d
mov edx, dword [esi + 8]
mov eax, ecx
mov dword [ebp - 0x228], eax
lock inc dword [ecx + 8]
mov dword [ebx + 0x14], 0
mov dword [ebx + 0x18], 0x430430
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x1c], 0
mov dword [ebx + 0x20], 0
mov dword [ebx + 0x24], 0
test eax, eax
je 0x42e570
mov dword [ebx + 0x20], edx
mov dword [ebx + 0x24], eax
lock inc dword [eax + 8]
mov eax, dword [ebp - 0x22c]
lea ecx, [ebx + 0x2c]
push edi
mov eax, dword [eax]
mov dword [ebx + 0x28], eax
call fcn.00428980
push dword [ebp - 0x224]
lea ecx, [ebx + 0xd8]
sub esp, 8
call fcn.00423920
push ecx
lea edx, [ebx + 0x2c]
lea ecx, [ebp - 0x268]
call fcn.0042bc90
add esp, 4
lea ecx, [ebp - 0x268]
cmp dword [ebx + 0xe8], 0
setne al
push dword [ebp - 0x224]
push ecx
push eax
lea ecx, [ebx + 0xf4]
call fcn.0042c200
mov byte [ebp - 4], 1
cmp dword [ebp - 0x258], 0
je 0x42e5ee
mov eax, dword [ebp - 0x25c]
lea ecx, [ebp - 0x268]
push ecx
mov eax, dword [eax]
call eax
add esp, 4
mov ecx, dword [ebp - 0x228]
mov byte [ebp - 4], 0
test ecx, ecx
je 0x42e60b
or eax, 0xffffffff
lock xadd dword [ecx + 8], eax
jne 0x42e60b
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x220]
lea ecx, [ebp - 0x21c]
push dword [ebp - 0x22c]
mov dword [ebp - 0x238], esi
mov dword [ebp - 0x220], esi
call fcn.0042fdc0
cmp dword [ebp - 0x244], 0
mov edi, dword [ebp - 0x230]
je 0x42e652
lea eax, [ebp - 0x220]
push eax
push edi
lea ecx, [ebp - 0x24c]
call fcn.004308e0
mov esi, eax
test byte [edi + 4], 0x10
je 0x42e662
cmp dword [ebp - 0x18], 0
jne 0x42e662
mov al, 1
jmp 0x42e664
xor al, al
mov ecx, dword [ebp - 0x234]
push esi
push eax
push dword [ebp + 0x10]
lea eax, [ebp - 0x21c]
push dword [ebp - 0x1c]
push eax
push edi
call fcn.00411960
lea ecx, [ebp - 0x240]
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x23c], 0
call fcn.00430330
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0043435c
mov esp, ebp
pop ebp
ret 0x14