Function at 0x42c4b0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x90
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0x14], 0x4368c0
mov dword [ebp - 0x5c], edx
mov dword [ebp - 0x2c], ecx
mov eax, dword fs:[0]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
mov dword fs:[0], eax
mov eax, dword [ecx]
mov esi, eax
test eax, eax
jne 0x42c4f8
jmp 0x42c54a
mov eax, esi
mov esi, eax
test eax, eax
je 0x42c54a
cmp esi, 1
je 0x42c540
cmp esi, 3
je 0x42c828
mov eax, esi
and eax, 3
cmp eax, 2
jne 0x42c9e1
mov eax, dword [0x452040]
test eax, eax
je 0x42c55f
push eax
call sub.KERNEL32.dll_TlsGetValue
cmp eax, 2
jb 0x42c57b
cmp dword [eax], 1
mov dword [ebp - 0x10], 0xffffffff
jne 0x42c57b
add eax, 4
jmp 0x42c58f
cmp byte [ebp - 0x5c], 0
je 0x42ca01
mov ecx, dword [ebp - 0x2c]
mov eax, esi
mov edx, 2
lock cmpxchg dword [ecx], edx
jne 0x42c4f2
jmp 0x42c7ef
mov ecx, 0x452040
mov dword [ebp - 0x10], 0xffffffff
call fcn.0041d970
push eax
call sub.KERNEL32.dll_TlsGetValue
cmp eax, 2
jae 0x42c528
mov dword [ebp - 0x10], 0xffffffff
call fcn.0041dac0
test eax, eax
je 0x42ca21
mov ecx, eax
call fcn.0041dbb0
mov dword [ebp - 0x58], eax
mov byte [ebp - 0x50], 0
mov dword [ebp - 0x54], 0
nop word cs:[eax + eax]
nop
mov eax, esi
and eax, 3
cmp eax, 2
jne 0x42c7c7
mov ecx, dword [ebp - 0x2c]
mov eax, esi
lea edx, [ebp - 0x56]
and eax, 0xfffffffc
mov dword [ebp - 0x54], eax
mov eax, esi
lock cmpxchg dword [ecx], edx
mov esi, eax
jne 0x42c5b0
jmp 0x42c7b7
mov eax, dword [0x452040]
test eax, eax
jne 0x42c5fa
mov ecx, 0x452040
mov dword [ebp - 0x10], 2
call fcn.0041d970
push eax
call sub.KERNEL32.dll_TlsGetValue
cmp eax, 2
jb 0x42c620
cmp dword [eax], 1
mov dword [ebp - 0x10], 2
jne 0x42c620
add eax, 4
mov ecx, eax
call fcn.0041dbb0
jmp 0x42c63b
mov dword [ebp - 0x10], 2
call fcn.0041dac0
test eax, eax
je 0x42c886
mov ecx, eax
call fcn.0041dbb0
mov ecx, eax
mov dword [ebp - 0x24], eax
mov eax, 2
xor edx, edx
lock cmpxchg dword [ecx + 0x18], edx
je 0x42c7a0
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax + 0x1c]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x10], 3
call fcn.0041f040
call fcn.0041f8a0
test eax, eax
je 0x42c8cf
mov esi, dword [ebp - 0x28]
cmp dword [eax], 0
mov dl, byte [esi + 0x20]
setne al
lea ecx, [esi + 0x1c]
test dl, dl
jne 0x42c8a5
mov dword [ebp - 0x4c], ecx
mov byte [ebp - 0x48], al
xor eax, eax
mov edx, 1
lock cmpxchg dword [esi + 0x18], edx
jne 0x42c750
nop word cs:[eax + eax]
nop dword [eax]
mov eax, dword [ebp - 0x4c]
movzx edx, byte [ebp - 0x48]
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x44], eax
mov byte [ebp - 0x40], dl
mov esi, dword [eax]
xor eax, eax
lock cmpxchg dword [ecx + 0x28], esi
je 0x42c6d3
cmp eax, esi
jne 0x42c83c
mov eax, dword [ecx + 0x24]
mov edx, dword [0x4529fc]
mov dword [ebp - 0x10], 6
test edx, edx
jne 0x42c714
mov ecx, str.SleepConditionVariableSRWcondition_variables_not_available
mov edx, 0x19
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x28], esi
call fcn.0041e230
test eax, eax
mov eax, 0x427760
cmove edx, eax
mov eax, edx
xchg dword [0x4529fc], eax
mov esi, dword [ebp - 0x28]
mov eax, dword [ebp - 0x60]
push 0
push 0xffffffffffffffff
push esi
push eax
call edx
mov eax, dword [ebp - 0x44]
movzx ecx, byte [eax + 4]
test cl, cl
movzx ecx, byte [ebp - 0x40]
jne 0x42c85c
mov esi, dword [ebp - 0x24]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x48], cl
mov eax, 2
xor edx, edx
lock cmpxchg dword [esi + 0x18], edx
jne 0x42c6b0
jmp 0x42c76d
cmp eax, 2
jne 0x42c8ec
mov eax, dword [ebp - 0x24]
xor ecx, ecx
xchg dword [eax + 0x18], ecx
cmp ecx, 2
mov dword [ebp - 0x64], ecx
jne 0x42c913
mov eax, dword [ebp - 0x4c]
cmp byte [ebp - 0x48], 0
mov dword [ebp - 0x10], 3
jne 0x42c799
mov dword [ebp - 0x28], eax
call fcn.0041f8a0
test eax, eax
je 0x42c9c1
cmp dword [eax], 0
mov eax, dword [ebp - 0x28]
je 0x42c799
mov byte [eax + 4], 1
mov ecx, dword [eax]
call fcn.0041f160
mov eax, dword [ebp - 0x24]
lock dec dword [eax]
jne 0x42c7b7
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x10], 2
call fcn.0041e0f0
mov al, byte [ebp - 0x50]
test al, al
je 0x42c5e0
mov eax, dword [ebp - 0x2c]
mov esi, dword [eax]
mov eax, dword [ebp - 0x58]
test eax, eax
je 0x42c4f0
lock dec dword [eax]
jne 0x42c4f0
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x10], 0xffffffff
call fcn.0041e0f0
jmp 0x42c4f0
mov eax, dword [ebp - 0x2c]
mov byte [ebp - 0x40], 1
mov dword [ebp - 0x10], 1
mov dword [ebp - 0x44], eax
xor eax, eax
cmp esi, 1
sete al
push eax
push dword [ebp + 8]
mov eax, dword [ebp + 0xc]
call dword [eax + 0xc]
add esp, 8
lea ecx, [ebp - 0x44]
mov byte [ebp - 0x40], 0
mov dword [ebp - 0x10], 0xffffffff
call fcn.0042cb70
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
add esp, 0x90
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [ebp - 0x10], 6
mov ecx, str.attempted_to_use_a_condition_variable_with_two_mutexes
mov edx, 0x36
push 0x448ad0
call fcn.0041f130
add esp, 4
jmp 0x42c884
mov dword [ebp - 0x44], eax
mov byte [ebp - 0x40], cl
mov dword [ebp - 0x10], 5
lea eax, [ebp - 0x44]
mov ecx, 0x447fab
mov edx, 0x2b
push 0x448a2c
push eax
call fcn.00411a20
add esp, 8
ud2
mov ecx, 0x447ee6
mov edx, 0x5e
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x10], 8
call fcn.004119b0
jmp 0x42c884
mov dword [ebp - 0x44], ecx
mov byte [ebp - 0x40], al
mov dword [ebp - 0x10], 7
lea eax, [ebp - 0x44]
mov ecx, 0x447fab
mov edx, 0x2b
push 0x448a2c
push eax
call fcn.00411a20
add esp, 8
jmp 0x42c884
lea eax, [ebp - 0x44]
mov ecx, 0x44943b
mov edx, 0x46
push 0x448144
push eax
call fcn.00411a20
add esp, 8
jmp 0x42c884
mov byte [ebp - 0x1d], 1
mov dword [ebp - 0x10], 4
mov ecx, str.inconsistent_park_state
mov edx, 0x17
push 0x448a54
call fcn.0041f130
add esp, 4
jmp 0x42c884
lea edx, [ebp - 0x68]
lea ecx, [ebp - 0x6c]
lea eax, [ebp - 0x64]
mov dword [ebp - 0x9c], 0x448a70
mov dword [ebp - 0x98], 3
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x44], 0x448a68
mov dword [ebp - 0x40], 1
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x34], 4
mov dword [ebp - 0x6c], 0x448a64
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x1d], 1
mov dword [ebp - 0x10], 4
mov dword [ebp - 0x84], edx
mov dword [ebp - 0x80], 0x41ec40
mov dword [ebp - 0x7c], ecx
lea ecx, [ebp - 0x84]
lea edx, [ebp - 0x44]
mov dword [ebp - 0x78], 0x41ec40
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x74], edx
mov dword [ebp - 0x8c], ecx
lea ecx, [ebp - 0x9c]
mov edx, 0x448a88
mov dword [ebp - 0x70], 0x412d20
mov dword [ebp - 0x88], 3
call fcn.004259c0
jmp 0x42c884
lea eax, [ebp - 0x44]
mov ecx, 0x44943b
mov edx, 0x46
push 0x448144
push eax
call fcn.00411a20
add esp, 8
jmp 0x42c884
mov ecx, str.assertion_failed:_state__STATE_MASK__RUNNING
mov edx, 0x2f
mov dword [ebp - 0x10], 0xffffffff
push 0x448ef8
call fcn.0041f130
add esp, 4
ud2
mov ecx, 0x448e8b
mov edx, 0x2a
mov dword [ebp - 0x10], 0xffffffff
push 0x448eb8
call fcn.0041f130
add esp, 4
ud2
mov ecx, 0x447ee6
mov edx, 0x5e
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x10], 0
call fcn.004119b0
jmp 0x42c884