Function at 0x4249f0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x3c
mov eax, dword [esp + 0x54]
mov esi, dword [esp + 0x50]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x2c], eax
test esi, esi
je 0x424dd0
mov edx, dword [esi]
xor eax, eax
cmp edx, 0x80000000
jne 0x424e10
sub eax, dword [esp + 0x18]
jo 0x424e6f
add eax, 0xffffffff
jo 0x424e5d
mov ecx, dword [esp + 0x14]
lea edi, [ecx - 1]
cmp eax, edi
mov dword [esp + 0x28], edi
cmovg eax, edi
xor ebp, ebp
mov dword [esp + 0x20], eax
test eax, eax
js 0x424bae
lea esi, [esi]
cmp dword [esp + 0x14], ebp
jbe 0x424c28
mov eax, dword [esp + 0x18]
add eax, ebp
mov dword [esp + 0x10], eax
jo 0x424e53
test esi, esi
je 0x424c50
mov edx, dword [esi]
xor eax, eax
cmp edx, 0x80000000
je 0x424aa8
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, 0
sar eax, 1
sub eax, 1
cmovs eax, edx
lea esi, [esi]
cmp dword [esp + 0x10], eax
jl 0x424b7b
mov dword [esp + 4], 0x18
mov dword [esp], 0x49c700
call fcn.00408420
mov ecx, 0x4757c0
mov dword [eax], 0x49c720
mov edi, dword [eax + 0xc]
mov ebx, eax
mov dword [eax + 8], str.IndexDefect
call fcn.00408260
mov dword [ebx + 0xc], eax
test edi, edi
je 0x424b1c
mov eax, dword [edi - 8]
lea edx, [edi - 8]
mov dword [esp + 0x24], edx
sub eax, 8
mov dword [edi - 8], eax
cmp eax, 7
ja 0x424b1c
mov ecx, dword [0x49c308]
call fcn.004031f0
mov edx, dword [esp + 0x24]
add eax, 0x2c
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00405190
mov eax, dword [ebx + 4]
test eax, eax
je 0x424b4e
mov ecx, dword [eax - 8]
lea edi, [eax - 8]
lea edx, [ecx - 8]
mov dword [eax - 8], edx
cmp edx, 7
ja 0x424b4e
mov ecx, dword [0x49c308]
call fcn.004031f0
mov dword [esp + 4], edi
add eax, 0x2c
mov dword [esp], eax
call fcn.00405190
mov dword [ebx + 4], 0
mov edx, str.IndexDefect
mov ecx, ebx
mov dword [esp + 8], 0x19d
mov dword [esp + 4], str.winstr.nim
mov dword [esp], 0x475758
call fcn.004099c0
sub esp, 0xc
imul ebx, dword [esp + 0x10], 2
jo 0x424e49
test esi, esi
je 0x424c40
mov eax, dword [esi]
cmp ebx, eax
jae 0x424c10
movzx eax, word [esi + ebx + 8]
mov edi, dword [esp + 0x1c]
mov word [edi + ebp*2], ax
add ebp, 1
cmp ebp, dword [esp + 0x20]
jle 0x424a60
cmp byte [esp + 0x2c], 0
jne 0x424c60
xor eax, eax
test esi, esi
je 0x424be0
mov edx, dword [esi]
xor eax, eax
cmp edx, 0x80000000
je 0x424be0
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, 0
sar eax, 1
sub eax, 1
cmovs eax, edx
nop
sub eax, dword [esp + 0x18]
jo 0x424eaf
add eax, 0xffffffff
jo 0x424e9d
cmp eax, dword [esp + 0x14]
jge 0x424cdc
add esp, 0x3c
pop ebx
pop esi
pop edi
pop ebp
ret 0xc
sub eax, 1
mov dword [esp + 4], eax
mov dword [esp], ebx
call fcn.0040a570
jmp 0x424b94
mov eax, dword [esp + 0x28]
mov dword [esp], ebp
mov dword [esp + 4], eax
call fcn.0040a570
jmp 0x424a6a
mov eax, 0xffffffff
jmp 0x424c13
xor eax, eax
jmp 0x424aa8
test esi, esi
je 0x424df5
mov edx, dword [esi]
cmp edx, 0x80000000
je 0x424d90
mov eax, edx
mov ecx, 0
shr eax, 0x1f
add eax, edx
sar eax, 1
sub eax, 1
cmovs eax, ecx
cmp dword [esp + 0x14], eax
jle 0x424cba
sub eax, dword [esp + 0x18]
mov ebx, eax
jo 0x424e93
cmp ebx, dword [esp + 0x14]
jae 0x424de0
mov eax, dword [esp + 0x1c]
xor edi, edi
mov word [eax + ebx*2], di
test esi, esi
je 0x424e08
mov edx, dword [esi]
xor eax, eax
cmp edx, 0x80000000
jne 0x424e30
sub eax, dword [esp + 0x18]
jo 0x424e81
cmp eax, dword [esp + 0x14]
jl 0x424bfd
mov dword [esp + 4], 0x18
mov dword [esp], 0x49c700
call fcn.00408420
mov ecx, 0x4757a0
mov dword [eax], 0x49c720
mov esi, dword [eax + 0xc]
mov ebx, eax
mov dword [eax + 8], str.IndexDefect
call fcn.00408260
mov dword [ebx + 0xc], eax
test esi, esi
je 0x424d28
mov eax, dword [esi - 8]
lea edi, [esi - 8]
sub eax, 8
mov dword [esi - 8], eax
cmp eax, 7
jbe 0x424da8
mov eax, dword [ebx + 4]
test eax, eax
je 0x424d5a
mov ecx, dword [eax - 8]
lea esi, [eax - 8]
lea edx, [ecx - 8]
mov dword [eax - 8], edx
cmp edx, 7
ja 0x424d5a
mov ecx, dword [0x49c308]
call fcn.004031f0
mov dword [esp + 4], esi
add eax, 0x2c
mov dword [esp], eax
call fcn.00405190
mov dword [ebx + 4], 0
mov ecx, ebx
mov edx, str.IndexDefect
mov dword [esp + 0x58], 0x341
mov dword [esp + 0x54], str.winstr.nim
mov dword [esp + 0x50], str.fillBuffer
add esp, 0x3c
pop ebx
pop esi
pop edi
pop ebp
jmp fcn.004099c0
mov ecx, dword [esp + 0x14]
xor eax, eax
test ecx, ecx
jg 0x424c90
jmp 0x424cba
mov ecx, dword [0x49c308]
call fcn.004031f0
mov dword [esp + 4], edi
add eax, 0x2c
mov dword [esp], eax
call fcn.00405190
jmp 0x424d28
xor eax, eax
jmp 0x424a2b
mov eax, dword [esp + 0x28]
mov dword [esp], ebx
mov dword [esp + 4], eax
call fcn.0040a570
jmp 0x424ca6
mov ebx, dword [esp + 0x14]
xor eax, eax
test ebx, ebx
jg 0x424c90
jmp 0x424cc8
xor eax, eax
jmp 0x424cc8
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, 0
sar eax, 1
sub eax, 1
cmovs eax, edx
jmp 0x424a2b
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, 0
sar eax, 1
sub eax, 1
cmovs eax, edx
jmp 0x424cc8
call fcn.00409ba0
jmp 0x424b86
call fcn.00409ba0
jmp 0x424a7a
mov dword [esp + 0x10], eax
call fcn.00409ba0
mov eax, dword [esp + 0x10]
jmp 0x424a3e
mov dword [esp + 0x10], eax
call fcn.00409ba0
mov eax, dword [esp + 0x10]
jmp 0x424a35
mov dword [esp + 0x10], eax
call fcn.00409ba0
mov eax, dword [esp + 0x10]
jmp 0x424cd2
call fcn.00409ba0
jmp 0x424c9c
mov dword [esp + 0x10], eax
call fcn.00409ba0
mov eax, dword [esp + 0x10]
jmp 0x424bf3
mov dword [esp + 0x10], eax
call fcn.00409ba0
mov eax, dword [esp + 0x10]
jmp 0x424bea