Function at 0x40a4f0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x90
mov dword [ebp - 0x74], 0xd7
mov dword [ebp - 0x1c], 0xb4
mov dword [ebp - 0x54], 0x117
mov dword [ebp - 0x7c], 0x283
mov dword [ebp - 4], 0x255
mov dword [ebp - 0x10], 0x2f1
mov dword [ebp - 0x6c], 0x3bb
mov dword [ebp - 0x80], 0x19e
mov dword [ebp - 0x68], 0x206
mov dword [ebp - 0x60], 0x1d0
mov dword [ebp - 0x38], 0x238
mov dword [ebp - 0x84], 0xd2
mov dword [ebp - 0x88], 0x342
mov dword [ebp - 0x8c], 0x1d8
mov dword [ebp - 0x64], 0x290
mov dword [ebp - 0xc], 0x178
mov dword [ebp - 8], 0x52
mov dword [ebp - 0x44], 0x134
mov dword [ebp - 0x70], 0x354
mov dword [ebp - 0x24], 0x2fc
mov dword [ebp - 0x90], 0x3d8
mov dword [ebp - 0x78], 0x321
mov dword [ebp - 0x18], 0x156
call fcn.00413f10
mov eax, dword [ebp - 4]
and eax, dword [ebp - 0x54]
je 0x40a6d0
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x58], ecx
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0x5c], edx
mov eax, dword [ebp - 0x10]
add eax, 1
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x58]
cmp ecx, dword [ebp - 0x5c]
jge 0x40a5dd
mov dword [ebp - 0x20], 1
jmp 0x40a5e4
mov dword [ebp - 0x20], 0
mov edx, dword [ebp - 4]
and edx, dword [ebp - 0x20]
xor edx, dword [ebp - 0x18]
je 0x40a6d0
mov eax, dword [ebp + 0x24]
add eax, 1
mov dword [ebp + 0x24], eax
mov ecx, dword [ebp - 0x60]
cmp ecx, dword [ebp + 0x24]
jge 0x40a60d
mov dword [ebp - 0x28], 1
jmp 0x40a614
mov dword [ebp - 0x28], 0
mov edx, dword [ebp - 0xc]
sub edx, 1
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0x24]
add eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 0x38]
jge 0x40a631
mov dword [ebp - 0x2c], 1
jmp 0x40a638
mov dword [ebp - 0x2c], 0
mov ecx, dword [ebp - 0x44]
cmp ecx, dword [ebp + 0x18]
jge 0x40a649
mov dword [ebp - 0x30], 1
jmp 0x40a650
mov dword [ebp - 0x30], 0
mov edx, dword [ebp - 0x28]
and edx, dword [ebp - 0x2c]
and edx, dword [ebp - 0x30]
je 0x40a6d0
mov eax, dword [ebp + 0x14]
cmp eax, dword [ebp - 0x64]
jge 0x40a66c
mov dword [ebp - 0x34], 1
jmp 0x40a673
mov dword [ebp - 0x34], 0
mov ecx, dword [ebp - 8]
sub ecx, 1
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
add edx, dword [ebp + 0x28]
mov eax, dword [ebp - 0x68]
add eax, dword [ebp + 0x2c]
and eax, edx
and eax, dword [ebp - 0x34]
je 0x40a6d0
mov ecx, dword [ebp - 8]
cmp ecx, dword [ebp - 0x6c]
jge 0x40a6a0
mov dword [ebp - 0x3c], 1
jmp 0x40a6a7
mov dword [ebp - 0x3c], 0
mov edx, dword [ebp - 0x38]
cmp edx, dword [ebp + 0x24]
jge 0x40a6b8
mov dword [ebp - 0x40], 1
jmp 0x40a6bf
mov dword [ebp - 0x40], 0
mov eax, dword [ebp - 0x3c]
or eax, dword [ebp - 0x40]
je 0x40a6d0
mov ecx, dword [ebp + 0x10]
add ecx, 1
mov dword [ebp + 0x10], ecx
mov dword [ebp - 0x14], 0
jmp 0x40a6e2
mov edx, dword [ebp - 0x14]
add edx, 1
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x44]
sub eax, 0x187d4
cmp dword [ebp - 0x14], eax
jge 0x40a767
mov ecx, dword [ebp - 0x70]
cmp ecx, dword [ebp - 0x74]
jge 0x40a700
mov dword [ebp - 0x48], 1
jmp 0x40a707
mov dword [ebp - 0x48], 0
mov edx, dword [ebp - 0x18]
cmp edx, dword [ebp - 0x78]
jge 0x40a718
mov dword [ebp - 0x4c], 1
jmp 0x40a71f
mov dword [ebp - 0x4c], 0
mov eax, dword [ebp - 0x48]
and eax, dword [ebp - 0x4c]
je 0x40a75c
mov ecx, dword [ebp - 0x18]
cmp ecx, dword [ebp - 0x1c]
jge 0x40a738
mov dword [ebp - 0x50], 1
jmp 0x40a73f
mov dword [ebp - 0x50], 0
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
and eax, dword [ebp - 0x50]
or eax, dword [ebp - 0xc]
je 0x40a75c
mov ecx, dword [ebp - 0x1c]
sub ecx, 1
mov dword [ebp - 0x1c], ecx
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
jmp 0x40a6d9
mov esp, ebp
pop ebp
ret