Function at 0x42e940
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44fb70
mov eax, dword fs:[0]
push eax
sub esp, 0x258
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 - 0x230], ecx
mov edi, dword [ebp + 0x14]
mov eax, dword [ebp + 0x18]
push dword [0x46b9c8]
mov esi, dword [ebp + 8]
mov ecx, dword [edi + 0x7c]
mov dword [ebp - 0x228], eax
mov eax, dword [edi + 0xa0]
mov dword [ebp - 0x22c], esi
mov dword [ebp - 0x240], ecx
mov dword [ebp - 0x248], ecx
mov dword [ebp - 0x244], eax
mov dword [ebp - 0x23c], edi
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x42e9bf
mov ecx, dword [eax + 4]
jmp 0x42e9c1
xor ecx, ecx
push ecx
push dword [ebp - 0x230]
mov edx, 0x110
call fcn.0041a400
mov ebx, eax
mov dword [ebp - 0x234], 0
add esp, 8
mov dword [ebp - 0x224], ebx
mov dword [ebp - 0x238], ebx
mov dword [ebp - 4], 0
xor eax, eax
mov ecx, dword [esi + 0xc]
xor edx, edx
mov dword [ebp - 0x220], eax
test ecx, ecx
je 0x42ea14
mov edx, dword [esi + 8]
mov eax, ecx
mov dword [ebp - 0x220], 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 0x42ea67
mov dword [ebx + 0x20], edx
mov dword [ebx + 0x24], eax
lock inc dword [eax + 8]
mov eax, dword [ebp + 0xc]
lea ecx, [ebx + 0x2c]
push edi
mov eax, dword [eax]
mov dword [ebx + 0x28], eax
call fcn.00428980
push dword [ebp - 0x228]
lea ecx, [ebx + 0xd8]
sub esp, 8
call fcn.00423920
push ecx
lea edx, [ebx + 0x2c]
lea ecx, [ebp - 0x264]
call fcn.0042bc90
add esp, 4
lea ecx, [ebp - 0x264]
cmp dword [ebx + 0xe8], 0
setne al
push dword [ebp - 0x228]
push ecx
push eax
lea ecx, [ebx + 0xf4]
call fcn.0042c200
mov byte [ebp - 4], 1
cmp dword [ebp - 0x254], 0
je 0x42eae2
mov eax, dword [ebp - 0x258]
lea ecx, [ebp - 0x264]
push ecx
mov eax, dword [eax]
call eax
add esp, 4
mov ecx, dword [ebp - 0x220]
mov byte [ebp - 4], 0
test ecx, ecx
je 0x42eaff
or eax, 0xffffffff
lock xadd dword [ecx + 8], eax
jne 0x42eaff
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp + 0xc]
sub esp, 0x20
mov ebx, dword [ebp - 0x224]
mov edi, esp
mov dword [ebp - 0x1c], 0
lea ecx, [edi + 0xc]
mov dword [ebp - 0x18], 0
mov esi, dword [eax]
mov dword [edi], esi
mov dword [ebp - 0x234], ebx
mov dword [ebp - 0x224], ebx
mov eax, dword [esi + 8]
mov dword [edi + 4], eax
mov eax, dword [esi + 0xc]
mov dword [edi + 8], eax
lea eax, [esi + 0x10]
push eax
mov byte [ecx + 0xc], 0
call fcn.0042bf50
mov eax, dword [esi + 0x20]
sub esp, 0x20
mov dword [edi + 0x1c], eax
mov edx, esp
mov eax, dword [ebp + 0xc]
sub esp, 0x14
lea edi, [edx + 8]
mov ecx, dword [eax]
mov dword [edx], ecx
mov eax, dword [ecx + 4]
mov dword [edx + 4], eax
mov esi, dword [ecx]
mov ecx, esp
mov eax, dword [esi + 0x38]
mov dword [ecx], eax
add ecx, 4
lea eax, [esi + 0x3c]
push eax
mov byte [ecx + 0xc], 0
call fcn.0042bf50
push esi
mov ecx, edi
call fcn.0042caa0
lea ecx, [ebp - 0x21c]
call fcn.00430fa0
cmp dword [ebp - 0x240], 0
mov esi, dword [ebp - 0x22c]
je 0x42ebb5
lea eax, [ebp - 0x224]
push eax
push esi
lea ecx, [ebp - 0x248]
call fcn.004308e0
mov ebx, eax
test byte [esi + 4], 0x10
je 0x42ebc5
cmp dword [ebp - 0x18], 0
jne 0x42ebc5
mov al, 1
jmp 0x42ebc7
xor al, al
mov ecx, dword [ebp - 0x230]
push ebx
push eax
push dword [ebp + 0x10]
lea eax, [ebp - 0x21c]
push dword [ebp - 0x1c]
push eax
push esi
call fcn.00411960
lea ecx, [ebp - 0x23c]
mov dword [ebp - 0x234], 0
mov dword [ebp - 0x238], 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