Function at 0x42d870
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 0x42d8ef
mov ecx, dword [eax + 4]
jmp 0x42d8f1
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 0x42d944
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 0x42d997
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 0x42da12
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 0x42da2f
or eax, 0xffffffff
lock xadd dword [ecx + 8], eax
jne 0x42da2f
mov eax, dword [ecx]
call dword [eax + 4]
mov ebx, dword [ebp + 0xc]
sub esp, 0x20
mov esi, dword [ebp - 0x224]
mov ecx, esp
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov edx, dword [ebx]
mov dword [ecx], edx
mov dword [ebp - 0x234], esi
mov dword [ebp - 0x224], esi
mov eax, dword [edx + 8]
mov dword [ecx + 4], eax
lea eax, [edx + 0xc]
add ecx, 8
push eax
call fcn.0042b520
mov edx, dword [ebx]
sub esp, 0x20
mov ecx, esp
push ecx
mov dword [ecx], edx
mov eax, dword [edx + 4]
mov dword [ecx + 4], eax
add ecx, 8
mov edx, dword [edx]
call fcn.0042c320
add esp, 4
lea ecx, [ebp - 0x21c]
call fcn.00431490
cmp dword [ebp - 0x240], 0
mov edi, dword [ebp - 0x22c]
je 0x42dab9
lea eax, [ebp - 0x224]
push eax
push edi
lea ecx, [ebp - 0x248]
call fcn.004308e0
mov esi, eax
test byte [edi + 4], 0x10
je 0x42dac9
cmp dword [ebp - 0x18], 0
jne 0x42dac9
mov al, 1
jmp 0x42dacb
xor al, al
mov ecx, dword [ebp - 0x230]
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 - 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