Function at 0x429ed0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4869db
mov eax, dword fs:[0]
push eax
mov eax, 0x1834
call fcn.004307c0
mov eax, dword [0x49c33c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x183c], ebx
mov ecx, dword [ebp + 0xc]
push dword [ebx + 0x38]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x1838], edi
mov dword [ebp - 0x1828], ecx
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, dword [ebp - 0x1828]
mov edx, eax
cmp byte [ecx + 0x34], 0
lea esi, [ecx + 0x1c]
mov dword [ebp - 0x1830], edx
mov dword [ebp - 0x182c], 0
mov dword [ebp - 0x1840], esi
je 0x429f5f
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [ebp - 0x1828]
mov edx, dword [ebp - 0x1830]
cmp dword [ecx], 0
mov dword [ebp - 4], 0
mov byte [ecx + 0x41], 1
je 0x429f82
mov eax, dword [edi + 0xc]
cmp eax, dword [ecx + 0xc]
jne 0x429f82
mov eax, dword [ebx + 0x1b0]
cmp eax, dword [ecx + 0x10]
je 0x429fb9
mov eax, dword [ebx + 0x1b0]
push ecx
mov dword [ecx + 0x10], eax
lea ecx, [edx + 0x20]
push dword [edi + 0xc]
call fcn.00419ab0
mov ecx, dword [ebp - 0x1828]
test al, al
jne 0x429fb9
mov byte [ecx + 0x41], al
cmp byte [esi + 0x18], al
je 0x42a62a
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x42a62a
mov byte [ecx + 0x41], 0
cmp byte [esi + 0x18], 0
mov dword [ebp - 4], 0xffffffff
je 0x429fd7
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebp - 0x1828]
mov esi, dword [ecx + 0x38]
lea eax, [ebp - 0x1010]
test esi, esi
je 0x429ff8
push eax
mov ecx, esi
call fcn.0040eb90
mov esi, dword [esi]
test esi, esi
jne 0x429fe4
mov ecx, dword [ebp - 0x1828]
lea eax, [ebp - 0x1010]
push eax
mov eax, dword [ecx + 0xc]
push dword [eax + 8]
push str.Query:__select__from__s_where__s_n
call fcn.0041a150
xor eax, eax
add esp, 0xc
cmp dword [edi + 0x10], 1
mov ecx, ebx
sete al
push eax
call fcn.00421ce0
mov ecx, dword [ebp - 0x1828]
cmp dword [ecx + 0x14], 0
je 0x42a054
mov edx, dword [ebp - 0x1830]
add edx, 0x18
mov dword [edi + 4], edx
push ecx
push edi
mov eax, dword [edx]
mov ecx, ebx
mov dword [edi], eax
mov eax, dword [edx]
mov dword [eax + 4], edi
mov dword [edx], edi
call fcn.0042a6f0
jmp 0x42a62a
mov esi, dword [ecx]
mov al, byte [esi]
cmp al, 0xa9
jne 0x42a06f
cmp dword [ecx + 4], 0
jne 0x42a0b8
push edi
mov ecx, ebx
call fcn.00429e70
jmp 0x42a62a
cmp al, 0x7a
jne 0x42a0b8
mov ecx, dword [esi + 8]
mov dl, byte [ecx]
cmp dl, 0x46
jne 0x42a098
mov eax, dword [esi + 0xc]
cmp byte [eax], 0x3f
jne 0x42a098
mov eax, dword [eax + 8]
mov ecx, edi
add eax, dword [edi + 0x50]
push eax
call fcn.0041dc50
jmp 0x42a62a
mov eax, dword [esi + 0xc]
cmp byte [eax], 0x46
jne 0x42a0b8
cmp dl, 0x3f
jne 0x42a0b8
mov eax, dword [ecx + 8]
mov ecx, edi
add eax, dword [edi + 0x50]
push eax
call fcn.0041dc50
jmp 0x42a62a
mov ecx, dword [ebp - 0x1830]
add ecx, 0x18
mov dword [edi + 4], ecx
mov eax, dword [ecx]
mov dword [edi], eax
mov eax, dword [ecx]
mov dword [eax + 4], edi
mov dword [ecx], edi
mov al, byte [esi]
cmp al, 0x4e
jne 0x42a136
lea eax, [ebp - 0x182c]
mov ecx, ebx
push eax
push esi
push dword [esi + 8]
push edi
call fcn.00427db0
test al, al
je 0x42a1c7
mov ecx, dword [ebp - 0x1828]
mov edx, dword [ecx + 4]
test edx, edx
je 0x42a62a
mov esi, dword [ebp - 0x182c]
mov eax, dword [esi + 0x2c]
cmp eax, dword [ecx + 0xc]
jne 0x42a130
cmp dword [edx], 0
jne 0x42a130
cmp dword [edx + 4], esi
jne 0x42a130
cmp byte [edx + 0x10], 0
jne 0x42a62a
lea ecx, [edi + 0x18]
call fcn.0041d780
jmp 0x42a62a
push edx
jmp 0x42a621
cmp al, 0x4d
jne 0x42a16f
mov ecx, edi
call fcn.0041ccf0
mov al, byte [esi]
cmp al, 0x4d
jne 0x42a16f
mov eax, dword [edi + 0x24]
cmp eax, dword [edi + 0x40]
jae 0x42a16f
lea eax, [ebp - 0x182c]
mov ecx, ebx
push eax
push 0
push dword [esi + 8]
push edi
call fcn.00427db0
test al, al
je 0x42a16f
mov esi, dword [esi + 0xc]
cmp byte [esi], 0x4d
je 0x42a147
mov eax, dword [edi + 0x24]
cmp eax, dword [edi + 0x40]
jae 0x42a1c7
lea eax, [ebp - 0x182c]
mov ecx, ebx
push eax
push 0
push esi
push edi
call fcn.00427db0
test al, al
je 0x42a1c7
mov ecx, dword [ebp - 0x1828]
mov edx, dword [ecx + 4]
test edx, edx
je 0x42a62a
mov eax, dword [ebp - 0x182c]
mov eax, dword [eax + 0x2c]
cmp eax, dword [ecx + 0xc]
jne 0x42a130
cmp esi, dword [ecx]
jne 0x42a130
cmp dword [edx], 0
jne 0x42a130
mov eax, dword [ebp - 0x182c]
cmp dword [edx + 4], eax
jmp 0x42a117
mov edx, dword [ebp - 0x1828]
mov eax, dword [edx + 4]
test eax, eax
je 0x42a273
cmp dword [eax], 0
jne 0x42a273
mov eax, dword [eax + 4]
mov dword [ebp - 0x182c], eax
test eax, eax
je 0x42a273
cmp dword [eax + 0x54], 0
je 0x42a273
push dword [eax + 0x20]
mov eax, dword [edx + 0xc]
push dword [eax + 8]
push str.Use_index_for_ordering_records_by_field__s._s_n
call fcn.0041a150
mov ecx, dword [ebp - 0x1828]
add esp, 0xc
cmp byte [esi], 0xa9
mov eax, dword [ecx + 4]
jne 0x42a247
cmp byte [eax + 0x10], 0
mov eax, dword [ebp - 0x182c]
push edi
push dword [eax + 0x54]
push ebx
je 0x42a23a
call fcn.0042cd00
add esp, 0xc
jmp 0x42a62a
call fcn.0042ca10
add esp, 0xc
jmp 0x42a62a
cmp byte [eax + 0x10], 0
mov eax, dword [ebp - 0x182c]
push esi
push edi
push dword [eax + 0x54]
push ebx
je 0x42a266
call fcn.0042cd40
add esp, 0x10
jmp 0x42a62a
call fcn.0042ca50
add esp, 0x10
jmp 0x42a62a
mov eax, dword [edi + 0xc]
mov ecx, dword [eax + 0xc]
mov eax, dword [ebx + 0x44]
mov ecx, dword [eax + ecx*4]
mov eax, dword [ebx + 0x50]
add ecx, dword [ebx + 0x3c]
dec eax
cmp dword [edi + 0x24], 0
mov dword [ebp - 0x1840], ecx
mov dword [ebp - 0x1830], eax
jne 0x42a5b2
test eax, eax
jle 0x42a5b2
mov eax, dword [ecx + 0x20]
cmp eax, dword [0x49c154]
jb 0x42a5b2
cmp dword [edi + 0x40], 0x77359400
jb 0x42a5b2
mov eax, dword [ecx + 0x28]
mov dword [ebp - 0x181c], eax
lea eax, [ebp - 0x1800]
mov dword [ebp - 0x1818], ecx
mov ecx, 0x40
mov dword [ebp - 0x1824], ebx
mov dword [ebp - 0x1820], edx
mov dword [ebp - 0x1814], edi
nop dword [eax]
mov dword [eax - 4], 0
lea eax, [eax + 0x14]
mov dword [eax - 0x14], 0
mov dword [eax - 0x20], 0
mov dword [eax - 0x1c], 0
mov dword [eax - 0x24], 0
sub ecx, 1
jne 0x42a2f0
mov esi, dword [ebp - 0x1830]
xor eax, eax
test esi, esi
jle 0x42a385
lea eax, [ebx + 0x18]
xor edi, edi
mov dword [ebp - 0x1834], eax
lea ebx, [ebp - 0x1310]
nop dword [eax + eax]
lea ecx, [ebp - 0x1824]
mov dword [ebx + 4], edi
push ebx
mov dword [ebx], ecx
mov ecx, eax
push 0x429440
call fcn.0042f020
mov dword [ebp + edi*4 - 0x1110], eax
add ebx, 8
mov eax, dword [ebp - 0x1834]
inc edi
cmp edi, esi
jl 0x42a340
mov ebx, dword [ebp - 0x183c]
mov dword [ebp - 0x1834], edi
mov edi, dword [ebp - 0x1838]
mov eax, dword [ebp - 0x1834]
push eax
lea ecx, [ebp - 0x1824]
call fcn.0041d7f0
test esi, esi
jle 0x42a3c1
lea eax, [ebx + 0x18]
xor edi, edi
mov dword [ebp - 0x1834], eax
mov ebx, eax
push dword [ebp + edi*4 - 0x1110]
mov ecx, ebx
call fcn.0042f150
inc edi
cmp edi, esi
jl 0x42a3a2
mov edi, dword [ebp - 0x1838]
mov ebx, dword [ebp - 0x183c]
mov ecx, dword [ebp - 0x1828]
cmp dword [ecx + 4], 0
je 0x42a56a
xor edx, edx
test esi, esi
js 0x42a423
lea eax, [ebp - 0x1810]
mov dword [ebp - 0x182c], eax
mov ecx, dword [eax]
test ecx, ecx
je 0x42a404
mov ecx, dword [ecx + 0xc]
mov eax, dword [ebx + 0x44]
mov eax, dword [eax + ecx*4]
add eax, dword [ebx + 0x3c]
mov dword [ebp + edx*4 - 0x1110], eax
mov eax, dword [ebp - 0x182c]
jmp 0x42a40f
mov dword [ebp + edx*4 - 0x1110], 0
inc edx
add eax, 0x14
mov dword [ebp - 0x182c], eax
cmp edx, esi
jle 0x42a3e3
mov ecx, dword [ebp - 0x1828]
xor esi, esi
or ebx, 0xffffffff
cmp dword [ebp - 0x1830], esi
jl 0x42a62a
mov edi, dword [ebp - 0x1830]
nop word [eax + eax]
mov eax, dword [ebp + esi*4 - 0x1110]
test eax, eax
je 0x42a468
test ebx, ebx
js 0x42a466
push dword [ecx + 4]
push dword [ebp + ebx*4 - 0x1110]
push eax
call fcn.0041cda0
add esp, 0xc
test eax, eax
jns 0x42a468
mov ebx, esi
mov ecx, dword [ebp - 0x1828]
inc esi
cmp esi, edi
jle 0x42a440
mov edi, dword [ebp - 0x1838]
test ebx, ebx
js 0x42a62a
lea eax, [ebx + ebx*4]
shl eax, 2
lea edx, [ebp - 0x1800]
add edx, eax
lea ecx, [ebp - 0x1810]
add eax, ecx
mov dword [ebp - 0x182c], edx
mov dword [ebp - 0x1834], eax
lea esi, [edi + 0x18]
mov ecx, dword [edx]
mov eax, dword [eax]
mov eax, dword [eax + ecx*4 + 0xc]
mov ecx, dword [esi + 4]
mov dword [ebp - 0x1840], eax
test ecx, ecx
jne 0x42a4c9
push ecx
mov ecx, esi
call fcn.0041d130
mov ecx, eax
mov dword [esi], ecx
jmp 0x42a4e2
cmp dword [ecx + 8], 0x400
jne 0x42a4eb
push ecx
mov ecx, esi
call fcn.0041d130
mov ecx, eax
mov eax, dword [esi + 4]
mov dword [eax + 4], ecx
mov edx, dword [ebp - 0x182c]
mov dword [esi + 4], ecx
mov eax, dword [ecx + 8]
mov edi, dword [ebp - 0x1840]
mov dword [ecx + eax*4 + 0xc], edi
mov eax, dword [esi + 4]
mov ecx, dword [ebp - 0x1834]
inc dword [eax + 8]
mov ecx, dword [ecx]
inc dword [edx]
inc dword [esi + 0xc]
mov eax, dword [edx]
cmp eax, dword [ecx + 8]
jne 0x42a549
push 0x100c
mov dword [edx], 0
mov esi, dword [ecx + 4]
push ecx
call fcn.0042f8ab
mov eax, dword [ebp - 0x1834]
add esp, 8
mov ecx, esi
mov dword [eax], esi
test esi, esi
jne 0x42a543
mov dword [ebp + ebx*4 - 0x1110], esi
jmp 0x42a41d
mov edx, dword [ebp - 0x182c]
mov eax, dword [edx]
mov edx, dword [ebp - 0x183c]
mov ecx, dword [ecx + eax*4 + 0xc]
mov eax, dword [edx + 0x44]
mov eax, dword [eax + ecx*4]
add eax, dword [edx + 0x3c]
mov dword [ebp + ebx*4 - 0x1110], eax
jmp 0x42a41d
test esi, esi
js 0x42a62a
lea ecx, [ebp - 0x1810]
inc esi
nop dword [eax]
mov edx, dword [ecx]
test edx, edx
je 0x42a5a8
mov eax, dword [edi + 0x1c]
mov dword [edx], eax
mov edx, dword [edi + 0x1c]
mov eax, dword [ecx]
test edx, edx
jne 0x42a599
mov dword [edi + 0x18], eax
jmp 0x42a59c
mov dword [edx + 4], eax
mov eax, dword [ecx + 4]
mov dword [edi + 0x1c], eax
mov eax, dword [ecx + 0xc]
add dword [edi + 0x24], eax
add ecx, 0x14
sub esi, 1
jne 0x42a580
jmp 0x42a62a
mov ebx, dword [edi + 0x24]
mov eax, dword [ecx + 0x28]
cmp ebx, dword [edi + 0x40]
mov ebx, dword [ebp - 0x183c]
mov dword [ebp - 0x1830], eax
jae 0x42a619
test eax, eax
je 0x42a619
nop dword [eax]
push edi
push ecx
push eax
push esi
mov ecx, ebx
call fcn.00423b20
test al, al
je 0x42a5f0
push dword [ebp - 0x1830]
mov ecx, edi
call fcn.00420400
test al, al
je 0x42a613
mov eax, dword [ebx + 0x44]
mov ecx, dword [ebp - 0x1830]
mov ecx, dword [eax + ecx*4]
mov eax, dword [ebx + 0x3c]
mov eax, dword [ecx + eax + 4]
mov ecx, dword [ebp - 0x1840]
mov dword [ebp - 0x1830], eax
test eax, eax
jne 0x42a5d0
mov edx, dword [ebp - 0x1828]
mov eax, dword [edx + 4]
test eax, eax
je 0x42a62a
push eax
push ebx
lea ecx, [edi + 0x18]
call fcn.0041de20
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042f865
mov esp, ebp
pop ebp
ret 8