Function at 0x42ddb0
Capabilities:
Get thread local storage value

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44fbf0
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x278
mov eax, dword [0x463040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x260], ecx
mov ecx, dword [ebx + 0x14]
mov eax, dword [ebx + 0x18]
push dword [0x46b9c8]
mov esi, dword [ebx + 8]
mov edx, dword [ecx + 0x7c]
mov dword [ebp - 0x250], eax
mov eax, dword [ecx + 0xa0]
mov dword [ebp - 0x25c], esi
mov dword [ebp - 0x254], ecx
mov dword [ebp - 0x278], edx
mov dword [ebp - 0x284], edx
mov dword [ebp - 0x280], eax
mov dword [ebp - 0x26c], ecx
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x42de48
mov ecx, dword [eax + 4]
jmp 0x42de4a
xor ecx, ecx
push ecx
push dword [ebp - 0x260]
mov edx, 0x110
call fcn.0041a400
mov edi, eax
mov dword [ebp - 0x264], 0
add esp, 8
mov dword [ebp - 0x258], edi
mov dword [ebp - 0x268], edi
mov dword [ebp - 4], 0
xor eax, eax
mov ecx, dword [esi + 0xc]
xor edx, edx
mov dword [ebp - 0x24c], eax
test ecx, ecx
je 0x42de9d
mov edx, dword [esi + 8]
mov eax, ecx
mov dword [ebp - 0x24c], eax
lock inc dword [ecx + 8]
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0x430430
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
test eax, eax
je 0x42def0
mov dword [edi + 0x20], edx
mov dword [edi + 0x24], eax
lock inc dword [eax + 8]
mov eax, dword [ebx + 0xc]
lea ecx, [edi + 0x2c]
push dword [ebp - 0x254]
mov eax, dword [eax]
mov dword [edi + 0x28], eax
call fcn.00428980
push dword [ebp - 0x250]
lea ecx, [edi + 0xd8]
sub esp, 8
call fcn.00423920
push ecx
lea edx, [edi + 0x2c]
lea ecx, [ebp - 0x3c]
call fcn.0042bc90
add esp, 4
lea ecx, [ebp - 0x3c]
cmp dword [edi + 0xe8], 0
setne al
push dword [ebp - 0x250]
push ecx
push eax
lea ecx, [edi + 0xf4]
call fcn.0042c200
mov byte [ebp - 4], 1
cmp dword [ebp - 0x2c], 0
je 0x42df61
mov eax, dword [ebp - 0x30]
lea ecx, [ebp - 0x3c]
push ecx
mov eax, dword [eax]
call eax
add esp, 4
mov ecx, dword [ebp - 0x24c]
mov byte [ebp - 4], 0
test ecx, ecx
je 0x42df7e
or eax, 0xffffffff
lock xadd dword [ecx + 8], eax
jne 0x42df7e
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x258]
xor esi, esi
xor eax, eax
mov dword [ebp - 0x264], ecx
mov dword [ebp - 0x44], eax
mov eax, dword [ebx + 0xc]
mov dword [ebp - 0x27c], ecx
mov dword [ebp - 0x48], esi
mov ecx, dword [eax]
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x274], ecx
mov eax, dword [ecx + 0xc]
mov dword [ebp - 0x270], eax
mov eax, dword [ecx + 0x10]
mov dword [ebp - 0x254], eax
mov eax, dword [ecx + 4]
mov dword [ebp - 0x2c], eax
mov eax, dword [ecx]
mov dword [ebp - 0x24], eax
mov edx, dword [eax + 8]
mov dword [ebp - 0x28], edx
movups xmm0, xmmword [ebp - 0x30]
movups xmmword [ebp - 0x30], xmm0
mov eax, dword [ebp - 0x28]
mov edi, dword [ebp - 0x2c]
mov dword [ebp - 0x250], eax
nop
cmp dword [ebp - 0x30], ecx
mov ecx, dword [ebp - 0x24]
jne 0x42dffc
cmp ecx, dword [ebp - 0x254]
jne 0x42dffc
cmp edx, dword [ebp - 0x270]
je 0x42e0c3
cmp esi, 0x40
jae 0x42e0c3
xorps xmm0, xmm0
movlpd qword [ebp - 0x20], xmm0
cmp eax, dword [ecx + 8]
jne 0x42e037
mov edx, dword [ebp - 0x250]
mov ecx, dword [ecx + 0xc]
mov eax, dword [eax]
mov edx, dword [edx + 4]
cmp ecx, edx
cmovae ecx, edx
add eax, ecx
sub edx, ecx
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x250]
mov ecx, dword [ebp - 0x1c]
jmp 0x42e03c
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [ebp - 0x24c], edx
cmp edi, edx
jae 0x42e050
mov edx, edi
mov dword [ebp - 0x24c], edi
jmp 0x42e056
mov dword [ebp - 0x24c], edx
mov dword [ebp + esi*8 - 0x244], ecx
mov dword [ebp + esi*8 - 0x248], edx
lea edx, [eax + 8]
mov ecx, dword [ebp - 0x44]
add ecx, dword [ebp - 0x24c]
mov esi, dword [ebp - 0x24]
mov dword [ebp - 0x44], ecx
mov ecx, eax
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x1c], edx
cmp eax, dword [esi + 8]
mov eax, dword [ecx]
mov dword [ebp - 0x250], edx
mov edx, dword [ecx + 4]
mov cl, 0x20
jne 0x42e0a1
mov esi, dword [esi + 0xc]
call fcn.0044cff0
cmp esi, eax
cmovae esi, eax
sub eax, esi
jmp 0x42e0a6
call fcn.0044cff0
mov esi, dword [ebp - 0x48]
sub edi, eax
mov eax, dword [ebp - 0x250]
inc esi
mov edx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x274]
mov dword [ebp - 0x48], esi
jmp 0x42dfe0
cmp dword [ebp - 0x278], 0
mov edi, dword [ebp - 0x25c]
je 0x42e0ec
lea eax, [ebp - 0x27c]
push eax
push edi
lea ecx, [ebp - 0x284]
call fcn.004308e0
mov esi, dword [ebp - 0x48]
mov ecx, eax
jmp 0x42e0f2
mov ecx, dword [ebp - 0x258]
test byte [edi + 4], 0x10
je 0x42e103
mov eax, dword [ebp - 0x44]
test eax, eax
jne 0x42e103
mov al, 1
jmp 0x42e105
xor al, al
push ecx
mov ecx, dword [ebp - 0x260]
push eax
push dword [ebx + 0x10]
lea eax, [ebp - 0x248]
push esi
push eax
push edi
call fcn.00411960
lea ecx, [ebp - 0x26c]
mov dword [ebp - 0x264], 0
mov dword [ebp - 0x268], 0
call fcn.00430330
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0043435c
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x14